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_GPERFTOOLS = _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
244 class _DirectorObjects(object):
245 """@internal Simple class to keep references to director objects
246 to prevent premature deletion."""
249 def register(self, obj):
250 """Take a reference to a director object; will only work for
251 refcounted C++ classes"""
252 if hasattr(obj,
'get_ref_count'):
253 self._objects.append(obj)
255 """Only drop our reference and allow cleanup by Python if no other
256 Python references exist (we hold 3 references: one in self._objects,
257 one in x, and one in the argument list for getrefcount) *and* no
258 other C++ references exist (the Python object always holds one)"""
259 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
260 or x.get_ref_count() > 1]
264 def get_object_count(self):
265 """Get number of director objects (useful for testing only)"""
266 return len(self._objects)
267 _director_objects = _DirectorObjects()
269 class _ostream(object):
270 """Proxy of C++ std::ostream class."""
272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
274 def __init__(self, *args, **kwargs):
275 raise AttributeError(
"No constructor defined")
276 __repr__ = _swig_repr
278 def write(self, osa_buf):
279 """write(_ostream self, char const * osa_buf)"""
280 return _IMP_isd._ostream_write(self, osa_buf)
282 _ostream_swigregister = _IMP_isd._ostream_swigregister
283 _ostream_swigregister(_ostream)
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_isd.IMP_C_OPEN_BINARY
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
296 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
297 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
298 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
299 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
300 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
301 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
302 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
303 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
305 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
306 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
307 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
308 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
309 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
310 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
311 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
313 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
314 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
315 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
316 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
317 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
318 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
319 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
320 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
322 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
323 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
324 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
325 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
326 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
327 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
328 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
330 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
331 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
332 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
333 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
334 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
335 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
336 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
337 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
338 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
340 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
341 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
342 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
343 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
344 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
345 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
346 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
347 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
348 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
349 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
350 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
351 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_isd.IMP_CONTAINER_HAS_PYTHON_IHM
352 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_isd.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
353 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_isd.IMP_CONTAINER_HAS_ROBIN_MAP
354 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
356 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
357 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
358 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
359 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
360 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
361 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
362 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
363 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
364 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
365 IMP_ATOM_HAS_PYTHON_IHM = _IMP_isd.IMP_ATOM_HAS_PYTHON_IHM
366 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
367 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
368 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
369 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
370 IMP_CHAIN_TYPE_INDEX = _IMP_isd.IMP_CHAIN_TYPE_INDEX
372 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
373 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
374 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
375 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
376 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
377 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
378 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
379 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
380 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
381 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
382 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
383 IMP_EM_HAS_PYTHON_IHM = _IMP_isd.IMP_EM_HAS_PYTHON_IHM
384 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
386 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
387 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
388 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
389 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
390 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
391 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
392 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
393 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
394 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
395 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
396 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
397 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
398 IMP_SAXS_HAS_PYTHON_IHM = _IMP_isd.IMP_SAXS_HAS_PYTHON_IHM
399 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
401 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
402 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
403 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
404 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
405 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
406 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
407 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
408 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
409 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
410 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
411 IMP_ISD_HAS_PYTHON_IHM = _IMP_isd.IMP_ISD_HAS_PYTHON_IHM
412 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
414 _object_types.append(
"ISDRestraint")
417 def _object_cast_to_ISDRestraint(o):
418 """_object_cast_to_ISDRestraint(Object o) -> ISDRestraint"""
419 return _IMP_isd._object_cast_to_ISDRestraint(o)
421 _object_types.append(
"CrossLinkMSRestraint")
424 def _object_cast_to_CrossLinkMSRestraint(o):
425 """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
426 return _IMP_isd._object_cast_to_CrossLinkMSRestraint(o)
428 _object_types.append(
"LogWrapper")
431 def _object_cast_to_LogWrapper(o):
432 """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
433 return _IMP_isd._object_cast_to_LogWrapper(o)
435 _object_types.append(
"UniformPrior")
438 def _object_cast_to_UniformPrior(o):
439 """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
440 return _IMP_isd._object_cast_to_UniformPrior(o)
442 _object_types.append(
"JeffreysRestraint")
445 def _object_cast_to_JeffreysRestraint(o):
446 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
447 return _IMP_isd._object_cast_to_JeffreysRestraint(o)
449 _object_types.append(
"NormalSigmaPCRestraint")
452 def _object_cast_to_NormalSigmaPCRestraint(o):
453 """_object_cast_to_NormalSigmaPCRestraint(Object o) -> NormalSigmaPCRestraint"""
454 return _IMP_isd._object_cast_to_NormalSigmaPCRestraint(o)
456 _object_types.append(
"vonMisesKappaJeffreysRestraint")
459 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
460 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
461 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
463 _object_types.append(
"vonMisesKappaConjugateRestraint")
466 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
467 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
468 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
470 _object_types.append(
"Distribution")
473 def _object_cast_to_Distribution(o):
474 """_object_cast_to_Distribution(Object o) -> Distribution"""
475 return _IMP_isd._object_cast_to_Distribution(o)
477 _object_types.append(
"OneDimensionalDistribution")
480 def _object_cast_to_OneDimensionalDistribution(o):
481 """_object_cast_to_OneDimensionalDistribution(Object o) -> OneDimensionalDistribution"""
482 return _IMP_isd._object_cast_to_OneDimensionalDistribution(o)
484 _object_types.append(
"OneDimensionalSufficientDistribution")
487 def _object_cast_to_OneDimensionalSufficientDistribution(o):
488 """_object_cast_to_OneDimensionalSufficientDistribution(Object o) -> OneDimensionalSufficientDistribution"""
489 return _IMP_isd._object_cast_to_OneDimensionalSufficientDistribution(o)
491 _object_types.append(
"FNormal")
494 def _object_cast_to_FNormal(o):
495 """_object_cast_to_FNormal(Object o) -> FNormal"""
496 return _IMP_isd._object_cast_to_FNormal(o)
498 _object_types.append(
"FStudentT")
501 def _object_cast_to_FStudentT(o):
502 """_object_cast_to_FStudentT(Object o) -> FStudentT"""
503 return _IMP_isd._object_cast_to_FStudentT(o)
505 _object_types.append(
"vonMises")
508 def _object_cast_to_vonMises(o):
509 """_object_cast_to_vonMises(Object o) -> vonMises"""
510 return _IMP_isd._object_cast_to_vonMises(o)
512 _object_types.append(
"vonMisesSufficient")
515 def _object_cast_to_vonMisesSufficient(o):
516 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
517 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
519 _object_types.append(
"PenalizedComplexityPrior")
522 def _object_cast_to_PenalizedComplexityPrior(o):
523 """_object_cast_to_PenalizedComplexityPrior(Object o) -> PenalizedComplexityPrior"""
524 return _IMP_isd._object_cast_to_PenalizedComplexityPrior(o)
527 return [Nuisance(x)
for x
in l]
528 _plural_types.append(
"Nuisances")
531 _value_types.append(
"Nuisance")
535 return [Scale(x)
for x
in l]
536 _plural_types.append(
"Scales")
539 _value_types.append(
"Scale")
542 def Switchings(l=[]):
543 return [Switching(x)
for x
in l]
544 _plural_types.append(
"Switchings")
547 _value_types.append(
"Switching")
550 _object_types.append(
"NOERestraint")
553 def _object_cast_to_NOERestraint(o):
554 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
555 return _IMP_isd._object_cast_to_NOERestraint(o)
558 return [Weight(x)
for x
in l]
559 _plural_types.append(
"Weights")
562 _value_types.append(
"Weight")
565 _object_types.append(
"GaussianRestraint")
568 def _object_cast_to_GaussianRestraint(o):
569 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
570 return _IMP_isd._object_cast_to_GaussianRestraint(o)
572 _object_types.append(
"StudentTRestraint")
575 def _object_cast_to_StudentTRestraint(o):
576 """_object_cast_to_StudentTRestraint(Object o) -> StudentTRestraint"""
577 return _IMP_isd._object_cast_to_StudentTRestraint(o)
579 _object_types.append(
"LognormalRestraint")
582 def _object_cast_to_LognormalRestraint(o):
583 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
584 return _IMP_isd._object_cast_to_LognormalRestraint(o)
586 _object_types.append(
"LognormalAmbiguousRestraint")
589 def _object_cast_to_LognormalAmbiguousRestraint(o):
590 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
591 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
593 _object_types.append(
"AmbiguousNOERestraint")
596 def _object_cast_to_AmbiguousNOERestraint(o):
597 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
598 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
600 _object_types.append(
"MarginalNOERestraint")
603 def _object_cast_to_MarginalNOERestraint(o):
604 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
605 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
607 _object_types.append(
"MarginalHBondRestraint")
610 def _object_cast_to_MarginalHBondRestraint(o):
611 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
612 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
614 _object_types.append(
"TALOSRestraint")
617 def _object_cast_to_TALOSRestraint(o):
618 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
619 return _IMP_isd._object_cast_to_TALOSRestraint(o)
621 _object_types.append(
"RepulsiveDistancePairScore")
624 def _object_cast_to_RepulsiveDistancePairScore(o):
625 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
626 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
628 _object_types.append(
"AmbiguousRestraint")
631 def _object_cast_to_AmbiguousRestraint(o):
632 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
633 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
635 _object_types.append(
"UnivariateFunction")
638 def _object_cast_to_UnivariateFunction(o):
639 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
640 return _IMP_isd._object_cast_to_UnivariateFunction(o)
642 _object_types.append(
"Linear1DFunction")
645 def _object_cast_to_Linear1DFunction(o):
646 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
647 return _IMP_isd._object_cast_to_Linear1DFunction(o)
649 _object_types.append(
"GeneralizedGuinierPorodFunction")
652 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
653 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
654 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
656 _object_types.append(
"BivariateFunction")
659 def _object_cast_to_BivariateFunction(o):
660 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
661 return _IMP_isd._object_cast_to_BivariateFunction(o)
663 _object_types.append(
"Covariance1DFunction")
666 def _object_cast_to_Covariance1DFunction(o):
667 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
668 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
670 _object_types.append(
"GaussianProcessInterpolation")
673 def _object_cast_to_GaussianProcessInterpolation(o):
674 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
675 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
677 _object_types.append(
"GaussianProcessInterpolationRestraint")
680 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
681 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
682 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
684 _object_types.append(
"MolecularDynamics")
687 _object_types.append(
"MolecularDynamicsMover")
690 def _object_cast_to_MolecularDynamicsMover(o):
691 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
692 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
694 _object_types.append(
"HybridMonteCarlo")
697 def _object_cast_to_HybridMonteCarlo(o):
698 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
699 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
701 _object_types.append(
"FretData")
704 def _object_cast_to_FretData(o):
705 """_object_cast_to_FretData(Object o) -> FretData"""
706 return _IMP_isd._object_cast_to_FretData(o)
708 _object_types.append(
"FretRestraint")
711 def _object_cast_to_FretRestraint(o):
712 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
713 return _IMP_isd._object_cast_to_FretRestraint(o)
715 _object_types.append(
"CrossLinkData")
718 def _object_cast_to_CrossLinkData(o):
719 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
720 return _IMP_isd._object_cast_to_CrossLinkData(o)
722 _object_types.append(
"CysteineCrossLinkData")
725 def _object_cast_to_CysteineCrossLinkData(o):
726 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
727 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
729 _object_types.append(
"CysteineCrossLinkRestraint")
732 def _object_cast_to_CysteineCrossLinkRestraint(o):
733 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
734 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
736 _object_types.append(
"WeightMover")
739 def _object_cast_to_WeightMover(o):
740 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
741 return _IMP_isd._object_cast_to_WeightMover(o)
743 _object_types.append(
"WeightRestraint")
746 def _object_cast_to_WeightRestraint(o):
747 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
748 return _IMP_isd._object_cast_to_WeightRestraint(o)
750 _object_types.append(
"AtomicCrossLinkMSRestraint")
753 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
754 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
755 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
757 _object_types.append(
"GaussianEMRestraint")
760 def _object_cast_to_GaussianEMRestraint(o):
761 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
762 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
764 _object_types.append(
"GaussianAnchorEMRestraint")
767 def _object_cast_to_GaussianAnchorEMRestraint(o):
768 """_object_cast_to_GaussianAnchorEMRestraint(Object o) -> GaussianAnchorEMRestraint"""
769 return _IMP_isd._object_cast_to_GaussianAnchorEMRestraint(o)
771 def create_model_and_particles():
776 for i
in range(0,100):
780 d.set_coordinates_are_optimized(
True)
784 """Proxy of C++ IMP::isd::ISDRestraint class."""
786 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
788 def __init__(self, m, name):
789 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
790 if self.__class__ == ISDRestraint:
794 this = _IMP_isd.new_ISDRestraint(_self, m, name)
796 self.this.append(this)
797 except __builtin__.Exception:
800 if self.__class__ != ISDRestraint:
801 _director_objects.register(self)
806 def get_probability(self):
807 """get_probability(ISDRestraint self) -> double"""
808 return _IMP_isd.ISDRestraint_get_probability(self)
811 def unprotected_evaluate(self, accum):
812 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
813 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
817 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
818 return _IMP_isd.ISDRestraint_do_get_inputs(self)
821 def get_type_name(self):
822 """get_type_name(ISDRestraint self) -> std::string"""
823 return _IMP_isd.ISDRestraint_get_type_name(self)
827 """get_version_info(ISDRestraint self) -> VersionInfo"""
828 return _IMP_isd.ISDRestraint_get_version_info(self)
832 """__str__(ISDRestraint self) -> std::string"""
833 return _IMP_isd.ISDRestraint___str__(self)
837 """__repr__(ISDRestraint self) -> std::string"""
838 return _IMP_isd.ISDRestraint___repr__(self)
843 return _object_cast_to_ISDRestraint(o)
846 def get_type_name(self):
847 return self.__class__.__name__
848 def do_show(self, out):
851 if"IMP::isd" ==
"IMP":
852 return VersionInfo(self.__module__,
853 __import__(self.__module__).get_module_version())
856 __import__(self.__module__).get_module_version())
859 return _object_cast_to_ISDRestraint(o)
861 def __disown__(self):
863 _IMP_isd.disown_ISDRestraint(self)
864 return weakref_proxy(self)
867 """do_destroy(ISDRestraint self)"""
868 return _IMP_isd.ISDRestraint_do_destroy(self)
871 def handle_set_has_required_score_states(self, arg0):
872 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
873 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
877 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
878 return _IMP_isd.ISDRestraint_do_get_outputs(self)
881 def do_get_interactions(self):
882 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
883 return _IMP_isd.ISDRestraint_do_get_interactions(self)
886 def do_create_decomposition(self):
887 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
888 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
891 def do_create_current_decomposition(self):
892 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
893 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
896 def do_add_score_and_derivatives(self, sa):
897 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
898 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
900 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
901 ISDRestraint_swigregister(ISDRestraint)
904 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class."""
906 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
908 def __init__(self, *args):
910 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
911 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
912 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
913 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
914 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
915 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
916 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
917 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
918 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
920 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
922 self.this.append(this)
923 except __builtin__.Exception:
926 def add_contribution(self, pps, sigmas, psi):
927 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
928 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
931 def get_probability(self):
932 """get_probability(CrossLinkMSRestraint self) -> double"""
933 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
936 def get_number_of_contributions(self):
937 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
938 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
942 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
943 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
947 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
948 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
952 """__str__(CrossLinkMSRestraint self) -> std::string"""
953 return _IMP_isd.CrossLinkMSRestraint___str__(self)
957 """__repr__(CrossLinkMSRestraint self) -> std::string"""
958 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
963 return _object_cast_to_CrossLinkMSRestraint(o)
965 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
966 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
969 """Proxy of C++ IMP::isd::LogWrapper class."""
971 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
973 def __init__(self, *args):
975 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
976 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
977 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
978 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
979 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
980 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
982 this = _IMP_isd.new_LogWrapper(*args)
984 self.this.append(this)
985 except __builtin__.Exception:
988 def do_add_score_and_derivatives(self, sa):
989 """do_add_score_and_derivatives(LogWrapper self, ScoreAccumulator sa)"""
990 return _IMP_isd.LogWrapper_do_add_score_and_derivatives(self, sa)
994 """__str__(LogWrapper self) -> std::string"""
995 return _IMP_isd.LogWrapper___str__(self)
999 """__repr__(LogWrapper self) -> std::string"""
1000 return _IMP_isd.LogWrapper___repr__(self)
1005 return _object_cast_to_LogWrapper(o)
1007 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1008 LogWrapper_swigregister(LogWrapper)
1011 """Proxy of C++ IMP::isd::UniformPrior class."""
1013 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1015 def __init__(self, *args):
1017 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1018 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1020 this = _IMP_isd.new_UniformPrior(*args)
1022 self.this.append(this)
1023 except __builtin__.Exception:
1027 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1028 return _IMP_isd.UniformPrior_do_get_inputs(self)
1032 """get_version_info(UniformPrior self) -> VersionInfo"""
1033 return _IMP_isd.UniformPrior_get_version_info(self)
1036 def get_probability(self):
1037 """get_probability(UniformPrior self) -> double"""
1038 return _IMP_isd.UniformPrior_get_probability(self)
1042 """__str__(UniformPrior self) -> std::string"""
1043 return _IMP_isd.UniformPrior___str__(self)
1047 """__repr__(UniformPrior self) -> std::string"""
1048 return _IMP_isd.UniformPrior___repr__(self)
1053 return _object_cast_to_UniformPrior(o)
1055 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1056 UniformPrior_swigregister(UniformPrior)
1059 """Proxy of C++ IMP::isd::Nuisance class."""
1061 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1063 def __init__(self, *args):
1065 __init__(IMP::isd::Nuisance self) -> Nuisance
1066 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1067 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1069 this = _IMP_isd.new_Nuisance(*args)
1071 self.this.append(this)
1072 except __builtin__.Exception:
1075 def show(self, *args):
1077 show(Nuisance self, _ostream out)
1080 return _IMP_isd.Nuisance_show(self, *args)
1083 def setup_particle(*args):
1085 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1086 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1087 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1088 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1090 return _IMP_isd.Nuisance_setup_particle(*args)
1092 setup_particle = staticmethod(setup_particle)
1094 def get_is_setup(*args):
1096 get_is_setup(_ParticleAdaptor p) -> bool
1097 get_is_setup(Model m, ParticleIndex pi) -> bool
1099 return _IMP_isd.Nuisance_get_is_setup(*args)
1101 get_is_setup = staticmethod(get_is_setup)
1103 def get_nuisance_key():
1104 """get_nuisance_key() -> FloatKey"""
1105 return _IMP_isd.Nuisance_get_nuisance_key()
1107 get_nuisance_key = staticmethod(get_nuisance_key)
1109 def get_nuisance(self):
1110 """get_nuisance(Nuisance self) -> IMP::Float"""
1111 return _IMP_isd.Nuisance_get_nuisance(self)
1114 def set_nuisance(self, d):
1115 """set_nuisance(Nuisance self, IMP::Float d)"""
1116 return _IMP_isd.Nuisance_set_nuisance(self, d)
1119 def get_has_lower(self):
1120 """get_has_lower(Nuisance self) -> bool"""
1121 return _IMP_isd.Nuisance_get_has_lower(self)
1124 def get_lower(self):
1125 """get_lower(Nuisance self) -> IMP::Float"""
1126 return _IMP_isd.Nuisance_get_lower(self)
1129 def get_lower_key():
1130 """get_lower_key() -> FloatKey"""
1131 return _IMP_isd.Nuisance_get_lower_key()
1133 get_lower_key = staticmethod(get_lower_key)
1135 def get_lower_particle_key():
1136 """get_lower_particle_key() -> ParticleIndexKey"""
1137 return _IMP_isd.Nuisance_get_lower_particle_key()
1139 get_lower_particle_key = staticmethod(get_lower_particle_key)
1141 def set_lower(self, *args):
1143 set_lower(Nuisance self, IMP::Float d)
1144 set_lower(Nuisance self, Particle d)
1146 return _IMP_isd.Nuisance_set_lower(self, *args)
1149 def remove_lower(self):
1150 """remove_lower(Nuisance self)"""
1151 return _IMP_isd.Nuisance_remove_lower(self)
1154 def get_has_upper(self):
1155 """get_has_upper(Nuisance self) -> bool"""
1156 return _IMP_isd.Nuisance_get_has_upper(self)
1159 def get_upper(self):
1160 """get_upper(Nuisance self) -> IMP::Float"""
1161 return _IMP_isd.Nuisance_get_upper(self)
1164 def get_upper_key():
1165 """get_upper_key() -> FloatKey"""
1166 return _IMP_isd.Nuisance_get_upper_key()
1168 get_upper_key = staticmethod(get_upper_key)
1170 def get_upper_particle_key():
1171 """get_upper_particle_key() -> ParticleIndexKey"""
1172 return _IMP_isd.Nuisance_get_upper_particle_key()
1174 get_upper_particle_key = staticmethod(get_upper_particle_key)
1176 def set_upper(self, *args):
1178 set_upper(Nuisance self, IMP::Float d)
1179 set_upper(Nuisance self, Particle d)
1181 return _IMP_isd.Nuisance_set_upper(self, *args)
1184 def remove_upper(self):
1185 """remove_upper(Nuisance self)"""
1186 return _IMP_isd.Nuisance_remove_upper(self)
1189 def get_nuisance_derivative(self):
1190 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1191 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1194 def add_to_nuisance_derivative(self, d, accum):
1195 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1196 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1199 def get_nuisance_is_optimized(self):
1200 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1201 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1204 def set_nuisance_is_optimized(self, val):
1205 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1206 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1209 def add_attribute(self, *args):
1211 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1212 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1213 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1214 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1215 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1216 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1218 return _IMP_isd.Nuisance_add_attribute(self, *args)
1221 def get_value(self, *args):
1223 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1224 get_value(Nuisance self, IntKey a0) -> IMP::Int
1225 get_value(Nuisance self, StringKey a0) -> IMP::String
1226 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1227 get_value(Nuisance self, ObjectKey a0) -> Object
1229 return _IMP_isd.Nuisance_get_value(self, *args)
1232 def set_value(self, *args):
1234 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1235 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1236 set_value(Nuisance self, StringKey a0, IMP::String a1)
1237 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1238 set_value(Nuisance self, ObjectKey a0, Object a1)
1240 return _IMP_isd.Nuisance_set_value(self, *args)
1243 def remove_attribute(self, *args):
1245 remove_attribute(Nuisance self, FloatKey a0)
1246 remove_attribute(Nuisance self, IntKey a0)
1247 remove_attribute(Nuisance self, StringKey a0)
1248 remove_attribute(Nuisance self, ParticleIndexKey a0)
1249 remove_attribute(Nuisance self, ObjectKey a0)
1251 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1254 def has_attribute(self, *args):
1256 has_attribute(Nuisance self, FloatKey a0) -> bool
1257 has_attribute(Nuisance self, IntKey a0) -> bool
1258 has_attribute(Nuisance self, StringKey a0) -> bool
1259 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1260 has_attribute(Nuisance self, ObjectKey a0) -> bool
1262 return _IMP_isd.Nuisance_has_attribute(self, *args)
1265 def get_derivative(self, a0):
1266 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1267 return _IMP_isd.Nuisance_get_derivative(self, a0)
1271 """get_name(Nuisance self) -> std::string"""
1272 return _IMP_isd.Nuisance_get_name(self)
1276 """clear_caches(Nuisance self)"""
1277 return _IMP_isd.Nuisance_clear_caches(self)
1280 def set_name(self, a0):
1281 """set_name(Nuisance self, std::string a0)"""
1282 return _IMP_isd.Nuisance_set_name(self, a0)
1286 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1287 return _IMP_isd.Nuisance_set_check_level(self, a0)
1290 def add_to_derivative(self, a0, a1, a2):
1291 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1292 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1295 def set_is_optimized(self, a0, a1):
1296 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1297 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1300 def get_is_optimized(self, a0):
1301 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1302 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1305 def get_check_level(self):
1306 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1307 return _IMP_isd.Nuisance_get_check_level(self)
1310 def __eq__(self, *args):
1312 __eq__(Nuisance self, Nuisance o) -> bool
1313 __eq__(Nuisance self, Particle d) -> bool
1315 return _IMP_isd.Nuisance___eq__(self, *args)
1318 def __ne__(self, *args):
1320 __ne__(Nuisance self, Nuisance o) -> bool
1321 __ne__(Nuisance self, Particle d) -> bool
1323 return _IMP_isd.Nuisance___ne__(self, *args)
1326 def __le__(self, *args):
1328 __le__(Nuisance self, Nuisance o) -> bool
1329 __le__(Nuisance self, Particle d) -> bool
1331 return _IMP_isd.Nuisance___le__(self, *args)
1334 def __lt__(self, *args):
1336 __lt__(Nuisance self, Nuisance o) -> bool
1337 __lt__(Nuisance self, Particle d) -> bool
1339 return _IMP_isd.Nuisance___lt__(self, *args)
1342 def __ge__(self, *args):
1344 __ge__(Nuisance self, Nuisance o) -> bool
1345 __ge__(Nuisance self, Particle d) -> bool
1347 return _IMP_isd.Nuisance___ge__(self, *args)
1350 def __gt__(self, *args):
1352 __gt__(Nuisance self, Nuisance o) -> bool
1353 __gt__(Nuisance self, Particle d) -> bool
1355 return _IMP_isd.Nuisance___gt__(self, *args)
1359 """__hash__(Nuisance self) -> std::size_t"""
1360 return _IMP_isd.Nuisance___hash__(self)
1364 """__str__(Nuisance self) -> std::string"""
1365 return _IMP_isd.Nuisance___str__(self)
1369 """__repr__(Nuisance self) -> std::string"""
1370 return _IMP_isd.Nuisance___repr__(self)
1372 __swig_destroy__ = _IMP_isd.delete_Nuisance
1373 __del__ =
lambda self:
None
1374 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1375 Nuisance_swigregister(Nuisance)
1377 def Nuisance_setup_particle(*args):
1379 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1380 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1381 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1382 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1384 return _IMP_isd.Nuisance_setup_particle(*args)
1386 def Nuisance_get_is_setup(*args):
1388 get_is_setup(_ParticleAdaptor p) -> bool
1389 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1391 return _IMP_isd.Nuisance_get_is_setup(*args)
1393 def Nuisance_get_nuisance_key():
1394 """Nuisance_get_nuisance_key() -> FloatKey"""
1395 return _IMP_isd.Nuisance_get_nuisance_key()
1397 def Nuisance_get_lower_key():
1398 """Nuisance_get_lower_key() -> FloatKey"""
1399 return _IMP_isd.Nuisance_get_lower_key()
1401 def Nuisance_get_lower_particle_key():
1402 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1403 return _IMP_isd.Nuisance_get_lower_particle_key()
1405 def Nuisance_get_upper_key():
1406 """Nuisance_get_upper_key() -> FloatKey"""
1407 return _IMP_isd.Nuisance_get_upper_key()
1409 def Nuisance_get_upper_particle_key():
1410 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1411 return _IMP_isd.Nuisance_get_upper_particle_key()
1413 class Scale(Nuisance):
1414 """Proxy of C++ IMP::isd::Scale class."""
1416 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1418 def __init__(self, *args):
1420 __init__(IMP::isd::Scale self) -> Scale
1421 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1422 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1424 this = _IMP_isd.new_Scale(*args)
1426 self.this.append(this)
1427 except __builtin__.Exception:
1430 def show(self, *args):
1432 show(Scale self, _ostream out)
1435 return _IMP_isd.Scale_show(self, *args)
1438 def setup_particle(*args):
1440 setup_particle(Model m, ParticleIndex pi) -> Scale
1441 setup_particle(_ParticleAdaptor decorator) -> Scale
1442 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1443 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1445 return _IMP_isd.Scale_setup_particle(*args)
1447 setup_particle = staticmethod(setup_particle)
1449 def get_is_setup(*args):
1451 get_is_setup(_ParticleAdaptor p) -> bool
1452 get_is_setup(Model m, ParticleIndex pi) -> bool
1454 return _IMP_isd.Scale_get_is_setup(*args)
1456 get_is_setup = staticmethod(get_is_setup)
1458 def get_scale(self):
1459 """get_scale(Scale self) -> IMP::Float"""
1460 return _IMP_isd.Scale_get_scale(self)
1463 def set_scale(self, d):
1464 """set_scale(Scale self, IMP::Float d)"""
1465 return _IMP_isd.Scale_set_scale(self, d)
1468 def add_to_scale_derivative(self, d, accum):
1469 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1470 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1473 def get_scale_derivative(self):
1474 """get_scale_derivative(Scale self) -> IMP::Float"""
1475 return _IMP_isd.Scale_get_scale_derivative(self)
1478 def get_scale_key():
1479 """get_scale_key() -> FloatKey"""
1480 return _IMP_isd.Scale_get_scale_key()
1482 get_scale_key = staticmethod(get_scale_key)
1484 def get_scale_is_optimized(self):
1485 """get_scale_is_optimized(Scale self) -> bool"""
1486 return _IMP_isd.Scale_get_scale_is_optimized(self)
1489 def set_scale_is_optimized(self, val):
1490 """set_scale_is_optimized(Scale self, bool val)"""
1491 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1494 def add_attribute(self, *args):
1496 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1497 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1498 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1499 add_attribute(Scale self, StringKey a0, IMP::String a1)
1500 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1501 add_attribute(Scale self, ObjectKey a0, Object a1)
1503 return _IMP_isd.Scale_add_attribute(self, *args)
1506 def get_value(self, *args):
1508 get_value(Scale self, FloatKey a0) -> IMP::Float
1509 get_value(Scale self, IntKey a0) -> IMP::Int
1510 get_value(Scale self, StringKey a0) -> IMP::String
1511 get_value(Scale self, ParticleIndexKey a0) -> Particle
1512 get_value(Scale self, ObjectKey a0) -> Object
1514 return _IMP_isd.Scale_get_value(self, *args)
1517 def set_value(self, *args):
1519 set_value(Scale self, FloatKey a0, IMP::Float a1)
1520 set_value(Scale self, IntKey a0, IMP::Int a1)
1521 set_value(Scale self, StringKey a0, IMP::String a1)
1522 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1523 set_value(Scale self, ObjectKey a0, Object a1)
1525 return _IMP_isd.Scale_set_value(self, *args)
1528 def remove_attribute(self, *args):
1530 remove_attribute(Scale self, FloatKey a0)
1531 remove_attribute(Scale self, IntKey a0)
1532 remove_attribute(Scale self, StringKey a0)
1533 remove_attribute(Scale self, ParticleIndexKey a0)
1534 remove_attribute(Scale self, ObjectKey a0)
1536 return _IMP_isd.Scale_remove_attribute(self, *args)
1539 def has_attribute(self, *args):
1541 has_attribute(Scale self, FloatKey a0) -> bool
1542 has_attribute(Scale self, IntKey a0) -> bool
1543 has_attribute(Scale self, StringKey a0) -> bool
1544 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1545 has_attribute(Scale self, ObjectKey a0) -> bool
1547 return _IMP_isd.Scale_has_attribute(self, *args)
1550 def get_derivative(self, a0):
1551 """get_derivative(Scale self, FloatKey a0) -> double"""
1552 return _IMP_isd.Scale_get_derivative(self, a0)
1556 """get_name(Scale self) -> std::string"""
1557 return _IMP_isd.Scale_get_name(self)
1561 """clear_caches(Scale self)"""
1562 return _IMP_isd.Scale_clear_caches(self)
1565 def set_name(self, a0):
1566 """set_name(Scale self, std::string a0)"""
1567 return _IMP_isd.Scale_set_name(self, a0)
1571 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1572 return _IMP_isd.Scale_set_check_level(self, a0)
1575 def add_to_derivative(self, a0, a1, a2):
1576 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1577 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1580 def set_is_optimized(self, a0, a1):
1581 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1582 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1585 def get_is_optimized(self, a0):
1586 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1587 return _IMP_isd.Scale_get_is_optimized(self, a0)
1590 def get_check_level(self):
1591 """get_check_level(Scale self) -> IMP::CheckLevel"""
1592 return _IMP_isd.Scale_get_check_level(self)
1595 def __eq__(self, *args):
1597 __eq__(Scale self, Scale o) -> bool
1598 __eq__(Scale self, Particle d) -> bool
1600 return _IMP_isd.Scale___eq__(self, *args)
1603 def __ne__(self, *args):
1605 __ne__(Scale self, Scale o) -> bool
1606 __ne__(Scale self, Particle d) -> bool
1608 return _IMP_isd.Scale___ne__(self, *args)
1611 def __le__(self, *args):
1613 __le__(Scale self, Scale o) -> bool
1614 __le__(Scale self, Particle d) -> bool
1616 return _IMP_isd.Scale___le__(self, *args)
1619 def __lt__(self, *args):
1621 __lt__(Scale self, Scale o) -> bool
1622 __lt__(Scale self, Particle d) -> bool
1624 return _IMP_isd.Scale___lt__(self, *args)
1627 def __ge__(self, *args):
1629 __ge__(Scale self, Scale o) -> bool
1630 __ge__(Scale self, Particle d) -> bool
1632 return _IMP_isd.Scale___ge__(self, *args)
1635 def __gt__(self, *args):
1637 __gt__(Scale self, Scale o) -> bool
1638 __gt__(Scale self, Particle d) -> bool
1640 return _IMP_isd.Scale___gt__(self, *args)
1644 """__hash__(Scale self) -> std::size_t"""
1645 return _IMP_isd.Scale___hash__(self)
1649 """__str__(Scale self) -> std::string"""
1650 return _IMP_isd.Scale___str__(self)
1654 """__repr__(Scale self) -> std::string"""
1655 return _IMP_isd.Scale___repr__(self)
1657 __swig_destroy__ = _IMP_isd.delete_Scale
1658 __del__ =
lambda self:
None
1659 Scale_swigregister = _IMP_isd.Scale_swigregister
1660 Scale_swigregister(Scale)
1662 def Scale_setup_particle(*args):
1664 setup_particle(Model m, ParticleIndex pi) -> Scale
1665 setup_particle(_ParticleAdaptor decorator) -> Scale
1666 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1667 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1669 return _IMP_isd.Scale_setup_particle(*args)
1671 def Scale_get_is_setup(*args):
1673 get_is_setup(_ParticleAdaptor p) -> bool
1674 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1676 return _IMP_isd.Scale_get_is_setup(*args)
1678 def Scale_get_scale_key():
1679 """Scale_get_scale_key() -> FloatKey"""
1680 return _IMP_isd.Scale_get_scale_key()
1682 class Switching(Nuisance):
1683 """Proxy of C++ IMP::isd::Switching class."""
1685 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1687 def __init__(self, *args):
1689 __init__(IMP::isd::Switching self) -> Switching
1690 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1691 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1693 this = _IMP_isd.new_Switching(*args)
1695 self.this.append(this)
1696 except __builtin__.Exception:
1699 def show(self, *args):
1701 show(Switching self, _ostream out)
1702 show(Switching self)
1704 return _IMP_isd.Switching_show(self, *args)
1707 def setup_particle(*args):
1709 setup_particle(Model m, ParticleIndex pi) -> Switching
1710 setup_particle(_ParticleAdaptor decorator) -> Switching
1711 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1712 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1714 return _IMP_isd.Switching_setup_particle(*args)
1716 setup_particle = staticmethod(setup_particle)
1718 def get_is_setup(*args):
1720 get_is_setup(_ParticleAdaptor p) -> bool
1721 get_is_setup(Model m, ParticleIndex pi) -> bool
1723 return _IMP_isd.Switching_get_is_setup(*args)
1725 get_is_setup = staticmethod(get_is_setup)
1727 def get_switching(self):
1728 """get_switching(Switching self) -> IMP::Float"""
1729 return _IMP_isd.Switching_get_switching(self)
1732 def set_switching(self, d):
1733 """set_switching(Switching self, IMP::Float d)"""
1734 return _IMP_isd.Switching_set_switching(self, d)
1737 def add_to_switching_derivative(self, d, accum):
1738 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1739 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1742 def get_switching_derivative(self):
1743 """get_switching_derivative(Switching self) -> IMP::Float"""
1744 return _IMP_isd.Switching_get_switching_derivative(self)
1747 def get_switching_key():
1748 """get_switching_key() -> FloatKey"""
1749 return _IMP_isd.Switching_get_switching_key()
1751 get_switching_key = staticmethod(get_switching_key)
1753 def get_switching_is_optimized(self):
1754 """get_switching_is_optimized(Switching self) -> bool"""
1755 return _IMP_isd.Switching_get_switching_is_optimized(self)
1758 def set_switching_is_optimized(self, val):
1759 """set_switching_is_optimized(Switching self, bool val)"""
1760 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
1763 def add_attribute(self, *args):
1765 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1766 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1767 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1768 add_attribute(Switching self, StringKey a0, IMP::String a1)
1769 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1770 add_attribute(Switching self, ObjectKey a0, Object a1)
1772 return _IMP_isd.Switching_add_attribute(self, *args)
1775 def get_value(self, *args):
1777 get_value(Switching self, FloatKey a0) -> IMP::Float
1778 get_value(Switching self, IntKey a0) -> IMP::Int
1779 get_value(Switching self, StringKey a0) -> IMP::String
1780 get_value(Switching self, ParticleIndexKey a0) -> Particle
1781 get_value(Switching self, ObjectKey a0) -> Object
1783 return _IMP_isd.Switching_get_value(self, *args)
1786 def set_value(self, *args):
1788 set_value(Switching self, FloatKey a0, IMP::Float a1)
1789 set_value(Switching self, IntKey a0, IMP::Int a1)
1790 set_value(Switching self, StringKey a0, IMP::String a1)
1791 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1792 set_value(Switching self, ObjectKey a0, Object a1)
1794 return _IMP_isd.Switching_set_value(self, *args)
1797 def remove_attribute(self, *args):
1799 remove_attribute(Switching self, FloatKey a0)
1800 remove_attribute(Switching self, IntKey a0)
1801 remove_attribute(Switching self, StringKey a0)
1802 remove_attribute(Switching self, ParticleIndexKey a0)
1803 remove_attribute(Switching self, ObjectKey a0)
1805 return _IMP_isd.Switching_remove_attribute(self, *args)
1808 def has_attribute(self, *args):
1810 has_attribute(Switching self, FloatKey a0) -> bool
1811 has_attribute(Switching self, IntKey a0) -> bool
1812 has_attribute(Switching self, StringKey a0) -> bool
1813 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1814 has_attribute(Switching self, ObjectKey a0) -> bool
1816 return _IMP_isd.Switching_has_attribute(self, *args)
1819 def get_derivative(self, a0):
1820 """get_derivative(Switching self, FloatKey a0) -> double"""
1821 return _IMP_isd.Switching_get_derivative(self, a0)
1825 """get_name(Switching self) -> std::string"""
1826 return _IMP_isd.Switching_get_name(self)
1830 """clear_caches(Switching self)"""
1831 return _IMP_isd.Switching_clear_caches(self)
1834 def set_name(self, a0):
1835 """set_name(Switching self, std::string a0)"""
1836 return _IMP_isd.Switching_set_name(self, a0)
1840 """set_check_level(Switching self, IMP::CheckLevel a0)"""
1841 return _IMP_isd.Switching_set_check_level(self, a0)
1844 def add_to_derivative(self, a0, a1, a2):
1845 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1846 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
1849 def set_is_optimized(self, a0, a1):
1850 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1851 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
1854 def get_is_optimized(self, a0):
1855 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1856 return _IMP_isd.Switching_get_is_optimized(self, a0)
1859 def get_check_level(self):
1860 """get_check_level(Switching self) -> IMP::CheckLevel"""
1861 return _IMP_isd.Switching_get_check_level(self)
1864 def __eq__(self, *args):
1866 __eq__(Switching self, Switching o) -> bool
1867 __eq__(Switching self, Particle d) -> bool
1869 return _IMP_isd.Switching___eq__(self, *args)
1872 def __ne__(self, *args):
1874 __ne__(Switching self, Switching o) -> bool
1875 __ne__(Switching self, Particle d) -> bool
1877 return _IMP_isd.Switching___ne__(self, *args)
1880 def __le__(self, *args):
1882 __le__(Switching self, Switching o) -> bool
1883 __le__(Switching self, Particle d) -> bool
1885 return _IMP_isd.Switching___le__(self, *args)
1888 def __lt__(self, *args):
1890 __lt__(Switching self, Switching o) -> bool
1891 __lt__(Switching self, Particle d) -> bool
1893 return _IMP_isd.Switching___lt__(self, *args)
1896 def __ge__(self, *args):
1898 __ge__(Switching self, Switching o) -> bool
1899 __ge__(Switching self, Particle d) -> bool
1901 return _IMP_isd.Switching___ge__(self, *args)
1904 def __gt__(self, *args):
1906 __gt__(Switching self, Switching o) -> bool
1907 __gt__(Switching self, Particle d) -> bool
1909 return _IMP_isd.Switching___gt__(self, *args)
1913 """__hash__(Switching self) -> std::size_t"""
1914 return _IMP_isd.Switching___hash__(self)
1918 """__str__(Switching self) -> std::string"""
1919 return _IMP_isd.Switching___str__(self)
1923 """__repr__(Switching self) -> std::string"""
1924 return _IMP_isd.Switching___repr__(self)
1926 __swig_destroy__ = _IMP_isd.delete_Switching
1927 __del__ =
lambda self:
None
1928 Switching_swigregister = _IMP_isd.Switching_swigregister
1929 Switching_swigregister(Switching)
1931 def Switching_setup_particle(*args):
1933 setup_particle(Model m, ParticleIndex pi) -> Switching
1934 setup_particle(_ParticleAdaptor decorator) -> Switching
1935 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1936 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1938 return _IMP_isd.Switching_setup_particle(*args)
1940 def Switching_get_is_setup(*args):
1942 get_is_setup(_ParticleAdaptor p) -> bool
1943 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
1945 return _IMP_isd.Switching_get_is_setup(*args)
1947 def Switching_get_switching_key():
1948 """Switching_get_switching_key() -> FloatKey"""
1949 return _IMP_isd.Switching_get_switching_key()
1952 def __lshift__(*args):
1954 __lshift__(_ostream out, Nuisance n) -> _ostream
1955 __lshift__(_ostream out, Scale n) -> _ostream
1956 __lshift__(_ostream out, Switching n) -> _ostream
1958 return _IMP_isd.__lshift__(*args)
1960 """Proxy of C++ IMP::isd::Weight class."""
1962 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1964 def __init__(self, *args):
1966 __init__(IMP::isd::Weight self) -> Weight
1967 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
1968 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
1970 this = _IMP_isd.new_Weight(*args)
1972 self.this.append(this)
1973 except __builtin__.Exception:
1976 def show(self, *args):
1978 show(Weight self, _ostream out)
1981 return _IMP_isd.Weight_show(self, *args)
1984 def setup_particle(*args):
1986 setup_particle(Model m, ParticleIndex pi) -> Weight
1987 setup_particle(_ParticleAdaptor decorator) -> Weight
1989 return _IMP_isd.Weight_setup_particle(*args)
1991 setup_particle = staticmethod(setup_particle)
1993 def get_nstates_key():
1994 """get_nstates_key() -> IntKey"""
1995 return _IMP_isd.Weight_get_nstates_key()
1997 get_nstates_key = staticmethod(get_nstates_key)
1999 def get_weight_key(i):
2000 """get_weight_key(int i) -> FloatKey"""
2001 return _IMP_isd.Weight_get_weight_key(i)
2003 get_weight_key = staticmethod(get_weight_key)
2005 def set_weights(self, w):
2006 """set_weights(Weight self, VectorKD w)"""
2007 return _IMP_isd.Weight_set_weights(self, w)
2010 def add_weight(self):
2011 """add_weight(Weight self)"""
2012 return _IMP_isd.Weight_add_weight(self)
2015 def get_weight(self, i):
2016 """get_weight(Weight self, int i) -> IMP::Float"""
2017 return _IMP_isd.Weight_get_weight(self, i)
2020 def get_weights(self):
2021 """get_weights(Weight self) -> VectorKD"""
2022 return _IMP_isd.Weight_get_weights(self)
2025 def set_weights_are_optimized(self, tf):
2026 """set_weights_are_optimized(Weight self, bool tf)"""
2027 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2030 def get_number_of_states(self):
2031 """get_number_of_states(Weight self) -> IMP::Int"""
2032 return _IMP_isd.Weight_get_number_of_states(self)
2035 def get_is_setup(*args):
2037 get_is_setup(_ParticleAdaptor p) -> bool
2038 get_is_setup(Model m, ParticleIndex pi) -> bool
2040 return _IMP_isd.Weight_get_is_setup(*args)
2042 get_is_setup = staticmethod(get_is_setup)
2044 def add_attribute(self, *args):
2046 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2047 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2048 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2049 add_attribute(Weight self, StringKey a0, IMP::String a1)
2050 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2051 add_attribute(Weight self, ObjectKey a0, Object a1)
2053 return _IMP_isd.Weight_add_attribute(self, *args)
2056 def get_value(self, *args):
2058 get_value(Weight self, FloatKey a0) -> IMP::Float
2059 get_value(Weight self, IntKey a0) -> IMP::Int
2060 get_value(Weight self, StringKey a0) -> IMP::String
2061 get_value(Weight self, ParticleIndexKey a0) -> Particle
2062 get_value(Weight self, ObjectKey a0) -> Object
2064 return _IMP_isd.Weight_get_value(self, *args)
2067 def set_value(self, *args):
2069 set_value(Weight self, FloatKey a0, IMP::Float a1)
2070 set_value(Weight self, IntKey a0, IMP::Int a1)
2071 set_value(Weight self, StringKey a0, IMP::String a1)
2072 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2073 set_value(Weight self, ObjectKey a0, Object a1)
2075 return _IMP_isd.Weight_set_value(self, *args)
2078 def remove_attribute(self, *args):
2080 remove_attribute(Weight self, FloatKey a0)
2081 remove_attribute(Weight self, IntKey a0)
2082 remove_attribute(Weight self, StringKey a0)
2083 remove_attribute(Weight self, ParticleIndexKey a0)
2084 remove_attribute(Weight self, ObjectKey a0)
2086 return _IMP_isd.Weight_remove_attribute(self, *args)
2089 def has_attribute(self, *args):
2091 has_attribute(Weight self, FloatKey a0) -> bool
2092 has_attribute(Weight self, IntKey a0) -> bool
2093 has_attribute(Weight self, StringKey a0) -> bool
2094 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2095 has_attribute(Weight self, ObjectKey a0) -> bool
2097 return _IMP_isd.Weight_has_attribute(self, *args)
2100 def get_derivative(self, a0):
2101 """get_derivative(Weight self, FloatKey a0) -> double"""
2102 return _IMP_isd.Weight_get_derivative(self, a0)
2106 """get_name(Weight self) -> std::string"""
2107 return _IMP_isd.Weight_get_name(self)
2111 """clear_caches(Weight self)"""
2112 return _IMP_isd.Weight_clear_caches(self)
2115 def set_name(self, a0):
2116 """set_name(Weight self, std::string a0)"""
2117 return _IMP_isd.Weight_set_name(self, a0)
2121 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2122 return _IMP_isd.Weight_set_check_level(self, a0)
2125 def add_to_derivative(self, a0, a1, a2):
2126 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2127 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2130 def set_is_optimized(self, a0, a1):
2131 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2132 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2135 def get_is_optimized(self, a0):
2136 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2137 return _IMP_isd.Weight_get_is_optimized(self, a0)
2140 def get_check_level(self):
2141 """get_check_level(Weight self) -> IMP::CheckLevel"""
2142 return _IMP_isd.Weight_get_check_level(self)
2145 def __eq__(self, *args):
2147 __eq__(Weight self, Weight o) -> bool
2148 __eq__(Weight self, Particle d) -> bool
2150 return _IMP_isd.Weight___eq__(self, *args)
2153 def __ne__(self, *args):
2155 __ne__(Weight self, Weight o) -> bool
2156 __ne__(Weight self, Particle d) -> bool
2158 return _IMP_isd.Weight___ne__(self, *args)
2161 def __le__(self, *args):
2163 __le__(Weight self, Weight o) -> bool
2164 __le__(Weight self, Particle d) -> bool
2166 return _IMP_isd.Weight___le__(self, *args)
2169 def __lt__(self, *args):
2171 __lt__(Weight self, Weight o) -> bool
2172 __lt__(Weight self, Particle d) -> bool
2174 return _IMP_isd.Weight___lt__(self, *args)
2177 def __ge__(self, *args):
2179 __ge__(Weight self, Weight o) -> bool
2180 __ge__(Weight self, Particle d) -> bool
2182 return _IMP_isd.Weight___ge__(self, *args)
2185 def __gt__(self, *args):
2187 __gt__(Weight self, Weight o) -> bool
2188 __gt__(Weight self, Particle d) -> bool
2190 return _IMP_isd.Weight___gt__(self, *args)
2194 """__hash__(Weight self) -> std::size_t"""
2195 return _IMP_isd.Weight___hash__(self)
2199 """__str__(Weight self) -> std::string"""
2200 return _IMP_isd.Weight___str__(self)
2204 """__repr__(Weight self) -> std::string"""
2205 return _IMP_isd.Weight___repr__(self)
2207 __swig_destroy__ = _IMP_isd.delete_Weight
2208 __del__ =
lambda self:
None
2209 Weight_swigregister = _IMP_isd.Weight_swigregister
2210 Weight_swigregister(Weight)
2212 def Weight_setup_particle(*args):
2214 setup_particle(Model m, ParticleIndex pi) -> Weight
2215 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
2217 return _IMP_isd.Weight_setup_particle(*args)
2219 def Weight_get_nstates_key():
2220 """Weight_get_nstates_key() -> IntKey"""
2221 return _IMP_isd.Weight_get_nstates_key()
2223 def Weight_get_weight_key(i):
2224 """Weight_get_weight_key(int i) -> FloatKey"""
2225 return _IMP_isd.Weight_get_weight_key(i)
2227 def Weight_get_is_setup(*args):
2229 get_is_setup(_ParticleAdaptor p) -> bool
2230 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2232 return _IMP_isd.Weight_get_is_setup(*args)
2235 """Proxy of C++ IMP::isd::JeffreysRestraint class."""
2237 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2239 def __init__(self, m, p):
2240 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2241 this = _IMP_isd.new_JeffreysRestraint(m, p)
2243 self.this.append(this)
2244 except __builtin__.Exception:
2248 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2249 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2253 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2254 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2257 def get_probability(self):
2258 """get_probability(JeffreysRestraint self) -> double"""
2259 return _IMP_isd.JeffreysRestraint_get_probability(self)
2263 """__str__(JeffreysRestraint self) -> std::string"""
2264 return _IMP_isd.JeffreysRestraint___str__(self)
2268 """__repr__(JeffreysRestraint self) -> std::string"""
2269 return _IMP_isd.JeffreysRestraint___repr__(self)
2274 return _object_cast_to_JeffreysRestraint(o)
2276 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2277 JeffreysRestraint_swigregister(JeffreysRestraint)
2280 """Proxy of C++ IMP::isd::NormalSigmaPCRestraint class."""
2282 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2284 def __init__(self, *args):
2286 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2287 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha) -> NormalSigmaPCRestraint
2288 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2289 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha) -> NormalSigmaPCRestraint
2291 this = _IMP_isd.new_NormalSigmaPCRestraint(*args)
2293 self.this.append(this)
2294 except __builtin__.Exception:
2297 def get_sigma(self):
2298 """get_sigma(NormalSigmaPCRestraint self) -> Scale"""
2299 return _IMP_isd.NormalSigmaPCRestraint_get_sigma(self)
2302 def get_alpha(self):
2303 """get_alpha(NormalSigmaPCRestraint self) -> double"""
2304 return _IMP_isd.NormalSigmaPCRestraint_get_alpha(self)
2307 def get_sigma_upper(self):
2308 """get_sigma_upper(NormalSigmaPCRestraint self) -> double"""
2309 return _IMP_isd.NormalSigmaPCRestraint_get_sigma_upper(self)
2312 def get_probability(self):
2313 """get_probability(NormalSigmaPCRestraint self) -> double"""
2314 return _IMP_isd.NormalSigmaPCRestraint_get_probability(self)
2318 """do_get_inputs(NormalSigmaPCRestraint self) -> IMP::ModelObjectsTemp"""
2319 return _IMP_isd.NormalSigmaPCRestraint_do_get_inputs(self)
2323 """get_version_info(NormalSigmaPCRestraint self) -> VersionInfo"""
2324 return _IMP_isd.NormalSigmaPCRestraint_get_version_info(self)
2328 """__str__(NormalSigmaPCRestraint self) -> std::string"""
2329 return _IMP_isd.NormalSigmaPCRestraint___str__(self)
2333 """__repr__(NormalSigmaPCRestraint self) -> std::string"""
2334 return _IMP_isd.NormalSigmaPCRestraint___repr__(self)
2339 return _object_cast_to_NormalSigmaPCRestraint(o)
2341 NormalSigmaPCRestraint_swigregister = _IMP_isd.NormalSigmaPCRestraint_swigregister
2342 NormalSigmaPCRestraint_swigregister(NormalSigmaPCRestraint)
2345 """Proxy of C++ IMP::isd::Distribution class."""
2347 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2349 def __init__(self, *args):
2351 __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2352 __init__(IMP::isd::Distribution self) -> Distribution
2354 if self.__class__ == Distribution:
2358 this = _IMP_isd.new_Distribution(_self, *args)
2360 self.this.append(this)
2361 except __builtin__.Exception:
2364 if self.__class__ != Distribution:
2365 _director_objects.register(self)
2370 def get_type_name(self):
2371 """get_type_name(Distribution self) -> std::string"""
2372 return _IMP_isd.Distribution_get_type_name(self)
2376 """get_version_info(Distribution self) -> VersionInfo"""
2377 return _IMP_isd.Distribution_get_version_info(self)
2381 """__str__(Distribution self) -> std::string"""
2382 return _IMP_isd.Distribution___str__(self)
2386 """__repr__(Distribution self) -> std::string"""
2387 return _IMP_isd.Distribution___repr__(self)
2392 return _object_cast_to_Distribution(o)
2395 def get_type_name(self):
2396 return self.__class__.__name__
2397 def do_show(self, out):
2400 if"IMP::isd" ==
"IMP":
2401 return VersionInfo(self.__module__,
2402 __import__(self.__module__).get_module_version())
2405 __import__(self.__module__).get_module_version())
2408 return _object_cast_to_Distribution(o)
2410 def __disown__(self):
2412 _IMP_isd.disown_Distribution(self)
2413 return weakref_proxy(self)
2416 """do_destroy(Distribution self)"""
2417 return _IMP_isd.Distribution_do_destroy(self)
2419 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2420 Distribution_swigregister(Distribution)
2422 class OneDimensionalDistribution(Distribution):
2423 """Proxy of C++ IMP::isd::OneDimensionalDistribution class."""
2425 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2427 def do_evaluate(self, *args):
2429 do_evaluate(OneDimensionalDistribution self, double v) -> double
2430 do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2432 return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2435 def do_get_density(self, *args):
2437 do_get_density(OneDimensionalDistribution self, double v) -> double
2438 do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2440 return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2443 def __init__(self, *args):
2445 __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2446 __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2448 if self.__class__ == OneDimensionalDistribution:
2452 this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2454 self.this.append(this)
2455 except __builtin__.Exception:
2458 if self.__class__ != OneDimensionalDistribution:
2459 _director_objects.register(self)
2464 def evaluate(self, *args):
2466 evaluate(OneDimensionalDistribution self, double v) -> double
2467 evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2469 return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2472 def get_density(self, *args):
2474 get_density(OneDimensionalDistribution self, double v) -> double
2475 get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2477 return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2480 def get_type_name(self):
2481 """get_type_name(OneDimensionalDistribution self) -> std::string"""
2482 return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2486 """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2487 return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2491 """__str__(OneDimensionalDistribution self) -> std::string"""
2492 return _IMP_isd.OneDimensionalDistribution___str__(self)
2496 """__repr__(OneDimensionalDistribution self) -> std::string"""
2497 return _IMP_isd.OneDimensionalDistribution___repr__(self)
2502 return _object_cast_to_OneDimensionalDistribution(o)
2505 def get_type_name(self):
2506 return self.__class__.__name__
2507 def do_show(self, out):
2510 if"IMP::isd" ==
"IMP":
2511 return VersionInfo(self.__module__,
2512 __import__(self.__module__).get_module_version())
2515 __import__(self.__module__).get_module_version())
2518 return _object_cast_to_OneDimensionalDistribution(o)
2520 def __disown__(self):
2522 _IMP_isd.disown_OneDimensionalDistribution(self)
2523 return weakref_proxy(self)
2526 """do_destroy(OneDimensionalDistribution self)"""
2527 return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2529 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2530 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2532 class OneDimensionalSufficientDistribution(Distribution):
2533 """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class."""
2535 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2537 def do_update_sufficient_statistics(self, vs):
2538 """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2539 return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
2542 def do_get_sufficient_statistics(self):
2543 """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2544 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
2547 def do_evaluate(self):
2548 """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
2549 return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
2552 def do_get_density(self):
2553 """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
2554 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
2557 def __init__(self, *args):
2559 __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
2560 __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
2562 if self.__class__ == OneDimensionalSufficientDistribution:
2566 this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
2568 self.this.append(this)
2569 except __builtin__.Exception:
2572 if self.__class__ != OneDimensionalSufficientDistribution:
2573 _director_objects.register(self)
2578 def update_sufficient_statistics(self, vs):
2579 """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2580 return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
2583 def get_sufficient_statistics(self):
2584 """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2585 return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
2589 """evaluate(OneDimensionalSufficientDistribution self) -> double"""
2590 return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
2593 def get_density(self):
2594 """get_density(OneDimensionalSufficientDistribution self) -> double"""
2595 return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
2598 def get_type_name(self):
2599 """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
2600 return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
2604 """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
2605 return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
2609 """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
2610 return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
2614 """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
2615 return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
2620 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2623 def get_type_name(self):
2624 return self.__class__.__name__
2625 def do_show(self, out):
2628 if"IMP::isd" ==
"IMP":
2629 return VersionInfo(self.__module__,
2630 __import__(self.__module__).get_module_version())
2633 __import__(self.__module__).get_module_version())
2636 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2638 def __disown__(self):
2640 _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
2641 return weakref_proxy(self)
2644 """do_destroy(OneDimensionalSufficientDistribution self)"""
2645 return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
2647 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
2648 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
2650 class FNormal(OneDimensionalSufficientDistribution):
2651 """Proxy of C++ IMP::isd::FNormal class."""
2653 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2655 def __init__(self, FA, JA, FM, sigma):
2656 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2657 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2659 self.this.append(this)
2660 except __builtin__.Exception:
2663 def update_sufficient_statistics(self, FA):
2664 """update_sufficient_statistics(FNormal self, double FA)"""
2665 return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
2668 def do_update_sufficient_statistics(self, data):
2669 """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
2670 return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
2673 def do_get_sufficient_statistics(self):
2674 """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
2675 return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
2678 def do_evaluate(self):
2679 """do_evaluate(FNormal self) -> double"""
2680 return _IMP_isd.FNormal_do_evaluate(self)
2683 def evaluate_derivative_FA(self):
2684 """evaluate_derivative_FA(FNormal self) -> double"""
2685 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2688 def evaluate_derivative_JA(self):
2689 """evaluate_derivative_JA(FNormal self) -> double"""
2690 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2693 def evaluate_derivative_FM(self):
2694 """evaluate_derivative_FM(FNormal self) -> double"""
2695 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2698 def evaluate_derivative_sigma(self):
2699 """evaluate_derivative_sigma(FNormal self) -> double"""
2700 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2703 def do_get_density(self):
2704 """do_get_density(FNormal self) -> double"""
2705 return _IMP_isd.FNormal_do_get_density(self)
2708 def set_FA(self, f):
2709 """set_FA(FNormal self, double f)"""
2710 return _IMP_isd.FNormal_set_FA(self, f)
2713 def set_JA(self, f):
2714 """set_JA(FNormal self, double f)"""
2715 return _IMP_isd.FNormal_set_JA(self, f)
2718 def set_FM(self, f):
2719 """set_FM(FNormal self, double f)"""
2720 return _IMP_isd.FNormal_set_FM(self, f)
2723 def set_sigma(self, f):
2724 """set_sigma(FNormal self, double f)"""
2725 return _IMP_isd.FNormal_set_sigma(self, f)
2729 """__str__(FNormal self) -> std::string"""
2730 return _IMP_isd.FNormal___str__(self)
2734 """__repr__(FNormal self) -> std::string"""
2735 return _IMP_isd.FNormal___repr__(self)
2740 return _object_cast_to_FNormal(o)
2742 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2743 FNormal_swigregister(FNormal)
2745 class FStudentT(OneDimensionalSufficientDistribution):
2746 """Proxy of C++ IMP::isd::FStudentT class."""
2748 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2750 def __init__(self, *args):
2752 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
2753 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
2754 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
2755 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
2757 this = _IMP_isd.new_FStudentT(*args)
2759 self.this.append(this)
2760 except __builtin__.Exception:
2763 def update_sufficient_statistics(self, FXs, JXs):
2764 """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
2765 return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
2768 def evaluate_derivative_Fx(self, Fx):
2769 """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
2770 return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
2773 def evaluate_derivative_FX(self, FXs):
2774 """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
2775 return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
2778 def evaluate_derivative_LogJX(self):
2779 """evaluate_derivative_LogJX(FStudentT self) -> double"""
2780 return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
2783 def evaluate_derivative_FM(self):
2784 """evaluate_derivative_FM(FStudentT self) -> double"""
2785 return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
2788 def evaluate_derivative_sigma(self):
2789 """evaluate_derivative_sigma(FStudentT self) -> double"""
2790 return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
2793 def evaluate_derivative_nu(self):
2794 """evaluate_derivative_nu(FStudentT self) -> double"""
2795 return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
2798 def update_cached_values(self):
2799 """update_cached_values(FStudentT self)"""
2800 return _IMP_isd.FStudentT_update_cached_values(self)
2803 def set_sumFX(self, v):
2804 """set_sumFX(FStudentT self, double v)"""
2805 return _IMP_isd.FStudentT_set_sumFX(self, v)
2808 def set_sumFX2(self, v):
2809 """set_sumFX2(FStudentT self, double v)"""
2810 return _IMP_isd.FStudentT_set_sumFX2(self, v)
2814 """set_N(FStudentT self, unsigned int v)"""
2815 return _IMP_isd.FStudentT_set_N(self, v)
2818 def set_LogJX(self, v):
2819 """set_LogJX(FStudentT self, double v)"""
2820 return _IMP_isd.FStudentT_set_LogJX(self, v)
2823 def set_FM(self, v):
2824 """set_FM(FStudentT self, double v)"""
2825 return _IMP_isd.FStudentT_set_FM(self, v)
2828 def set_sigma(self, v):
2829 """set_sigma(FStudentT self, double v)"""
2830 return _IMP_isd.FStudentT_set_sigma(self, v)
2833 def set_nu(self, v):
2834 """set_nu(FStudentT self, double v)"""
2835 return _IMP_isd.FStudentT_set_nu(self, v)
2838 def get_sumFX(self):
2839 """get_sumFX(FStudentT self) -> double"""
2840 return _IMP_isd.FStudentT_get_sumFX(self)
2843 def get_sumFX2(self):
2844 """get_sumFX2(FStudentT self) -> double"""
2845 return _IMP_isd.FStudentT_get_sumFX2(self)
2849 """get_N(FStudentT self) -> unsigned int"""
2850 return _IMP_isd.FStudentT_get_N(self)
2853 def get_LogJX(self):
2854 """get_LogJX(FStudentT self) -> double"""
2855 return _IMP_isd.FStudentT_get_LogJX(self)
2859 """get_FM(FStudentT self) -> double"""
2860 return _IMP_isd.FStudentT_get_FM(self)
2863 def get_sigma(self):
2864 """get_sigma(FStudentT self) -> double"""
2865 return _IMP_isd.FStudentT_get_sigma(self)
2869 """get_nu(FStudentT self) -> double"""
2870 return _IMP_isd.FStudentT_get_nu(self)
2874 """__str__(FStudentT self) -> std::string"""
2875 return _IMP_isd.FStudentT___str__(self)
2879 """__repr__(FStudentT self) -> std::string"""
2880 return _IMP_isd.FStudentT___repr__(self)
2885 return _object_cast_to_FStudentT(o)
2887 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
2888 FStudentT_swigregister(FStudentT)
2891 """Proxy of C++ IMP::isd::vonMises class."""
2893 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2895 def __init__(self, x, mu, kappa):
2896 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
2897 this = _IMP_isd.new_vonMises(x, mu, kappa)
2899 self.this.append(this)
2900 except __builtin__.Exception:
2904 """evaluate(vonMises self) -> double"""
2905 return _IMP_isd.vonMises_evaluate(self)
2908 def evaluate_derivative_x(self):
2909 """evaluate_derivative_x(vonMises self) -> double"""
2910 return _IMP_isd.vonMises_evaluate_derivative_x(self)
2913 def evaluate_derivative_mu(self):
2914 """evaluate_derivative_mu(vonMises self) -> double"""
2915 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
2918 def evaluate_derivative_kappa(self):
2919 """evaluate_derivative_kappa(vonMises self) -> double"""
2920 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
2924 """density(vonMises self) -> double"""
2925 return _IMP_isd.vonMises_density(self)
2929 """set_x(vonMises self, double x)"""
2930 return _IMP_isd.vonMises_set_x(self, x)
2933 def set_mu(self, mu):
2934 """set_mu(vonMises self, double mu)"""
2935 return _IMP_isd.vonMises_set_mu(self, mu)
2938 def set_kappa(self, kappa):
2939 """set_kappa(vonMises self, double kappa)"""
2940 return _IMP_isd.vonMises_set_kappa(self, kappa)
2944 """get_version_info(vonMises self) -> VersionInfo"""
2945 return _IMP_isd.vonMises_get_version_info(self)
2949 """__str__(vonMises self) -> std::string"""
2950 return _IMP_isd.vonMises___str__(self)
2954 """__repr__(vonMises self) -> std::string"""
2955 return _IMP_isd.vonMises___repr__(self)
2960 return _object_cast_to_vonMises(o)
2962 vonMises_swigregister = _IMP_isd.vonMises_swigregister
2963 vonMises_swigregister(vonMises)
2966 """Proxy of C++ IMP::isd::vonMisesSufficient class."""
2968 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2970 def __init__(self, *args):
2972 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
2973 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
2975 this = _IMP_isd.new_vonMisesSufficient(*args)
2977 self.this.append(this)
2978 except __builtin__.Exception:
2982 """evaluate(vonMisesSufficient self) -> double"""
2983 return _IMP_isd.vonMisesSufficient_evaluate(self)
2986 def evaluate_derivative_x(self):
2987 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
2988 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
2991 def evaluate_derivative_kappa(self):
2992 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
2993 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
2997 """density(vonMisesSufficient self) -> double"""
2998 return _IMP_isd.vonMisesSufficient_density(self)
3002 """get_x(vonMisesSufficient self) -> double"""
3003 return _IMP_isd.vonMisesSufficient_get_x(self)
3007 """get_R0(vonMisesSufficient self) -> double"""
3008 return _IMP_isd.vonMisesSufficient_get_R0(self)
3011 def get_chiexp(self):
3012 """get_chiexp(vonMisesSufficient self) -> double"""
3013 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
3017 """get_N(vonMisesSufficient self) -> double"""
3018 return _IMP_isd.vonMisesSufficient_get_N(self)
3021 def get_kappa(self):
3022 """get_kappa(vonMisesSufficient self) -> double"""
3023 return _IMP_isd.vonMisesSufficient_get_kappa(self)
3027 """set_x(vonMisesSufficient self, double x)"""
3028 return _IMP_isd.vonMisesSufficient_set_x(self, x)
3031 def set_R0(self, R0):
3032 """set_R0(vonMisesSufficient self, double R0)"""
3033 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
3036 def set_chiexp(self, chiexp):
3037 """set_chiexp(vonMisesSufficient self, double chiexp)"""
3038 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
3042 """set_N(vonMisesSufficient self, unsigned int N)"""
3043 return _IMP_isd.vonMisesSufficient_set_N(self, N)
3046 def set_kappa(self, kappa):
3047 """set_kappa(vonMisesSufficient self, double kappa)"""
3048 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
3051 def get_sufficient_statistics(data):
3052 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3053 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3055 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
3058 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
3059 return _IMP_isd.vonMisesSufficient_get_version_info(self)
3063 """__str__(vonMisesSufficient self) -> std::string"""
3064 return _IMP_isd.vonMisesSufficient___str__(self)
3068 """__repr__(vonMisesSufficient self) -> std::string"""
3069 return _IMP_isd.vonMisesSufficient___repr__(self)
3074 return _object_cast_to_vonMisesSufficient(o)
3076 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3077 vonMisesSufficient_swigregister(vonMisesSufficient)
3079 def vonMisesSufficient_get_sufficient_statistics(data):
3080 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3081 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3083 class PenalizedComplexityPrior(OneDimensionalSufficientDistribution):
3084 """Proxy of C++ IMP::isd::PenalizedComplexityPrior class."""
3086 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3088 def __init__(self, *args):
3090 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha, std::string name) -> PenalizedComplexityPrior
3091 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha) -> PenalizedComplexityPrior
3093 this = _IMP_isd.new_PenalizedComplexityPrior(*args)
3095 self.this.append(this)
3096 except __builtin__.Exception:
3099 def update_sufficient_statistics(self, Dxis, Jxis):
3100 """update_sufficient_statistics(PenalizedComplexityPrior self, IMP::Floats Dxis, IMP::Floats Jxis)"""
3101 return _IMP_isd.PenalizedComplexityPrior_update_sufficient_statistics(self, Dxis, Jxis)
3104 def evaluate_derivative_Dxi(self):
3105 """evaluate_derivative_Dxi(PenalizedComplexityPrior self) -> double"""
3106 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Dxi(self)
3109 def evaluate_derivative_Jxi(self):
3110 """evaluate_derivative_Jxi(PenalizedComplexityPrior self) -> double"""
3111 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Jxi(self)
3114 def evaluate_derivative_alpha(self):
3115 """evaluate_derivative_alpha(PenalizedComplexityPrior self) -> double"""
3116 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_alpha(self)
3119 def evaluate_derivative_xi(self, JJxi):
3120 """evaluate_derivative_xi(PenalizedComplexityPrior self, double JJxi) -> double"""
3121 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_xi(self, JJxi)
3124 def set_Dxi(self, v):
3125 """set_Dxi(PenalizedComplexityPrior self, double v)"""
3126 return _IMP_isd.PenalizedComplexityPrior_set_Dxi(self, v)
3129 def set_Jxi(self, v):
3130 """set_Jxi(PenalizedComplexityPrior self, double v)"""
3131 return _IMP_isd.PenalizedComplexityPrior_set_Jxi(self, v)
3134 def set_alpha(self, v):
3135 """set_alpha(PenalizedComplexityPrior self, double v)"""
3136 return _IMP_isd.PenalizedComplexityPrior_set_alpha(self, v)
3140 """get_Dxi(PenalizedComplexityPrior self) -> double"""
3141 return _IMP_isd.PenalizedComplexityPrior_get_Dxi(self)
3145 """get_Jxi(PenalizedComplexityPrior self) -> double"""
3146 return _IMP_isd.PenalizedComplexityPrior_get_Jxi(self)
3149 def get_alpha(self):
3150 """get_alpha(PenalizedComplexityPrior self) -> double"""
3151 return _IMP_isd.PenalizedComplexityPrior_get_alpha(self)
3155 """__str__(PenalizedComplexityPrior self) -> std::string"""
3156 return _IMP_isd.PenalizedComplexityPrior___str__(self)
3160 """__repr__(PenalizedComplexityPrior self) -> std::string"""
3161 return _IMP_isd.PenalizedComplexityPrior___repr__(self)
3166 return _object_cast_to_PenalizedComplexityPrior(o)
3168 PenalizedComplexityPrior_swigregister = _IMP_isd.PenalizedComplexityPrior_swigregister
3169 PenalizedComplexityPrior_swigregister(PenalizedComplexityPrior)
3172 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class."""
3174 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3176 def __init__(self, m, kappa):
3177 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3178 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3180 self.this.append(this)
3181 except __builtin__.Exception:
3185 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3186 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3190 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3191 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3194 def get_probability(self):
3195 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3196 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3200 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3201 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3205 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3206 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3211 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3213 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3214 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3217 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class."""
3219 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3221 def __init__(self, m, kappa, c=10.0, R0=0.0):
3223 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3224 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3225 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3227 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3229 self.this.append(this)
3230 except __builtin__.Exception:
3234 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3235 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3239 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3240 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3243 def get_probability(self):
3244 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3245 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3249 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3250 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3254 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3255 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3260 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3262 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3263 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3266 """Proxy of C++ IMP::isd::NOERestraint class."""
3268 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3270 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3271 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3272 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3274 self.this.append(this)
3275 except __builtin__.Exception:
3278 def get_probability(self):
3279 """get_probability(NOERestraint self) -> double"""
3280 return _IMP_isd.NOERestraint_get_probability(self)
3284 """get_chi(NOERestraint self) -> double"""
3285 return _IMP_isd.NOERestraint_get_chi(self)
3289 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3290 return _IMP_isd.NOERestraint_do_get_inputs(self)
3294 """get_version_info(NOERestraint self) -> VersionInfo"""
3295 return _IMP_isd.NOERestraint_get_version_info(self)
3299 """__str__(NOERestraint self) -> std::string"""
3300 return _IMP_isd.NOERestraint___str__(self)
3304 """__repr__(NOERestraint self) -> std::string"""
3305 return _IMP_isd.NOERestraint___repr__(self)
3310 return _object_cast_to_NOERestraint(o)
3312 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3313 NOERestraint_swigregister(NOERestraint)
3316 """Proxy of C++ IMP::isd::GaussianRestraint class."""
3318 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3320 def __init__(self, *args):
3322 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3323 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3324 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3325 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3326 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3327 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3328 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3330 this = _IMP_isd.new_GaussianRestraint(*args)
3332 self.this.append(this)
3333 except __builtin__.Exception:
3336 def get_probability(self):
3337 """get_probability(GaussianRestraint self) -> double"""
3338 return _IMP_isd.GaussianRestraint_get_probability(self)
3342 """get_chi(GaussianRestraint self) -> double"""
3343 return _IMP_isd.GaussianRestraint_get_chi(self)
3347 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3348 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3352 """get_version_info(GaussianRestraint self) -> VersionInfo"""
3353 return _IMP_isd.GaussianRestraint_get_version_info(self)
3357 """__str__(GaussianRestraint self) -> std::string"""
3358 return _IMP_isd.GaussianRestraint___str__(self)
3362 """__repr__(GaussianRestraint self) -> std::string"""
3363 return _IMP_isd.GaussianRestraint___repr__(self)
3368 return _object_cast_to_GaussianRestraint(o)
3370 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3371 GaussianRestraint_swigregister(GaussianRestraint)
3374 """Proxy of C++ IMP::isd::StudentTRestraint class."""
3376 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3378 def __init__(self, *args):
3380 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3381 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3382 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3383 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3384 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3385 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3386 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3387 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3388 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3389 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3390 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3391 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3392 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3393 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3394 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3396 this = _IMP_isd.new_StudentTRestraint(*args)
3398 self.this.append(this)
3399 except __builtin__.Exception:
3402 def get_probability(self):
3403 """get_probability(StudentTRestraint self) -> double"""
3404 return _IMP_isd.StudentTRestraint_get_probability(self)
3408 """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3409 return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3413 """get_version_info(StudentTRestraint self) -> VersionInfo"""
3414 return _IMP_isd.StudentTRestraint_get_version_info(self)
3418 """__str__(StudentTRestraint self) -> std::string"""
3419 return _IMP_isd.StudentTRestraint___str__(self)
3423 """__repr__(StudentTRestraint self) -> std::string"""
3424 return _IMP_isd.StudentTRestraint___repr__(self)
3429 return _object_cast_to_StudentTRestraint(o)
3431 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3432 StudentTRestraint_swigregister(StudentTRestraint)
3435 """Proxy of C++ IMP::isd::LognormalRestraint class."""
3437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3439 def __init__(self, *args):
3441 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3442 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3443 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3444 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3445 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3446 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3447 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3449 this = _IMP_isd.new_LognormalRestraint(*args)
3451 self.this.append(this)
3452 except __builtin__.Exception:
3455 def get_probability(self):
3456 """get_probability(LognormalRestraint self) -> double"""
3457 return _IMP_isd.LognormalRestraint_get_probability(self)
3461 """get_chi(LognormalRestraint self) -> double"""
3462 return _IMP_isd.LognormalRestraint_get_chi(self)
3466 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3467 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3471 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3472 return _IMP_isd.LognormalRestraint_get_version_info(self)
3476 """__str__(LognormalRestraint self) -> std::string"""
3477 return _IMP_isd.LognormalRestraint___str__(self)
3481 """__repr__(LognormalRestraint self) -> std::string"""
3482 return _IMP_isd.LognormalRestraint___repr__(self)
3487 return _object_cast_to_LognormalRestraint(o)
3489 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3490 LognormalRestraint_swigregister(LognormalRestraint)
3493 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class."""
3495 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3497 def __init__(self, p1, p2, ki, sigmaG):
3498 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3499 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3501 self.this.append(this)
3502 except __builtin__.Exception:
3505 def add_contribution(self, lexp, omega):
3506 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3507 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3510 def get_number_of_contributions(self):
3511 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3512 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3515 def draw_k_from_posterior(self, kt):
3516 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3517 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3520 def get_probability(self):
3521 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3522 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3526 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3527 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3531 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3532 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3536 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3537 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3541 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3542 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3547 return _object_cast_to_LognormalAmbiguousRestraint(o)
3549 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3550 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3553 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class."""
3555 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3557 def __init__(self, m, pc, sigma, gamma, Iexp):
3558 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
3559 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
3561 self.this.append(this)
3562 except __builtin__.Exception:
3565 def get_probability(self):
3566 """get_probability(AmbiguousNOERestraint self) -> double"""
3567 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
3571 """get_chi(AmbiguousNOERestraint self) -> double"""
3572 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
3576 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
3577 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
3581 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
3582 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
3586 """__str__(AmbiguousNOERestraint self) -> std::string"""
3587 return _IMP_isd.AmbiguousNOERestraint___str__(self)
3591 """__repr__(AmbiguousNOERestraint self) -> std::string"""
3592 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
3597 return _object_cast_to_AmbiguousNOERestraint(o)
3599 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
3600 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
3603 """Proxy of C++ IMP::isd::MarginalNOERestraint class."""
3605 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3607 def __init__(self, m):
3608 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
3609 this = _IMP_isd.new_MarginalNOERestraint(m)
3611 self.this.append(this)
3612 except __builtin__.Exception:
3615 def add_contribution(self, *args):
3617 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
3618 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
3620 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
3623 def get_log_gammahat(self):
3624 """get_log_gammahat(MarginalNOERestraint self) -> double"""
3625 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
3629 """get_SS(MarginalNOERestraint self) -> double"""
3630 return _IMP_isd.MarginalNOERestraint_get_SS(self)
3633 def get_number_of_contributions(self):
3634 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
3635 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
3638 def get_probability(self):
3639 """get_probability(MarginalNOERestraint self) -> double"""
3640 return _IMP_isd.MarginalNOERestraint_get_probability(self)
3644 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
3645 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
3649 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
3650 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
3654 """__str__(MarginalNOERestraint self) -> std::string"""
3655 return _IMP_isd.MarginalNOERestraint___str__(self)
3659 """__repr__(MarginalNOERestraint self) -> std::string"""
3660 return _IMP_isd.MarginalNOERestraint___repr__(self)
3665 return _object_cast_to_MarginalNOERestraint(o)
3667 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3668 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3671 """Proxy of C++ IMP::isd::MarginalHBondRestraint class."""
3673 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3675 def __init__(self, m):
3676 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3677 this = _IMP_isd.new_MarginalHBondRestraint(m)
3679 self.this.append(this)
3680 except __builtin__.Exception:
3683 def add_contribution(self, *args):
3685 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3686 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3688 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3691 def get_logsquares(self):
3692 """get_logsquares(MarginalHBondRestraint self) -> double"""
3693 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3696 def get_number_of_contributions(self):
3697 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3698 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3701 def get_probability(self):
3702 """get_probability(MarginalHBondRestraint self) -> double"""
3703 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3707 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3708 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3712 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3713 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3717 """__str__(MarginalHBondRestraint self) -> std::string"""
3718 return _IMP_isd.MarginalHBondRestraint___str__(self)
3722 """__repr__(MarginalHBondRestraint self) -> std::string"""
3723 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3728 return _object_cast_to_MarginalHBondRestraint(o)
3730 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3731 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3734 """Proxy of C++ IMP::isd::TALOSRestraint class."""
3736 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3738 def __init__(self, *args):
3740 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3741 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3742 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3743 __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
3745 this = _IMP_isd.new_TALOSRestraint(*args)
3747 self.this.append(this)
3748 except __builtin__.Exception:
3751 def get_probability(self):
3752 """get_probability(TALOSRestraint self) -> double"""
3753 return _IMP_isd.TALOSRestraint_get_probability(self)
3757 """get_R0(TALOSRestraint self) -> double"""
3758 return _IMP_isd.TALOSRestraint_get_R0(self)
3761 def get_chiexp(self):
3762 """get_chiexp(TALOSRestraint self) -> double"""
3763 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3767 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3768 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3772 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3773 return _IMP_isd.TALOSRestraint_get_version_info(self)
3777 """__str__(TALOSRestraint self) -> std::string"""
3778 return _IMP_isd.TALOSRestraint___str__(self)
3782 """__repr__(TALOSRestraint self) -> std::string"""
3783 return _IMP_isd.TALOSRestraint___repr__(self)
3788 return _object_cast_to_TALOSRestraint(o)
3790 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3791 TALOSRestraint_swigregister(TALOSRestraint)
3794 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class."""
3796 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3798 def __init__(self, d0, k):
3799 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3800 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3802 self.this.append(this)
3803 except __builtin__.Exception:
3806 def get_rest_length(self):
3807 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3808 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3811 def get_stiffness(self):
3812 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3813 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3817 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3818 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3822 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3823 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
3827 """__str__(RepulsiveDistancePairScore self) -> std::string"""
3828 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
3832 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
3833 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
3838 return _object_cast_to_RepulsiveDistancePairScore(o)
3840 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
3841 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
3844 """Proxy of C++ IMP::isd::AmbiguousRestraint class."""
3846 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3848 def __init__(self, *args):
3850 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
3851 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
3853 this = _IMP_isd.new_AmbiguousRestraint(*args)
3855 self.this.append(this)
3856 except __builtin__.Exception:
3859 def get_probability(self):
3860 """get_probability(AmbiguousRestraint self) -> double"""
3861 return _IMP_isd.AmbiguousRestraint_get_probability(self)
3865 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3866 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
3870 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
3871 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
3875 """__str__(AmbiguousRestraint self) -> std::string"""
3876 return _IMP_isd.AmbiguousRestraint___str__(self)
3880 """__repr__(AmbiguousRestraint self) -> std::string"""
3881 return _IMP_isd.AmbiguousRestraint___repr__(self)
3886 return _object_cast_to_AmbiguousRestraint(o)
3888 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
3889 AmbiguousRestraint_swigregister(AmbiguousRestraint)
3891 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
3893 """Proxy of C++ IMP::isd::UnivariateFunction class."""
3895 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3897 def __init__(self, *args, **kwargs):
3898 raise AttributeError(
"No constructor defined - class is abstract")
3900 def __call__(self, *args):
3902 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
3903 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3904 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3906 return _IMP_isd.UnivariateFunction___call__(self, *args)
3909 def has_changed(self):
3910 """has_changed(UnivariateFunction self) -> bool"""
3911 return _IMP_isd.UnivariateFunction_has_changed(self)
3915 """update(UnivariateFunction self)"""
3916 return _IMP_isd.UnivariateFunction_update(self)
3919 def add_to_derivatives(self, x, accum):
3920 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
3921 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
3924 def add_to_particle_derivative(self, particle_no, value, accum):
3925 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3926 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3929 def get_derivative_vector(self, particle_no, xlist):
3930 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
3931 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
3934 def get_derivative_matrix(self, xlist, stupid):
3935 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
3936 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
3939 def get_second_derivative_vector(self, *args):
3941 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3942 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3944 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
3947 def get_ndims_x(self):
3948 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
3949 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
3952 def get_ndims_y(self):
3953 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
3954 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
3957 def get_number_of_particles(self):
3958 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
3959 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
3962 def get_particle_is_optimized(self, particle_no):
3963 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
3964 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
3967 def get_number_of_optimized_particles(self):
3968 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
3969 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
3973 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
3974 return _IMP_isd.UnivariateFunction_get_inputs(self)
3976 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
3977 __del__ =
lambda self:
None
3980 """__str__(UnivariateFunction self) -> std::string"""
3981 return _IMP_isd.UnivariateFunction___str__(self)
3985 """__repr__(UnivariateFunction self) -> std::string"""
3986 return _IMP_isd.UnivariateFunction___repr__(self)
3991 return _object_cast_to_UnivariateFunction(o)
3993 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
3994 UnivariateFunction_swigregister(UnivariateFunction)
3996 class Linear1DFunction(UnivariateFunction):
3997 """Proxy of C++ IMP::isd::Linear1DFunction class."""
3999 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4001 def __init__(self, a, b):
4002 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
4003 this = _IMP_isd.new_Linear1DFunction(a, b)
4005 self.this.append(this)
4006 except __builtin__.Exception:
4009 def __call__(self, *args):
4011 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
4012 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4013 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4015 return _IMP_isd.Linear1DFunction___call__(self, *args)
4018 def get_second_derivative_vector(self, *args):
4020 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4021 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4023 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
4027 """get_version_info(Linear1DFunction self) -> VersionInfo"""
4028 return _IMP_isd.Linear1DFunction_get_version_info(self)
4032 """__str__(Linear1DFunction self) -> std::string"""
4033 return _IMP_isd.Linear1DFunction___str__(self)
4037 """__repr__(Linear1DFunction self) -> std::string"""
4038 return _IMP_isd.Linear1DFunction___repr__(self)
4043 return _object_cast_to_Linear1DFunction(o)
4045 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
4046 Linear1DFunction_swigregister(Linear1DFunction)
4048 class GeneralizedGuinierPorodFunction(UnivariateFunction):
4049 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class."""
4051 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4053 def __init__(self, G, Rg, d, s, A):
4054 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
4055 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
4057 self.this.append(this)
4058 except __builtin__.Exception:
4061 def __call__(self, *args):
4063 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
4064 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4065 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4067 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
4070 def get_second_derivative_vector(self, *args):
4072 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4073 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4075 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
4079 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
4080 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
4084 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
4085 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
4089 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
4090 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
4095 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
4097 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
4098 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
4100 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
4102 """Proxy of C++ IMP::isd::BivariateFunction class."""
4104 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4106 def __init__(self, *args, **kwargs):
4107 raise AttributeError(
"No constructor defined - class is abstract")
4109 def __call__(self, *args):
4111 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4112 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4113 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4115 return _IMP_isd.BivariateFunction___call__(self, *args)
4118 def has_changed(self):
4119 """has_changed(BivariateFunction self) -> bool"""
4120 return _IMP_isd.BivariateFunction_has_changed(self)
4124 """update(BivariateFunction self)"""
4125 return _IMP_isd.BivariateFunction_update(self)
4128 def add_to_derivatives(self, x1, x2, accum):
4129 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
4130 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
4133 def add_to_particle_derivative(self, particle_no, value, accum):
4134 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4135 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4138 def get_derivative_matrix(self, *args):
4140 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4141 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4143 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
4146 def get_second_derivative_matrix(self, *args):
4148 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4149 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4151 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
4154 def get_ndims_x1(self):
4155 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
4156 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
4159 def get_ndims_x2(self):
4160 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
4161 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4164 def get_ndims_y(self):
4165 """get_ndims_y(BivariateFunction self) -> unsigned int"""
4166 return _IMP_isd.BivariateFunction_get_ndims_y(self)
4169 def get_number_of_particles(self):
4170 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4171 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4174 def get_particle_is_optimized(self, particle_no):
4175 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4176 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4179 def get_number_of_optimized_particles(self):
4180 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4181 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4185 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4186 return _IMP_isd.BivariateFunction_get_inputs(self)
4188 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4189 __del__ =
lambda self:
None
4192 """__str__(BivariateFunction self) -> std::string"""
4193 return _IMP_isd.BivariateFunction___str__(self)
4197 """__repr__(BivariateFunction self) -> std::string"""
4198 return _IMP_isd.BivariateFunction___repr__(self)
4203 return _object_cast_to_BivariateFunction(o)
4205 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4206 BivariateFunction_swigregister(BivariateFunction)
4208 class Covariance1DFunction(BivariateFunction):
4209 """Proxy of C++ IMP::isd::Covariance1DFunction class."""
4211 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4213 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4215 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4216 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4217 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4218 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4220 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4222 self.this.append(this)
4223 except __builtin__.Exception:
4226 def __call__(self, *args):
4228 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4229 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4230 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4232 return _IMP_isd.Covariance1DFunction___call__(self, *args)
4235 def get_derivative_matrix(self, *args):
4237 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4238 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4240 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4243 def get_second_derivative_matrix(self, *args):
4245 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4246 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4248 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4252 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4253 return _IMP_isd.Covariance1DFunction_get_version_info(self)
4257 """__str__(Covariance1DFunction self) -> std::string"""
4258 return _IMP_isd.Covariance1DFunction___str__(self)
4262 """__repr__(Covariance1DFunction self) -> std::string"""
4263 return _IMP_isd.Covariance1DFunction___repr__(self)
4268 return _object_cast_to_Covariance1DFunction(o)
4270 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4271 Covariance1DFunction_swigregister(Covariance1DFunction)
4273 class GaussianProcessInterpolation(
IMP.Object):
4274 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class."""
4276 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4278 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4280 __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
4281 __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
4283 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4285 self.this.append(this)
4286 except __builtin__.Exception:
4289 def get_posterior_mean(self, x):
4290 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4291 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4294 def get_posterior_covariance(self, x1, x2):
4295 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4296 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4299 def get_posterior_covariance_matrix(self, x, arg3):
4300 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4301 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4304 def get_posterior_covariance_derivative(self, x, arg3):
4305 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4306 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4309 def get_posterior_covariance_hessian(self, x, arg3):
4310 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4311 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4315 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4316 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4319 def force_mean_update(self):
4320 """force_mean_update(GaussianProcessInterpolation self)"""
4321 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4324 def force_covariance_update(self):
4325 """force_covariance_update(GaussianProcessInterpolation self)"""
4326 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4329 def get_number_of_m_particles(self):
4330 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4331 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4334 def get_m_particle_is_optimized(self, i):
4335 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4336 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4339 def get_number_of_Omega_particles(self):
4340 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4341 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4344 def get_Omega_particle_is_optimized(self, i):
4345 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4346 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4349 def get_data_abscissa(self):
4350 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4351 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4354 def get_data_mean(self):
4355 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4356 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4359 def get_data_variance(self):
4360 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4361 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4365 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4366 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4370 """__str__(GaussianProcessInterpolation self) -> std::string"""
4371 return _IMP_isd.GaussianProcessInterpolation___str__(self)
4375 """__repr__(GaussianProcessInterpolation self) -> std::string"""
4376 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4381 return _object_cast_to_GaussianProcessInterpolation(o)
4383 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4384 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4387 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class."""
4389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4391 def __init__(self, m, gpi):
4392 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4393 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4395 self.this.append(this)
4396 except __builtin__.Exception:
4399 def get_probability(self):
4400 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4401 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4404 def set_use_cg(self, use, tol):
4405 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4406 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4409 def get_minus_log_normalization(self):
4410 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4411 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4414 def get_minus_exponent(self):
4415 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4416 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4419 def get_logdet_hessian(self):
4420 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4421 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4424 def get_hessian(self, *args):
4426 get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
4427 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4429 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4433 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4434 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4438 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4439 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4443 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4444 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4448 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4449 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4454 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4456 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4457 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4460 """Proxy of C++ IMP::isd::MolecularDynamics class."""
4462 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4464 def __init__(self, m=None):
4466 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4467 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4469 this = _IMP_isd.new_MolecularDynamics(m)
4471 self.this.append(this)
4472 except __builtin__.Exception:
4476 """__str__(MolecularDynamics self) -> std::string"""
4477 return _IMP_isd.MolecularDynamics___str__(self)
4481 """__repr__(MolecularDynamics self) -> std::string"""
4482 return _IMP_isd.MolecularDynamics___repr__(self)
4487 return _object_cast_to_MolecularDynamics(o)
4489 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4490 __del__ =
lambda self:
None
4491 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4492 MolecularDynamics_swigregister(MolecularDynamics)
4495 """Proxy of C++ IMP::isd::MolecularDynamicsMover class."""
4497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4499 def __init__(self, m, nsteps=100, timestep=1.):
4501 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4502 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4503 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4505 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4507 self.this.append(this)
4508 except __builtin__.Exception:
4512 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4513 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4516 def get_number_of_md_steps(self):
4517 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4518 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4521 def set_number_of_md_steps(self, nsteps):
4522 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4523 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4527 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4528 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4532 """__str__(MolecularDynamicsMover self) -> std::string"""
4533 return _IMP_isd.MolecularDynamicsMover___str__(self)
4537 """__repr__(MolecularDynamicsMover self) -> std::string"""
4538 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4543 return _object_cast_to_MolecularDynamicsMover(o)
4545 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4546 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4549 """Proxy of C++ IMP::isd::HybridMonteCarlo class."""
4551 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4553 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4555 __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
4556 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4557 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4558 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4559 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4561 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4563 self.this.append(this)
4564 except __builtin__.Exception:
4567 def get_kinetic_energy(self):
4568 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
4569 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
4572 def get_potential_energy(self):
4573 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
4574 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
4577 def get_total_energy(self):
4578 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
4579 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
4582 def set_timestep(self, ts):
4583 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
4584 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
4587 def get_timestep(self):
4588 """get_timestep(HybridMonteCarlo self) -> double"""
4589 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
4592 def set_number_of_md_steps(self, nsteps):
4593 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
4594 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
4597 def get_number_of_md_steps(self):
4598 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
4599 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
4602 def set_persistence(self, persistence=1):
4604 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
4605 set_persistence(HybridMonteCarlo self)
4607 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
4610 def get_persistence(self):
4611 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
4612 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
4616 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
4617 return _IMP_isd.HybridMonteCarlo_get_md(self)
4620 def do_evaluate(self, arg2):
4621 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
4622 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
4626 """do_step(HybridMonteCarlo self)"""
4627 return _IMP_isd.HybridMonteCarlo_do_step(self)
4631 """__str__(HybridMonteCarlo self) -> std::string"""
4632 return _IMP_isd.HybridMonteCarlo___str__(self)
4636 """__repr__(HybridMonteCarlo self) -> std::string"""
4637 return _IMP_isd.HybridMonteCarlo___repr__(self)
4642 return _object_cast_to_HybridMonteCarlo(o)
4644 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
4645 HybridMonteCarlo_swigregister(HybridMonteCarlo)
4648 """Proxy of C++ IMP::isd::FretData class."""
4650 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4652 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
4654 __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
4655 __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
4657 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
4659 self.this.append(this)
4660 except __builtin__.Exception:
4663 def get_closest(self, vec, value):
4664 """get_closest(FretData self, DistBase vec, double value) -> int"""
4665 return _IMP_isd.FretData_get_closest(self, vec, value)
4668 def get_probability(self, distn, dist, sigma):
4669 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4670 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4673 def get_kernel(self, dist, R0):
4674 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4675 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4678 def get_marginal_element(self, d_term, d_center, sigma):
4679 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4680 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4684 """get_version_info(FretData self) -> VersionInfo"""
4685 return _IMP_isd.FretData_get_version_info(self)
4689 """__str__(FretData self) -> std::string"""
4690 return _IMP_isd.FretData___str__(self)
4694 """__repr__(FretData self) -> std::string"""
4695 return _IMP_isd.FretData___repr__(self)
4700 return _object_cast_to_FretData(o)
4702 FretData_swigregister = _IMP_isd.FretData_swigregister
4703 FretData_swigregister(FretData)
4706 """Proxy of C++ IMP::isd::FretRestraint class."""
4708 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4710 def __init__(self, *args):
4712 __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
4713 __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
4714 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4715 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4716 __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
4718 this = _IMP_isd.new_FretRestraint(*args)
4720 self.this.append(this)
4721 except __builtin__.Exception:
4724 def get_sumFi(self):
4725 """get_sumFi(FretRestraint self) -> double"""
4726 return _IMP_isd.FretRestraint_get_sumFi(self)
4729 def get_average_sigma(self, fmod):
4730 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4731 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4734 def get_standard_error(self):
4735 """get_standard_error(FretRestraint self) -> double"""
4736 return _IMP_isd.FretRestraint_get_standard_error(self)
4739 def get_model_fretr(self):
4740 """get_model_fretr(FretRestraint self) -> double"""
4741 return _IMP_isd.FretRestraint_get_model_fretr(self)
4744 def get_probability(self):
4745 """get_probability(FretRestraint self) -> double"""
4746 return _IMP_isd.FretRestraint_get_probability(self)
4749 def get_experimental_value(self):
4750 """get_experimental_value(FretRestraint self) -> double"""
4751 return _IMP_isd.FretRestraint_get_experimental_value(self)
4754 def set_experimental_value(self, fexp):
4755 """set_experimental_value(FretRestraint self, double fexp)"""
4756 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4760 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4761 return _IMP_isd.FretRestraint_do_get_inputs(self)
4765 """get_version_info(FretRestraint self) -> VersionInfo"""
4766 return _IMP_isd.FretRestraint_get_version_info(self)
4770 """__str__(FretRestraint self) -> std::string"""
4771 return _IMP_isd.FretRestraint___str__(self)
4775 """__repr__(FretRestraint self) -> std::string"""
4776 return _IMP_isd.FretRestraint___repr__(self)
4781 return _object_cast_to_FretRestraint(o)
4783 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4784 FretRestraint_swigregister(FretRestraint)
4787 """Proxy of C++ IMP::isd::CysteineCrossLinkData class."""
4789 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4791 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4793 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4794 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4796 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4798 self.this.append(this)
4799 except __builtin__.Exception:
4802 def get_closest(self, vec, value):
4803 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4804 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4807 def get_omegas(self, fmods, omega0):
4808 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4809 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4812 def get_nonmarginal_elements(self, fexp, fmods, omega):
4813 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4814 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4817 def get_marginal_elements(self, fmods, omega0):
4818 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4819 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4822 def get_omega(self, fmod, omega0):
4823 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4824 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
4827 def get_standard_deviation(self, fmod, omega0):
4828 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4829 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
4832 def get_nonmarginal_element(self, fexp, fmod, omega):
4833 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
4834 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
4837 def get_marginal_element(self, fmod, omega0):
4838 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4839 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
4843 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
4844 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
4848 """__str__(CysteineCrossLinkData self) -> std::string"""
4849 return _IMP_isd.CysteineCrossLinkData___str__(self)
4853 """__repr__(CysteineCrossLinkData self) -> std::string"""
4854 return _IMP_isd.CysteineCrossLinkData___repr__(self)
4859 return _object_cast_to_CysteineCrossLinkData(o)
4861 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
4862 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
4865 """Proxy of C++ IMP::isd::CrossLinkData class."""
4867 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4869 def __init__(self, *args):
4871 __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
4872 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
4873 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
4874 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
4875 __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
4876 __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
4877 __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
4878 __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
4880 this = _IMP_isd.new_CrossLinkData(*args)
4882 self.this.append(this)
4883 except __builtin__.Exception:
4886 def get_closest(self, vec, value):
4887 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
4888 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
4891 def get_omegas(self, sigma, dists):
4892 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4893 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
4896 def get_omega_prior(self, omega, omega0):
4897 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
4898 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
4901 def get_nonmarginal_elements(self, sigmai, dists):
4902 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
4903 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
4906 def get_marginal_elements(self, sigma, dists):
4907 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4908 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
4911 def get_marginal_maximum(self, *args):
4913 get_marginal_maximum(CrossLinkData self, double sigma) -> double
4914 get_marginal_maximum(CrossLinkData self) -> double
4916 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
4920 """get_version_info(CrossLinkData self) -> VersionInfo"""
4921 return _IMP_isd.CrossLinkData_get_version_info(self)
4925 """__str__(CrossLinkData self) -> std::string"""
4926 return _IMP_isd.CrossLinkData___str__(self)
4930 """__repr__(CrossLinkData self) -> std::string"""
4931 return _IMP_isd.CrossLinkData___repr__(self)
4936 return _object_cast_to_CrossLinkData(o)
4938 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
4939 CrossLinkData_swigregister(CrossLinkData)
4942 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class."""
4944 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4946 def __init__(self, *args):
4948 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
4949 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
4951 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
4953 self.this.append(this)
4954 except __builtin__.Exception:
4957 def get_probability(self):
4958 """get_probability(CysteineCrossLinkRestraint self) -> double"""
4959 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
4962 def get_standard_error(self):
4963 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
4964 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
4967 def get_frequencies(self):
4968 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4969 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
4972 def get_model_frequency(self):
4973 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
4974 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
4977 def get_distances(self):
4978 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4979 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
4982 def get_truncated_normalization(self, mean, sigma):
4983 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
4984 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
4987 def get_normal_pdf(self, mean, sigma, x):
4988 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
4989 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
4992 def add_contribution(self, *args):
4994 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
4995 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
4997 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
5000 def get_CB_coordinates(self, ps):
5001 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
5002 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
5005 def get_number_of_contributions(self):
5006 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
5007 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
5011 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
5012 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
5016 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
5017 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
5021 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
5022 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
5026 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
5027 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
5032 return _object_cast_to_CysteineCrossLinkRestraint(o)
5034 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
5035 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
5038 """Proxy of C++ IMP::isd::WeightMover class."""
5040 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5042 def __init__(self, w, radius):
5043 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
5044 this = _IMP_isd.new_WeightMover(w, radius)
5046 self.this.append(this)
5047 except __builtin__.Exception:
5050 def set_radius(self, radius):
5051 """set_radius(WeightMover self, IMP::Float radius)"""
5052 return _IMP_isd.WeightMover_set_radius(self, radius)
5055 def get_radius(self):
5056 """get_radius(WeightMover self) -> IMP::Float"""
5057 return _IMP_isd.WeightMover_get_radius(self)
5061 """get_version_info(WeightMover self) -> VersionInfo"""
5062 return _IMP_isd.WeightMover_get_version_info(self)
5066 """__str__(WeightMover self) -> std::string"""
5067 return _IMP_isd.WeightMover___str__(self)
5071 """__repr__(WeightMover self) -> std::string"""
5072 return _IMP_isd.WeightMover___repr__(self)
5077 return _object_cast_to_WeightMover(o)
5079 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
5080 WeightMover_swigregister(WeightMover)
5083 """Proxy of C++ IMP::isd::WeightRestraint class."""
5085 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5087 def __init__(self, w, wmin, wmax, kappa):
5088 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
5089 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
5091 self.this.append(this)
5092 except __builtin__.Exception:
5096 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
5097 return _IMP_isd.WeightRestraint_do_get_inputs(self)
5101 """get_version_info(WeightRestraint self) -> VersionInfo"""
5102 return _IMP_isd.WeightRestraint_get_version_info(self)
5106 """__str__(WeightRestraint self) -> std::string"""
5107 return _IMP_isd.WeightRestraint___str__(self)
5111 """__repr__(WeightRestraint self) -> std::string"""
5112 return _IMP_isd.WeightRestraint___repr__(self)
5117 return _object_cast_to_WeightRestraint(o)
5119 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
5120 WeightRestraint_swigregister(WeightRestraint)
5123 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class."""
5125 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5127 def __init__(self, *args):
5129 __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
5130 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
5131 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
5132 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
5134 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
5136 self.this.append(this)
5137 except __builtin__.Exception:
5140 def add_contribution(self, ppi, sigmas):
5141 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
5142 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
5145 def evaluate_for_contributions(self, c, accum):
5146 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
5147 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
5150 def get_number_of_contributions(self):
5151 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
5152 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
5155 def get_contribution(self, i):
5156 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5157 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
5160 def get_contribution_sigmas(self, i):
5161 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5162 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5166 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5167 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5171 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5172 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5175 def show(self, out):
5176 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5177 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5180 def set_slope(self, slope):
5181 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5182 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5185 def set_part_of_log_score(self, hey):
5186 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5187 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5191 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5192 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5196 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5197 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5201 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5202 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5207 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5209 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5210 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5213 """Proxy of C++ IMP::isd::GaussianEMRestraint class."""
5215 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5217 def __init__(self, *args):
5219 __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
5220 __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
5221 __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
5222 __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
5223 __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
5225 this = _IMP_isd.new_GaussianEMRestraint(*args)
5227 self.this.append(this)
5228 except __builtin__.Exception:
5231 def get_probability(self):
5232 """get_probability(GaussianEMRestraint self) -> double"""
5233 return _IMP_isd.GaussianEMRestraint_get_probability(self)
5237 """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5238 return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5241 def set_density_filename(self, density_fn):
5242 """set_density_filename(GaussianEMRestraint self, std::string density_fn)"""
5243 return _IMP_isd.GaussianEMRestraint_set_density_filename(self, density_fn)
5246 def compute_initial_scores(self):
5247 """compute_initial_scores(GaussianEMRestraint self)"""
5248 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5251 def set_slope(self, s):
5252 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5253 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5256 def get_slope(self):
5257 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5258 return _IMP_isd.GaussianEMRestraint_get_slope(self)
5262 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5263 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5266 def show(self, out):
5267 """show(GaussianEMRestraint self, _ostream out)"""
5268 return _IMP_isd.GaussianEMRestraint_show(self, out)
5272 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5273 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5277 """__str__(GaussianEMRestraint self) -> std::string"""
5278 return _IMP_isd.GaussianEMRestraint___str__(self)
5282 """__repr__(GaussianEMRestraint self) -> std::string"""
5283 return _IMP_isd.GaussianEMRestraint___repr__(self)
5288 return _object_cast_to_GaussianEMRestraint(o)
5290 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5291 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5293 class GaussianAnchorEMRestraint(ISDRestraint):
5294 """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class."""
5296 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5298 def __init__(self, *args):
5300 __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
5301 __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
5303 this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5305 self.this.append(this)
5306 except __builtin__.Exception:
5309 def get_density_particles(self):
5310 """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5311 return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5315 """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5316 return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5320 """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5321 return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5326 return _object_cast_to_GaussianAnchorEMRestraint(o)
5328 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5329 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5332 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5334 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5335 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5337 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5339 def get_module_version():
5340 """get_module_version() -> std::string const"""
5341 return _IMP_isd.get_module_version()
5344 """get_example_path(std::string fname) -> std::string"""
5345 return _IMP_isd.get_example_path(fname)
5348 """get_data_path(std::string fname) -> std::string"""
5349 return _IMP_isd.get_data_path(fname)
5351 from .
import _version_check
5352 _version_check.check_version(get_module_version())
5353 __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.