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
289 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
290 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
292 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
293 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
295 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
296 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
297 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
298 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
299 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
300 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
301 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
302 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
304 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
305 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
306 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
307 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
308 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
309 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
310 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
312 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
313 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
314 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
315 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
316 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
317 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
318 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
319 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
321 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
322 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
323 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
324 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
325 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
326 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
327 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
329 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
330 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
331 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
332 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
333 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
334 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
335 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
336 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
337 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
339 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
340 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
341 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
342 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
343 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
344 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
345 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
346 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
347 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
348 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
349 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
350 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
352 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
353 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
354 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
355 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
356 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
357 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
358 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
359 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
360 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
361 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
362 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
363 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
364 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
366 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
367 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
368 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
369 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
370 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
371 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
372 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
373 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
374 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
375 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
376 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
377 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
379 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
380 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
381 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
382 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
383 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
384 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
385 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
386 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
387 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
388 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
389 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
390 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
391 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
393 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
394 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
395 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
396 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
397 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
398 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
399 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
400 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
401 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
402 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
403 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
405 _object_types.append(
"ISDRestraint")
408 def _object_cast_to_ISDRestraint(o):
409 """_object_cast_to_ISDRestraint(Object o) -> ISDRestraint"""
410 return _IMP_isd._object_cast_to_ISDRestraint(o)
412 _object_types.append(
"CrossLinkMSRestraint")
415 def _object_cast_to_CrossLinkMSRestraint(o):
416 """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
417 return _IMP_isd._object_cast_to_CrossLinkMSRestraint(o)
419 _object_types.append(
"LogWrapper")
422 def _object_cast_to_LogWrapper(o):
423 """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
424 return _IMP_isd._object_cast_to_LogWrapper(o)
426 _object_types.append(
"UniformPrior")
429 def _object_cast_to_UniformPrior(o):
430 """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
431 return _IMP_isd._object_cast_to_UniformPrior(o)
433 _object_types.append(
"JeffreysRestraint")
436 def _object_cast_to_JeffreysRestraint(o):
437 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
438 return _IMP_isd._object_cast_to_JeffreysRestraint(o)
440 _object_types.append(
"vonMisesKappaJeffreysRestraint")
443 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
444 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
445 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
447 _object_types.append(
"vonMisesKappaConjugateRestraint")
450 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
451 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
452 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
454 _object_types.append(
"Distribution")
457 def _object_cast_to_Distribution(o):
458 """_object_cast_to_Distribution(Object o) -> Distribution"""
459 return _IMP_isd._object_cast_to_Distribution(o)
461 _object_types.append(
"OneDimensionalDistribution")
464 def _object_cast_to_OneDimensionalDistribution(o):
465 """_object_cast_to_OneDimensionalDistribution(Object o) -> OneDimensionalDistribution"""
466 return _IMP_isd._object_cast_to_OneDimensionalDistribution(o)
468 _object_types.append(
"OneDimensionalSufficientDistribution")
471 def _object_cast_to_OneDimensionalSufficientDistribution(o):
472 """_object_cast_to_OneDimensionalSufficientDistribution(Object o) -> OneDimensionalSufficientDistribution"""
473 return _IMP_isd._object_cast_to_OneDimensionalSufficientDistribution(o)
475 _object_types.append(
"FNormal")
478 def _object_cast_to_FNormal(o):
479 """_object_cast_to_FNormal(Object o) -> FNormal"""
480 return _IMP_isd._object_cast_to_FNormal(o)
482 _object_types.append(
"FStudentT")
485 def _object_cast_to_FStudentT(o):
486 """_object_cast_to_FStudentT(Object o) -> FStudentT"""
487 return _IMP_isd._object_cast_to_FStudentT(o)
489 _object_types.append(
"vonMises")
492 def _object_cast_to_vonMises(o):
493 """_object_cast_to_vonMises(Object o) -> vonMises"""
494 return _IMP_isd._object_cast_to_vonMises(o)
496 _object_types.append(
"vonMisesSufficient")
499 def _object_cast_to_vonMisesSufficient(o):
500 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
501 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
504 return [Nuisance(x)
for x
in l]
505 _plural_types.append(
"Nuisances")
508 _value_types.append(
"Nuisance")
512 return [Scale(x)
for x
in l]
513 _plural_types.append(
"Scales")
516 _value_types.append(
"Scale")
519 def Switchings(l=[]):
520 return [Switching(x)
for x
in l]
521 _plural_types.append(
"Switchings")
524 _value_types.append(
"Switching")
527 _object_types.append(
"NOERestraint")
530 def _object_cast_to_NOERestraint(o):
531 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
532 return _IMP_isd._object_cast_to_NOERestraint(o)
535 return [Weight(x)
for x
in l]
536 _plural_types.append(
"Weights")
539 _value_types.append(
"Weight")
542 _object_types.append(
"GaussianRestraint")
545 def _object_cast_to_GaussianRestraint(o):
546 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
547 return _IMP_isd._object_cast_to_GaussianRestraint(o)
549 _object_types.append(
"StudentTRestraint")
552 def _object_cast_to_StudentTRestraint(o):
553 """_object_cast_to_StudentTRestraint(Object o) -> StudentTRestraint"""
554 return _IMP_isd._object_cast_to_StudentTRestraint(o)
556 _object_types.append(
"LognormalRestraint")
559 def _object_cast_to_LognormalRestraint(o):
560 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
561 return _IMP_isd._object_cast_to_LognormalRestraint(o)
563 _object_types.append(
"LognormalAmbiguousRestraint")
566 def _object_cast_to_LognormalAmbiguousRestraint(o):
567 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
568 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
570 _object_types.append(
"AmbiguousNOERestraint")
573 def _object_cast_to_AmbiguousNOERestraint(o):
574 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
575 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
577 _object_types.append(
"MarginalNOERestraint")
580 def _object_cast_to_MarginalNOERestraint(o):
581 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
582 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
584 _object_types.append(
"MarginalHBondRestraint")
587 def _object_cast_to_MarginalHBondRestraint(o):
588 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
589 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
591 _object_types.append(
"TALOSRestraint")
594 def _object_cast_to_TALOSRestraint(o):
595 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
596 return _IMP_isd._object_cast_to_TALOSRestraint(o)
598 _object_types.append(
"RepulsiveDistancePairScore")
601 def _object_cast_to_RepulsiveDistancePairScore(o):
602 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
603 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
605 _object_types.append(
"AmbiguousRestraint")
608 def _object_cast_to_AmbiguousRestraint(o):
609 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
610 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
612 _object_types.append(
"UnivariateFunction")
615 def _object_cast_to_UnivariateFunction(o):
616 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
617 return _IMP_isd._object_cast_to_UnivariateFunction(o)
619 _object_types.append(
"Linear1DFunction")
622 def _object_cast_to_Linear1DFunction(o):
623 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
624 return _IMP_isd._object_cast_to_Linear1DFunction(o)
626 _object_types.append(
"GeneralizedGuinierPorodFunction")
629 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
630 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
631 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
633 _object_types.append(
"BivariateFunction")
636 def _object_cast_to_BivariateFunction(o):
637 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
638 return _IMP_isd._object_cast_to_BivariateFunction(o)
640 _object_types.append(
"Covariance1DFunction")
643 def _object_cast_to_Covariance1DFunction(o):
644 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
645 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
647 _object_types.append(
"GaussianProcessInterpolation")
650 def _object_cast_to_GaussianProcessInterpolation(o):
651 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
652 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
654 _object_types.append(
"GaussianProcessInterpolationRestraint")
657 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
658 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
659 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
661 _object_types.append(
"MolecularDynamics")
664 _object_types.append(
"MolecularDynamicsMover")
667 def _object_cast_to_MolecularDynamicsMover(o):
668 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
669 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
671 _object_types.append(
"HybridMonteCarlo")
674 def _object_cast_to_HybridMonteCarlo(o):
675 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
676 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
678 _object_types.append(
"FretData")
681 def _object_cast_to_FretData(o):
682 """_object_cast_to_FretData(Object o) -> FretData"""
683 return _IMP_isd._object_cast_to_FretData(o)
685 _object_types.append(
"FretRestraint")
688 def _object_cast_to_FretRestraint(o):
689 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
690 return _IMP_isd._object_cast_to_FretRestraint(o)
692 _object_types.append(
"CrossLinkData")
695 def _object_cast_to_CrossLinkData(o):
696 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
697 return _IMP_isd._object_cast_to_CrossLinkData(o)
699 _object_types.append(
"CysteineCrossLinkData")
702 def _object_cast_to_CysteineCrossLinkData(o):
703 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
704 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
706 _object_types.append(
"CysteineCrossLinkRestraint")
709 def _object_cast_to_CysteineCrossLinkRestraint(o):
710 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
711 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
713 _object_types.append(
"WeightMover")
716 def _object_cast_to_WeightMover(o):
717 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
718 return _IMP_isd._object_cast_to_WeightMover(o)
720 _object_types.append(
"WeightRestraint")
723 def _object_cast_to_WeightRestraint(o):
724 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
725 return _IMP_isd._object_cast_to_WeightRestraint(o)
727 _object_types.append(
"AtomicCrossLinkMSRestraint")
730 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
731 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
732 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
734 _object_types.append(
"GaussianEMRestraint")
737 def _object_cast_to_GaussianEMRestraint(o):
738 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
739 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
741 _object_types.append(
"GaussianAnchorEMRestraint")
744 def _object_cast_to_GaussianAnchorEMRestraint(o):
745 """_object_cast_to_GaussianAnchorEMRestraint(Object o) -> GaussianAnchorEMRestraint"""
746 return _IMP_isd._object_cast_to_GaussianAnchorEMRestraint(o)
748 def create_model_and_particles():
753 for i
in range(0,100):
757 d.set_coordinates_are_optimized(
True)
761 """Proxy of C++ IMP::isd::ISDRestraint class."""
763 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
765 def __init__(self, m, name):
766 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
767 if self.__class__ == ISDRestraint:
771 this = _IMP_isd.new_ISDRestraint(_self, m, name)
773 self.this.append(this)
774 except __builtin__.Exception:
777 if self.__class__ != ISDRestraint:
778 _director_objects.register(self)
783 def get_probability(self):
784 """get_probability(ISDRestraint self) -> double"""
785 return _IMP_isd.ISDRestraint_get_probability(self)
788 def unprotected_evaluate(self, accum):
789 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
790 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
794 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
795 return _IMP_isd.ISDRestraint_do_get_inputs(self)
798 def get_type_name(self):
799 """get_type_name(ISDRestraint self) -> std::string"""
800 return _IMP_isd.ISDRestraint_get_type_name(self)
804 """get_version_info(ISDRestraint self) -> VersionInfo"""
805 return _IMP_isd.ISDRestraint_get_version_info(self)
809 """__str__(ISDRestraint self) -> std::string"""
810 return _IMP_isd.ISDRestraint___str__(self)
814 """__repr__(ISDRestraint self) -> std::string"""
815 return _IMP_isd.ISDRestraint___repr__(self)
820 return _object_cast_to_ISDRestraint(o)
823 def get_type_name(self):
824 return self.__class__.__name__
825 def do_show(self, out):
828 if"IMP::isd" ==
"IMP":
829 return VersionInfo(self.__module__,
830 __import__(self.__module__).get_module_version())
833 __import__(self.__module__).get_module_version())
836 return _object_cast_to_ISDRestraint(o)
838 def __disown__(self):
840 _IMP_isd.disown_ISDRestraint(self)
841 return weakref_proxy(self)
844 """do_destroy(ISDRestraint self)"""
845 return _IMP_isd.ISDRestraint_do_destroy(self)
848 def handle_set_has_required_score_states(self, arg0):
849 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
850 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
854 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
855 return _IMP_isd.ISDRestraint_do_get_outputs(self)
858 def do_get_interactions(self):
859 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
860 return _IMP_isd.ISDRestraint_do_get_interactions(self)
863 def do_create_decomposition(self):
864 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
865 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
868 def do_create_current_decomposition(self):
869 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
870 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
873 def do_add_score_and_derivatives(self, sa):
874 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
875 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
877 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
878 ISDRestraint_swigregister(ISDRestraint)
881 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class."""
883 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
885 def __init__(self, *args):
887 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
888 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
889 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
890 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
891 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
892 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
893 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
894 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
895 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
897 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
899 self.this.append(this)
900 except __builtin__.Exception:
903 def add_contribution(self, pps, sigmas, psi):
904 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
905 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
908 def get_probability(self):
909 """get_probability(CrossLinkMSRestraint self) -> double"""
910 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
913 def get_number_of_contributions(self):
914 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
915 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
919 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
920 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
924 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
925 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
929 """__str__(CrossLinkMSRestraint self) -> std::string"""
930 return _IMP_isd.CrossLinkMSRestraint___str__(self)
934 """__repr__(CrossLinkMSRestraint self) -> std::string"""
935 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
940 return _object_cast_to_CrossLinkMSRestraint(o)
942 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
943 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
946 """Proxy of C++ IMP::isd::LogWrapper class."""
948 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
950 def __init__(self, *args):
952 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
953 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
954 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
955 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
956 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
957 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
959 this = _IMP_isd.new_LogWrapper(*args)
961 self.this.append(this)
962 except __builtin__.Exception:
966 """do_get_inputs(LogWrapper self) -> IMP::ModelObjectsTemp"""
967 return _IMP_isd.LogWrapper_do_get_inputs(self)
971 """get_version_info(LogWrapper self) -> VersionInfo"""
972 return _IMP_isd.LogWrapper_get_version_info(self)
975 def remove_restraint(self, d):
976 """remove_restraint(LogWrapper self, Restraint d)"""
977 return _IMP_isd.LogWrapper_remove_restraint(self, d)
980 def remove_restraints(self, d):
981 """remove_restraints(LogWrapper self, IMP::Restraints const & d)"""
982 return _IMP_isd.LogWrapper_remove_restraints(self, d)
985 def set_restraints(self, ps):
986 """set_restraints(LogWrapper self, IMP::Restraints const & ps)"""
987 return _IMP_isd.LogWrapper_set_restraints(self, ps)
990 def set_restraints_order(self, objs):
991 """set_restraints_order(LogWrapper self, IMP::Restraints const & objs)"""
992 return _IMP_isd.LogWrapper_set_restraints_order(self, objs)
996 """add_restraint(LogWrapper self, Restraint obj) -> unsigned int"""
997 return _IMP_isd.LogWrapper_add_restraint(self, obj)
1001 """add_restraints(LogWrapper self, IMP::Restraints const & objs)"""
1002 return _IMP_isd.LogWrapper_add_restraints(self, objs)
1005 def clear_restraints(self):
1006 """clear_restraints(LogWrapper self)"""
1007 return _IMP_isd.LogWrapper_clear_restraints(self)
1010 def get_number_of_restraints(self):
1011 """get_number_of_restraints(LogWrapper self) -> unsigned int"""
1012 return _IMP_isd.LogWrapper_get_number_of_restraints(self)
1015 def get_has_restraints(self):
1016 """get_has_restraints(LogWrapper self) -> bool"""
1017 return _IMP_isd.LogWrapper_get_has_restraints(self)
1020 def get_restraint(self, i):
1021 """get_restraint(LogWrapper self, unsigned int i) -> Restraint"""
1022 return _IMP_isd.LogWrapper_get_restraint(self, i)
1025 def get_restraints(self):
1026 """get_restraints(LogWrapper self) -> IMP::Restraints"""
1027 return _IMP_isd.LogWrapper_get_restraints(self)
1030 def reserve_restraints(self, sz):
1031 """reserve_restraints(LogWrapper self, unsigned int sz)"""
1032 return _IMP_isd.LogWrapper_reserve_restraints(self, sz)
1036 """__str__(LogWrapper self) -> std::string"""
1037 return _IMP_isd.LogWrapper___str__(self)
1041 """__repr__(LogWrapper self) -> std::string"""
1042 return _IMP_isd.LogWrapper___repr__(self)
1047 return _object_cast_to_LogWrapper(o)
1049 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1050 LogWrapper_swigregister(LogWrapper)
1053 """Proxy of C++ IMP::isd::UniformPrior class."""
1055 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1057 def __init__(self, *args):
1059 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1060 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1062 this = _IMP_isd.new_UniformPrior(*args)
1064 self.this.append(this)
1065 except __builtin__.Exception:
1069 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1070 return _IMP_isd.UniformPrior_do_get_inputs(self)
1074 """get_version_info(UniformPrior self) -> VersionInfo"""
1075 return _IMP_isd.UniformPrior_get_version_info(self)
1078 def get_probability(self):
1079 """get_probability(UniformPrior self) -> double"""
1080 return _IMP_isd.UniformPrior_get_probability(self)
1084 """__str__(UniformPrior self) -> std::string"""
1085 return _IMP_isd.UniformPrior___str__(self)
1089 """__repr__(UniformPrior self) -> std::string"""
1090 return _IMP_isd.UniformPrior___repr__(self)
1095 return _object_cast_to_UniformPrior(o)
1097 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1098 UniformPrior_swigregister(UniformPrior)
1101 """Proxy of C++ IMP::isd::Nuisance class."""
1103 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1105 def __init__(self, *args):
1107 __init__(IMP::isd::Nuisance self) -> Nuisance
1108 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1109 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1111 this = _IMP_isd.new_Nuisance(*args)
1113 self.this.append(this)
1114 except __builtin__.Exception:
1117 def show(self, *args):
1119 show(Nuisance self, _ostream out)
1122 return _IMP_isd.Nuisance_show(self, *args)
1125 def setup_particle(*args):
1127 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1128 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1129 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1130 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1132 return _IMP_isd.Nuisance_setup_particle(*args)
1134 setup_particle = staticmethod(setup_particle)
1136 def get_is_setup(*args):
1138 get_is_setup(_ParticleAdaptor p) -> bool
1139 get_is_setup(Model m, ParticleIndex pi) -> bool
1141 return _IMP_isd.Nuisance_get_is_setup(*args)
1143 get_is_setup = staticmethod(get_is_setup)
1145 def get_nuisance_key():
1146 """get_nuisance_key() -> FloatKey"""
1147 return _IMP_isd.Nuisance_get_nuisance_key()
1149 get_nuisance_key = staticmethod(get_nuisance_key)
1151 def get_nuisance(self):
1152 """get_nuisance(Nuisance self) -> IMP::Float"""
1153 return _IMP_isd.Nuisance_get_nuisance(self)
1156 def set_nuisance(self, d):
1157 """set_nuisance(Nuisance self, IMP::Float d)"""
1158 return _IMP_isd.Nuisance_set_nuisance(self, d)
1161 def get_has_lower(self):
1162 """get_has_lower(Nuisance self) -> bool"""
1163 return _IMP_isd.Nuisance_get_has_lower(self)
1166 def get_lower(self):
1167 """get_lower(Nuisance self) -> IMP::Float"""
1168 return _IMP_isd.Nuisance_get_lower(self)
1171 def get_lower_key():
1172 """get_lower_key() -> FloatKey"""
1173 return _IMP_isd.Nuisance_get_lower_key()
1175 get_lower_key = staticmethod(get_lower_key)
1177 def get_lower_particle_key():
1178 """get_lower_particle_key() -> ParticleIndexKey"""
1179 return _IMP_isd.Nuisance_get_lower_particle_key()
1181 get_lower_particle_key = staticmethod(get_lower_particle_key)
1183 def set_lower(self, *args):
1185 set_lower(Nuisance self, IMP::Float d)
1186 set_lower(Nuisance self, Particle d)
1188 return _IMP_isd.Nuisance_set_lower(self, *args)
1191 def remove_lower(self):
1192 """remove_lower(Nuisance self)"""
1193 return _IMP_isd.Nuisance_remove_lower(self)
1196 def get_has_upper(self):
1197 """get_has_upper(Nuisance self) -> bool"""
1198 return _IMP_isd.Nuisance_get_has_upper(self)
1201 def get_upper(self):
1202 """get_upper(Nuisance self) -> IMP::Float"""
1203 return _IMP_isd.Nuisance_get_upper(self)
1206 def get_upper_key():
1207 """get_upper_key() -> FloatKey"""
1208 return _IMP_isd.Nuisance_get_upper_key()
1210 get_upper_key = staticmethod(get_upper_key)
1212 def get_upper_particle_key():
1213 """get_upper_particle_key() -> ParticleIndexKey"""
1214 return _IMP_isd.Nuisance_get_upper_particle_key()
1216 get_upper_particle_key = staticmethod(get_upper_particle_key)
1218 def set_upper(self, *args):
1220 set_upper(Nuisance self, IMP::Float d)
1221 set_upper(Nuisance self, Particle d)
1223 return _IMP_isd.Nuisance_set_upper(self, *args)
1226 def remove_upper(self):
1227 """remove_upper(Nuisance self)"""
1228 return _IMP_isd.Nuisance_remove_upper(self)
1231 def get_nuisance_derivative(self):
1232 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1233 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1236 def add_to_nuisance_derivative(self, d, accum):
1237 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1238 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1241 def get_nuisance_is_optimized(self):
1242 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1243 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1246 def set_nuisance_is_optimized(self, val):
1247 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1248 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1251 def add_attribute(self, *args):
1253 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1254 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1255 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1256 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1257 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1258 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1260 return _IMP_isd.Nuisance_add_attribute(self, *args)
1263 def get_value(self, *args):
1265 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1266 get_value(Nuisance self, IntKey a0) -> IMP::Int
1267 get_value(Nuisance self, StringKey a0) -> IMP::String
1268 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1269 get_value(Nuisance self, ObjectKey a0) -> Object
1271 return _IMP_isd.Nuisance_get_value(self, *args)
1274 def set_value(self, *args):
1276 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1277 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1278 set_value(Nuisance self, StringKey a0, IMP::String a1)
1279 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1280 set_value(Nuisance self, ObjectKey a0, Object a1)
1282 return _IMP_isd.Nuisance_set_value(self, *args)
1285 def remove_attribute(self, *args):
1287 remove_attribute(Nuisance self, FloatKey a0)
1288 remove_attribute(Nuisance self, IntKey a0)
1289 remove_attribute(Nuisance self, StringKey a0)
1290 remove_attribute(Nuisance self, ParticleIndexKey a0)
1291 remove_attribute(Nuisance self, ObjectKey a0)
1293 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1296 def has_attribute(self, *args):
1298 has_attribute(Nuisance self, FloatKey a0) -> bool
1299 has_attribute(Nuisance self, IntKey a0) -> bool
1300 has_attribute(Nuisance self, StringKey a0) -> bool
1301 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1302 has_attribute(Nuisance self, ObjectKey a0) -> bool
1304 return _IMP_isd.Nuisance_has_attribute(self, *args)
1307 def get_derivative(self, a0):
1308 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1309 return _IMP_isd.Nuisance_get_derivative(self, a0)
1313 """get_name(Nuisance self) -> std::string"""
1314 return _IMP_isd.Nuisance_get_name(self)
1318 """clear_caches(Nuisance self)"""
1319 return _IMP_isd.Nuisance_clear_caches(self)
1322 def set_name(self, a0):
1323 """set_name(Nuisance self, std::string a0)"""
1324 return _IMP_isd.Nuisance_set_name(self, a0)
1328 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1329 return _IMP_isd.Nuisance_set_check_level(self, a0)
1332 def add_to_derivative(self, a0, a1, a2):
1333 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1334 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1337 def set_is_optimized(self, a0, a1):
1338 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1339 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1342 def get_is_optimized(self, a0):
1343 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1344 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1347 def get_check_level(self):
1348 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1349 return _IMP_isd.Nuisance_get_check_level(self)
1352 def __eq__(self, *args):
1354 __eq__(Nuisance self, Nuisance o) -> bool
1355 __eq__(Nuisance self, Particle d) -> bool
1357 return _IMP_isd.Nuisance___eq__(self, *args)
1360 def __ne__(self, *args):
1362 __ne__(Nuisance self, Nuisance o) -> bool
1363 __ne__(Nuisance self, Particle d) -> bool
1365 return _IMP_isd.Nuisance___ne__(self, *args)
1368 def __le__(self, *args):
1370 __le__(Nuisance self, Nuisance o) -> bool
1371 __le__(Nuisance self, Particle d) -> bool
1373 return _IMP_isd.Nuisance___le__(self, *args)
1376 def __lt__(self, *args):
1378 __lt__(Nuisance self, Nuisance o) -> bool
1379 __lt__(Nuisance self, Particle d) -> bool
1381 return _IMP_isd.Nuisance___lt__(self, *args)
1384 def __ge__(self, *args):
1386 __ge__(Nuisance self, Nuisance o) -> bool
1387 __ge__(Nuisance self, Particle d) -> bool
1389 return _IMP_isd.Nuisance___ge__(self, *args)
1392 def __gt__(self, *args):
1394 __gt__(Nuisance self, Nuisance o) -> bool
1395 __gt__(Nuisance self, Particle d) -> bool
1397 return _IMP_isd.Nuisance___gt__(self, *args)
1401 """__hash__(Nuisance self) -> std::size_t"""
1402 return _IMP_isd.Nuisance___hash__(self)
1406 """__str__(Nuisance self) -> std::string"""
1407 return _IMP_isd.Nuisance___str__(self)
1411 """__repr__(Nuisance self) -> std::string"""
1412 return _IMP_isd.Nuisance___repr__(self)
1414 __swig_destroy__ = _IMP_isd.delete_Nuisance
1415 __del__ =
lambda self:
None
1416 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1417 Nuisance_swigregister(Nuisance)
1419 def Nuisance_setup_particle(*args):
1421 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1422 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1423 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1424 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1426 return _IMP_isd.Nuisance_setup_particle(*args)
1428 def Nuisance_get_is_setup(*args):
1430 get_is_setup(_ParticleAdaptor p) -> bool
1431 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1433 return _IMP_isd.Nuisance_get_is_setup(*args)
1435 def Nuisance_get_nuisance_key():
1436 """Nuisance_get_nuisance_key() -> FloatKey"""
1437 return _IMP_isd.Nuisance_get_nuisance_key()
1439 def Nuisance_get_lower_key():
1440 """Nuisance_get_lower_key() -> FloatKey"""
1441 return _IMP_isd.Nuisance_get_lower_key()
1443 def Nuisance_get_lower_particle_key():
1444 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1445 return _IMP_isd.Nuisance_get_lower_particle_key()
1447 def Nuisance_get_upper_key():
1448 """Nuisance_get_upper_key() -> FloatKey"""
1449 return _IMP_isd.Nuisance_get_upper_key()
1451 def Nuisance_get_upper_particle_key():
1452 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1453 return _IMP_isd.Nuisance_get_upper_particle_key()
1455 class Scale(Nuisance):
1456 """Proxy of C++ IMP::isd::Scale class."""
1458 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1460 def __init__(self, *args):
1462 __init__(IMP::isd::Scale self) -> Scale
1463 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1464 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1466 this = _IMP_isd.new_Scale(*args)
1468 self.this.append(this)
1469 except __builtin__.Exception:
1472 def show(self, *args):
1474 show(Scale self, _ostream out)
1477 return _IMP_isd.Scale_show(self, *args)
1480 def setup_particle(*args):
1482 setup_particle(Model m, ParticleIndex pi) -> Scale
1483 setup_particle(_ParticleAdaptor decorator) -> Scale
1484 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1485 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1487 return _IMP_isd.Scale_setup_particle(*args)
1489 setup_particle = staticmethod(setup_particle)
1491 def get_is_setup(*args):
1493 get_is_setup(_ParticleAdaptor p) -> bool
1494 get_is_setup(Model m, ParticleIndex pi) -> bool
1496 return _IMP_isd.Scale_get_is_setup(*args)
1498 get_is_setup = staticmethod(get_is_setup)
1500 def get_scale(self):
1501 """get_scale(Scale self) -> IMP::Float"""
1502 return _IMP_isd.Scale_get_scale(self)
1505 def set_scale(self, d):
1506 """set_scale(Scale self, IMP::Float d)"""
1507 return _IMP_isd.Scale_set_scale(self, d)
1510 def add_to_scale_derivative(self, d, accum):
1511 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1512 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1515 def get_scale_derivative(self):
1516 """get_scale_derivative(Scale self) -> IMP::Float"""
1517 return _IMP_isd.Scale_get_scale_derivative(self)
1520 def get_scale_key():
1521 """get_scale_key() -> FloatKey"""
1522 return _IMP_isd.Scale_get_scale_key()
1524 get_scale_key = staticmethod(get_scale_key)
1526 def get_scale_is_optimized(self):
1527 """get_scale_is_optimized(Scale self) -> bool"""
1528 return _IMP_isd.Scale_get_scale_is_optimized(self)
1531 def set_scale_is_optimized(self, val):
1532 """set_scale_is_optimized(Scale self, bool val)"""
1533 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1536 def add_attribute(self, *args):
1538 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1539 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1540 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1541 add_attribute(Scale self, StringKey a0, IMP::String a1)
1542 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1543 add_attribute(Scale self, ObjectKey a0, Object a1)
1545 return _IMP_isd.Scale_add_attribute(self, *args)
1548 def get_value(self, *args):
1550 get_value(Scale self, FloatKey a0) -> IMP::Float
1551 get_value(Scale self, IntKey a0) -> IMP::Int
1552 get_value(Scale self, StringKey a0) -> IMP::String
1553 get_value(Scale self, ParticleIndexKey a0) -> Particle
1554 get_value(Scale self, ObjectKey a0) -> Object
1556 return _IMP_isd.Scale_get_value(self, *args)
1559 def set_value(self, *args):
1561 set_value(Scale self, FloatKey a0, IMP::Float a1)
1562 set_value(Scale self, IntKey a0, IMP::Int a1)
1563 set_value(Scale self, StringKey a0, IMP::String a1)
1564 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1565 set_value(Scale self, ObjectKey a0, Object a1)
1567 return _IMP_isd.Scale_set_value(self, *args)
1570 def remove_attribute(self, *args):
1572 remove_attribute(Scale self, FloatKey a0)
1573 remove_attribute(Scale self, IntKey a0)
1574 remove_attribute(Scale self, StringKey a0)
1575 remove_attribute(Scale self, ParticleIndexKey a0)
1576 remove_attribute(Scale self, ObjectKey a0)
1578 return _IMP_isd.Scale_remove_attribute(self, *args)
1581 def has_attribute(self, *args):
1583 has_attribute(Scale self, FloatKey a0) -> bool
1584 has_attribute(Scale self, IntKey a0) -> bool
1585 has_attribute(Scale self, StringKey a0) -> bool
1586 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1587 has_attribute(Scale self, ObjectKey a0) -> bool
1589 return _IMP_isd.Scale_has_attribute(self, *args)
1592 def get_derivative(self, a0):
1593 """get_derivative(Scale self, FloatKey a0) -> double"""
1594 return _IMP_isd.Scale_get_derivative(self, a0)
1598 """get_name(Scale self) -> std::string"""
1599 return _IMP_isd.Scale_get_name(self)
1603 """clear_caches(Scale self)"""
1604 return _IMP_isd.Scale_clear_caches(self)
1607 def set_name(self, a0):
1608 """set_name(Scale self, std::string a0)"""
1609 return _IMP_isd.Scale_set_name(self, a0)
1613 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1614 return _IMP_isd.Scale_set_check_level(self, a0)
1617 def add_to_derivative(self, a0, a1, a2):
1618 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1619 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1622 def set_is_optimized(self, a0, a1):
1623 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1624 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1627 def get_is_optimized(self, a0):
1628 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1629 return _IMP_isd.Scale_get_is_optimized(self, a0)
1632 def get_check_level(self):
1633 """get_check_level(Scale self) -> IMP::CheckLevel"""
1634 return _IMP_isd.Scale_get_check_level(self)
1637 def __eq__(self, *args):
1639 __eq__(Scale self, Scale o) -> bool
1640 __eq__(Scale self, Particle d) -> bool
1642 return _IMP_isd.Scale___eq__(self, *args)
1645 def __ne__(self, *args):
1647 __ne__(Scale self, Scale o) -> bool
1648 __ne__(Scale self, Particle d) -> bool
1650 return _IMP_isd.Scale___ne__(self, *args)
1653 def __le__(self, *args):
1655 __le__(Scale self, Scale o) -> bool
1656 __le__(Scale self, Particle d) -> bool
1658 return _IMP_isd.Scale___le__(self, *args)
1661 def __lt__(self, *args):
1663 __lt__(Scale self, Scale o) -> bool
1664 __lt__(Scale self, Particle d) -> bool
1666 return _IMP_isd.Scale___lt__(self, *args)
1669 def __ge__(self, *args):
1671 __ge__(Scale self, Scale o) -> bool
1672 __ge__(Scale self, Particle d) -> bool
1674 return _IMP_isd.Scale___ge__(self, *args)
1677 def __gt__(self, *args):
1679 __gt__(Scale self, Scale o) -> bool
1680 __gt__(Scale self, Particle d) -> bool
1682 return _IMP_isd.Scale___gt__(self, *args)
1686 """__hash__(Scale self) -> std::size_t"""
1687 return _IMP_isd.Scale___hash__(self)
1691 """__str__(Scale self) -> std::string"""
1692 return _IMP_isd.Scale___str__(self)
1696 """__repr__(Scale self) -> std::string"""
1697 return _IMP_isd.Scale___repr__(self)
1699 __swig_destroy__ = _IMP_isd.delete_Scale
1700 __del__ =
lambda self:
None
1701 Scale_swigregister = _IMP_isd.Scale_swigregister
1702 Scale_swigregister(Scale)
1704 def Scale_setup_particle(*args):
1706 setup_particle(Model m, ParticleIndex pi) -> Scale
1707 setup_particle(_ParticleAdaptor decorator) -> Scale
1708 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1709 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1711 return _IMP_isd.Scale_setup_particle(*args)
1713 def Scale_get_is_setup(*args):
1715 get_is_setup(_ParticleAdaptor p) -> bool
1716 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1718 return _IMP_isd.Scale_get_is_setup(*args)
1720 def Scale_get_scale_key():
1721 """Scale_get_scale_key() -> FloatKey"""
1722 return _IMP_isd.Scale_get_scale_key()
1724 class Switching(Nuisance):
1725 """Proxy of C++ IMP::isd::Switching class."""
1727 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1729 def __init__(self, *args):
1731 __init__(IMP::isd::Switching self) -> Switching
1732 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1733 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1735 this = _IMP_isd.new_Switching(*args)
1737 self.this.append(this)
1738 except __builtin__.Exception:
1741 def show(self, *args):
1743 show(Switching self, _ostream out)
1744 show(Switching self)
1746 return _IMP_isd.Switching_show(self, *args)
1749 def setup_particle(*args):
1751 setup_particle(Model m, ParticleIndex pi) -> Switching
1752 setup_particle(_ParticleAdaptor decorator) -> Switching
1753 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1754 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1756 return _IMP_isd.Switching_setup_particle(*args)
1758 setup_particle = staticmethod(setup_particle)
1760 def get_is_setup(*args):
1762 get_is_setup(_ParticleAdaptor p) -> bool
1763 get_is_setup(Model m, ParticleIndex pi) -> bool
1765 return _IMP_isd.Switching_get_is_setup(*args)
1767 get_is_setup = staticmethod(get_is_setup)
1769 def get_switching(self):
1770 """get_switching(Switching self) -> IMP::Float"""
1771 return _IMP_isd.Switching_get_switching(self)
1774 def set_switching(self, d):
1775 """set_switching(Switching self, IMP::Float d)"""
1776 return _IMP_isd.Switching_set_switching(self, d)
1779 def add_to_switching_derivative(self, d, accum):
1780 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1781 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1784 def get_switching_derivative(self):
1785 """get_switching_derivative(Switching self) -> IMP::Float"""
1786 return _IMP_isd.Switching_get_switching_derivative(self)
1789 def get_switching_key():
1790 """get_switching_key() -> FloatKey"""
1791 return _IMP_isd.Switching_get_switching_key()
1793 get_switching_key = staticmethod(get_switching_key)
1795 def get_switching_is_optimized(self):
1796 """get_switching_is_optimized(Switching self) -> bool"""
1797 return _IMP_isd.Switching_get_switching_is_optimized(self)
1800 def set_switching_is_optimized(self, val):
1801 """set_switching_is_optimized(Switching self, bool val)"""
1802 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
1805 def add_attribute(self, *args):
1807 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1808 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1809 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1810 add_attribute(Switching self, StringKey a0, IMP::String a1)
1811 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1812 add_attribute(Switching self, ObjectKey a0, Object a1)
1814 return _IMP_isd.Switching_add_attribute(self, *args)
1817 def get_value(self, *args):
1819 get_value(Switching self, FloatKey a0) -> IMP::Float
1820 get_value(Switching self, IntKey a0) -> IMP::Int
1821 get_value(Switching self, StringKey a0) -> IMP::String
1822 get_value(Switching self, ParticleIndexKey a0) -> Particle
1823 get_value(Switching self, ObjectKey a0) -> Object
1825 return _IMP_isd.Switching_get_value(self, *args)
1828 def set_value(self, *args):
1830 set_value(Switching self, FloatKey a0, IMP::Float a1)
1831 set_value(Switching self, IntKey a0, IMP::Int a1)
1832 set_value(Switching self, StringKey a0, IMP::String a1)
1833 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1834 set_value(Switching self, ObjectKey a0, Object a1)
1836 return _IMP_isd.Switching_set_value(self, *args)
1839 def remove_attribute(self, *args):
1841 remove_attribute(Switching self, FloatKey a0)
1842 remove_attribute(Switching self, IntKey a0)
1843 remove_attribute(Switching self, StringKey a0)
1844 remove_attribute(Switching self, ParticleIndexKey a0)
1845 remove_attribute(Switching self, ObjectKey a0)
1847 return _IMP_isd.Switching_remove_attribute(self, *args)
1850 def has_attribute(self, *args):
1852 has_attribute(Switching self, FloatKey a0) -> bool
1853 has_attribute(Switching self, IntKey a0) -> bool
1854 has_attribute(Switching self, StringKey a0) -> bool
1855 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1856 has_attribute(Switching self, ObjectKey a0) -> bool
1858 return _IMP_isd.Switching_has_attribute(self, *args)
1861 def get_derivative(self, a0):
1862 """get_derivative(Switching self, FloatKey a0) -> double"""
1863 return _IMP_isd.Switching_get_derivative(self, a0)
1867 """get_name(Switching self) -> std::string"""
1868 return _IMP_isd.Switching_get_name(self)
1872 """clear_caches(Switching self)"""
1873 return _IMP_isd.Switching_clear_caches(self)
1876 def set_name(self, a0):
1877 """set_name(Switching self, std::string a0)"""
1878 return _IMP_isd.Switching_set_name(self, a0)
1882 """set_check_level(Switching self, IMP::CheckLevel a0)"""
1883 return _IMP_isd.Switching_set_check_level(self, a0)
1886 def add_to_derivative(self, a0, a1, a2):
1887 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1888 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
1891 def set_is_optimized(self, a0, a1):
1892 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1893 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
1896 def get_is_optimized(self, a0):
1897 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1898 return _IMP_isd.Switching_get_is_optimized(self, a0)
1901 def get_check_level(self):
1902 """get_check_level(Switching self) -> IMP::CheckLevel"""
1903 return _IMP_isd.Switching_get_check_level(self)
1906 def __eq__(self, *args):
1908 __eq__(Switching self, Switching o) -> bool
1909 __eq__(Switching self, Particle d) -> bool
1911 return _IMP_isd.Switching___eq__(self, *args)
1914 def __ne__(self, *args):
1916 __ne__(Switching self, Switching o) -> bool
1917 __ne__(Switching self, Particle d) -> bool
1919 return _IMP_isd.Switching___ne__(self, *args)
1922 def __le__(self, *args):
1924 __le__(Switching self, Switching o) -> bool
1925 __le__(Switching self, Particle d) -> bool
1927 return _IMP_isd.Switching___le__(self, *args)
1930 def __lt__(self, *args):
1932 __lt__(Switching self, Switching o) -> bool
1933 __lt__(Switching self, Particle d) -> bool
1935 return _IMP_isd.Switching___lt__(self, *args)
1938 def __ge__(self, *args):
1940 __ge__(Switching self, Switching o) -> bool
1941 __ge__(Switching self, Particle d) -> bool
1943 return _IMP_isd.Switching___ge__(self, *args)
1946 def __gt__(self, *args):
1948 __gt__(Switching self, Switching o) -> bool
1949 __gt__(Switching self, Particle d) -> bool
1951 return _IMP_isd.Switching___gt__(self, *args)
1955 """__hash__(Switching self) -> std::size_t"""
1956 return _IMP_isd.Switching___hash__(self)
1960 """__str__(Switching self) -> std::string"""
1961 return _IMP_isd.Switching___str__(self)
1965 """__repr__(Switching self) -> std::string"""
1966 return _IMP_isd.Switching___repr__(self)
1968 __swig_destroy__ = _IMP_isd.delete_Switching
1969 __del__ =
lambda self:
None
1970 Switching_swigregister = _IMP_isd.Switching_swigregister
1971 Switching_swigregister(Switching)
1973 def Switching_setup_particle(*args):
1975 setup_particle(Model m, ParticleIndex pi) -> Switching
1976 setup_particle(_ParticleAdaptor decorator) -> Switching
1977 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1978 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1980 return _IMP_isd.Switching_setup_particle(*args)
1982 def Switching_get_is_setup(*args):
1984 get_is_setup(_ParticleAdaptor p) -> bool
1985 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
1987 return _IMP_isd.Switching_get_is_setup(*args)
1989 def Switching_get_switching_key():
1990 """Switching_get_switching_key() -> FloatKey"""
1991 return _IMP_isd.Switching_get_switching_key()
1994 def __lshift__(*args):
1996 __lshift__(_ostream out, Nuisance n) -> _ostream
1997 __lshift__(_ostream out, Scale n) -> _ostream
1998 __lshift__(_ostream out, Switching n) -> _ostream
2000 return _IMP_isd.__lshift__(*args)
2002 """Proxy of C++ IMP::isd::Weight class."""
2004 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2006 def __init__(self, *args):
2008 __init__(IMP::isd::Weight self) -> Weight
2009 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
2010 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
2012 this = _IMP_isd.new_Weight(*args)
2014 self.this.append(this)
2015 except __builtin__.Exception:
2018 def show(self, *args):
2020 show(Weight self, _ostream out)
2023 return _IMP_isd.Weight_show(self, *args)
2026 def setup_particle(*args):
2028 setup_particle(Model m, ParticleIndex pi) -> Weight
2029 setup_particle(_ParticleAdaptor decorator) -> Weight
2031 return _IMP_isd.Weight_setup_particle(*args)
2033 setup_particle = staticmethod(setup_particle)
2035 def get_nstates_key():
2036 """get_nstates_key() -> IntKey"""
2037 return _IMP_isd.Weight_get_nstates_key()
2039 get_nstates_key = staticmethod(get_nstates_key)
2041 def get_weight_key(i):
2042 """get_weight_key(int i) -> FloatKey"""
2043 return _IMP_isd.Weight_get_weight_key(i)
2045 get_weight_key = staticmethod(get_weight_key)
2047 def set_weights(self, w):
2048 """set_weights(Weight self, VectorKD w)"""
2049 return _IMP_isd.Weight_set_weights(self, w)
2052 def add_weight(self):
2053 """add_weight(Weight self)"""
2054 return _IMP_isd.Weight_add_weight(self)
2057 def get_weight(self, i):
2058 """get_weight(Weight self, int i) -> IMP::Float"""
2059 return _IMP_isd.Weight_get_weight(self, i)
2062 def get_weights(self):
2063 """get_weights(Weight self) -> VectorKD"""
2064 return _IMP_isd.Weight_get_weights(self)
2067 def set_weights_are_optimized(self, tf):
2068 """set_weights_are_optimized(Weight self, bool tf)"""
2069 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2072 def get_number_of_states(self):
2073 """get_number_of_states(Weight self) -> IMP::Int"""
2074 return _IMP_isd.Weight_get_number_of_states(self)
2077 def get_is_setup(*args):
2079 get_is_setup(_ParticleAdaptor p) -> bool
2080 get_is_setup(Model m, ParticleIndex pi) -> bool
2082 return _IMP_isd.Weight_get_is_setup(*args)
2084 get_is_setup = staticmethod(get_is_setup)
2086 def add_attribute(self, *args):
2088 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2089 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2090 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2091 add_attribute(Weight self, StringKey a0, IMP::String a1)
2092 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2093 add_attribute(Weight self, ObjectKey a0, Object a1)
2095 return _IMP_isd.Weight_add_attribute(self, *args)
2098 def get_value(self, *args):
2100 get_value(Weight self, FloatKey a0) -> IMP::Float
2101 get_value(Weight self, IntKey a0) -> IMP::Int
2102 get_value(Weight self, StringKey a0) -> IMP::String
2103 get_value(Weight self, ParticleIndexKey a0) -> Particle
2104 get_value(Weight self, ObjectKey a0) -> Object
2106 return _IMP_isd.Weight_get_value(self, *args)
2109 def set_value(self, *args):
2111 set_value(Weight self, FloatKey a0, IMP::Float a1)
2112 set_value(Weight self, IntKey a0, IMP::Int a1)
2113 set_value(Weight self, StringKey a0, IMP::String a1)
2114 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2115 set_value(Weight self, ObjectKey a0, Object a1)
2117 return _IMP_isd.Weight_set_value(self, *args)
2120 def remove_attribute(self, *args):
2122 remove_attribute(Weight self, FloatKey a0)
2123 remove_attribute(Weight self, IntKey a0)
2124 remove_attribute(Weight self, StringKey a0)
2125 remove_attribute(Weight self, ParticleIndexKey a0)
2126 remove_attribute(Weight self, ObjectKey a0)
2128 return _IMP_isd.Weight_remove_attribute(self, *args)
2131 def has_attribute(self, *args):
2133 has_attribute(Weight self, FloatKey a0) -> bool
2134 has_attribute(Weight self, IntKey a0) -> bool
2135 has_attribute(Weight self, StringKey a0) -> bool
2136 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2137 has_attribute(Weight self, ObjectKey a0) -> bool
2139 return _IMP_isd.Weight_has_attribute(self, *args)
2142 def get_derivative(self, a0):
2143 """get_derivative(Weight self, FloatKey a0) -> double"""
2144 return _IMP_isd.Weight_get_derivative(self, a0)
2148 """get_name(Weight self) -> std::string"""
2149 return _IMP_isd.Weight_get_name(self)
2153 """clear_caches(Weight self)"""
2154 return _IMP_isd.Weight_clear_caches(self)
2157 def set_name(self, a0):
2158 """set_name(Weight self, std::string a0)"""
2159 return _IMP_isd.Weight_set_name(self, a0)
2163 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2164 return _IMP_isd.Weight_set_check_level(self, a0)
2167 def add_to_derivative(self, a0, a1, a2):
2168 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2169 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2172 def set_is_optimized(self, a0, a1):
2173 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2174 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2177 def get_is_optimized(self, a0):
2178 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2179 return _IMP_isd.Weight_get_is_optimized(self, a0)
2182 def get_check_level(self):
2183 """get_check_level(Weight self) -> IMP::CheckLevel"""
2184 return _IMP_isd.Weight_get_check_level(self)
2187 def __eq__(self, *args):
2189 __eq__(Weight self, Weight o) -> bool
2190 __eq__(Weight self, Particle d) -> bool
2192 return _IMP_isd.Weight___eq__(self, *args)
2195 def __ne__(self, *args):
2197 __ne__(Weight self, Weight o) -> bool
2198 __ne__(Weight self, Particle d) -> bool
2200 return _IMP_isd.Weight___ne__(self, *args)
2203 def __le__(self, *args):
2205 __le__(Weight self, Weight o) -> bool
2206 __le__(Weight self, Particle d) -> bool
2208 return _IMP_isd.Weight___le__(self, *args)
2211 def __lt__(self, *args):
2213 __lt__(Weight self, Weight o) -> bool
2214 __lt__(Weight self, Particle d) -> bool
2216 return _IMP_isd.Weight___lt__(self, *args)
2219 def __ge__(self, *args):
2221 __ge__(Weight self, Weight o) -> bool
2222 __ge__(Weight self, Particle d) -> bool
2224 return _IMP_isd.Weight___ge__(self, *args)
2227 def __gt__(self, *args):
2229 __gt__(Weight self, Weight o) -> bool
2230 __gt__(Weight self, Particle d) -> bool
2232 return _IMP_isd.Weight___gt__(self, *args)
2236 """__hash__(Weight self) -> std::size_t"""
2237 return _IMP_isd.Weight___hash__(self)
2241 """__str__(Weight self) -> std::string"""
2242 return _IMP_isd.Weight___str__(self)
2246 """__repr__(Weight self) -> std::string"""
2247 return _IMP_isd.Weight___repr__(self)
2249 __swig_destroy__ = _IMP_isd.delete_Weight
2250 __del__ =
lambda self:
None
2251 Weight_swigregister = _IMP_isd.Weight_swigregister
2252 Weight_swigregister(Weight)
2254 def Weight_setup_particle(*args):
2256 setup_particle(Model m, ParticleIndex pi) -> Weight
2257 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
2259 return _IMP_isd.Weight_setup_particle(*args)
2261 def Weight_get_nstates_key():
2262 """Weight_get_nstates_key() -> IntKey"""
2263 return _IMP_isd.Weight_get_nstates_key()
2265 def Weight_get_weight_key(i):
2266 """Weight_get_weight_key(int i) -> FloatKey"""
2267 return _IMP_isd.Weight_get_weight_key(i)
2269 def Weight_get_is_setup(*args):
2271 get_is_setup(_ParticleAdaptor p) -> bool
2272 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2274 return _IMP_isd.Weight_get_is_setup(*args)
2277 """Proxy of C++ IMP::isd::JeffreysRestraint class."""
2279 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2281 def __init__(self, m, p):
2282 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2283 this = _IMP_isd.new_JeffreysRestraint(m, p)
2285 self.this.append(this)
2286 except __builtin__.Exception:
2290 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2291 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2295 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2296 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2299 def get_probability(self):
2300 """get_probability(JeffreysRestraint self) -> double"""
2301 return _IMP_isd.JeffreysRestraint_get_probability(self)
2305 """__str__(JeffreysRestraint self) -> std::string"""
2306 return _IMP_isd.JeffreysRestraint___str__(self)
2310 """__repr__(JeffreysRestraint self) -> std::string"""
2311 return _IMP_isd.JeffreysRestraint___repr__(self)
2316 return _object_cast_to_JeffreysRestraint(o)
2318 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2319 JeffreysRestraint_swigregister(JeffreysRestraint)
2322 """Proxy of C++ IMP::isd::Distribution class."""
2324 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2326 def __init__(self, *args):
2328 __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2329 __init__(IMP::isd::Distribution self) -> Distribution
2331 if self.__class__ == Distribution:
2335 this = _IMP_isd.new_Distribution(_self, *args)
2337 self.this.append(this)
2338 except __builtin__.Exception:
2341 if self.__class__ != Distribution:
2342 _director_objects.register(self)
2347 def get_type_name(self):
2348 """get_type_name(Distribution self) -> std::string"""
2349 return _IMP_isd.Distribution_get_type_name(self)
2353 """get_version_info(Distribution self) -> VersionInfo"""
2354 return _IMP_isd.Distribution_get_version_info(self)
2358 """__str__(Distribution self) -> std::string"""
2359 return _IMP_isd.Distribution___str__(self)
2363 """__repr__(Distribution self) -> std::string"""
2364 return _IMP_isd.Distribution___repr__(self)
2369 return _object_cast_to_Distribution(o)
2372 def get_type_name(self):
2373 return self.__class__.__name__
2374 def do_show(self, out):
2377 if"IMP::isd" ==
"IMP":
2378 return VersionInfo(self.__module__,
2379 __import__(self.__module__).get_module_version())
2382 __import__(self.__module__).get_module_version())
2385 return _object_cast_to_Distribution(o)
2387 def __disown__(self):
2389 _IMP_isd.disown_Distribution(self)
2390 return weakref_proxy(self)
2393 """do_destroy(Distribution self)"""
2394 return _IMP_isd.Distribution_do_destroy(self)
2396 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2397 Distribution_swigregister(Distribution)
2399 class OneDimensionalDistribution(Distribution):
2400 """Proxy of C++ IMP::isd::OneDimensionalDistribution class."""
2402 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2404 def do_evaluate(self, *args):
2406 do_evaluate(OneDimensionalDistribution self, double v) -> double
2407 do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2409 return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2412 def do_get_density(self, *args):
2414 do_get_density(OneDimensionalDistribution self, double v) -> double
2415 do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2417 return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2420 def __init__(self, *args):
2422 __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2423 __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2425 if self.__class__ == OneDimensionalDistribution:
2429 this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2431 self.this.append(this)
2432 except __builtin__.Exception:
2435 if self.__class__ != OneDimensionalDistribution:
2436 _director_objects.register(self)
2441 def evaluate(self, *args):
2443 evaluate(OneDimensionalDistribution self, double v) -> double
2444 evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2446 return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2449 def get_density(self, *args):
2451 get_density(OneDimensionalDistribution self, double v) -> double
2452 get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2454 return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2457 def get_type_name(self):
2458 """get_type_name(OneDimensionalDistribution self) -> std::string"""
2459 return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2463 """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2464 return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2468 """__str__(OneDimensionalDistribution self) -> std::string"""
2469 return _IMP_isd.OneDimensionalDistribution___str__(self)
2473 """__repr__(OneDimensionalDistribution self) -> std::string"""
2474 return _IMP_isd.OneDimensionalDistribution___repr__(self)
2479 return _object_cast_to_OneDimensionalDistribution(o)
2482 def get_type_name(self):
2483 return self.__class__.__name__
2484 def do_show(self, out):
2487 if"IMP::isd" ==
"IMP":
2488 return VersionInfo(self.__module__,
2489 __import__(self.__module__).get_module_version())
2492 __import__(self.__module__).get_module_version())
2495 return _object_cast_to_OneDimensionalDistribution(o)
2497 def __disown__(self):
2499 _IMP_isd.disown_OneDimensionalDistribution(self)
2500 return weakref_proxy(self)
2503 """do_destroy(OneDimensionalDistribution self)"""
2504 return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2506 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2507 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2509 class OneDimensionalSufficientDistribution(Distribution):
2510 """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class."""
2512 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2514 def do_update_sufficient_statistics(self, vs):
2515 """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2516 return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
2519 def do_get_sufficient_statistics(self):
2520 """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2521 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
2524 def do_evaluate(self):
2525 """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
2526 return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
2529 def do_get_density(self):
2530 """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
2531 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
2534 def __init__(self, *args):
2536 __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
2537 __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
2539 if self.__class__ == OneDimensionalSufficientDistribution:
2543 this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
2545 self.this.append(this)
2546 except __builtin__.Exception:
2549 if self.__class__ != OneDimensionalSufficientDistribution:
2550 _director_objects.register(self)
2555 def update_sufficient_statistics(self, vs):
2556 """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2557 return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
2560 def get_sufficient_statistics(self):
2561 """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2562 return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
2566 """evaluate(OneDimensionalSufficientDistribution self) -> double"""
2567 return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
2570 def get_density(self):
2571 """get_density(OneDimensionalSufficientDistribution self) -> double"""
2572 return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
2575 def get_type_name(self):
2576 """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
2577 return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
2581 """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
2582 return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
2586 """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
2587 return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
2591 """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
2592 return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
2597 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2600 def get_type_name(self):
2601 return self.__class__.__name__
2602 def do_show(self, out):
2605 if"IMP::isd" ==
"IMP":
2606 return VersionInfo(self.__module__,
2607 __import__(self.__module__).get_module_version())
2610 __import__(self.__module__).get_module_version())
2613 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2615 def __disown__(self):
2617 _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
2618 return weakref_proxy(self)
2621 """do_destroy(OneDimensionalSufficientDistribution self)"""
2622 return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
2624 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
2625 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
2627 class FNormal(OneDimensionalSufficientDistribution):
2628 """Proxy of C++ IMP::isd::FNormal class."""
2630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2632 def __init__(self, FA, JA, FM, sigma):
2633 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2634 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2636 self.this.append(this)
2637 except __builtin__.Exception:
2640 def update_sufficient_statistics(self, FA):
2641 """update_sufficient_statistics(FNormal self, double FA)"""
2642 return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
2645 def do_update_sufficient_statistics(self, data):
2646 """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
2647 return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
2650 def do_get_sufficient_statistics(self):
2651 """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
2652 return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
2655 def do_evaluate(self):
2656 """do_evaluate(FNormal self) -> double"""
2657 return _IMP_isd.FNormal_do_evaluate(self)
2660 def evaluate_derivative_FA(self):
2661 """evaluate_derivative_FA(FNormal self) -> double"""
2662 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2665 def evaluate_derivative_JA(self):
2666 """evaluate_derivative_JA(FNormal self) -> double"""
2667 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2670 def evaluate_derivative_FM(self):
2671 """evaluate_derivative_FM(FNormal self) -> double"""
2672 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2675 def evaluate_derivative_sigma(self):
2676 """evaluate_derivative_sigma(FNormal self) -> double"""
2677 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2680 def do_get_density(self):
2681 """do_get_density(FNormal self) -> double"""
2682 return _IMP_isd.FNormal_do_get_density(self)
2686 """density(FNormal self) -> double"""
2687 return _IMP_isd.FNormal_density(self)
2690 def set_FA(self, f):
2691 """set_FA(FNormal self, double f)"""
2692 return _IMP_isd.FNormal_set_FA(self, f)
2695 def set_JA(self, f):
2696 """set_JA(FNormal self, double f)"""
2697 return _IMP_isd.FNormal_set_JA(self, f)
2700 def set_FM(self, f):
2701 """set_FM(FNormal self, double f)"""
2702 return _IMP_isd.FNormal_set_FM(self, f)
2705 def set_sigma(self, f):
2706 """set_sigma(FNormal self, double f)"""
2707 return _IMP_isd.FNormal_set_sigma(self, f)
2711 """__str__(FNormal self) -> std::string"""
2712 return _IMP_isd.FNormal___str__(self)
2716 """__repr__(FNormal self) -> std::string"""
2717 return _IMP_isd.FNormal___repr__(self)
2722 return _object_cast_to_FNormal(o)
2724 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2725 FNormal_swigregister(FNormal)
2727 class FStudentT(OneDimensionalSufficientDistribution):
2728 """Proxy of C++ IMP::isd::FStudentT class."""
2730 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2732 def __init__(self, *args):
2734 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
2735 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
2736 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
2737 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
2739 this = _IMP_isd.new_FStudentT(*args)
2741 self.this.append(this)
2742 except __builtin__.Exception:
2745 def update_sufficient_statistics(self, FXs, JXs):
2746 """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
2747 return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
2750 def evaluate_derivative_Fx(self, Fx):
2751 """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
2752 return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
2755 def evaluate_derivative_FX(self, FXs):
2756 """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
2757 return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
2760 def evaluate_derivative_LogJX(self):
2761 """evaluate_derivative_LogJX(FStudentT self) -> double"""
2762 return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
2765 def evaluate_derivative_FM(self):
2766 """evaluate_derivative_FM(FStudentT self) -> double"""
2767 return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
2770 def evaluate_derivative_sigma(self):
2771 """evaluate_derivative_sigma(FStudentT self) -> double"""
2772 return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
2775 def evaluate_derivative_nu(self):
2776 """evaluate_derivative_nu(FStudentT self) -> double"""
2777 return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
2780 def update_cached_values(self):
2781 """update_cached_values(FStudentT self)"""
2782 return _IMP_isd.FStudentT_update_cached_values(self)
2785 def set_sumFX(self, v):
2786 """set_sumFX(FStudentT self, double v)"""
2787 return _IMP_isd.FStudentT_set_sumFX(self, v)
2790 def set_sumFX2(self, v):
2791 """set_sumFX2(FStudentT self, double v)"""
2792 return _IMP_isd.FStudentT_set_sumFX2(self, v)
2796 """set_N(FStudentT self, unsigned int v)"""
2797 return _IMP_isd.FStudentT_set_N(self, v)
2800 def set_LogJX(self, v):
2801 """set_LogJX(FStudentT self, double v)"""
2802 return _IMP_isd.FStudentT_set_LogJX(self, v)
2805 def set_FM(self, v):
2806 """set_FM(FStudentT self, double v)"""
2807 return _IMP_isd.FStudentT_set_FM(self, v)
2810 def set_sigma(self, v):
2811 """set_sigma(FStudentT self, double v)"""
2812 return _IMP_isd.FStudentT_set_sigma(self, v)
2815 def set_nu(self, v):
2816 """set_nu(FStudentT self, double v)"""
2817 return _IMP_isd.FStudentT_set_nu(self, v)
2820 def get_sumFX(self):
2821 """get_sumFX(FStudentT self) -> double"""
2822 return _IMP_isd.FStudentT_get_sumFX(self)
2825 def get_sumFX2(self):
2826 """get_sumFX2(FStudentT self) -> double"""
2827 return _IMP_isd.FStudentT_get_sumFX2(self)
2831 """get_N(FStudentT self) -> unsigned int"""
2832 return _IMP_isd.FStudentT_get_N(self)
2835 def get_LogJX(self):
2836 """get_LogJX(FStudentT self) -> double"""
2837 return _IMP_isd.FStudentT_get_LogJX(self)
2841 """get_FM(FStudentT self) -> double"""
2842 return _IMP_isd.FStudentT_get_FM(self)
2845 def get_sigma(self):
2846 """get_sigma(FStudentT self) -> double"""
2847 return _IMP_isd.FStudentT_get_sigma(self)
2851 """get_nu(FStudentT self) -> double"""
2852 return _IMP_isd.FStudentT_get_nu(self)
2856 """__str__(FStudentT self) -> std::string"""
2857 return _IMP_isd.FStudentT___str__(self)
2861 """__repr__(FStudentT self) -> std::string"""
2862 return _IMP_isd.FStudentT___repr__(self)
2867 return _object_cast_to_FStudentT(o)
2869 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
2870 FStudentT_swigregister(FStudentT)
2873 """Proxy of C++ IMP::isd::vonMises class."""
2875 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2877 def __init__(self, x, mu, kappa):
2878 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
2879 this = _IMP_isd.new_vonMises(x, mu, kappa)
2881 self.this.append(this)
2882 except __builtin__.Exception:
2886 """evaluate(vonMises self) -> double"""
2887 return _IMP_isd.vonMises_evaluate(self)
2890 def evaluate_derivative_x(self):
2891 """evaluate_derivative_x(vonMises self) -> double"""
2892 return _IMP_isd.vonMises_evaluate_derivative_x(self)
2895 def evaluate_derivative_mu(self):
2896 """evaluate_derivative_mu(vonMises self) -> double"""
2897 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
2900 def evaluate_derivative_kappa(self):
2901 """evaluate_derivative_kappa(vonMises self) -> double"""
2902 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
2906 """density(vonMises self) -> double"""
2907 return _IMP_isd.vonMises_density(self)
2911 """set_x(vonMises self, double x)"""
2912 return _IMP_isd.vonMises_set_x(self, x)
2915 def set_mu(self, mu):
2916 """set_mu(vonMises self, double mu)"""
2917 return _IMP_isd.vonMises_set_mu(self, mu)
2920 def set_kappa(self, kappa):
2921 """set_kappa(vonMises self, double kappa)"""
2922 return _IMP_isd.vonMises_set_kappa(self, kappa)
2926 """get_version_info(vonMises self) -> VersionInfo"""
2927 return _IMP_isd.vonMises_get_version_info(self)
2931 """__str__(vonMises self) -> std::string"""
2932 return _IMP_isd.vonMises___str__(self)
2936 """__repr__(vonMises self) -> std::string"""
2937 return _IMP_isd.vonMises___repr__(self)
2942 return _object_cast_to_vonMises(o)
2944 vonMises_swigregister = _IMP_isd.vonMises_swigregister
2945 vonMises_swigregister(vonMises)
2948 """Proxy of C++ IMP::isd::vonMisesSufficient class."""
2950 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2952 def __init__(self, *args):
2954 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
2955 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
2957 this = _IMP_isd.new_vonMisesSufficient(*args)
2959 self.this.append(this)
2960 except __builtin__.Exception:
2964 """evaluate(vonMisesSufficient self) -> double"""
2965 return _IMP_isd.vonMisesSufficient_evaluate(self)
2968 def evaluate_derivative_x(self):
2969 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
2970 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
2973 def evaluate_derivative_kappa(self):
2974 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
2975 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
2979 """density(vonMisesSufficient self) -> double"""
2980 return _IMP_isd.vonMisesSufficient_density(self)
2984 """get_x(vonMisesSufficient self) -> double"""
2985 return _IMP_isd.vonMisesSufficient_get_x(self)
2989 """get_R0(vonMisesSufficient self) -> double"""
2990 return _IMP_isd.vonMisesSufficient_get_R0(self)
2993 def get_chiexp(self):
2994 """get_chiexp(vonMisesSufficient self) -> double"""
2995 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
2999 """get_N(vonMisesSufficient self) -> double"""
3000 return _IMP_isd.vonMisesSufficient_get_N(self)
3003 def get_kappa(self):
3004 """get_kappa(vonMisesSufficient self) -> double"""
3005 return _IMP_isd.vonMisesSufficient_get_kappa(self)
3009 """set_x(vonMisesSufficient self, double x)"""
3010 return _IMP_isd.vonMisesSufficient_set_x(self, x)
3013 def set_R0(self, R0):
3014 """set_R0(vonMisesSufficient self, double R0)"""
3015 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
3018 def set_chiexp(self, chiexp):
3019 """set_chiexp(vonMisesSufficient self, double chiexp)"""
3020 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
3024 """set_N(vonMisesSufficient self, unsigned int N)"""
3025 return _IMP_isd.vonMisesSufficient_set_N(self, N)
3028 def set_kappa(self, kappa):
3029 """set_kappa(vonMisesSufficient self, double kappa)"""
3030 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
3033 def get_sufficient_statistics(data):
3034 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3035 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3037 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
3040 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
3041 return _IMP_isd.vonMisesSufficient_get_version_info(self)
3045 """__str__(vonMisesSufficient self) -> std::string"""
3046 return _IMP_isd.vonMisesSufficient___str__(self)
3050 """__repr__(vonMisesSufficient self) -> std::string"""
3051 return _IMP_isd.vonMisesSufficient___repr__(self)
3056 return _object_cast_to_vonMisesSufficient(o)
3058 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3059 vonMisesSufficient_swigregister(vonMisesSufficient)
3061 def vonMisesSufficient_get_sufficient_statistics(data):
3062 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3063 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3066 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class."""
3068 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3070 def __init__(self, m, kappa):
3071 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3072 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3074 self.this.append(this)
3075 except __builtin__.Exception:
3079 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3080 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3084 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3085 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3088 def get_probability(self):
3089 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3090 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3094 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3095 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3099 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3100 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3105 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3107 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3108 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3111 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class."""
3113 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3115 def __init__(self, m, kappa, c=10.0, R0=0.0):
3117 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3118 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3119 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3121 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3123 self.this.append(this)
3124 except __builtin__.Exception:
3128 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3129 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3133 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3134 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3137 def get_probability(self):
3138 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3139 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3143 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3144 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3148 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3149 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3154 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3156 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3157 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3160 """Proxy of C++ IMP::isd::NOERestraint class."""
3162 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3164 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3165 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3166 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3168 self.this.append(this)
3169 except __builtin__.Exception:
3172 def get_probability(self):
3173 """get_probability(NOERestraint self) -> double"""
3174 return _IMP_isd.NOERestraint_get_probability(self)
3178 """get_chi(NOERestraint self) -> double"""
3179 return _IMP_isd.NOERestraint_get_chi(self)
3183 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3184 return _IMP_isd.NOERestraint_do_get_inputs(self)
3188 """get_version_info(NOERestraint self) -> VersionInfo"""
3189 return _IMP_isd.NOERestraint_get_version_info(self)
3193 """__str__(NOERestraint self) -> std::string"""
3194 return _IMP_isd.NOERestraint___str__(self)
3198 """__repr__(NOERestraint self) -> std::string"""
3199 return _IMP_isd.NOERestraint___repr__(self)
3204 return _object_cast_to_NOERestraint(o)
3206 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3207 NOERestraint_swigregister(NOERestraint)
3210 """Proxy of C++ IMP::isd::GaussianRestraint class."""
3212 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3214 def __init__(self, *args):
3216 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3217 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3218 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3219 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3220 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3221 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3222 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3224 this = _IMP_isd.new_GaussianRestraint(*args)
3226 self.this.append(this)
3227 except __builtin__.Exception:
3230 def get_probability(self):
3231 """get_probability(GaussianRestraint self) -> double"""
3232 return _IMP_isd.GaussianRestraint_get_probability(self)
3236 """get_chi(GaussianRestraint self) -> double"""
3237 return _IMP_isd.GaussianRestraint_get_chi(self)
3241 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3242 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3246 """get_version_info(GaussianRestraint self) -> VersionInfo"""
3247 return _IMP_isd.GaussianRestraint_get_version_info(self)
3251 """__str__(GaussianRestraint self) -> std::string"""
3252 return _IMP_isd.GaussianRestraint___str__(self)
3256 """__repr__(GaussianRestraint self) -> std::string"""
3257 return _IMP_isd.GaussianRestraint___repr__(self)
3262 return _object_cast_to_GaussianRestraint(o)
3264 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3265 GaussianRestraint_swigregister(GaussianRestraint)
3268 """Proxy of C++ IMP::isd::StudentTRestraint class."""
3270 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3272 def __init__(self, *args):
3274 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3275 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3276 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3277 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3278 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3279 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3280 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3281 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3282 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3283 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3284 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3285 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3286 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3287 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3288 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3290 this = _IMP_isd.new_StudentTRestraint(*args)
3292 self.this.append(this)
3293 except __builtin__.Exception:
3296 def get_probability(self):
3297 """get_probability(StudentTRestraint self) -> double"""
3298 return _IMP_isd.StudentTRestraint_get_probability(self)
3302 """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3303 return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3307 """get_version_info(StudentTRestraint self) -> VersionInfo"""
3308 return _IMP_isd.StudentTRestraint_get_version_info(self)
3312 """__str__(StudentTRestraint self) -> std::string"""
3313 return _IMP_isd.StudentTRestraint___str__(self)
3317 """__repr__(StudentTRestraint self) -> std::string"""
3318 return _IMP_isd.StudentTRestraint___repr__(self)
3323 return _object_cast_to_StudentTRestraint(o)
3325 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3326 StudentTRestraint_swigregister(StudentTRestraint)
3329 """Proxy of C++ IMP::isd::LognormalRestraint class."""
3331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3333 def __init__(self, *args):
3335 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3336 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3337 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3338 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3339 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3340 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3341 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3343 this = _IMP_isd.new_LognormalRestraint(*args)
3345 self.this.append(this)
3346 except __builtin__.Exception:
3349 def get_probability(self):
3350 """get_probability(LognormalRestraint self) -> double"""
3351 return _IMP_isd.LognormalRestraint_get_probability(self)
3355 """get_chi(LognormalRestraint self) -> double"""
3356 return _IMP_isd.LognormalRestraint_get_chi(self)
3360 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3361 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3365 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3366 return _IMP_isd.LognormalRestraint_get_version_info(self)
3370 """__str__(LognormalRestraint self) -> std::string"""
3371 return _IMP_isd.LognormalRestraint___str__(self)
3375 """__repr__(LognormalRestraint self) -> std::string"""
3376 return _IMP_isd.LognormalRestraint___repr__(self)
3381 return _object_cast_to_LognormalRestraint(o)
3383 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3384 LognormalRestraint_swigregister(LognormalRestraint)
3387 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class."""
3389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3391 def __init__(self, p1, p2, ki, sigmaG):
3392 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3393 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3395 self.this.append(this)
3396 except __builtin__.Exception:
3399 def add_contribution(self, lexp, omega):
3400 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3401 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3404 def get_number_of_contributions(self):
3405 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3406 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3409 def draw_k_from_posterior(self, kt):
3410 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3411 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3414 def get_probability(self):
3415 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3416 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3420 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3421 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3425 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3426 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3430 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3431 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3435 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3436 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3441 return _object_cast_to_LognormalAmbiguousRestraint(o)
3443 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3444 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3447 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class."""
3449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3451 def __init__(self, m, pc, sigma, gamma, Iexp):
3452 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
3453 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
3455 self.this.append(this)
3456 except __builtin__.Exception:
3459 def get_probability(self):
3460 """get_probability(AmbiguousNOERestraint self) -> double"""
3461 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
3465 """get_chi(AmbiguousNOERestraint self) -> double"""
3466 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
3470 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
3471 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
3475 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
3476 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
3480 """__str__(AmbiguousNOERestraint self) -> std::string"""
3481 return _IMP_isd.AmbiguousNOERestraint___str__(self)
3485 """__repr__(AmbiguousNOERestraint self) -> std::string"""
3486 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
3491 return _object_cast_to_AmbiguousNOERestraint(o)
3493 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
3494 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
3497 """Proxy of C++ IMP::isd::MarginalNOERestraint class."""
3499 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3501 def __init__(self, m):
3502 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
3503 this = _IMP_isd.new_MarginalNOERestraint(m)
3505 self.this.append(this)
3506 except __builtin__.Exception:
3509 def add_contribution(self, *args):
3511 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
3512 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
3514 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
3517 def get_log_gammahat(self):
3518 """get_log_gammahat(MarginalNOERestraint self) -> double"""
3519 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
3523 """get_SS(MarginalNOERestraint self) -> double"""
3524 return _IMP_isd.MarginalNOERestraint_get_SS(self)
3527 def get_number_of_contributions(self):
3528 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
3529 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
3532 def get_probability(self):
3533 """get_probability(MarginalNOERestraint self) -> double"""
3534 return _IMP_isd.MarginalNOERestraint_get_probability(self)
3538 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
3539 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
3543 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
3544 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
3548 """__str__(MarginalNOERestraint self) -> std::string"""
3549 return _IMP_isd.MarginalNOERestraint___str__(self)
3553 """__repr__(MarginalNOERestraint self) -> std::string"""
3554 return _IMP_isd.MarginalNOERestraint___repr__(self)
3559 return _object_cast_to_MarginalNOERestraint(o)
3561 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3562 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3565 """Proxy of C++ IMP::isd::MarginalHBondRestraint class."""
3567 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3569 def __init__(self, m):
3570 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3571 this = _IMP_isd.new_MarginalHBondRestraint(m)
3573 self.this.append(this)
3574 except __builtin__.Exception:
3577 def add_contribution(self, *args):
3579 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3580 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3582 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3585 def get_logsquares(self):
3586 """get_logsquares(MarginalHBondRestraint self) -> double"""
3587 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3590 def get_number_of_contributions(self):
3591 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3592 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3595 def get_probability(self):
3596 """get_probability(MarginalHBondRestraint self) -> double"""
3597 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3601 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3602 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3606 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3607 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3611 """__str__(MarginalHBondRestraint self) -> std::string"""
3612 return _IMP_isd.MarginalHBondRestraint___str__(self)
3616 """__repr__(MarginalHBondRestraint self) -> std::string"""
3617 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3622 return _object_cast_to_MarginalHBondRestraint(o)
3624 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3625 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3628 """Proxy of C++ IMP::isd::TALOSRestraint class."""
3630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3632 def __init__(self, *args):
3634 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3635 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3636 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3637 __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
3639 this = _IMP_isd.new_TALOSRestraint(*args)
3641 self.this.append(this)
3642 except __builtin__.Exception:
3645 def get_probability(self):
3646 """get_probability(TALOSRestraint self) -> double"""
3647 return _IMP_isd.TALOSRestraint_get_probability(self)
3651 """get_R0(TALOSRestraint self) -> double"""
3652 return _IMP_isd.TALOSRestraint_get_R0(self)
3655 def get_chiexp(self):
3656 """get_chiexp(TALOSRestraint self) -> double"""
3657 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3661 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3662 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3666 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3667 return _IMP_isd.TALOSRestraint_get_version_info(self)
3671 """__str__(TALOSRestraint self) -> std::string"""
3672 return _IMP_isd.TALOSRestraint___str__(self)
3676 """__repr__(TALOSRestraint self) -> std::string"""
3677 return _IMP_isd.TALOSRestraint___repr__(self)
3682 return _object_cast_to_TALOSRestraint(o)
3684 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3685 TALOSRestraint_swigregister(TALOSRestraint)
3688 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class."""
3690 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3692 def __init__(self, d0, k):
3693 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3694 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3696 self.this.append(this)
3697 except __builtin__.Exception:
3700 def get_rest_length(self):
3701 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3702 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3705 def get_stiffness(self):
3706 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3707 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3711 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3712 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3716 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3717 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
3721 """__str__(RepulsiveDistancePairScore self) -> std::string"""
3722 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
3726 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
3727 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
3732 return _object_cast_to_RepulsiveDistancePairScore(o)
3734 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
3735 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
3738 """Proxy of C++ IMP::isd::AmbiguousRestraint class."""
3740 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3742 def __init__(self, *args):
3744 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
3745 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
3747 this = _IMP_isd.new_AmbiguousRestraint(*args)
3749 self.this.append(this)
3750 except __builtin__.Exception:
3753 def get_probability(self):
3754 """get_probability(AmbiguousRestraint self) -> double"""
3755 return _IMP_isd.AmbiguousRestraint_get_probability(self)
3759 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3760 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
3764 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
3765 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
3769 """__str__(AmbiguousRestraint self) -> std::string"""
3770 return _IMP_isd.AmbiguousRestraint___str__(self)
3774 """__repr__(AmbiguousRestraint self) -> std::string"""
3775 return _IMP_isd.AmbiguousRestraint___repr__(self)
3780 return _object_cast_to_AmbiguousRestraint(o)
3782 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
3783 AmbiguousRestraint_swigregister(AmbiguousRestraint)
3785 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
3787 """Proxy of C++ IMP::isd::UnivariateFunction class."""
3789 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3791 def __init__(self, *args, **kwargs):
3792 raise AttributeError(
"No constructor defined - class is abstract")
3794 def __call__(self, *args):
3796 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
3797 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3798 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3800 return _IMP_isd.UnivariateFunction___call__(self, *args)
3803 def has_changed(self):
3804 """has_changed(UnivariateFunction self) -> bool"""
3805 return _IMP_isd.UnivariateFunction_has_changed(self)
3809 """update(UnivariateFunction self)"""
3810 return _IMP_isd.UnivariateFunction_update(self)
3813 def add_to_derivatives(self, x, accum):
3814 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
3815 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
3818 def add_to_particle_derivative(self, particle_no, value, accum):
3819 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3820 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3823 def get_derivative_vector(self, particle_no, xlist):
3824 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd"""
3825 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
3828 def get_derivative_matrix(self, xlist, stupid):
3829 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
3830 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
3833 def get_second_derivative_vector(self, *args):
3835 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3836 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3838 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
3841 def get_ndims_x(self):
3842 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
3843 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
3846 def get_ndims_y(self):
3847 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
3848 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
3851 def get_number_of_particles(self):
3852 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
3853 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
3856 def get_particle_is_optimized(self, particle_no):
3857 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
3858 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
3861 def get_number_of_optimized_particles(self):
3862 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
3863 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
3867 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
3868 return _IMP_isd.UnivariateFunction_get_inputs(self)
3870 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
3871 __del__ =
lambda self:
None
3874 """__str__(UnivariateFunction self) -> std::string"""
3875 return _IMP_isd.UnivariateFunction___str__(self)
3879 """__repr__(UnivariateFunction self) -> std::string"""
3880 return _IMP_isd.UnivariateFunction___repr__(self)
3885 return _object_cast_to_UnivariateFunction(o)
3887 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
3888 UnivariateFunction_swigregister(UnivariateFunction)
3890 class Linear1DFunction(UnivariateFunction):
3891 """Proxy of C++ IMP::isd::Linear1DFunction class."""
3893 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3895 def __init__(self, a, b):
3896 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
3897 this = _IMP_isd.new_Linear1DFunction(a, b)
3899 self.this.append(this)
3900 except __builtin__.Exception:
3903 def __call__(self, *args):
3905 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
3906 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3907 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3909 return _IMP_isd.Linear1DFunction___call__(self, *args)
3912 def get_second_derivative_vector(self, *args):
3914 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3915 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3917 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
3921 """get_version_info(Linear1DFunction self) -> VersionInfo"""
3922 return _IMP_isd.Linear1DFunction_get_version_info(self)
3926 """__str__(Linear1DFunction self) -> std::string"""
3927 return _IMP_isd.Linear1DFunction___str__(self)
3931 """__repr__(Linear1DFunction self) -> std::string"""
3932 return _IMP_isd.Linear1DFunction___repr__(self)
3937 return _object_cast_to_Linear1DFunction(o)
3939 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
3940 Linear1DFunction_swigregister(Linear1DFunction)
3942 class GeneralizedGuinierPorodFunction(UnivariateFunction):
3943 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class."""
3945 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3947 def __init__(self, G, Rg, d, s, A):
3948 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
3949 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
3951 self.this.append(this)
3952 except __builtin__.Exception:
3955 def __call__(self, *args):
3957 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
3958 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3959 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3961 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
3964 def get_second_derivative_vector(self, *args):
3966 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3967 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3969 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
3973 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
3974 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
3978 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
3979 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
3983 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
3984 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
3989 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
3991 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
3992 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
3994 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
3996 """Proxy of C++ IMP::isd::BivariateFunction class."""
3998 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4000 def __init__(self, *args, **kwargs):
4001 raise AttributeError(
"No constructor defined - class is abstract")
4003 def __call__(self, *args):
4005 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4006 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
4007 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4009 return _IMP_isd.BivariateFunction___call__(self, *args)
4012 def has_changed(self):
4013 """has_changed(BivariateFunction self) -> bool"""
4014 return _IMP_isd.BivariateFunction_has_changed(self)
4018 """update(BivariateFunction self)"""
4019 return _IMP_isd.BivariateFunction_update(self)
4022 def add_to_derivatives(self, x1, x2, accum):
4023 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
4024 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
4027 def add_to_particle_derivative(self, particle_no, value, accum):
4028 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4029 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4032 def get_derivative_matrix(self, *args):
4034 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
4035 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4037 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
4040 def get_second_derivative_matrix(self, *args):
4042 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
4043 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4045 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
4048 def get_ndims_x1(self):
4049 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
4050 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
4053 def get_ndims_x2(self):
4054 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
4055 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4058 def get_ndims_y(self):
4059 """get_ndims_y(BivariateFunction self) -> unsigned int"""
4060 return _IMP_isd.BivariateFunction_get_ndims_y(self)
4063 def get_number_of_particles(self):
4064 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4065 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4068 def get_particle_is_optimized(self, particle_no):
4069 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4070 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4073 def get_number_of_optimized_particles(self):
4074 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4075 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4079 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4080 return _IMP_isd.BivariateFunction_get_inputs(self)
4082 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4083 __del__ =
lambda self:
None
4086 """__str__(BivariateFunction self) -> std::string"""
4087 return _IMP_isd.BivariateFunction___str__(self)
4091 """__repr__(BivariateFunction self) -> std::string"""
4092 return _IMP_isd.BivariateFunction___repr__(self)
4097 return _object_cast_to_BivariateFunction(o)
4099 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4100 BivariateFunction_swigregister(BivariateFunction)
4102 class Covariance1DFunction(BivariateFunction):
4103 """Proxy of C++ IMP::isd::Covariance1DFunction class."""
4105 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4107 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4109 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4110 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4111 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4112 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4114 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4116 self.this.append(this)
4117 except __builtin__.Exception:
4120 def __call__(self, *args):
4122 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4123 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
4124 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4126 return _IMP_isd.Covariance1DFunction___call__(self, *args)
4129 def get_derivative_matrix(self, *args):
4131 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
4132 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4134 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4137 def get_second_derivative_matrix(self, *args):
4139 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
4140 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4142 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4146 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4147 return _IMP_isd.Covariance1DFunction_get_version_info(self)
4151 """__str__(Covariance1DFunction self) -> std::string"""
4152 return _IMP_isd.Covariance1DFunction___str__(self)
4156 """__repr__(Covariance1DFunction self) -> std::string"""
4157 return _IMP_isd.Covariance1DFunction___repr__(self)
4162 return _object_cast_to_Covariance1DFunction(o)
4164 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4165 Covariance1DFunction_swigregister(Covariance1DFunction)
4167 class GaussianProcessInterpolation(
IMP.Object):
4168 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class."""
4170 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4172 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4174 __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
4175 __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
4177 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4179 self.this.append(this)
4180 except __builtin__.Exception:
4183 def get_posterior_mean(self, x):
4184 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4185 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4188 def get_posterior_covariance(self, x1, x2):
4189 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4190 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4193 def get_posterior_covariance_matrix(self, x, arg3):
4194 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4195 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4198 def get_posterior_covariance_derivative(self, x, arg3):
4199 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4200 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4203 def get_posterior_covariance_hessian(self, x, arg3):
4204 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4205 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4209 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4210 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4213 def force_mean_update(self):
4214 """force_mean_update(GaussianProcessInterpolation self)"""
4215 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4218 def force_covariance_update(self):
4219 """force_covariance_update(GaussianProcessInterpolation self)"""
4220 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4223 def get_number_of_m_particles(self):
4224 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4225 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4228 def get_m_particle_is_optimized(self, i):
4229 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4230 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4233 def get_number_of_Omega_particles(self):
4234 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4235 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4238 def get_Omega_particle_is_optimized(self, i):
4239 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4240 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4243 def get_data_abscissa(self):
4244 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4245 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4248 def get_data_mean(self):
4249 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4250 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4253 def get_data_variance(self):
4254 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4255 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4259 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4260 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4264 """__str__(GaussianProcessInterpolation self) -> std::string"""
4265 return _IMP_isd.GaussianProcessInterpolation___str__(self)
4269 """__repr__(GaussianProcessInterpolation self) -> std::string"""
4270 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4275 return _object_cast_to_GaussianProcessInterpolation(o)
4277 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4278 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4281 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class."""
4283 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4285 def __init__(self, m, gpi):
4286 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4287 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4289 self.this.append(this)
4290 except __builtin__.Exception:
4293 def get_probability(self):
4294 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4295 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4299 """stats(GaussianProcessInterpolationRestraint self)"""
4300 return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
4303 def set_use_cg(self, use, tol):
4304 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4305 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4308 def get_minus_log_normalization(self):
4309 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4310 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4313 def get_minus_exponent(self):
4314 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4315 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4318 def get_logdet_hessian(self):
4319 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4320 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4323 def get_hessian(self, *args):
4325 get_hessian(GaussianProcessInterpolationRestraint self) -> IMP_Eigen::MatrixXd
4326 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4328 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4332 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4333 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4337 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4338 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4342 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4343 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4347 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4348 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4353 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4355 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4356 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4359 """Proxy of C++ IMP::isd::MolecularDynamics class."""
4361 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4363 def __init__(self, m=None):
4365 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4366 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4368 this = _IMP_isd.new_MolecularDynamics(m)
4370 self.this.append(this)
4371 except __builtin__.Exception:
4375 """__str__(MolecularDynamics self) -> std::string"""
4376 return _IMP_isd.MolecularDynamics___str__(self)
4380 """__repr__(MolecularDynamics self) -> std::string"""
4381 return _IMP_isd.MolecularDynamics___repr__(self)
4386 return _object_cast_to_MolecularDynamics(o)
4388 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4389 __del__ =
lambda self:
None
4390 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4391 MolecularDynamics_swigregister(MolecularDynamics)
4394 """Proxy of C++ IMP::isd::MolecularDynamicsMover class."""
4396 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4398 def __init__(self, m, nsteps=100, timestep=1.):
4400 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4401 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4402 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4404 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4406 self.this.append(this)
4407 except __builtin__.Exception:
4411 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4412 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4415 def get_number_of_md_steps(self):
4416 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4417 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4420 def set_number_of_md_steps(self, nsteps):
4421 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4422 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4426 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4427 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4431 """__str__(MolecularDynamicsMover self) -> std::string"""
4432 return _IMP_isd.MolecularDynamicsMover___str__(self)
4436 """__repr__(MolecularDynamicsMover self) -> std::string"""
4437 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4442 return _object_cast_to_MolecularDynamicsMover(o)
4444 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4445 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4448 """Proxy of C++ IMP::isd::HybridMonteCarlo class."""
4450 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4452 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4454 __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
4455 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4456 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4457 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4458 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4460 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4462 self.this.append(this)
4463 except __builtin__.Exception:
4466 def get_kinetic_energy(self):
4467 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
4468 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
4471 def get_potential_energy(self):
4472 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
4473 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
4476 def get_total_energy(self):
4477 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
4478 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
4481 def set_timestep(self, ts):
4482 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
4483 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
4486 def get_timestep(self):
4487 """get_timestep(HybridMonteCarlo self) -> double"""
4488 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
4491 def set_number_of_md_steps(self, nsteps):
4492 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
4493 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
4496 def get_number_of_md_steps(self):
4497 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
4498 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
4501 def set_persistence(self, persistence=1):
4503 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
4504 set_persistence(HybridMonteCarlo self)
4506 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
4509 def get_persistence(self):
4510 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
4511 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
4515 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
4516 return _IMP_isd.HybridMonteCarlo_get_md(self)
4519 def do_evaluate(self, arg2):
4520 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
4521 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
4525 """do_step(HybridMonteCarlo self)"""
4526 return _IMP_isd.HybridMonteCarlo_do_step(self)
4530 """__str__(HybridMonteCarlo self) -> std::string"""
4531 return _IMP_isd.HybridMonteCarlo___str__(self)
4535 """__repr__(HybridMonteCarlo self) -> std::string"""
4536 return _IMP_isd.HybridMonteCarlo___repr__(self)
4541 return _object_cast_to_HybridMonteCarlo(o)
4543 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
4544 HybridMonteCarlo_swigregister(HybridMonteCarlo)
4547 """Proxy of C++ IMP::isd::FretData class."""
4549 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4551 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
4553 __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
4554 __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
4556 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
4558 self.this.append(this)
4559 except __builtin__.Exception:
4562 def get_closest(self, vec, value):
4563 """get_closest(FretData self, DistBase vec, double value) -> int"""
4564 return _IMP_isd.FretData_get_closest(self, vec, value)
4567 def get_probability(self, distn, dist, sigma):
4568 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4569 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4572 def get_kernel(self, dist, R0):
4573 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4574 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4577 def get_marginal_element(self, d_term, d_center, sigma):
4578 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4579 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4583 """get_version_info(FretData self) -> VersionInfo"""
4584 return _IMP_isd.FretData_get_version_info(self)
4588 """__str__(FretData self) -> std::string"""
4589 return _IMP_isd.FretData___str__(self)
4593 """__repr__(FretData self) -> std::string"""
4594 return _IMP_isd.FretData___repr__(self)
4599 return _object_cast_to_FretData(o)
4601 FretData_swigregister = _IMP_isd.FretData_swigregister
4602 FretData_swigregister(FretData)
4605 """Proxy of C++ IMP::isd::FretRestraint class."""
4607 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4609 def __init__(self, *args):
4611 __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
4612 __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
4613 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4614 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4615 __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
4617 this = _IMP_isd.new_FretRestraint(*args)
4619 self.this.append(this)
4620 except __builtin__.Exception:
4623 def get_sumFi(self):
4624 """get_sumFi(FretRestraint self) -> double"""
4625 return _IMP_isd.FretRestraint_get_sumFi(self)
4628 def get_average_sigma(self, fmod):
4629 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4630 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4633 def get_standard_error(self):
4634 """get_standard_error(FretRestraint self) -> double"""
4635 return _IMP_isd.FretRestraint_get_standard_error(self)
4638 def get_model_fretr(self):
4639 """get_model_fretr(FretRestraint self) -> double"""
4640 return _IMP_isd.FretRestraint_get_model_fretr(self)
4643 def get_probability(self):
4644 """get_probability(FretRestraint self) -> double"""
4645 return _IMP_isd.FretRestraint_get_probability(self)
4648 def get_experimental_value(self):
4649 """get_experimental_value(FretRestraint self) -> double"""
4650 return _IMP_isd.FretRestraint_get_experimental_value(self)
4653 def set_experimental_value(self, fexp):
4654 """set_experimental_value(FretRestraint self, double fexp)"""
4655 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4659 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4660 return _IMP_isd.FretRestraint_do_get_inputs(self)
4664 """get_version_info(FretRestraint self) -> VersionInfo"""
4665 return _IMP_isd.FretRestraint_get_version_info(self)
4669 """__str__(FretRestraint self) -> std::string"""
4670 return _IMP_isd.FretRestraint___str__(self)
4674 """__repr__(FretRestraint self) -> std::string"""
4675 return _IMP_isd.FretRestraint___repr__(self)
4680 return _object_cast_to_FretRestraint(o)
4682 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4683 FretRestraint_swigregister(FretRestraint)
4686 """Proxy of C++ IMP::isd::CysteineCrossLinkData class."""
4688 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4690 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4692 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4693 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4695 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4697 self.this.append(this)
4698 except __builtin__.Exception:
4701 def get_closest(self, vec, value):
4702 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4703 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4706 def get_omegas(self, fmods, omega0):
4707 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4708 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4711 def get_nonmarginal_elements(self, fexp, fmods, omega):
4712 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4713 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4716 def get_marginal_elements(self, fmods, omega0):
4717 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4718 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4721 def get_omega(self, fmod, omega0):
4722 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4723 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
4726 def get_standard_deviation(self, fmod, omega0):
4727 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4728 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
4731 def get_nonmarginal_element(self, fexp, fmod, omega):
4732 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
4733 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
4736 def get_marginal_element(self, fmod, omega0):
4737 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4738 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
4742 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
4743 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
4747 """__str__(CysteineCrossLinkData self) -> std::string"""
4748 return _IMP_isd.CysteineCrossLinkData___str__(self)
4752 """__repr__(CysteineCrossLinkData self) -> std::string"""
4753 return _IMP_isd.CysteineCrossLinkData___repr__(self)
4758 return _object_cast_to_CysteineCrossLinkData(o)
4760 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
4761 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
4764 """Proxy of C++ IMP::isd::CrossLinkData class."""
4766 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4768 def __init__(self, *args):
4770 __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
4771 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
4772 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
4773 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
4774 __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
4775 __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
4776 __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
4777 __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
4779 this = _IMP_isd.new_CrossLinkData(*args)
4781 self.this.append(this)
4782 except __builtin__.Exception:
4785 def get_closest(self, vec, value):
4786 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
4787 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
4790 def get_omegas(self, sigma, dists):
4791 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4792 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
4795 def get_omega_prior(self, omega, omega0):
4796 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
4797 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
4800 def get_nonmarginal_elements(self, sigmai, dists):
4801 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
4802 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
4805 def get_marginal_elements(self, sigma, dists):
4806 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4807 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
4810 def get_marginal_maximum(self, *args):
4812 get_marginal_maximum(CrossLinkData self, double sigma) -> double
4813 get_marginal_maximum(CrossLinkData self) -> double
4815 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
4819 """get_version_info(CrossLinkData self) -> VersionInfo"""
4820 return _IMP_isd.CrossLinkData_get_version_info(self)
4824 """__str__(CrossLinkData self) -> std::string"""
4825 return _IMP_isd.CrossLinkData___str__(self)
4829 """__repr__(CrossLinkData self) -> std::string"""
4830 return _IMP_isd.CrossLinkData___repr__(self)
4835 return _object_cast_to_CrossLinkData(o)
4837 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
4838 CrossLinkData_swigregister(CrossLinkData)
4841 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class."""
4843 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4845 def __init__(self, *args):
4847 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
4848 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
4850 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
4852 self.this.append(this)
4853 except __builtin__.Exception:
4856 def get_probability(self):
4857 """get_probability(CysteineCrossLinkRestraint self) -> double"""
4858 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
4861 def get_standard_error(self):
4862 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
4863 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
4866 def get_frequencies(self):
4867 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4868 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
4871 def get_model_frequency(self):
4872 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
4873 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
4876 def get_distances(self):
4877 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4878 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
4881 def get_truncated_normalization(self, mean, sigma):
4882 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
4883 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
4886 def get_normal_pdf(self, mean, sigma, x):
4887 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
4888 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
4891 def add_contribution(self, *args):
4893 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
4894 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
4896 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
4899 def get_CB_coordinates(self, ps):
4900 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
4901 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
4904 def get_number_of_contributions(self):
4905 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
4906 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
4910 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
4911 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
4915 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
4916 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
4920 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
4921 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
4925 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
4926 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
4931 return _object_cast_to_CysteineCrossLinkRestraint(o)
4933 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
4934 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
4937 """Proxy of C++ IMP::isd::WeightMover class."""
4939 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4941 def __init__(self, w, radius):
4942 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
4943 this = _IMP_isd.new_WeightMover(w, radius)
4945 self.this.append(this)
4946 except __builtin__.Exception:
4949 def set_radius(self, radius):
4950 """set_radius(WeightMover self, IMP::Float radius)"""
4951 return _IMP_isd.WeightMover_set_radius(self, radius)
4954 def get_radius(self):
4955 """get_radius(WeightMover self) -> IMP::Float"""
4956 return _IMP_isd.WeightMover_get_radius(self)
4960 """get_version_info(WeightMover self) -> VersionInfo"""
4961 return _IMP_isd.WeightMover_get_version_info(self)
4965 """__str__(WeightMover self) -> std::string"""
4966 return _IMP_isd.WeightMover___str__(self)
4970 """__repr__(WeightMover self) -> std::string"""
4971 return _IMP_isd.WeightMover___repr__(self)
4976 return _object_cast_to_WeightMover(o)
4978 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
4979 WeightMover_swigregister(WeightMover)
4982 """Proxy of C++ IMP::isd::WeightRestraint class."""
4984 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4986 def __init__(self, w, wmin, wmax, kappa):
4987 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
4988 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
4990 self.this.append(this)
4991 except __builtin__.Exception:
4995 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
4996 return _IMP_isd.WeightRestraint_do_get_inputs(self)
5000 """get_version_info(WeightRestraint self) -> VersionInfo"""
5001 return _IMP_isd.WeightRestraint_get_version_info(self)
5005 """__str__(WeightRestraint self) -> std::string"""
5006 return _IMP_isd.WeightRestraint___str__(self)
5010 """__repr__(WeightRestraint self) -> std::string"""
5011 return _IMP_isd.WeightRestraint___repr__(self)
5016 return _object_cast_to_WeightRestraint(o)
5018 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
5019 WeightRestraint_swigregister(WeightRestraint)
5022 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class."""
5024 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5026 def __init__(self, *args):
5028 __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
5029 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
5030 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
5031 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
5033 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
5035 self.this.append(this)
5036 except __builtin__.Exception:
5039 def add_contribution(self, ppi, sigmas):
5040 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
5041 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
5044 def evaluate_for_contributions(self, c, accum):
5045 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
5046 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
5049 def get_number_of_contributions(self):
5050 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
5051 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
5054 def get_contribution(self, i):
5055 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5056 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
5059 def get_contribution_sigmas(self, i):
5060 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5061 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5065 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5066 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5070 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5071 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5074 def show(self, out):
5075 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5076 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5079 def set_slope(self, slope):
5080 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5081 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5084 def set_part_of_log_score(self, hey):
5085 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5086 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5090 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5091 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5095 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5096 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5100 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5101 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5106 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5108 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5109 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5112 """Proxy of C++ IMP::isd::GaussianEMRestraint class."""
5114 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5116 def __init__(self, *args):
5118 __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
5119 __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
5120 __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
5121 __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
5122 __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
5124 this = _IMP_isd.new_GaussianEMRestraint(*args)
5126 self.this.append(this)
5127 except __builtin__.Exception:
5130 def get_probability(self):
5131 """get_probability(GaussianEMRestraint self) -> double"""
5132 return _IMP_isd.GaussianEMRestraint_get_probability(self)
5136 """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5137 return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5140 def compute_initial_scores(self):
5141 """compute_initial_scores(GaussianEMRestraint self)"""
5142 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5145 def set_slope(self, s):
5146 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5147 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5150 def get_slope(self):
5151 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5152 return _IMP_isd.GaussianEMRestraint_get_slope(self)
5156 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5157 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5160 def show(self, out):
5161 """show(GaussianEMRestraint self, _ostream out)"""
5162 return _IMP_isd.GaussianEMRestraint_show(self, out)
5166 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5167 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5171 """__str__(GaussianEMRestraint self) -> std::string"""
5172 return _IMP_isd.GaussianEMRestraint___str__(self)
5176 """__repr__(GaussianEMRestraint self) -> std::string"""
5177 return _IMP_isd.GaussianEMRestraint___repr__(self)
5182 return _object_cast_to_GaussianEMRestraint(o)
5184 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5185 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5187 class GaussianAnchorEMRestraint(ISDRestraint):
5188 """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class."""
5190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5192 def __init__(self, *args):
5194 __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
5195 __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
5197 this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5199 self.this.append(this)
5200 except __builtin__.Exception:
5203 def get_density_particles(self):
5204 """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5205 return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5209 """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5210 return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5214 """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5215 return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5220 return _object_cast_to_GaussianAnchorEMRestraint(o)
5222 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5223 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5226 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5228 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5229 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5231 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5233 def get_module_version():
5234 """get_module_version() -> std::string const"""
5235 return _IMP_isd.get_module_version()
5238 """get_example_path(std::string fname) -> std::string"""
5239 return _IMP_isd.get_example_path(fname)
5242 """get_data_path(std::string fname) -> std::string"""
5243 return _IMP_isd.get_data_path(fname)
5245 from .
import _version_check
5246 _version_check.check_version(get_module_version())
5247 __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.
Class for storing model, its restraints, constraints, and particles.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
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.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
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.