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(
"vonMisesKappaJeffreysRestraint")
452 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
453 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
454 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
456 _object_types.append(
"vonMisesKappaConjugateRestraint")
459 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
460 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
461 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
463 _object_types.append(
"Distribution")
466 def _object_cast_to_Distribution(o):
467 """_object_cast_to_Distribution(Object o) -> Distribution"""
468 return _IMP_isd._object_cast_to_Distribution(o)
470 _object_types.append(
"OneDimensionalDistribution")
473 def _object_cast_to_OneDimensionalDistribution(o):
474 """_object_cast_to_OneDimensionalDistribution(Object o) -> OneDimensionalDistribution"""
475 return _IMP_isd._object_cast_to_OneDimensionalDistribution(o)
477 _object_types.append(
"OneDimensionalSufficientDistribution")
480 def _object_cast_to_OneDimensionalSufficientDistribution(o):
481 """_object_cast_to_OneDimensionalSufficientDistribution(Object o) -> OneDimensionalSufficientDistribution"""
482 return _IMP_isd._object_cast_to_OneDimensionalSufficientDistribution(o)
484 _object_types.append(
"FNormal")
487 def _object_cast_to_FNormal(o):
488 """_object_cast_to_FNormal(Object o) -> FNormal"""
489 return _IMP_isd._object_cast_to_FNormal(o)
491 _object_types.append(
"FStudentT")
494 def _object_cast_to_FStudentT(o):
495 """_object_cast_to_FStudentT(Object o) -> FStudentT"""
496 return _IMP_isd._object_cast_to_FStudentT(o)
498 _object_types.append(
"vonMises")
501 def _object_cast_to_vonMises(o):
502 """_object_cast_to_vonMises(Object o) -> vonMises"""
503 return _IMP_isd._object_cast_to_vonMises(o)
505 _object_types.append(
"vonMisesSufficient")
508 def _object_cast_to_vonMisesSufficient(o):
509 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
510 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
513 return [Nuisance(x)
for x
in l]
514 _plural_types.append(
"Nuisances")
517 _value_types.append(
"Nuisance")
521 return [Scale(x)
for x
in l]
522 _plural_types.append(
"Scales")
525 _value_types.append(
"Scale")
528 def Switchings(l=[]):
529 return [Switching(x)
for x
in l]
530 _plural_types.append(
"Switchings")
533 _value_types.append(
"Switching")
536 _object_types.append(
"NOERestraint")
539 def _object_cast_to_NOERestraint(o):
540 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
541 return _IMP_isd._object_cast_to_NOERestraint(o)
544 return [Weight(x)
for x
in l]
545 _plural_types.append(
"Weights")
548 _value_types.append(
"Weight")
551 _object_types.append(
"GaussianRestraint")
554 def _object_cast_to_GaussianRestraint(o):
555 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
556 return _IMP_isd._object_cast_to_GaussianRestraint(o)
558 _object_types.append(
"StudentTRestraint")
561 def _object_cast_to_StudentTRestraint(o):
562 """_object_cast_to_StudentTRestraint(Object o) -> StudentTRestraint"""
563 return _IMP_isd._object_cast_to_StudentTRestraint(o)
565 _object_types.append(
"LognormalRestraint")
568 def _object_cast_to_LognormalRestraint(o):
569 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
570 return _IMP_isd._object_cast_to_LognormalRestraint(o)
572 _object_types.append(
"LognormalAmbiguousRestraint")
575 def _object_cast_to_LognormalAmbiguousRestraint(o):
576 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
577 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
579 _object_types.append(
"AmbiguousNOERestraint")
582 def _object_cast_to_AmbiguousNOERestraint(o):
583 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
584 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
586 _object_types.append(
"MarginalNOERestraint")
589 def _object_cast_to_MarginalNOERestraint(o):
590 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
591 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
593 _object_types.append(
"MarginalHBondRestraint")
596 def _object_cast_to_MarginalHBondRestraint(o):
597 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
598 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
600 _object_types.append(
"TALOSRestraint")
603 def _object_cast_to_TALOSRestraint(o):
604 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
605 return _IMP_isd._object_cast_to_TALOSRestraint(o)
607 _object_types.append(
"RepulsiveDistancePairScore")
610 def _object_cast_to_RepulsiveDistancePairScore(o):
611 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
612 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
614 _object_types.append(
"AmbiguousRestraint")
617 def _object_cast_to_AmbiguousRestraint(o):
618 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
619 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
621 _object_types.append(
"UnivariateFunction")
624 def _object_cast_to_UnivariateFunction(o):
625 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
626 return _IMP_isd._object_cast_to_UnivariateFunction(o)
628 _object_types.append(
"Linear1DFunction")
631 def _object_cast_to_Linear1DFunction(o):
632 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
633 return _IMP_isd._object_cast_to_Linear1DFunction(o)
635 _object_types.append(
"GeneralizedGuinierPorodFunction")
638 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
639 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
640 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
642 _object_types.append(
"BivariateFunction")
645 def _object_cast_to_BivariateFunction(o):
646 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
647 return _IMP_isd._object_cast_to_BivariateFunction(o)
649 _object_types.append(
"Covariance1DFunction")
652 def _object_cast_to_Covariance1DFunction(o):
653 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
654 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
656 _object_types.append(
"GaussianProcessInterpolation")
659 def _object_cast_to_GaussianProcessInterpolation(o):
660 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
661 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
663 _object_types.append(
"GaussianProcessInterpolationRestraint")
666 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
667 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
668 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
670 _object_types.append(
"MolecularDynamics")
673 _object_types.append(
"MolecularDynamicsMover")
676 def _object_cast_to_MolecularDynamicsMover(o):
677 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
678 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
680 _object_types.append(
"HybridMonteCarlo")
683 def _object_cast_to_HybridMonteCarlo(o):
684 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
685 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
687 _object_types.append(
"FretData")
690 def _object_cast_to_FretData(o):
691 """_object_cast_to_FretData(Object o) -> FretData"""
692 return _IMP_isd._object_cast_to_FretData(o)
694 _object_types.append(
"FretRestraint")
697 def _object_cast_to_FretRestraint(o):
698 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
699 return _IMP_isd._object_cast_to_FretRestraint(o)
701 _object_types.append(
"CrossLinkData")
704 def _object_cast_to_CrossLinkData(o):
705 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
706 return _IMP_isd._object_cast_to_CrossLinkData(o)
708 _object_types.append(
"CysteineCrossLinkData")
711 def _object_cast_to_CysteineCrossLinkData(o):
712 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
713 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
715 _object_types.append(
"CysteineCrossLinkRestraint")
718 def _object_cast_to_CysteineCrossLinkRestraint(o):
719 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
720 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
722 _object_types.append(
"WeightMover")
725 def _object_cast_to_WeightMover(o):
726 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
727 return _IMP_isd._object_cast_to_WeightMover(o)
729 _object_types.append(
"WeightRestraint")
732 def _object_cast_to_WeightRestraint(o):
733 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
734 return _IMP_isd._object_cast_to_WeightRestraint(o)
736 _object_types.append(
"AtomicCrossLinkMSRestraint")
739 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
740 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
741 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
743 _object_types.append(
"GaussianEMRestraint")
746 def _object_cast_to_GaussianEMRestraint(o):
747 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
748 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
750 _object_types.append(
"GaussianAnchorEMRestraint")
753 def _object_cast_to_GaussianAnchorEMRestraint(o):
754 """_object_cast_to_GaussianAnchorEMRestraint(Object o) -> GaussianAnchorEMRestraint"""
755 return _IMP_isd._object_cast_to_GaussianAnchorEMRestraint(o)
757 def create_model_and_particles():
762 for i
in range(0,100):
766 d.set_coordinates_are_optimized(
True)
770 """Proxy of C++ IMP::isd::ISDRestraint class."""
772 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
774 def __init__(self, m, name):
775 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
776 if self.__class__ == ISDRestraint:
780 this = _IMP_isd.new_ISDRestraint(_self, m, name)
782 self.this.append(this)
783 except __builtin__.Exception:
786 if self.__class__ != ISDRestraint:
787 _director_objects.register(self)
792 def get_probability(self):
793 """get_probability(ISDRestraint self) -> double"""
794 return _IMP_isd.ISDRestraint_get_probability(self)
797 def unprotected_evaluate(self, accum):
798 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
799 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
803 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
804 return _IMP_isd.ISDRestraint_do_get_inputs(self)
807 def get_type_name(self):
808 """get_type_name(ISDRestraint self) -> std::string"""
809 return _IMP_isd.ISDRestraint_get_type_name(self)
813 """get_version_info(ISDRestraint self) -> VersionInfo"""
814 return _IMP_isd.ISDRestraint_get_version_info(self)
818 """__str__(ISDRestraint self) -> std::string"""
819 return _IMP_isd.ISDRestraint___str__(self)
823 """__repr__(ISDRestraint self) -> std::string"""
824 return _IMP_isd.ISDRestraint___repr__(self)
829 return _object_cast_to_ISDRestraint(o)
832 def get_type_name(self):
833 return self.__class__.__name__
834 def do_show(self, out):
837 if"IMP::isd" ==
"IMP":
838 return VersionInfo(self.__module__,
839 __import__(self.__module__).get_module_version())
842 __import__(self.__module__).get_module_version())
845 return _object_cast_to_ISDRestraint(o)
847 def __disown__(self):
849 _IMP_isd.disown_ISDRestraint(self)
850 return weakref_proxy(self)
853 """do_destroy(ISDRestraint self)"""
854 return _IMP_isd.ISDRestraint_do_destroy(self)
857 def handle_set_has_required_score_states(self, arg0):
858 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
859 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
863 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
864 return _IMP_isd.ISDRestraint_do_get_outputs(self)
867 def do_get_interactions(self):
868 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
869 return _IMP_isd.ISDRestraint_do_get_interactions(self)
872 def do_create_decomposition(self):
873 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
874 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
877 def do_create_current_decomposition(self):
878 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
879 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
882 def do_add_score_and_derivatives(self, sa):
883 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
884 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
886 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
887 ISDRestraint_swigregister(ISDRestraint)
890 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class."""
892 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
894 def __init__(self, *args):
896 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
897 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
898 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
899 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
900 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
901 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
902 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
903 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
904 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
906 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
908 self.this.append(this)
909 except __builtin__.Exception:
912 def add_contribution(self, pps, sigmas, psi):
913 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
914 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
917 def get_probability(self):
918 """get_probability(CrossLinkMSRestraint self) -> double"""
919 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
922 def get_number_of_contributions(self):
923 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
924 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
928 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
929 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
933 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
934 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
938 """__str__(CrossLinkMSRestraint self) -> std::string"""
939 return _IMP_isd.CrossLinkMSRestraint___str__(self)
943 """__repr__(CrossLinkMSRestraint self) -> std::string"""
944 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
949 return _object_cast_to_CrossLinkMSRestraint(o)
951 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
952 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
955 """Proxy of C++ IMP::isd::LogWrapper class."""
957 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
959 def __init__(self, *args):
961 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
962 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
963 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
964 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
965 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
966 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
968 this = _IMP_isd.new_LogWrapper(*args)
970 self.this.append(this)
971 except __builtin__.Exception:
974 def do_add_score_and_derivatives(self, sa):
975 """do_add_score_and_derivatives(LogWrapper self, ScoreAccumulator sa)"""
976 return _IMP_isd.LogWrapper_do_add_score_and_derivatives(self, sa)
980 """__str__(LogWrapper self) -> std::string"""
981 return _IMP_isd.LogWrapper___str__(self)
985 """__repr__(LogWrapper self) -> std::string"""
986 return _IMP_isd.LogWrapper___repr__(self)
991 return _object_cast_to_LogWrapper(o)
993 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
994 LogWrapper_swigregister(LogWrapper)
997 """Proxy of C++ IMP::isd::UniformPrior class."""
999 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1001 def __init__(self, *args):
1003 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1004 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1006 this = _IMP_isd.new_UniformPrior(*args)
1008 self.this.append(this)
1009 except __builtin__.Exception:
1013 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1014 return _IMP_isd.UniformPrior_do_get_inputs(self)
1018 """get_version_info(UniformPrior self) -> VersionInfo"""
1019 return _IMP_isd.UniformPrior_get_version_info(self)
1022 def get_probability(self):
1023 """get_probability(UniformPrior self) -> double"""
1024 return _IMP_isd.UniformPrior_get_probability(self)
1028 """__str__(UniformPrior self) -> std::string"""
1029 return _IMP_isd.UniformPrior___str__(self)
1033 """__repr__(UniformPrior self) -> std::string"""
1034 return _IMP_isd.UniformPrior___repr__(self)
1039 return _object_cast_to_UniformPrior(o)
1041 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1042 UniformPrior_swigregister(UniformPrior)
1045 """Proxy of C++ IMP::isd::Nuisance class."""
1047 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1049 def __init__(self, *args):
1051 __init__(IMP::isd::Nuisance self) -> Nuisance
1052 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1053 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1055 this = _IMP_isd.new_Nuisance(*args)
1057 self.this.append(this)
1058 except __builtin__.Exception:
1061 def show(self, *args):
1063 show(Nuisance self, _ostream out)
1066 return _IMP_isd.Nuisance_show(self, *args)
1069 def setup_particle(*args):
1071 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1072 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1073 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1074 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1076 return _IMP_isd.Nuisance_setup_particle(*args)
1078 setup_particle = staticmethod(setup_particle)
1080 def get_is_setup(*args):
1082 get_is_setup(_ParticleAdaptor p) -> bool
1083 get_is_setup(Model m, ParticleIndex pi) -> bool
1085 return _IMP_isd.Nuisance_get_is_setup(*args)
1087 get_is_setup = staticmethod(get_is_setup)
1089 def get_nuisance_key():
1090 """get_nuisance_key() -> FloatKey"""
1091 return _IMP_isd.Nuisance_get_nuisance_key()
1093 get_nuisance_key = staticmethod(get_nuisance_key)
1095 def get_nuisance(self):
1096 """get_nuisance(Nuisance self) -> IMP::Float"""
1097 return _IMP_isd.Nuisance_get_nuisance(self)
1100 def set_nuisance(self, d):
1101 """set_nuisance(Nuisance self, IMP::Float d)"""
1102 return _IMP_isd.Nuisance_set_nuisance(self, d)
1105 def get_has_lower(self):
1106 """get_has_lower(Nuisance self) -> bool"""
1107 return _IMP_isd.Nuisance_get_has_lower(self)
1110 def get_lower(self):
1111 """get_lower(Nuisance self) -> IMP::Float"""
1112 return _IMP_isd.Nuisance_get_lower(self)
1115 def get_lower_key():
1116 """get_lower_key() -> FloatKey"""
1117 return _IMP_isd.Nuisance_get_lower_key()
1119 get_lower_key = staticmethod(get_lower_key)
1121 def get_lower_particle_key():
1122 """get_lower_particle_key() -> ParticleIndexKey"""
1123 return _IMP_isd.Nuisance_get_lower_particle_key()
1125 get_lower_particle_key = staticmethod(get_lower_particle_key)
1127 def set_lower(self, *args):
1129 set_lower(Nuisance self, IMP::Float d)
1130 set_lower(Nuisance self, Particle d)
1132 return _IMP_isd.Nuisance_set_lower(self, *args)
1135 def remove_lower(self):
1136 """remove_lower(Nuisance self)"""
1137 return _IMP_isd.Nuisance_remove_lower(self)
1140 def get_has_upper(self):
1141 """get_has_upper(Nuisance self) -> bool"""
1142 return _IMP_isd.Nuisance_get_has_upper(self)
1145 def get_upper(self):
1146 """get_upper(Nuisance self) -> IMP::Float"""
1147 return _IMP_isd.Nuisance_get_upper(self)
1150 def get_upper_key():
1151 """get_upper_key() -> FloatKey"""
1152 return _IMP_isd.Nuisance_get_upper_key()
1154 get_upper_key = staticmethod(get_upper_key)
1156 def get_upper_particle_key():
1157 """get_upper_particle_key() -> ParticleIndexKey"""
1158 return _IMP_isd.Nuisance_get_upper_particle_key()
1160 get_upper_particle_key = staticmethod(get_upper_particle_key)
1162 def set_upper(self, *args):
1164 set_upper(Nuisance self, IMP::Float d)
1165 set_upper(Nuisance self, Particle d)
1167 return _IMP_isd.Nuisance_set_upper(self, *args)
1170 def remove_upper(self):
1171 """remove_upper(Nuisance self)"""
1172 return _IMP_isd.Nuisance_remove_upper(self)
1175 def get_nuisance_derivative(self):
1176 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1177 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1180 def add_to_nuisance_derivative(self, d, accum):
1181 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1182 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1185 def get_nuisance_is_optimized(self):
1186 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1187 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1190 def set_nuisance_is_optimized(self, val):
1191 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1192 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1195 def add_attribute(self, *args):
1197 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1198 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1199 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1200 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1201 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1202 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1204 return _IMP_isd.Nuisance_add_attribute(self, *args)
1207 def get_value(self, *args):
1209 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1210 get_value(Nuisance self, IntKey a0) -> IMP::Int
1211 get_value(Nuisance self, StringKey a0) -> IMP::String
1212 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1213 get_value(Nuisance self, ObjectKey a0) -> Object
1215 return _IMP_isd.Nuisance_get_value(self, *args)
1218 def set_value(self, *args):
1220 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1221 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1222 set_value(Nuisance self, StringKey a0, IMP::String a1)
1223 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1224 set_value(Nuisance self, ObjectKey a0, Object a1)
1226 return _IMP_isd.Nuisance_set_value(self, *args)
1229 def remove_attribute(self, *args):
1231 remove_attribute(Nuisance self, FloatKey a0)
1232 remove_attribute(Nuisance self, IntKey a0)
1233 remove_attribute(Nuisance self, StringKey a0)
1234 remove_attribute(Nuisance self, ParticleIndexKey a0)
1235 remove_attribute(Nuisance self, ObjectKey a0)
1237 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1240 def has_attribute(self, *args):
1242 has_attribute(Nuisance self, FloatKey a0) -> bool
1243 has_attribute(Nuisance self, IntKey a0) -> bool
1244 has_attribute(Nuisance self, StringKey a0) -> bool
1245 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1246 has_attribute(Nuisance self, ObjectKey a0) -> bool
1248 return _IMP_isd.Nuisance_has_attribute(self, *args)
1251 def get_derivative(self, a0):
1252 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1253 return _IMP_isd.Nuisance_get_derivative(self, a0)
1257 """get_name(Nuisance self) -> std::string"""
1258 return _IMP_isd.Nuisance_get_name(self)
1262 """clear_caches(Nuisance self)"""
1263 return _IMP_isd.Nuisance_clear_caches(self)
1266 def set_name(self, a0):
1267 """set_name(Nuisance self, std::string a0)"""
1268 return _IMP_isd.Nuisance_set_name(self, a0)
1272 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1273 return _IMP_isd.Nuisance_set_check_level(self, a0)
1276 def add_to_derivative(self, a0, a1, a2):
1277 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1278 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1281 def set_is_optimized(self, a0, a1):
1282 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1283 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1286 def get_is_optimized(self, a0):
1287 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1288 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1291 def get_check_level(self):
1292 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1293 return _IMP_isd.Nuisance_get_check_level(self)
1296 def __eq__(self, *args):
1298 __eq__(Nuisance self, Nuisance o) -> bool
1299 __eq__(Nuisance self, Particle d) -> bool
1301 return _IMP_isd.Nuisance___eq__(self, *args)
1304 def __ne__(self, *args):
1306 __ne__(Nuisance self, Nuisance o) -> bool
1307 __ne__(Nuisance self, Particle d) -> bool
1309 return _IMP_isd.Nuisance___ne__(self, *args)
1312 def __le__(self, *args):
1314 __le__(Nuisance self, Nuisance o) -> bool
1315 __le__(Nuisance self, Particle d) -> bool
1317 return _IMP_isd.Nuisance___le__(self, *args)
1320 def __lt__(self, *args):
1322 __lt__(Nuisance self, Nuisance o) -> bool
1323 __lt__(Nuisance self, Particle d) -> bool
1325 return _IMP_isd.Nuisance___lt__(self, *args)
1328 def __ge__(self, *args):
1330 __ge__(Nuisance self, Nuisance o) -> bool
1331 __ge__(Nuisance self, Particle d) -> bool
1333 return _IMP_isd.Nuisance___ge__(self, *args)
1336 def __gt__(self, *args):
1338 __gt__(Nuisance self, Nuisance o) -> bool
1339 __gt__(Nuisance self, Particle d) -> bool
1341 return _IMP_isd.Nuisance___gt__(self, *args)
1345 """__hash__(Nuisance self) -> std::size_t"""
1346 return _IMP_isd.Nuisance___hash__(self)
1350 """__str__(Nuisance self) -> std::string"""
1351 return _IMP_isd.Nuisance___str__(self)
1355 """__repr__(Nuisance self) -> std::string"""
1356 return _IMP_isd.Nuisance___repr__(self)
1358 __swig_destroy__ = _IMP_isd.delete_Nuisance
1359 __del__ =
lambda self:
None
1360 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1361 Nuisance_swigregister(Nuisance)
1363 def Nuisance_setup_particle(*args):
1365 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1366 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1367 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1368 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1370 return _IMP_isd.Nuisance_setup_particle(*args)
1372 def Nuisance_get_is_setup(*args):
1374 get_is_setup(_ParticleAdaptor p) -> bool
1375 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1377 return _IMP_isd.Nuisance_get_is_setup(*args)
1379 def Nuisance_get_nuisance_key():
1380 """Nuisance_get_nuisance_key() -> FloatKey"""
1381 return _IMP_isd.Nuisance_get_nuisance_key()
1383 def Nuisance_get_lower_key():
1384 """Nuisance_get_lower_key() -> FloatKey"""
1385 return _IMP_isd.Nuisance_get_lower_key()
1387 def Nuisance_get_lower_particle_key():
1388 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1389 return _IMP_isd.Nuisance_get_lower_particle_key()
1391 def Nuisance_get_upper_key():
1392 """Nuisance_get_upper_key() -> FloatKey"""
1393 return _IMP_isd.Nuisance_get_upper_key()
1395 def Nuisance_get_upper_particle_key():
1396 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1397 return _IMP_isd.Nuisance_get_upper_particle_key()
1399 class Scale(Nuisance):
1400 """Proxy of C++ IMP::isd::Scale class."""
1402 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1404 def __init__(self, *args):
1406 __init__(IMP::isd::Scale self) -> Scale
1407 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1408 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1410 this = _IMP_isd.new_Scale(*args)
1412 self.this.append(this)
1413 except __builtin__.Exception:
1416 def show(self, *args):
1418 show(Scale self, _ostream out)
1421 return _IMP_isd.Scale_show(self, *args)
1424 def setup_particle(*args):
1426 setup_particle(Model m, ParticleIndex pi) -> Scale
1427 setup_particle(_ParticleAdaptor decorator) -> Scale
1428 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1429 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1431 return _IMP_isd.Scale_setup_particle(*args)
1433 setup_particle = staticmethod(setup_particle)
1435 def get_is_setup(*args):
1437 get_is_setup(_ParticleAdaptor p) -> bool
1438 get_is_setup(Model m, ParticleIndex pi) -> bool
1440 return _IMP_isd.Scale_get_is_setup(*args)
1442 get_is_setup = staticmethod(get_is_setup)
1444 def get_scale(self):
1445 """get_scale(Scale self) -> IMP::Float"""
1446 return _IMP_isd.Scale_get_scale(self)
1449 def set_scale(self, d):
1450 """set_scale(Scale self, IMP::Float d)"""
1451 return _IMP_isd.Scale_set_scale(self, d)
1454 def add_to_scale_derivative(self, d, accum):
1455 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1456 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1459 def get_scale_derivative(self):
1460 """get_scale_derivative(Scale self) -> IMP::Float"""
1461 return _IMP_isd.Scale_get_scale_derivative(self)
1464 def get_scale_key():
1465 """get_scale_key() -> FloatKey"""
1466 return _IMP_isd.Scale_get_scale_key()
1468 get_scale_key = staticmethod(get_scale_key)
1470 def get_scale_is_optimized(self):
1471 """get_scale_is_optimized(Scale self) -> bool"""
1472 return _IMP_isd.Scale_get_scale_is_optimized(self)
1475 def set_scale_is_optimized(self, val):
1476 """set_scale_is_optimized(Scale self, bool val)"""
1477 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1480 def add_attribute(self, *args):
1482 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1483 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1484 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1485 add_attribute(Scale self, StringKey a0, IMP::String a1)
1486 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1487 add_attribute(Scale self, ObjectKey a0, Object a1)
1489 return _IMP_isd.Scale_add_attribute(self, *args)
1492 def get_value(self, *args):
1494 get_value(Scale self, FloatKey a0) -> IMP::Float
1495 get_value(Scale self, IntKey a0) -> IMP::Int
1496 get_value(Scale self, StringKey a0) -> IMP::String
1497 get_value(Scale self, ParticleIndexKey a0) -> Particle
1498 get_value(Scale self, ObjectKey a0) -> Object
1500 return _IMP_isd.Scale_get_value(self, *args)
1503 def set_value(self, *args):
1505 set_value(Scale self, FloatKey a0, IMP::Float a1)
1506 set_value(Scale self, IntKey a0, IMP::Int a1)
1507 set_value(Scale self, StringKey a0, IMP::String a1)
1508 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1509 set_value(Scale self, ObjectKey a0, Object a1)
1511 return _IMP_isd.Scale_set_value(self, *args)
1514 def remove_attribute(self, *args):
1516 remove_attribute(Scale self, FloatKey a0)
1517 remove_attribute(Scale self, IntKey a0)
1518 remove_attribute(Scale self, StringKey a0)
1519 remove_attribute(Scale self, ParticleIndexKey a0)
1520 remove_attribute(Scale self, ObjectKey a0)
1522 return _IMP_isd.Scale_remove_attribute(self, *args)
1525 def has_attribute(self, *args):
1527 has_attribute(Scale self, FloatKey a0) -> bool
1528 has_attribute(Scale self, IntKey a0) -> bool
1529 has_attribute(Scale self, StringKey a0) -> bool
1530 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1531 has_attribute(Scale self, ObjectKey a0) -> bool
1533 return _IMP_isd.Scale_has_attribute(self, *args)
1536 def get_derivative(self, a0):
1537 """get_derivative(Scale self, FloatKey a0) -> double"""
1538 return _IMP_isd.Scale_get_derivative(self, a0)
1542 """get_name(Scale self) -> std::string"""
1543 return _IMP_isd.Scale_get_name(self)
1547 """clear_caches(Scale self)"""
1548 return _IMP_isd.Scale_clear_caches(self)
1551 def set_name(self, a0):
1552 """set_name(Scale self, std::string a0)"""
1553 return _IMP_isd.Scale_set_name(self, a0)
1557 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1558 return _IMP_isd.Scale_set_check_level(self, a0)
1561 def add_to_derivative(self, a0, a1, a2):
1562 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1563 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1566 def set_is_optimized(self, a0, a1):
1567 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1568 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1571 def get_is_optimized(self, a0):
1572 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1573 return _IMP_isd.Scale_get_is_optimized(self, a0)
1576 def get_check_level(self):
1577 """get_check_level(Scale self) -> IMP::CheckLevel"""
1578 return _IMP_isd.Scale_get_check_level(self)
1581 def __eq__(self, *args):
1583 __eq__(Scale self, Scale o) -> bool
1584 __eq__(Scale self, Particle d) -> bool
1586 return _IMP_isd.Scale___eq__(self, *args)
1589 def __ne__(self, *args):
1591 __ne__(Scale self, Scale o) -> bool
1592 __ne__(Scale self, Particle d) -> bool
1594 return _IMP_isd.Scale___ne__(self, *args)
1597 def __le__(self, *args):
1599 __le__(Scale self, Scale o) -> bool
1600 __le__(Scale self, Particle d) -> bool
1602 return _IMP_isd.Scale___le__(self, *args)
1605 def __lt__(self, *args):
1607 __lt__(Scale self, Scale o) -> bool
1608 __lt__(Scale self, Particle d) -> bool
1610 return _IMP_isd.Scale___lt__(self, *args)
1613 def __ge__(self, *args):
1615 __ge__(Scale self, Scale o) -> bool
1616 __ge__(Scale self, Particle d) -> bool
1618 return _IMP_isd.Scale___ge__(self, *args)
1621 def __gt__(self, *args):
1623 __gt__(Scale self, Scale o) -> bool
1624 __gt__(Scale self, Particle d) -> bool
1626 return _IMP_isd.Scale___gt__(self, *args)
1630 """__hash__(Scale self) -> std::size_t"""
1631 return _IMP_isd.Scale___hash__(self)
1635 """__str__(Scale self) -> std::string"""
1636 return _IMP_isd.Scale___str__(self)
1640 """__repr__(Scale self) -> std::string"""
1641 return _IMP_isd.Scale___repr__(self)
1643 __swig_destroy__ = _IMP_isd.delete_Scale
1644 __del__ =
lambda self:
None
1645 Scale_swigregister = _IMP_isd.Scale_swigregister
1646 Scale_swigregister(Scale)
1648 def Scale_setup_particle(*args):
1650 setup_particle(Model m, ParticleIndex pi) -> Scale
1651 setup_particle(_ParticleAdaptor decorator) -> Scale
1652 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1653 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1655 return _IMP_isd.Scale_setup_particle(*args)
1657 def Scale_get_is_setup(*args):
1659 get_is_setup(_ParticleAdaptor p) -> bool
1660 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1662 return _IMP_isd.Scale_get_is_setup(*args)
1664 def Scale_get_scale_key():
1665 """Scale_get_scale_key() -> FloatKey"""
1666 return _IMP_isd.Scale_get_scale_key()
1668 class Switching(Nuisance):
1669 """Proxy of C++ IMP::isd::Switching class."""
1671 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1673 def __init__(self, *args):
1675 __init__(IMP::isd::Switching self) -> Switching
1676 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1677 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1679 this = _IMP_isd.new_Switching(*args)
1681 self.this.append(this)
1682 except __builtin__.Exception:
1685 def show(self, *args):
1687 show(Switching self, _ostream out)
1688 show(Switching self)
1690 return _IMP_isd.Switching_show(self, *args)
1693 def setup_particle(*args):
1695 setup_particle(Model m, ParticleIndex pi) -> Switching
1696 setup_particle(_ParticleAdaptor decorator) -> Switching
1697 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1698 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1700 return _IMP_isd.Switching_setup_particle(*args)
1702 setup_particle = staticmethod(setup_particle)
1704 def get_is_setup(*args):
1706 get_is_setup(_ParticleAdaptor p) -> bool
1707 get_is_setup(Model m, ParticleIndex pi) -> bool
1709 return _IMP_isd.Switching_get_is_setup(*args)
1711 get_is_setup = staticmethod(get_is_setup)
1713 def get_switching(self):
1714 """get_switching(Switching self) -> IMP::Float"""
1715 return _IMP_isd.Switching_get_switching(self)
1718 def set_switching(self, d):
1719 """set_switching(Switching self, IMP::Float d)"""
1720 return _IMP_isd.Switching_set_switching(self, d)
1723 def add_to_switching_derivative(self, d, accum):
1724 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1725 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1728 def get_switching_derivative(self):
1729 """get_switching_derivative(Switching self) -> IMP::Float"""
1730 return _IMP_isd.Switching_get_switching_derivative(self)
1733 def get_switching_key():
1734 """get_switching_key() -> FloatKey"""
1735 return _IMP_isd.Switching_get_switching_key()
1737 get_switching_key = staticmethod(get_switching_key)
1739 def get_switching_is_optimized(self):
1740 """get_switching_is_optimized(Switching self) -> bool"""
1741 return _IMP_isd.Switching_get_switching_is_optimized(self)
1744 def set_switching_is_optimized(self, val):
1745 """set_switching_is_optimized(Switching self, bool val)"""
1746 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
1749 def add_attribute(self, *args):
1751 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1752 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1753 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1754 add_attribute(Switching self, StringKey a0, IMP::String a1)
1755 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1756 add_attribute(Switching self, ObjectKey a0, Object a1)
1758 return _IMP_isd.Switching_add_attribute(self, *args)
1761 def get_value(self, *args):
1763 get_value(Switching self, FloatKey a0) -> IMP::Float
1764 get_value(Switching self, IntKey a0) -> IMP::Int
1765 get_value(Switching self, StringKey a0) -> IMP::String
1766 get_value(Switching self, ParticleIndexKey a0) -> Particle
1767 get_value(Switching self, ObjectKey a0) -> Object
1769 return _IMP_isd.Switching_get_value(self, *args)
1772 def set_value(self, *args):
1774 set_value(Switching self, FloatKey a0, IMP::Float a1)
1775 set_value(Switching self, IntKey a0, IMP::Int a1)
1776 set_value(Switching self, StringKey a0, IMP::String a1)
1777 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1778 set_value(Switching self, ObjectKey a0, Object a1)
1780 return _IMP_isd.Switching_set_value(self, *args)
1783 def remove_attribute(self, *args):
1785 remove_attribute(Switching self, FloatKey a0)
1786 remove_attribute(Switching self, IntKey a0)
1787 remove_attribute(Switching self, StringKey a0)
1788 remove_attribute(Switching self, ParticleIndexKey a0)
1789 remove_attribute(Switching self, ObjectKey a0)
1791 return _IMP_isd.Switching_remove_attribute(self, *args)
1794 def has_attribute(self, *args):
1796 has_attribute(Switching self, FloatKey a0) -> bool
1797 has_attribute(Switching self, IntKey a0) -> bool
1798 has_attribute(Switching self, StringKey a0) -> bool
1799 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1800 has_attribute(Switching self, ObjectKey a0) -> bool
1802 return _IMP_isd.Switching_has_attribute(self, *args)
1805 def get_derivative(self, a0):
1806 """get_derivative(Switching self, FloatKey a0) -> double"""
1807 return _IMP_isd.Switching_get_derivative(self, a0)
1811 """get_name(Switching self) -> std::string"""
1812 return _IMP_isd.Switching_get_name(self)
1816 """clear_caches(Switching self)"""
1817 return _IMP_isd.Switching_clear_caches(self)
1820 def set_name(self, a0):
1821 """set_name(Switching self, std::string a0)"""
1822 return _IMP_isd.Switching_set_name(self, a0)
1826 """set_check_level(Switching self, IMP::CheckLevel a0)"""
1827 return _IMP_isd.Switching_set_check_level(self, a0)
1830 def add_to_derivative(self, a0, a1, a2):
1831 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1832 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
1835 def set_is_optimized(self, a0, a1):
1836 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1837 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
1840 def get_is_optimized(self, a0):
1841 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1842 return _IMP_isd.Switching_get_is_optimized(self, a0)
1845 def get_check_level(self):
1846 """get_check_level(Switching self) -> IMP::CheckLevel"""
1847 return _IMP_isd.Switching_get_check_level(self)
1850 def __eq__(self, *args):
1852 __eq__(Switching self, Switching o) -> bool
1853 __eq__(Switching self, Particle d) -> bool
1855 return _IMP_isd.Switching___eq__(self, *args)
1858 def __ne__(self, *args):
1860 __ne__(Switching self, Switching o) -> bool
1861 __ne__(Switching self, Particle d) -> bool
1863 return _IMP_isd.Switching___ne__(self, *args)
1866 def __le__(self, *args):
1868 __le__(Switching self, Switching o) -> bool
1869 __le__(Switching self, Particle d) -> bool
1871 return _IMP_isd.Switching___le__(self, *args)
1874 def __lt__(self, *args):
1876 __lt__(Switching self, Switching o) -> bool
1877 __lt__(Switching self, Particle d) -> bool
1879 return _IMP_isd.Switching___lt__(self, *args)
1882 def __ge__(self, *args):
1884 __ge__(Switching self, Switching o) -> bool
1885 __ge__(Switching self, Particle d) -> bool
1887 return _IMP_isd.Switching___ge__(self, *args)
1890 def __gt__(self, *args):
1892 __gt__(Switching self, Switching o) -> bool
1893 __gt__(Switching self, Particle d) -> bool
1895 return _IMP_isd.Switching___gt__(self, *args)
1899 """__hash__(Switching self) -> std::size_t"""
1900 return _IMP_isd.Switching___hash__(self)
1904 """__str__(Switching self) -> std::string"""
1905 return _IMP_isd.Switching___str__(self)
1909 """__repr__(Switching self) -> std::string"""
1910 return _IMP_isd.Switching___repr__(self)
1912 __swig_destroy__ = _IMP_isd.delete_Switching
1913 __del__ =
lambda self:
None
1914 Switching_swigregister = _IMP_isd.Switching_swigregister
1915 Switching_swigregister(Switching)
1917 def Switching_setup_particle(*args):
1919 setup_particle(Model m, ParticleIndex pi) -> Switching
1920 setup_particle(_ParticleAdaptor decorator) -> Switching
1921 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1922 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1924 return _IMP_isd.Switching_setup_particle(*args)
1926 def Switching_get_is_setup(*args):
1928 get_is_setup(_ParticleAdaptor p) -> bool
1929 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
1931 return _IMP_isd.Switching_get_is_setup(*args)
1933 def Switching_get_switching_key():
1934 """Switching_get_switching_key() -> FloatKey"""
1935 return _IMP_isd.Switching_get_switching_key()
1938 def __lshift__(*args):
1940 __lshift__(_ostream out, Nuisance n) -> _ostream
1941 __lshift__(_ostream out, Scale n) -> _ostream
1942 __lshift__(_ostream out, Switching n) -> _ostream
1944 return _IMP_isd.__lshift__(*args)
1946 """Proxy of C++ IMP::isd::Weight class."""
1948 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1950 def __init__(self, *args):
1952 __init__(IMP::isd::Weight self) -> Weight
1953 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
1954 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
1956 this = _IMP_isd.new_Weight(*args)
1958 self.this.append(this)
1959 except __builtin__.Exception:
1962 def show(self, *args):
1964 show(Weight self, _ostream out)
1967 return _IMP_isd.Weight_show(self, *args)
1970 def setup_particle(*args):
1972 setup_particle(Model m, ParticleIndex pi) -> Weight
1973 setup_particle(_ParticleAdaptor decorator) -> Weight
1975 return _IMP_isd.Weight_setup_particle(*args)
1977 setup_particle = staticmethod(setup_particle)
1979 def get_nstates_key():
1980 """get_nstates_key() -> IntKey"""
1981 return _IMP_isd.Weight_get_nstates_key()
1983 get_nstates_key = staticmethod(get_nstates_key)
1985 def get_weight_key(i):
1986 """get_weight_key(int i) -> FloatKey"""
1987 return _IMP_isd.Weight_get_weight_key(i)
1989 get_weight_key = staticmethod(get_weight_key)
1991 def set_weights(self, w):
1992 """set_weights(Weight self, VectorKD w)"""
1993 return _IMP_isd.Weight_set_weights(self, w)
1996 def add_weight(self):
1997 """add_weight(Weight self)"""
1998 return _IMP_isd.Weight_add_weight(self)
2001 def get_weight(self, i):
2002 """get_weight(Weight self, int i) -> IMP::Float"""
2003 return _IMP_isd.Weight_get_weight(self, i)
2006 def get_weights(self):
2007 """get_weights(Weight self) -> VectorKD"""
2008 return _IMP_isd.Weight_get_weights(self)
2011 def set_weights_are_optimized(self, tf):
2012 """set_weights_are_optimized(Weight self, bool tf)"""
2013 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2016 def get_number_of_states(self):
2017 """get_number_of_states(Weight self) -> IMP::Int"""
2018 return _IMP_isd.Weight_get_number_of_states(self)
2021 def get_is_setup(*args):
2023 get_is_setup(_ParticleAdaptor p) -> bool
2024 get_is_setup(Model m, ParticleIndex pi) -> bool
2026 return _IMP_isd.Weight_get_is_setup(*args)
2028 get_is_setup = staticmethod(get_is_setup)
2030 def add_attribute(self, *args):
2032 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2033 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2034 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2035 add_attribute(Weight self, StringKey a0, IMP::String a1)
2036 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2037 add_attribute(Weight self, ObjectKey a0, Object a1)
2039 return _IMP_isd.Weight_add_attribute(self, *args)
2042 def get_value(self, *args):
2044 get_value(Weight self, FloatKey a0) -> IMP::Float
2045 get_value(Weight self, IntKey a0) -> IMP::Int
2046 get_value(Weight self, StringKey a0) -> IMP::String
2047 get_value(Weight self, ParticleIndexKey a0) -> Particle
2048 get_value(Weight self, ObjectKey a0) -> Object
2050 return _IMP_isd.Weight_get_value(self, *args)
2053 def set_value(self, *args):
2055 set_value(Weight self, FloatKey a0, IMP::Float a1)
2056 set_value(Weight self, IntKey a0, IMP::Int a1)
2057 set_value(Weight self, StringKey a0, IMP::String a1)
2058 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2059 set_value(Weight self, ObjectKey a0, Object a1)
2061 return _IMP_isd.Weight_set_value(self, *args)
2064 def remove_attribute(self, *args):
2066 remove_attribute(Weight self, FloatKey a0)
2067 remove_attribute(Weight self, IntKey a0)
2068 remove_attribute(Weight self, StringKey a0)
2069 remove_attribute(Weight self, ParticleIndexKey a0)
2070 remove_attribute(Weight self, ObjectKey a0)
2072 return _IMP_isd.Weight_remove_attribute(self, *args)
2075 def has_attribute(self, *args):
2077 has_attribute(Weight self, FloatKey a0) -> bool
2078 has_attribute(Weight self, IntKey a0) -> bool
2079 has_attribute(Weight self, StringKey a0) -> bool
2080 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2081 has_attribute(Weight self, ObjectKey a0) -> bool
2083 return _IMP_isd.Weight_has_attribute(self, *args)
2086 def get_derivative(self, a0):
2087 """get_derivative(Weight self, FloatKey a0) -> double"""
2088 return _IMP_isd.Weight_get_derivative(self, a0)
2092 """get_name(Weight self) -> std::string"""
2093 return _IMP_isd.Weight_get_name(self)
2097 """clear_caches(Weight self)"""
2098 return _IMP_isd.Weight_clear_caches(self)
2101 def set_name(self, a0):
2102 """set_name(Weight self, std::string a0)"""
2103 return _IMP_isd.Weight_set_name(self, a0)
2107 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2108 return _IMP_isd.Weight_set_check_level(self, a0)
2111 def add_to_derivative(self, a0, a1, a2):
2112 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2113 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2116 def set_is_optimized(self, a0, a1):
2117 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2118 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2121 def get_is_optimized(self, a0):
2122 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2123 return _IMP_isd.Weight_get_is_optimized(self, a0)
2126 def get_check_level(self):
2127 """get_check_level(Weight self) -> IMP::CheckLevel"""
2128 return _IMP_isd.Weight_get_check_level(self)
2131 def __eq__(self, *args):
2133 __eq__(Weight self, Weight o) -> bool
2134 __eq__(Weight self, Particle d) -> bool
2136 return _IMP_isd.Weight___eq__(self, *args)
2139 def __ne__(self, *args):
2141 __ne__(Weight self, Weight o) -> bool
2142 __ne__(Weight self, Particle d) -> bool
2144 return _IMP_isd.Weight___ne__(self, *args)
2147 def __le__(self, *args):
2149 __le__(Weight self, Weight o) -> bool
2150 __le__(Weight self, Particle d) -> bool
2152 return _IMP_isd.Weight___le__(self, *args)
2155 def __lt__(self, *args):
2157 __lt__(Weight self, Weight o) -> bool
2158 __lt__(Weight self, Particle d) -> bool
2160 return _IMP_isd.Weight___lt__(self, *args)
2163 def __ge__(self, *args):
2165 __ge__(Weight self, Weight o) -> bool
2166 __ge__(Weight self, Particle d) -> bool
2168 return _IMP_isd.Weight___ge__(self, *args)
2171 def __gt__(self, *args):
2173 __gt__(Weight self, Weight o) -> bool
2174 __gt__(Weight self, Particle d) -> bool
2176 return _IMP_isd.Weight___gt__(self, *args)
2180 """__hash__(Weight self) -> std::size_t"""
2181 return _IMP_isd.Weight___hash__(self)
2185 """__str__(Weight self) -> std::string"""
2186 return _IMP_isd.Weight___str__(self)
2190 """__repr__(Weight self) -> std::string"""
2191 return _IMP_isd.Weight___repr__(self)
2193 __swig_destroy__ = _IMP_isd.delete_Weight
2194 __del__ =
lambda self:
None
2195 Weight_swigregister = _IMP_isd.Weight_swigregister
2196 Weight_swigregister(Weight)
2198 def Weight_setup_particle(*args):
2200 setup_particle(Model m, ParticleIndex pi) -> Weight
2201 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
2203 return _IMP_isd.Weight_setup_particle(*args)
2205 def Weight_get_nstates_key():
2206 """Weight_get_nstates_key() -> IntKey"""
2207 return _IMP_isd.Weight_get_nstates_key()
2209 def Weight_get_weight_key(i):
2210 """Weight_get_weight_key(int i) -> FloatKey"""
2211 return _IMP_isd.Weight_get_weight_key(i)
2213 def Weight_get_is_setup(*args):
2215 get_is_setup(_ParticleAdaptor p) -> bool
2216 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2218 return _IMP_isd.Weight_get_is_setup(*args)
2221 """Proxy of C++ IMP::isd::JeffreysRestraint class."""
2223 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2225 def __init__(self, m, p):
2226 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2227 this = _IMP_isd.new_JeffreysRestraint(m, p)
2229 self.this.append(this)
2230 except __builtin__.Exception:
2234 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2235 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2239 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2240 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2243 def get_probability(self):
2244 """get_probability(JeffreysRestraint self) -> double"""
2245 return _IMP_isd.JeffreysRestraint_get_probability(self)
2249 """__str__(JeffreysRestraint self) -> std::string"""
2250 return _IMP_isd.JeffreysRestraint___str__(self)
2254 """__repr__(JeffreysRestraint self) -> std::string"""
2255 return _IMP_isd.JeffreysRestraint___repr__(self)
2260 return _object_cast_to_JeffreysRestraint(o)
2262 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2263 JeffreysRestraint_swigregister(JeffreysRestraint)
2266 """Proxy of C++ IMP::isd::Distribution class."""
2268 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2270 def __init__(self, *args):
2272 __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2273 __init__(IMP::isd::Distribution self) -> Distribution
2275 if self.__class__ == Distribution:
2279 this = _IMP_isd.new_Distribution(_self, *args)
2281 self.this.append(this)
2282 except __builtin__.Exception:
2285 if self.__class__ != Distribution:
2286 _director_objects.register(self)
2291 def get_type_name(self):
2292 """get_type_name(Distribution self) -> std::string"""
2293 return _IMP_isd.Distribution_get_type_name(self)
2297 """get_version_info(Distribution self) -> VersionInfo"""
2298 return _IMP_isd.Distribution_get_version_info(self)
2302 """__str__(Distribution self) -> std::string"""
2303 return _IMP_isd.Distribution___str__(self)
2307 """__repr__(Distribution self) -> std::string"""
2308 return _IMP_isd.Distribution___repr__(self)
2313 return _object_cast_to_Distribution(o)
2316 def get_type_name(self):
2317 return self.__class__.__name__
2318 def do_show(self, out):
2321 if"IMP::isd" ==
"IMP":
2322 return VersionInfo(self.__module__,
2323 __import__(self.__module__).get_module_version())
2326 __import__(self.__module__).get_module_version())
2329 return _object_cast_to_Distribution(o)
2331 def __disown__(self):
2333 _IMP_isd.disown_Distribution(self)
2334 return weakref_proxy(self)
2337 """do_destroy(Distribution self)"""
2338 return _IMP_isd.Distribution_do_destroy(self)
2340 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2341 Distribution_swigregister(Distribution)
2343 class OneDimensionalDistribution(Distribution):
2344 """Proxy of C++ IMP::isd::OneDimensionalDistribution class."""
2346 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2348 def do_evaluate(self, *args):
2350 do_evaluate(OneDimensionalDistribution self, double v) -> double
2351 do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2353 return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2356 def do_get_density(self, *args):
2358 do_get_density(OneDimensionalDistribution self, double v) -> double
2359 do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2361 return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2364 def __init__(self, *args):
2366 __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2367 __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2369 if self.__class__ == OneDimensionalDistribution:
2373 this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2375 self.this.append(this)
2376 except __builtin__.Exception:
2379 if self.__class__ != OneDimensionalDistribution:
2380 _director_objects.register(self)
2385 def evaluate(self, *args):
2387 evaluate(OneDimensionalDistribution self, double v) -> double
2388 evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2390 return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2393 def get_density(self, *args):
2395 get_density(OneDimensionalDistribution self, double v) -> double
2396 get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2398 return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2401 def get_type_name(self):
2402 """get_type_name(OneDimensionalDistribution self) -> std::string"""
2403 return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2407 """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2408 return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2412 """__str__(OneDimensionalDistribution self) -> std::string"""
2413 return _IMP_isd.OneDimensionalDistribution___str__(self)
2417 """__repr__(OneDimensionalDistribution self) -> std::string"""
2418 return _IMP_isd.OneDimensionalDistribution___repr__(self)
2423 return _object_cast_to_OneDimensionalDistribution(o)
2426 def get_type_name(self):
2427 return self.__class__.__name__
2428 def do_show(self, out):
2431 if"IMP::isd" ==
"IMP":
2432 return VersionInfo(self.__module__,
2433 __import__(self.__module__).get_module_version())
2436 __import__(self.__module__).get_module_version())
2439 return _object_cast_to_OneDimensionalDistribution(o)
2441 def __disown__(self):
2443 _IMP_isd.disown_OneDimensionalDistribution(self)
2444 return weakref_proxy(self)
2447 """do_destroy(OneDimensionalDistribution self)"""
2448 return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2450 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2451 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2453 class OneDimensionalSufficientDistribution(Distribution):
2454 """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class."""
2456 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2458 def do_update_sufficient_statistics(self, vs):
2459 """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2460 return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
2463 def do_get_sufficient_statistics(self):
2464 """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2465 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
2468 def do_evaluate(self):
2469 """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
2470 return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
2473 def do_get_density(self):
2474 """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
2475 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
2478 def __init__(self, *args):
2480 __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
2481 __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
2483 if self.__class__ == OneDimensionalSufficientDistribution:
2487 this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
2489 self.this.append(this)
2490 except __builtin__.Exception:
2493 if self.__class__ != OneDimensionalSufficientDistribution:
2494 _director_objects.register(self)
2499 def update_sufficient_statistics(self, vs):
2500 """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2501 return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
2504 def get_sufficient_statistics(self):
2505 """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2506 return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
2510 """evaluate(OneDimensionalSufficientDistribution self) -> double"""
2511 return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
2514 def get_density(self):
2515 """get_density(OneDimensionalSufficientDistribution self) -> double"""
2516 return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
2519 def get_type_name(self):
2520 """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
2521 return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
2525 """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
2526 return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
2530 """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
2531 return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
2535 """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
2536 return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
2541 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2544 def get_type_name(self):
2545 return self.__class__.__name__
2546 def do_show(self, out):
2549 if"IMP::isd" ==
"IMP":
2550 return VersionInfo(self.__module__,
2551 __import__(self.__module__).get_module_version())
2554 __import__(self.__module__).get_module_version())
2557 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2559 def __disown__(self):
2561 _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
2562 return weakref_proxy(self)
2565 """do_destroy(OneDimensionalSufficientDistribution self)"""
2566 return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
2568 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
2569 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
2571 class FNormal(OneDimensionalSufficientDistribution):
2572 """Proxy of C++ IMP::isd::FNormal class."""
2574 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2576 def __init__(self, FA, JA, FM, sigma):
2577 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2578 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2580 self.this.append(this)
2581 except __builtin__.Exception:
2584 def update_sufficient_statistics(self, FA):
2585 """update_sufficient_statistics(FNormal self, double FA)"""
2586 return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
2589 def do_update_sufficient_statistics(self, data):
2590 """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
2591 return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
2594 def do_get_sufficient_statistics(self):
2595 """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
2596 return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
2599 def do_evaluate(self):
2600 """do_evaluate(FNormal self) -> double"""
2601 return _IMP_isd.FNormal_do_evaluate(self)
2604 def evaluate_derivative_FA(self):
2605 """evaluate_derivative_FA(FNormal self) -> double"""
2606 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2609 def evaluate_derivative_JA(self):
2610 """evaluate_derivative_JA(FNormal self) -> double"""
2611 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2614 def evaluate_derivative_FM(self):
2615 """evaluate_derivative_FM(FNormal self) -> double"""
2616 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2619 def evaluate_derivative_sigma(self):
2620 """evaluate_derivative_sigma(FNormal self) -> double"""
2621 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2624 def do_get_density(self):
2625 """do_get_density(FNormal self) -> double"""
2626 return _IMP_isd.FNormal_do_get_density(self)
2630 """density(FNormal self) -> double"""
2631 return _IMP_isd.FNormal_density(self)
2634 def set_FA(self, f):
2635 """set_FA(FNormal self, double f)"""
2636 return _IMP_isd.FNormal_set_FA(self, f)
2639 def set_JA(self, f):
2640 """set_JA(FNormal self, double f)"""
2641 return _IMP_isd.FNormal_set_JA(self, f)
2644 def set_FM(self, f):
2645 """set_FM(FNormal self, double f)"""
2646 return _IMP_isd.FNormal_set_FM(self, f)
2649 def set_sigma(self, f):
2650 """set_sigma(FNormal self, double f)"""
2651 return _IMP_isd.FNormal_set_sigma(self, f)
2655 """__str__(FNormal self) -> std::string"""
2656 return _IMP_isd.FNormal___str__(self)
2660 """__repr__(FNormal self) -> std::string"""
2661 return _IMP_isd.FNormal___repr__(self)
2666 return _object_cast_to_FNormal(o)
2668 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2669 FNormal_swigregister(FNormal)
2671 class FStudentT(OneDimensionalSufficientDistribution):
2672 """Proxy of C++ IMP::isd::FStudentT class."""
2674 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2676 def __init__(self, *args):
2678 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
2679 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
2680 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
2681 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
2683 this = _IMP_isd.new_FStudentT(*args)
2685 self.this.append(this)
2686 except __builtin__.Exception:
2689 def update_sufficient_statistics(self, FXs, JXs):
2690 """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
2691 return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
2694 def evaluate_derivative_Fx(self, Fx):
2695 """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
2696 return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
2699 def evaluate_derivative_FX(self, FXs):
2700 """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
2701 return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
2704 def evaluate_derivative_LogJX(self):
2705 """evaluate_derivative_LogJX(FStudentT self) -> double"""
2706 return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
2709 def evaluate_derivative_FM(self):
2710 """evaluate_derivative_FM(FStudentT self) -> double"""
2711 return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
2714 def evaluate_derivative_sigma(self):
2715 """evaluate_derivative_sigma(FStudentT self) -> double"""
2716 return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
2719 def evaluate_derivative_nu(self):
2720 """evaluate_derivative_nu(FStudentT self) -> double"""
2721 return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
2724 def update_cached_values(self):
2725 """update_cached_values(FStudentT self)"""
2726 return _IMP_isd.FStudentT_update_cached_values(self)
2729 def set_sumFX(self, v):
2730 """set_sumFX(FStudentT self, double v)"""
2731 return _IMP_isd.FStudentT_set_sumFX(self, v)
2734 def set_sumFX2(self, v):
2735 """set_sumFX2(FStudentT self, double v)"""
2736 return _IMP_isd.FStudentT_set_sumFX2(self, v)
2740 """set_N(FStudentT self, unsigned int v)"""
2741 return _IMP_isd.FStudentT_set_N(self, v)
2744 def set_LogJX(self, v):
2745 """set_LogJX(FStudentT self, double v)"""
2746 return _IMP_isd.FStudentT_set_LogJX(self, v)
2749 def set_FM(self, v):
2750 """set_FM(FStudentT self, double v)"""
2751 return _IMP_isd.FStudentT_set_FM(self, v)
2754 def set_sigma(self, v):
2755 """set_sigma(FStudentT self, double v)"""
2756 return _IMP_isd.FStudentT_set_sigma(self, v)
2759 def set_nu(self, v):
2760 """set_nu(FStudentT self, double v)"""
2761 return _IMP_isd.FStudentT_set_nu(self, v)
2764 def get_sumFX(self):
2765 """get_sumFX(FStudentT self) -> double"""
2766 return _IMP_isd.FStudentT_get_sumFX(self)
2769 def get_sumFX2(self):
2770 """get_sumFX2(FStudentT self) -> double"""
2771 return _IMP_isd.FStudentT_get_sumFX2(self)
2775 """get_N(FStudentT self) -> unsigned int"""
2776 return _IMP_isd.FStudentT_get_N(self)
2779 def get_LogJX(self):
2780 """get_LogJX(FStudentT self) -> double"""
2781 return _IMP_isd.FStudentT_get_LogJX(self)
2785 """get_FM(FStudentT self) -> double"""
2786 return _IMP_isd.FStudentT_get_FM(self)
2789 def get_sigma(self):
2790 """get_sigma(FStudentT self) -> double"""
2791 return _IMP_isd.FStudentT_get_sigma(self)
2795 """get_nu(FStudentT self) -> double"""
2796 return _IMP_isd.FStudentT_get_nu(self)
2800 """__str__(FStudentT self) -> std::string"""
2801 return _IMP_isd.FStudentT___str__(self)
2805 """__repr__(FStudentT self) -> std::string"""
2806 return _IMP_isd.FStudentT___repr__(self)
2811 return _object_cast_to_FStudentT(o)
2813 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
2814 FStudentT_swigregister(FStudentT)
2817 """Proxy of C++ IMP::isd::vonMises class."""
2819 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2821 def __init__(self, x, mu, kappa):
2822 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
2823 this = _IMP_isd.new_vonMises(x, mu, kappa)
2825 self.this.append(this)
2826 except __builtin__.Exception:
2830 """evaluate(vonMises self) -> double"""
2831 return _IMP_isd.vonMises_evaluate(self)
2834 def evaluate_derivative_x(self):
2835 """evaluate_derivative_x(vonMises self) -> double"""
2836 return _IMP_isd.vonMises_evaluate_derivative_x(self)
2839 def evaluate_derivative_mu(self):
2840 """evaluate_derivative_mu(vonMises self) -> double"""
2841 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
2844 def evaluate_derivative_kappa(self):
2845 """evaluate_derivative_kappa(vonMises self) -> double"""
2846 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
2850 """density(vonMises self) -> double"""
2851 return _IMP_isd.vonMises_density(self)
2855 """set_x(vonMises self, double x)"""
2856 return _IMP_isd.vonMises_set_x(self, x)
2859 def set_mu(self, mu):
2860 """set_mu(vonMises self, double mu)"""
2861 return _IMP_isd.vonMises_set_mu(self, mu)
2864 def set_kappa(self, kappa):
2865 """set_kappa(vonMises self, double kappa)"""
2866 return _IMP_isd.vonMises_set_kappa(self, kappa)
2870 """get_version_info(vonMises self) -> VersionInfo"""
2871 return _IMP_isd.vonMises_get_version_info(self)
2875 """__str__(vonMises self) -> std::string"""
2876 return _IMP_isd.vonMises___str__(self)
2880 """__repr__(vonMises self) -> std::string"""
2881 return _IMP_isd.vonMises___repr__(self)
2886 return _object_cast_to_vonMises(o)
2888 vonMises_swigregister = _IMP_isd.vonMises_swigregister
2889 vonMises_swigregister(vonMises)
2892 """Proxy of C++ IMP::isd::vonMisesSufficient class."""
2894 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2896 def __init__(self, *args):
2898 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
2899 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
2901 this = _IMP_isd.new_vonMisesSufficient(*args)
2903 self.this.append(this)
2904 except __builtin__.Exception:
2908 """evaluate(vonMisesSufficient self) -> double"""
2909 return _IMP_isd.vonMisesSufficient_evaluate(self)
2912 def evaluate_derivative_x(self):
2913 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
2914 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
2917 def evaluate_derivative_kappa(self):
2918 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
2919 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
2923 """density(vonMisesSufficient self) -> double"""
2924 return _IMP_isd.vonMisesSufficient_density(self)
2928 """get_x(vonMisesSufficient self) -> double"""
2929 return _IMP_isd.vonMisesSufficient_get_x(self)
2933 """get_R0(vonMisesSufficient self) -> double"""
2934 return _IMP_isd.vonMisesSufficient_get_R0(self)
2937 def get_chiexp(self):
2938 """get_chiexp(vonMisesSufficient self) -> double"""
2939 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
2943 """get_N(vonMisesSufficient self) -> double"""
2944 return _IMP_isd.vonMisesSufficient_get_N(self)
2947 def get_kappa(self):
2948 """get_kappa(vonMisesSufficient self) -> double"""
2949 return _IMP_isd.vonMisesSufficient_get_kappa(self)
2953 """set_x(vonMisesSufficient self, double x)"""
2954 return _IMP_isd.vonMisesSufficient_set_x(self, x)
2957 def set_R0(self, R0):
2958 """set_R0(vonMisesSufficient self, double R0)"""
2959 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
2962 def set_chiexp(self, chiexp):
2963 """set_chiexp(vonMisesSufficient self, double chiexp)"""
2964 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
2968 """set_N(vonMisesSufficient self, unsigned int N)"""
2969 return _IMP_isd.vonMisesSufficient_set_N(self, N)
2972 def set_kappa(self, kappa):
2973 """set_kappa(vonMisesSufficient self, double kappa)"""
2974 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
2977 def get_sufficient_statistics(data):
2978 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2979 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
2981 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
2984 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
2985 return _IMP_isd.vonMisesSufficient_get_version_info(self)
2989 """__str__(vonMisesSufficient self) -> std::string"""
2990 return _IMP_isd.vonMisesSufficient___str__(self)
2994 """__repr__(vonMisesSufficient self) -> std::string"""
2995 return _IMP_isd.vonMisesSufficient___repr__(self)
3000 return _object_cast_to_vonMisesSufficient(o)
3002 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3003 vonMisesSufficient_swigregister(vonMisesSufficient)
3005 def vonMisesSufficient_get_sufficient_statistics(data):
3006 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3007 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3010 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class."""
3012 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3014 def __init__(self, m, kappa):
3015 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3016 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3018 self.this.append(this)
3019 except __builtin__.Exception:
3023 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3024 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3028 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3029 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3032 def get_probability(self):
3033 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3034 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3038 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3039 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3043 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3044 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3049 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3051 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3052 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3055 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class."""
3057 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3059 def __init__(self, m, kappa, c=10.0, R0=0.0):
3061 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3062 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3063 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3065 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3067 self.this.append(this)
3068 except __builtin__.Exception:
3072 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3073 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3077 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3078 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3081 def get_probability(self):
3082 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3083 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3087 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3088 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3092 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3093 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3098 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3100 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3101 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3104 """Proxy of C++ IMP::isd::NOERestraint class."""
3106 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3108 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3109 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3110 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3112 self.this.append(this)
3113 except __builtin__.Exception:
3116 def get_probability(self):
3117 """get_probability(NOERestraint self) -> double"""
3118 return _IMP_isd.NOERestraint_get_probability(self)
3122 """get_chi(NOERestraint self) -> double"""
3123 return _IMP_isd.NOERestraint_get_chi(self)
3127 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3128 return _IMP_isd.NOERestraint_do_get_inputs(self)
3132 """get_version_info(NOERestraint self) -> VersionInfo"""
3133 return _IMP_isd.NOERestraint_get_version_info(self)
3137 """__str__(NOERestraint self) -> std::string"""
3138 return _IMP_isd.NOERestraint___str__(self)
3142 """__repr__(NOERestraint self) -> std::string"""
3143 return _IMP_isd.NOERestraint___repr__(self)
3148 return _object_cast_to_NOERestraint(o)
3150 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3151 NOERestraint_swigregister(NOERestraint)
3154 """Proxy of C++ IMP::isd::GaussianRestraint class."""
3156 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3158 def __init__(self, *args):
3160 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3161 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3162 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3163 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3164 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3165 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3166 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3168 this = _IMP_isd.new_GaussianRestraint(*args)
3170 self.this.append(this)
3171 except __builtin__.Exception:
3174 def get_probability(self):
3175 """get_probability(GaussianRestraint self) -> double"""
3176 return _IMP_isd.GaussianRestraint_get_probability(self)
3180 """get_chi(GaussianRestraint self) -> double"""
3181 return _IMP_isd.GaussianRestraint_get_chi(self)
3185 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3186 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3190 """get_version_info(GaussianRestraint self) -> VersionInfo"""
3191 return _IMP_isd.GaussianRestraint_get_version_info(self)
3195 """__str__(GaussianRestraint self) -> std::string"""
3196 return _IMP_isd.GaussianRestraint___str__(self)
3200 """__repr__(GaussianRestraint self) -> std::string"""
3201 return _IMP_isd.GaussianRestraint___repr__(self)
3206 return _object_cast_to_GaussianRestraint(o)
3208 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3209 GaussianRestraint_swigregister(GaussianRestraint)
3212 """Proxy of C++ IMP::isd::StudentTRestraint class."""
3214 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3216 def __init__(self, *args):
3218 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3219 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3220 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3221 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3222 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3223 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3224 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3225 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3226 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3227 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3228 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3229 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3230 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3231 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3232 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3234 this = _IMP_isd.new_StudentTRestraint(*args)
3236 self.this.append(this)
3237 except __builtin__.Exception:
3240 def get_probability(self):
3241 """get_probability(StudentTRestraint self) -> double"""
3242 return _IMP_isd.StudentTRestraint_get_probability(self)
3246 """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3247 return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3251 """get_version_info(StudentTRestraint self) -> VersionInfo"""
3252 return _IMP_isd.StudentTRestraint_get_version_info(self)
3256 """__str__(StudentTRestraint self) -> std::string"""
3257 return _IMP_isd.StudentTRestraint___str__(self)
3261 """__repr__(StudentTRestraint self) -> std::string"""
3262 return _IMP_isd.StudentTRestraint___repr__(self)
3267 return _object_cast_to_StudentTRestraint(o)
3269 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3270 StudentTRestraint_swigregister(StudentTRestraint)
3273 """Proxy of C++ IMP::isd::LognormalRestraint class."""
3275 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3277 def __init__(self, *args):
3279 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3280 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3281 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3282 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3283 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3284 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3285 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3287 this = _IMP_isd.new_LognormalRestraint(*args)
3289 self.this.append(this)
3290 except __builtin__.Exception:
3293 def get_probability(self):
3294 """get_probability(LognormalRestraint self) -> double"""
3295 return _IMP_isd.LognormalRestraint_get_probability(self)
3299 """get_chi(LognormalRestraint self) -> double"""
3300 return _IMP_isd.LognormalRestraint_get_chi(self)
3304 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3305 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3309 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3310 return _IMP_isd.LognormalRestraint_get_version_info(self)
3314 """__str__(LognormalRestraint self) -> std::string"""
3315 return _IMP_isd.LognormalRestraint___str__(self)
3319 """__repr__(LognormalRestraint self) -> std::string"""
3320 return _IMP_isd.LognormalRestraint___repr__(self)
3325 return _object_cast_to_LognormalRestraint(o)
3327 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3328 LognormalRestraint_swigregister(LognormalRestraint)
3331 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class."""
3333 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3335 def __init__(self, p1, p2, ki, sigmaG):
3336 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3337 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3339 self.this.append(this)
3340 except __builtin__.Exception:
3343 def add_contribution(self, lexp, omega):
3344 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3345 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3348 def get_number_of_contributions(self):
3349 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3350 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3353 def draw_k_from_posterior(self, kt):
3354 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3355 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3358 def get_probability(self):
3359 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3360 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3364 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3365 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3369 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3370 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3374 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3375 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3379 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3380 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3385 return _object_cast_to_LognormalAmbiguousRestraint(o)
3387 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3388 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3391 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class."""
3393 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3395 def __init__(self, m, pc, sigma, gamma, Iexp):
3396 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
3397 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
3399 self.this.append(this)
3400 except __builtin__.Exception:
3403 def get_probability(self):
3404 """get_probability(AmbiguousNOERestraint self) -> double"""
3405 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
3409 """get_chi(AmbiguousNOERestraint self) -> double"""
3410 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
3414 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
3415 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
3419 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
3420 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
3424 """__str__(AmbiguousNOERestraint self) -> std::string"""
3425 return _IMP_isd.AmbiguousNOERestraint___str__(self)
3429 """__repr__(AmbiguousNOERestraint self) -> std::string"""
3430 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
3435 return _object_cast_to_AmbiguousNOERestraint(o)
3437 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
3438 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
3441 """Proxy of C++ IMP::isd::MarginalNOERestraint class."""
3443 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3445 def __init__(self, m):
3446 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
3447 this = _IMP_isd.new_MarginalNOERestraint(m)
3449 self.this.append(this)
3450 except __builtin__.Exception:
3453 def add_contribution(self, *args):
3455 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
3456 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
3458 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
3461 def get_log_gammahat(self):
3462 """get_log_gammahat(MarginalNOERestraint self) -> double"""
3463 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
3467 """get_SS(MarginalNOERestraint self) -> double"""
3468 return _IMP_isd.MarginalNOERestraint_get_SS(self)
3471 def get_number_of_contributions(self):
3472 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
3473 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
3476 def get_probability(self):
3477 """get_probability(MarginalNOERestraint self) -> double"""
3478 return _IMP_isd.MarginalNOERestraint_get_probability(self)
3482 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
3483 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
3487 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
3488 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
3492 """__str__(MarginalNOERestraint self) -> std::string"""
3493 return _IMP_isd.MarginalNOERestraint___str__(self)
3497 """__repr__(MarginalNOERestraint self) -> std::string"""
3498 return _IMP_isd.MarginalNOERestraint___repr__(self)
3503 return _object_cast_to_MarginalNOERestraint(o)
3505 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3506 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3509 """Proxy of C++ IMP::isd::MarginalHBondRestraint class."""
3511 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3513 def __init__(self, m):
3514 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3515 this = _IMP_isd.new_MarginalHBondRestraint(m)
3517 self.this.append(this)
3518 except __builtin__.Exception:
3521 def add_contribution(self, *args):
3523 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3524 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3526 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3529 def get_logsquares(self):
3530 """get_logsquares(MarginalHBondRestraint self) -> double"""
3531 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3534 def get_number_of_contributions(self):
3535 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3536 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3539 def get_probability(self):
3540 """get_probability(MarginalHBondRestraint self) -> double"""
3541 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3545 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3546 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3550 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3551 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3555 """__str__(MarginalHBondRestraint self) -> std::string"""
3556 return _IMP_isd.MarginalHBondRestraint___str__(self)
3560 """__repr__(MarginalHBondRestraint self) -> std::string"""
3561 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3566 return _object_cast_to_MarginalHBondRestraint(o)
3568 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3569 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3572 """Proxy of C++ IMP::isd::TALOSRestraint class."""
3574 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3576 def __init__(self, *args):
3578 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3579 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3580 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3581 __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
3583 this = _IMP_isd.new_TALOSRestraint(*args)
3585 self.this.append(this)
3586 except __builtin__.Exception:
3589 def get_probability(self):
3590 """get_probability(TALOSRestraint self) -> double"""
3591 return _IMP_isd.TALOSRestraint_get_probability(self)
3595 """get_R0(TALOSRestraint self) -> double"""
3596 return _IMP_isd.TALOSRestraint_get_R0(self)
3599 def get_chiexp(self):
3600 """get_chiexp(TALOSRestraint self) -> double"""
3601 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3605 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3606 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3610 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3611 return _IMP_isd.TALOSRestraint_get_version_info(self)
3615 """__str__(TALOSRestraint self) -> std::string"""
3616 return _IMP_isd.TALOSRestraint___str__(self)
3620 """__repr__(TALOSRestraint self) -> std::string"""
3621 return _IMP_isd.TALOSRestraint___repr__(self)
3626 return _object_cast_to_TALOSRestraint(o)
3628 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3629 TALOSRestraint_swigregister(TALOSRestraint)
3632 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class."""
3634 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3636 def __init__(self, d0, k):
3637 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3638 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3640 self.this.append(this)
3641 except __builtin__.Exception:
3644 def get_rest_length(self):
3645 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3646 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3649 def get_stiffness(self):
3650 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3651 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3655 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3656 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3660 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3661 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
3665 """__str__(RepulsiveDistancePairScore self) -> std::string"""
3666 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
3670 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
3671 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
3676 return _object_cast_to_RepulsiveDistancePairScore(o)
3678 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
3679 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
3682 """Proxy of C++ IMP::isd::AmbiguousRestraint class."""
3684 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3686 def __init__(self, *args):
3688 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
3689 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
3691 this = _IMP_isd.new_AmbiguousRestraint(*args)
3693 self.this.append(this)
3694 except __builtin__.Exception:
3697 def get_probability(self):
3698 """get_probability(AmbiguousRestraint self) -> double"""
3699 return _IMP_isd.AmbiguousRestraint_get_probability(self)
3703 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3704 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
3708 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
3709 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
3713 """__str__(AmbiguousRestraint self) -> std::string"""
3714 return _IMP_isd.AmbiguousRestraint___str__(self)
3718 """__repr__(AmbiguousRestraint self) -> std::string"""
3719 return _IMP_isd.AmbiguousRestraint___repr__(self)
3724 return _object_cast_to_AmbiguousRestraint(o)
3726 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
3727 AmbiguousRestraint_swigregister(AmbiguousRestraint)
3729 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
3731 """Proxy of C++ IMP::isd::UnivariateFunction class."""
3733 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3735 def __init__(self, *args, **kwargs):
3736 raise AttributeError(
"No constructor defined - class is abstract")
3738 def __call__(self, *args):
3740 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
3741 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3742 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3744 return _IMP_isd.UnivariateFunction___call__(self, *args)
3747 def has_changed(self):
3748 """has_changed(UnivariateFunction self) -> bool"""
3749 return _IMP_isd.UnivariateFunction_has_changed(self)
3753 """update(UnivariateFunction self)"""
3754 return _IMP_isd.UnivariateFunction_update(self)
3757 def add_to_derivatives(self, x, accum):
3758 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
3759 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
3762 def add_to_particle_derivative(self, particle_no, value, accum):
3763 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3764 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3767 def get_derivative_vector(self, particle_no, xlist):
3768 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
3769 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
3772 def get_derivative_matrix(self, xlist, stupid):
3773 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
3774 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
3777 def get_second_derivative_vector(self, *args):
3779 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3780 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3782 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
3785 def get_ndims_x(self):
3786 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
3787 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
3790 def get_ndims_y(self):
3791 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
3792 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
3795 def get_number_of_particles(self):
3796 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
3797 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
3800 def get_particle_is_optimized(self, particle_no):
3801 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
3802 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
3805 def get_number_of_optimized_particles(self):
3806 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
3807 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
3811 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
3812 return _IMP_isd.UnivariateFunction_get_inputs(self)
3814 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
3815 __del__ =
lambda self:
None
3818 """__str__(UnivariateFunction self) -> std::string"""
3819 return _IMP_isd.UnivariateFunction___str__(self)
3823 """__repr__(UnivariateFunction self) -> std::string"""
3824 return _IMP_isd.UnivariateFunction___repr__(self)
3829 return _object_cast_to_UnivariateFunction(o)
3831 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
3832 UnivariateFunction_swigregister(UnivariateFunction)
3834 class Linear1DFunction(UnivariateFunction):
3835 """Proxy of C++ IMP::isd::Linear1DFunction class."""
3837 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3839 def __init__(self, a, b):
3840 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
3841 this = _IMP_isd.new_Linear1DFunction(a, b)
3843 self.this.append(this)
3844 except __builtin__.Exception:
3847 def __call__(self, *args):
3849 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
3850 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3851 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3853 return _IMP_isd.Linear1DFunction___call__(self, *args)
3856 def get_second_derivative_vector(self, *args):
3858 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3859 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3861 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
3865 """get_version_info(Linear1DFunction self) -> VersionInfo"""
3866 return _IMP_isd.Linear1DFunction_get_version_info(self)
3870 """__str__(Linear1DFunction self) -> std::string"""
3871 return _IMP_isd.Linear1DFunction___str__(self)
3875 """__repr__(Linear1DFunction self) -> std::string"""
3876 return _IMP_isd.Linear1DFunction___repr__(self)
3881 return _object_cast_to_Linear1DFunction(o)
3883 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
3884 Linear1DFunction_swigregister(Linear1DFunction)
3886 class GeneralizedGuinierPorodFunction(UnivariateFunction):
3887 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class."""
3889 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3891 def __init__(self, G, Rg, d, s, A):
3892 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
3893 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
3895 self.this.append(this)
3896 except __builtin__.Exception:
3899 def __call__(self, *args):
3901 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
3902 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3903 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3905 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
3908 def get_second_derivative_vector(self, *args):
3910 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3911 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3913 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
3917 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
3918 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
3922 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
3923 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
3927 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
3928 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
3933 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
3935 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
3936 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
3938 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
3940 """Proxy of C++ IMP::isd::BivariateFunction class."""
3942 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3944 def __init__(self, *args, **kwargs):
3945 raise AttributeError(
"No constructor defined - class is abstract")
3947 def __call__(self, *args):
3949 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
3950 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
3951 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3953 return _IMP_isd.BivariateFunction___call__(self, *args)
3956 def has_changed(self):
3957 """has_changed(BivariateFunction self) -> bool"""
3958 return _IMP_isd.BivariateFunction_has_changed(self)
3962 """update(BivariateFunction self)"""
3963 return _IMP_isd.BivariateFunction_update(self)
3966 def add_to_derivatives(self, x1, x2, accum):
3967 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
3968 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
3971 def add_to_particle_derivative(self, particle_no, value, accum):
3972 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3973 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3976 def get_derivative_matrix(self, *args):
3978 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
3979 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3981 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
3984 def get_second_derivative_matrix(self, *args):
3986 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
3987 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3989 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
3992 def get_ndims_x1(self):
3993 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
3994 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
3997 def get_ndims_x2(self):
3998 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
3999 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4002 def get_ndims_y(self):
4003 """get_ndims_y(BivariateFunction self) -> unsigned int"""
4004 return _IMP_isd.BivariateFunction_get_ndims_y(self)
4007 def get_number_of_particles(self):
4008 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4009 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4012 def get_particle_is_optimized(self, particle_no):
4013 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4014 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4017 def get_number_of_optimized_particles(self):
4018 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4019 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4023 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4024 return _IMP_isd.BivariateFunction_get_inputs(self)
4026 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4027 __del__ =
lambda self:
None
4030 """__str__(BivariateFunction self) -> std::string"""
4031 return _IMP_isd.BivariateFunction___str__(self)
4035 """__repr__(BivariateFunction self) -> std::string"""
4036 return _IMP_isd.BivariateFunction___repr__(self)
4041 return _object_cast_to_BivariateFunction(o)
4043 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4044 BivariateFunction_swigregister(BivariateFunction)
4046 class Covariance1DFunction(BivariateFunction):
4047 """Proxy of C++ IMP::isd::Covariance1DFunction class."""
4049 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4051 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4053 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4054 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4055 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4056 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4058 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4060 self.this.append(this)
4061 except __builtin__.Exception:
4064 def __call__(self, *args):
4066 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4067 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4068 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4070 return _IMP_isd.Covariance1DFunction___call__(self, *args)
4073 def get_derivative_matrix(self, *args):
4075 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4076 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4078 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4081 def get_second_derivative_matrix(self, *args):
4083 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4084 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4086 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4090 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4091 return _IMP_isd.Covariance1DFunction_get_version_info(self)
4095 """__str__(Covariance1DFunction self) -> std::string"""
4096 return _IMP_isd.Covariance1DFunction___str__(self)
4100 """__repr__(Covariance1DFunction self) -> std::string"""
4101 return _IMP_isd.Covariance1DFunction___repr__(self)
4106 return _object_cast_to_Covariance1DFunction(o)
4108 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4109 Covariance1DFunction_swigregister(Covariance1DFunction)
4111 class GaussianProcessInterpolation(
IMP.Object):
4112 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class."""
4114 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4116 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4118 __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
4119 __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
4121 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4123 self.this.append(this)
4124 except __builtin__.Exception:
4127 def get_posterior_mean(self, x):
4128 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4129 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4132 def get_posterior_covariance(self, x1, x2):
4133 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4134 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4137 def get_posterior_covariance_matrix(self, x, arg3):
4138 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4139 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4142 def get_posterior_covariance_derivative(self, x, arg3):
4143 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4144 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4147 def get_posterior_covariance_hessian(self, x, arg3):
4148 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4149 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4153 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4154 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4157 def force_mean_update(self):
4158 """force_mean_update(GaussianProcessInterpolation self)"""
4159 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4162 def force_covariance_update(self):
4163 """force_covariance_update(GaussianProcessInterpolation self)"""
4164 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4167 def get_number_of_m_particles(self):
4168 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4169 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4172 def get_m_particle_is_optimized(self, i):
4173 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4174 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4177 def get_number_of_Omega_particles(self):
4178 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4179 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4182 def get_Omega_particle_is_optimized(self, i):
4183 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4184 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4187 def get_data_abscissa(self):
4188 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4189 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4192 def get_data_mean(self):
4193 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4194 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4197 def get_data_variance(self):
4198 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4199 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4203 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4204 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4208 """__str__(GaussianProcessInterpolation self) -> std::string"""
4209 return _IMP_isd.GaussianProcessInterpolation___str__(self)
4213 """__repr__(GaussianProcessInterpolation self) -> std::string"""
4214 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4219 return _object_cast_to_GaussianProcessInterpolation(o)
4221 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4222 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4225 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class."""
4227 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4229 def __init__(self, m, gpi):
4230 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4231 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4233 self.this.append(this)
4234 except __builtin__.Exception:
4237 def get_probability(self):
4238 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4239 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4242 def set_use_cg(self, use, tol):
4243 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4244 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4247 def get_minus_log_normalization(self):
4248 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4249 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4252 def get_minus_exponent(self):
4253 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4254 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4257 def get_logdet_hessian(self):
4258 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4259 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4262 def get_hessian(self, *args):
4264 get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
4265 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4267 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4271 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4272 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4276 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4277 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4281 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4282 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4286 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4287 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4292 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4294 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4295 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4298 """Proxy of C++ IMP::isd::MolecularDynamics class."""
4300 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4302 def __init__(self, m=None):
4304 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4305 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4307 this = _IMP_isd.new_MolecularDynamics(m)
4309 self.this.append(this)
4310 except __builtin__.Exception:
4314 """__str__(MolecularDynamics self) -> std::string"""
4315 return _IMP_isd.MolecularDynamics___str__(self)
4319 """__repr__(MolecularDynamics self) -> std::string"""
4320 return _IMP_isd.MolecularDynamics___repr__(self)
4325 return _object_cast_to_MolecularDynamics(o)
4327 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4328 __del__ =
lambda self:
None
4329 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4330 MolecularDynamics_swigregister(MolecularDynamics)
4333 """Proxy of C++ IMP::isd::MolecularDynamicsMover class."""
4335 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4337 def __init__(self, m, nsteps=100, timestep=1.):
4339 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4340 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4341 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4343 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4345 self.this.append(this)
4346 except __builtin__.Exception:
4350 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4351 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4354 def get_number_of_md_steps(self):
4355 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4356 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4359 def set_number_of_md_steps(self, nsteps):
4360 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4361 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4365 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4366 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4370 """__str__(MolecularDynamicsMover self) -> std::string"""
4371 return _IMP_isd.MolecularDynamicsMover___str__(self)
4375 """__repr__(MolecularDynamicsMover self) -> std::string"""
4376 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4381 return _object_cast_to_MolecularDynamicsMover(o)
4383 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4384 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4387 """Proxy of C++ IMP::isd::HybridMonteCarlo 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, kT=1.0, steps=100, timestep=1.0, persistence=1):
4393 __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
4394 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4395 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4396 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4397 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4399 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4401 self.this.append(this)
4402 except __builtin__.Exception:
4405 def get_kinetic_energy(self):
4406 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
4407 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
4410 def get_potential_energy(self):
4411 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
4412 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
4415 def get_total_energy(self):
4416 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
4417 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
4420 def set_timestep(self, ts):
4421 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
4422 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
4425 def get_timestep(self):
4426 """get_timestep(HybridMonteCarlo self) -> double"""
4427 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
4430 def set_number_of_md_steps(self, nsteps):
4431 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
4432 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
4435 def get_number_of_md_steps(self):
4436 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
4437 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
4440 def set_persistence(self, persistence=1):
4442 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
4443 set_persistence(HybridMonteCarlo self)
4445 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
4448 def get_persistence(self):
4449 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
4450 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
4454 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
4455 return _IMP_isd.HybridMonteCarlo_get_md(self)
4458 def do_evaluate(self, arg2):
4459 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
4460 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
4464 """do_step(HybridMonteCarlo self)"""
4465 return _IMP_isd.HybridMonteCarlo_do_step(self)
4469 """__str__(HybridMonteCarlo self) -> std::string"""
4470 return _IMP_isd.HybridMonteCarlo___str__(self)
4474 """__repr__(HybridMonteCarlo self) -> std::string"""
4475 return _IMP_isd.HybridMonteCarlo___repr__(self)
4480 return _object_cast_to_HybridMonteCarlo(o)
4482 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
4483 HybridMonteCarlo_swigregister(HybridMonteCarlo)
4486 """Proxy of C++ IMP::isd::FretData class."""
4488 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4490 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
4492 __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
4493 __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
4495 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
4497 self.this.append(this)
4498 except __builtin__.Exception:
4501 def get_closest(self, vec, value):
4502 """get_closest(FretData self, DistBase vec, double value) -> int"""
4503 return _IMP_isd.FretData_get_closest(self, vec, value)
4506 def get_probability(self, distn, dist, sigma):
4507 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4508 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4511 def get_kernel(self, dist, R0):
4512 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4513 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4516 def get_marginal_element(self, d_term, d_center, sigma):
4517 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4518 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4522 """get_version_info(FretData self) -> VersionInfo"""
4523 return _IMP_isd.FretData_get_version_info(self)
4527 """__str__(FretData self) -> std::string"""
4528 return _IMP_isd.FretData___str__(self)
4532 """__repr__(FretData self) -> std::string"""
4533 return _IMP_isd.FretData___repr__(self)
4538 return _object_cast_to_FretData(o)
4540 FretData_swigregister = _IMP_isd.FretData_swigregister
4541 FretData_swigregister(FretData)
4544 """Proxy of C++ IMP::isd::FretRestraint class."""
4546 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4548 def __init__(self, *args):
4550 __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
4551 __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
4552 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4553 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4554 __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
4556 this = _IMP_isd.new_FretRestraint(*args)
4558 self.this.append(this)
4559 except __builtin__.Exception:
4562 def get_sumFi(self):
4563 """get_sumFi(FretRestraint self) -> double"""
4564 return _IMP_isd.FretRestraint_get_sumFi(self)
4567 def get_average_sigma(self, fmod):
4568 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4569 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4572 def get_standard_error(self):
4573 """get_standard_error(FretRestraint self) -> double"""
4574 return _IMP_isd.FretRestraint_get_standard_error(self)
4577 def get_model_fretr(self):
4578 """get_model_fretr(FretRestraint self) -> double"""
4579 return _IMP_isd.FretRestraint_get_model_fretr(self)
4582 def get_probability(self):
4583 """get_probability(FretRestraint self) -> double"""
4584 return _IMP_isd.FretRestraint_get_probability(self)
4587 def get_experimental_value(self):
4588 """get_experimental_value(FretRestraint self) -> double"""
4589 return _IMP_isd.FretRestraint_get_experimental_value(self)
4592 def set_experimental_value(self, fexp):
4593 """set_experimental_value(FretRestraint self, double fexp)"""
4594 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4598 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4599 return _IMP_isd.FretRestraint_do_get_inputs(self)
4603 """get_version_info(FretRestraint self) -> VersionInfo"""
4604 return _IMP_isd.FretRestraint_get_version_info(self)
4608 """__str__(FretRestraint self) -> std::string"""
4609 return _IMP_isd.FretRestraint___str__(self)
4613 """__repr__(FretRestraint self) -> std::string"""
4614 return _IMP_isd.FretRestraint___repr__(self)
4619 return _object_cast_to_FretRestraint(o)
4621 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4622 FretRestraint_swigregister(FretRestraint)
4625 """Proxy of C++ IMP::isd::CysteineCrossLinkData class."""
4627 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4629 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4631 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4632 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4634 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4636 self.this.append(this)
4637 except __builtin__.Exception:
4640 def get_closest(self, vec, value):
4641 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4642 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4645 def get_omegas(self, fmods, omega0):
4646 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4647 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4650 def get_nonmarginal_elements(self, fexp, fmods, omega):
4651 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4652 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4655 def get_marginal_elements(self, fmods, omega0):
4656 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4657 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4660 def get_omega(self, fmod, omega0):
4661 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4662 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
4665 def get_standard_deviation(self, fmod, omega0):
4666 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4667 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
4670 def get_nonmarginal_element(self, fexp, fmod, omega):
4671 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
4672 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
4675 def get_marginal_element(self, fmod, omega0):
4676 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4677 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
4681 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
4682 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
4686 """__str__(CysteineCrossLinkData self) -> std::string"""
4687 return _IMP_isd.CysteineCrossLinkData___str__(self)
4691 """__repr__(CysteineCrossLinkData self) -> std::string"""
4692 return _IMP_isd.CysteineCrossLinkData___repr__(self)
4697 return _object_cast_to_CysteineCrossLinkData(o)
4699 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
4700 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
4703 """Proxy of C++ IMP::isd::CrossLinkData class."""
4705 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4707 def __init__(self, *args):
4709 __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
4710 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
4711 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
4712 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
4713 __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
4714 __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
4715 __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
4716 __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
4718 this = _IMP_isd.new_CrossLinkData(*args)
4720 self.this.append(this)
4721 except __builtin__.Exception:
4724 def get_closest(self, vec, value):
4725 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
4726 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
4729 def get_omegas(self, sigma, dists):
4730 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4731 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
4734 def get_omega_prior(self, omega, omega0):
4735 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
4736 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
4739 def get_nonmarginal_elements(self, sigmai, dists):
4740 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
4741 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
4744 def get_marginal_elements(self, sigma, dists):
4745 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4746 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
4749 def get_marginal_maximum(self, *args):
4751 get_marginal_maximum(CrossLinkData self, double sigma) -> double
4752 get_marginal_maximum(CrossLinkData self) -> double
4754 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
4758 """get_version_info(CrossLinkData self) -> VersionInfo"""
4759 return _IMP_isd.CrossLinkData_get_version_info(self)
4763 """__str__(CrossLinkData self) -> std::string"""
4764 return _IMP_isd.CrossLinkData___str__(self)
4768 """__repr__(CrossLinkData self) -> std::string"""
4769 return _IMP_isd.CrossLinkData___repr__(self)
4774 return _object_cast_to_CrossLinkData(o)
4776 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
4777 CrossLinkData_swigregister(CrossLinkData)
4780 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class."""
4782 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4784 def __init__(self, *args):
4786 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
4787 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
4789 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
4791 self.this.append(this)
4792 except __builtin__.Exception:
4795 def get_probability(self):
4796 """get_probability(CysteineCrossLinkRestraint self) -> double"""
4797 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
4800 def get_standard_error(self):
4801 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
4802 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
4805 def get_frequencies(self):
4806 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4807 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
4810 def get_model_frequency(self):
4811 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
4812 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
4815 def get_distances(self):
4816 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4817 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
4820 def get_truncated_normalization(self, mean, sigma):
4821 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
4822 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
4825 def get_normal_pdf(self, mean, sigma, x):
4826 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
4827 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
4830 def add_contribution(self, *args):
4832 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
4833 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
4835 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
4838 def get_CB_coordinates(self, ps):
4839 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
4840 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
4843 def get_number_of_contributions(self):
4844 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
4845 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
4849 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
4850 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
4854 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
4855 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
4859 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
4860 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
4864 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
4865 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
4870 return _object_cast_to_CysteineCrossLinkRestraint(o)
4872 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
4873 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
4876 """Proxy of C++ IMP::isd::WeightMover class."""
4878 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4880 def __init__(self, w, radius):
4881 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
4882 this = _IMP_isd.new_WeightMover(w, radius)
4884 self.this.append(this)
4885 except __builtin__.Exception:
4888 def set_radius(self, radius):
4889 """set_radius(WeightMover self, IMP::Float radius)"""
4890 return _IMP_isd.WeightMover_set_radius(self, radius)
4893 def get_radius(self):
4894 """get_radius(WeightMover self) -> IMP::Float"""
4895 return _IMP_isd.WeightMover_get_radius(self)
4899 """get_version_info(WeightMover self) -> VersionInfo"""
4900 return _IMP_isd.WeightMover_get_version_info(self)
4904 """__str__(WeightMover self) -> std::string"""
4905 return _IMP_isd.WeightMover___str__(self)
4909 """__repr__(WeightMover self) -> std::string"""
4910 return _IMP_isd.WeightMover___repr__(self)
4915 return _object_cast_to_WeightMover(o)
4917 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
4918 WeightMover_swigregister(WeightMover)
4921 """Proxy of C++ IMP::isd::WeightRestraint class."""
4923 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4925 def __init__(self, w, wmin, wmax, kappa):
4926 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
4927 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
4929 self.this.append(this)
4930 except __builtin__.Exception:
4934 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
4935 return _IMP_isd.WeightRestraint_do_get_inputs(self)
4939 """get_version_info(WeightRestraint self) -> VersionInfo"""
4940 return _IMP_isd.WeightRestraint_get_version_info(self)
4944 """__str__(WeightRestraint self) -> std::string"""
4945 return _IMP_isd.WeightRestraint___str__(self)
4949 """__repr__(WeightRestraint self) -> std::string"""
4950 return _IMP_isd.WeightRestraint___repr__(self)
4955 return _object_cast_to_WeightRestraint(o)
4957 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
4958 WeightRestraint_swigregister(WeightRestraint)
4961 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class."""
4963 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4965 def __init__(self, *args):
4967 __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
4968 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
4969 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
4970 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
4972 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
4974 self.this.append(this)
4975 except __builtin__.Exception:
4978 def add_contribution(self, ppi, sigmas):
4979 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
4980 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
4983 def evaluate_for_contributions(self, c, accum):
4984 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
4985 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
4988 def get_number_of_contributions(self):
4989 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
4990 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
4993 def get_contribution(self, i):
4994 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
4995 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
4998 def get_contribution_sigmas(self, i):
4999 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5000 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5004 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5005 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5009 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5010 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5013 def show(self, out):
5014 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5015 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5018 def set_slope(self, slope):
5019 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5020 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5023 def set_part_of_log_score(self, hey):
5024 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5025 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5029 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5030 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5034 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5035 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5039 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5040 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5045 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5047 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5048 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5051 """Proxy of C++ IMP::isd::GaussianEMRestraint class."""
5053 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5055 def __init__(self, *args):
5057 __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
5058 __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
5059 __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
5060 __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
5061 __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
5063 this = _IMP_isd.new_GaussianEMRestraint(*args)
5065 self.this.append(this)
5066 except __builtin__.Exception:
5069 def get_probability(self):
5070 """get_probability(GaussianEMRestraint self) -> double"""
5071 return _IMP_isd.GaussianEMRestraint_get_probability(self)
5075 """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5076 return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5079 def set_density_filename(self, density_fn):
5080 """set_density_filename(GaussianEMRestraint self, std::string density_fn)"""
5081 return _IMP_isd.GaussianEMRestraint_set_density_filename(self, density_fn)
5084 def compute_initial_scores(self):
5085 """compute_initial_scores(GaussianEMRestraint self)"""
5086 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5089 def set_slope(self, s):
5090 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5091 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5094 def get_slope(self):
5095 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5096 return _IMP_isd.GaussianEMRestraint_get_slope(self)
5100 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5101 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5104 def show(self, out):
5105 """show(GaussianEMRestraint self, _ostream out)"""
5106 return _IMP_isd.GaussianEMRestraint_show(self, out)
5110 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5111 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5115 """__str__(GaussianEMRestraint self) -> std::string"""
5116 return _IMP_isd.GaussianEMRestraint___str__(self)
5120 """__repr__(GaussianEMRestraint self) -> std::string"""
5121 return _IMP_isd.GaussianEMRestraint___repr__(self)
5126 return _object_cast_to_GaussianEMRestraint(o)
5128 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5129 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5131 class GaussianAnchorEMRestraint(ISDRestraint):
5132 """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class."""
5134 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5136 def __init__(self, *args):
5138 __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
5139 __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
5141 this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5143 self.this.append(this)
5144 except __builtin__.Exception:
5147 def get_density_particles(self):
5148 """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5149 return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5153 """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5154 return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5158 """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5159 return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5164 return _object_cast_to_GaussianAnchorEMRestraint(o)
5166 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5167 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5170 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5172 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5173 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5175 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5177 def get_module_version():
5178 """get_module_version() -> std::string const"""
5179 return _IMP_isd.get_module_version()
5182 """get_example_path(std::string fname) -> std::string"""
5183 return _IMP_isd.get_example_path(fname)
5186 """get_data_path(std::string fname) -> std::string"""
5187 return _IMP_isd.get_data_path(fname)
5189 from .
import _version_check
5190 _version_check.check_version(get_module_version())
5191 __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.