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(
"FNormal")
457 def _object_cast_to_FNormal(o):
458 """_object_cast_to_FNormal(Object o) -> FNormal"""
459 return _IMP_isd._object_cast_to_FNormal(o)
461 _object_types.append(
"vonMises")
464 def _object_cast_to_vonMises(o):
465 """_object_cast_to_vonMises(Object o) -> vonMises"""
466 return _IMP_isd._object_cast_to_vonMises(o)
468 _object_types.append(
"vonMisesSufficient")
471 def _object_cast_to_vonMisesSufficient(o):
472 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
473 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
476 return [Nuisance(x)
for x
in l]
477 _plural_types.append(
"Nuisances")
480 _value_types.append(
"Nuisance")
484 return [Scale(x)
for x
in l]
485 _plural_types.append(
"Scales")
488 _value_types.append(
"Scale")
491 def Switchings(l=[]):
492 return [Switching(x)
for x
in l]
493 _plural_types.append(
"Switchings")
496 _value_types.append(
"Switching")
499 _object_types.append(
"NOERestraint")
502 def _object_cast_to_NOERestraint(o):
503 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
504 return _IMP_isd._object_cast_to_NOERestraint(o)
507 return [Weight(x)
for x
in l]
508 _plural_types.append(
"Weights")
511 _value_types.append(
"Weight")
514 _object_types.append(
"GaussianRestraint")
517 def _object_cast_to_GaussianRestraint(o):
518 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
519 return _IMP_isd._object_cast_to_GaussianRestraint(o)
521 _object_types.append(
"LognormalRestraint")
524 def _object_cast_to_LognormalRestraint(o):
525 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
526 return _IMP_isd._object_cast_to_LognormalRestraint(o)
528 _object_types.append(
"LognormalAmbiguousRestraint")
531 def _object_cast_to_LognormalAmbiguousRestraint(o):
532 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
533 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
535 _object_types.append(
"AmbiguousNOERestraint")
538 def _object_cast_to_AmbiguousNOERestraint(o):
539 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
540 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
542 _object_types.append(
"MarginalNOERestraint")
545 def _object_cast_to_MarginalNOERestraint(o):
546 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
547 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
549 _object_types.append(
"MarginalHBondRestraint")
552 def _object_cast_to_MarginalHBondRestraint(o):
553 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
554 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
556 _object_types.append(
"TALOSRestraint")
559 def _object_cast_to_TALOSRestraint(o):
560 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
561 return _IMP_isd._object_cast_to_TALOSRestraint(o)
563 _object_types.append(
"RepulsiveDistancePairScore")
566 def _object_cast_to_RepulsiveDistancePairScore(o):
567 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
568 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
570 _object_types.append(
"AmbiguousRestraint")
573 def _object_cast_to_AmbiguousRestraint(o):
574 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
575 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
577 _object_types.append(
"UnivariateFunction")
580 def _object_cast_to_UnivariateFunction(o):
581 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
582 return _IMP_isd._object_cast_to_UnivariateFunction(o)
584 _object_types.append(
"Linear1DFunction")
587 def _object_cast_to_Linear1DFunction(o):
588 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
589 return _IMP_isd._object_cast_to_Linear1DFunction(o)
591 _object_types.append(
"GeneralizedGuinierPorodFunction")
594 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
595 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
596 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
598 _object_types.append(
"BivariateFunction")
601 def _object_cast_to_BivariateFunction(o):
602 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
603 return _IMP_isd._object_cast_to_BivariateFunction(o)
605 _object_types.append(
"Covariance1DFunction")
608 def _object_cast_to_Covariance1DFunction(o):
609 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
610 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
612 _object_types.append(
"GaussianProcessInterpolation")
615 def _object_cast_to_GaussianProcessInterpolation(o):
616 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
617 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
619 _object_types.append(
"GaussianProcessInterpolationRestraint")
622 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
623 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
624 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
626 _object_types.append(
"MolecularDynamics")
629 _object_types.append(
"MolecularDynamicsMover")
632 def _object_cast_to_MolecularDynamicsMover(o):
633 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
634 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
636 _object_types.append(
"HybridMonteCarlo")
639 def _object_cast_to_HybridMonteCarlo(o):
640 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
641 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
643 _object_types.append(
"FretData")
646 def _object_cast_to_FretData(o):
647 """_object_cast_to_FretData(Object o) -> FretData"""
648 return _IMP_isd._object_cast_to_FretData(o)
650 _object_types.append(
"FretRestraint")
653 def _object_cast_to_FretRestraint(o):
654 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
655 return _IMP_isd._object_cast_to_FretRestraint(o)
657 _object_types.append(
"CrossLinkData")
660 def _object_cast_to_CrossLinkData(o):
661 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
662 return _IMP_isd._object_cast_to_CrossLinkData(o)
664 _object_types.append(
"CysteineCrossLinkData")
667 def _object_cast_to_CysteineCrossLinkData(o):
668 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
669 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
671 _object_types.append(
"CysteineCrossLinkRestraint")
674 def _object_cast_to_CysteineCrossLinkRestraint(o):
675 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
676 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
678 _object_types.append(
"WeightMover")
681 def _object_cast_to_WeightMover(o):
682 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
683 return _IMP_isd._object_cast_to_WeightMover(o)
685 _object_types.append(
"WeightRestraint")
688 def _object_cast_to_WeightRestraint(o):
689 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
690 return _IMP_isd._object_cast_to_WeightRestraint(o)
692 _object_types.append(
"AtomicCrossLinkMSRestraint")
695 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
696 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
697 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
699 _object_types.append(
"GaussianEMRestraint")
702 def _object_cast_to_GaussianEMRestraint(o):
703 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
704 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
706 _object_types.append(
"GaussianAnchorEMRestraint")
709 def _object_cast_to_GaussianAnchorEMRestraint(o):
710 """_object_cast_to_GaussianAnchorEMRestraint(Object o) -> GaussianAnchorEMRestraint"""
711 return _IMP_isd._object_cast_to_GaussianAnchorEMRestraint(o)
713 def create_model_and_particles():
718 for i
in range(0,100):
722 d.set_coordinates_are_optimized(
True)
726 """Proxy of C++ IMP::isd::ISDRestraint class."""
728 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
730 def __init__(self, m, name):
731 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
732 if self.__class__ == ISDRestraint:
736 this = _IMP_isd.new_ISDRestraint(_self, m, name)
738 self.this.append(this)
739 except __builtin__.Exception:
742 if self.__class__ != ISDRestraint:
743 _director_objects.register(self)
748 def get_probability(self):
749 """get_probability(ISDRestraint self) -> double"""
750 return _IMP_isd.ISDRestraint_get_probability(self)
753 def unprotected_evaluate(self, accum):
754 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
755 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
759 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
760 return _IMP_isd.ISDRestraint_do_get_inputs(self)
763 def get_type_name(self):
764 """get_type_name(ISDRestraint self) -> std::string"""
765 return _IMP_isd.ISDRestraint_get_type_name(self)
769 """get_version_info(ISDRestraint self) -> VersionInfo"""
770 return _IMP_isd.ISDRestraint_get_version_info(self)
774 """__str__(ISDRestraint self) -> std::string"""
775 return _IMP_isd.ISDRestraint___str__(self)
779 """__repr__(ISDRestraint self) -> std::string"""
780 return _IMP_isd.ISDRestraint___repr__(self)
785 return _object_cast_to_ISDRestraint(o)
788 def get_type_name(self):
789 return self.__class__.__name__
790 def do_show(self, out):
793 if"IMP::isd" ==
"IMP":
794 return VersionInfo(self.__module__,
795 __import__(self.__module__).get_module_version())
798 __import__(self.__module__).get_module_version())
801 return _object_cast_to_ISDRestraint(o)
803 def __disown__(self):
805 _IMP_isd.disown_ISDRestraint(self)
806 return weakref_proxy(self)
809 """do_destroy(ISDRestraint self)"""
810 return _IMP_isd.ISDRestraint_do_destroy(self)
813 def handle_set_has_required_score_states(self, arg0):
814 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
815 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
819 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
820 return _IMP_isd.ISDRestraint_do_get_outputs(self)
823 def do_get_interactions(self):
824 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
825 return _IMP_isd.ISDRestraint_do_get_interactions(self)
828 def do_create_decomposition(self):
829 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
830 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
833 def do_create_current_decomposition(self):
834 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
835 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
838 def do_add_score_and_derivatives(self, sa):
839 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
840 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
842 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
843 ISDRestraint_swigregister(ISDRestraint)
846 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class."""
848 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
850 def __init__(self, *args):
852 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
853 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
854 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
855 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
856 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
857 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
858 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
859 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
860 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
862 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
864 self.this.append(this)
865 except __builtin__.Exception:
868 def add_contribution(self, pps, sigmas, psi):
869 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
870 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
873 def get_probability(self):
874 """get_probability(CrossLinkMSRestraint self) -> double"""
875 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
878 def get_number_of_contributions(self):
879 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
880 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
884 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
885 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
889 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
890 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
894 """__str__(CrossLinkMSRestraint self) -> std::string"""
895 return _IMP_isd.CrossLinkMSRestraint___str__(self)
899 """__repr__(CrossLinkMSRestraint self) -> std::string"""
900 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
905 return _object_cast_to_CrossLinkMSRestraint(o)
907 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
908 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
911 """Proxy of C++ IMP::isd::LogWrapper class."""
913 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
915 def __init__(self, *args):
917 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
918 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
919 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
920 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
921 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
922 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
924 this = _IMP_isd.new_LogWrapper(*args)
926 self.this.append(this)
927 except __builtin__.Exception:
931 """do_get_inputs(LogWrapper self) -> IMP::ModelObjectsTemp"""
932 return _IMP_isd.LogWrapper_do_get_inputs(self)
936 """get_version_info(LogWrapper self) -> VersionInfo"""
937 return _IMP_isd.LogWrapper_get_version_info(self)
940 def remove_restraint(self, d):
941 """remove_restraint(LogWrapper self, Restraint d)"""
942 return _IMP_isd.LogWrapper_remove_restraint(self, d)
945 def remove_restraints(self, d):
946 """remove_restraints(LogWrapper self, IMP::Restraints const & d)"""
947 return _IMP_isd.LogWrapper_remove_restraints(self, d)
950 def set_restraints(self, ps):
951 """set_restraints(LogWrapper self, IMP::Restraints const & ps)"""
952 return _IMP_isd.LogWrapper_set_restraints(self, ps)
955 def set_restraints_order(self, objs):
956 """set_restraints_order(LogWrapper self, IMP::Restraints const & objs)"""
957 return _IMP_isd.LogWrapper_set_restraints_order(self, objs)
961 """add_restraint(LogWrapper self, Restraint obj) -> unsigned int"""
962 return _IMP_isd.LogWrapper_add_restraint(self, obj)
966 """add_restraints(LogWrapper self, IMP::Restraints const & objs)"""
967 return _IMP_isd.LogWrapper_add_restraints(self, objs)
970 def clear_restraints(self):
971 """clear_restraints(LogWrapper self)"""
972 return _IMP_isd.LogWrapper_clear_restraints(self)
975 def get_number_of_restraints(self):
976 """get_number_of_restraints(LogWrapper self) -> unsigned int"""
977 return _IMP_isd.LogWrapper_get_number_of_restraints(self)
980 def get_has_restraints(self):
981 """get_has_restraints(LogWrapper self) -> bool"""
982 return _IMP_isd.LogWrapper_get_has_restraints(self)
985 def get_restraint(self, i):
986 """get_restraint(LogWrapper self, unsigned int i) -> Restraint"""
987 return _IMP_isd.LogWrapper_get_restraint(self, i)
990 def get_restraints(self):
991 """get_restraints(LogWrapper self) -> IMP::Restraints"""
992 return _IMP_isd.LogWrapper_get_restraints(self)
995 def reserve_restraints(self, sz):
996 """reserve_restraints(LogWrapper self, unsigned int sz)"""
997 return _IMP_isd.LogWrapper_reserve_restraints(self, sz)
1001 """__str__(LogWrapper self) -> std::string"""
1002 return _IMP_isd.LogWrapper___str__(self)
1006 """__repr__(LogWrapper self) -> std::string"""
1007 return _IMP_isd.LogWrapper___repr__(self)
1012 return _object_cast_to_LogWrapper(o)
1014 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1015 LogWrapper_swigregister(LogWrapper)
1018 """Proxy of C++ IMP::isd::UniformPrior class."""
1020 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1022 def __init__(self, *args):
1024 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1025 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1027 this = _IMP_isd.new_UniformPrior(*args)
1029 self.this.append(this)
1030 except __builtin__.Exception:
1034 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1035 return _IMP_isd.UniformPrior_do_get_inputs(self)
1039 """get_version_info(UniformPrior self) -> VersionInfo"""
1040 return _IMP_isd.UniformPrior_get_version_info(self)
1043 def get_probability(self):
1044 """get_probability(UniformPrior self) -> double"""
1045 return _IMP_isd.UniformPrior_get_probability(self)
1049 """__str__(UniformPrior self) -> std::string"""
1050 return _IMP_isd.UniformPrior___str__(self)
1054 """__repr__(UniformPrior self) -> std::string"""
1055 return _IMP_isd.UniformPrior___repr__(self)
1060 return _object_cast_to_UniformPrior(o)
1062 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1063 UniformPrior_swigregister(UniformPrior)
1066 """Proxy of C++ IMP::isd::Nuisance class."""
1068 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1070 def __init__(self, *args):
1072 __init__(IMP::isd::Nuisance self) -> Nuisance
1073 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1074 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1076 this = _IMP_isd.new_Nuisance(*args)
1078 self.this.append(this)
1079 except __builtin__.Exception:
1082 def show(self, *args):
1084 show(Nuisance self, _ostream out)
1087 return _IMP_isd.Nuisance_show(self, *args)
1090 def setup_particle(*args):
1092 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1093 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1094 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1095 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1097 return _IMP_isd.Nuisance_setup_particle(*args)
1099 setup_particle = staticmethod(setup_particle)
1101 def get_is_setup(*args):
1103 get_is_setup(_ParticleAdaptor p) -> bool
1104 get_is_setup(Model m, ParticleIndex pi) -> bool
1106 return _IMP_isd.Nuisance_get_is_setup(*args)
1108 get_is_setup = staticmethod(get_is_setup)
1110 def get_nuisance_key():
1111 """get_nuisance_key() -> FloatKey"""
1112 return _IMP_isd.Nuisance_get_nuisance_key()
1114 get_nuisance_key = staticmethod(get_nuisance_key)
1116 def get_nuisance(self):
1117 """get_nuisance(Nuisance self) -> IMP::Float"""
1118 return _IMP_isd.Nuisance_get_nuisance(self)
1121 def set_nuisance(self, d):
1122 """set_nuisance(Nuisance self, IMP::Float d)"""
1123 return _IMP_isd.Nuisance_set_nuisance(self, d)
1126 def get_has_lower(self):
1127 """get_has_lower(Nuisance self) -> bool"""
1128 return _IMP_isd.Nuisance_get_has_lower(self)
1131 def get_lower(self):
1132 """get_lower(Nuisance self) -> IMP::Float"""
1133 return _IMP_isd.Nuisance_get_lower(self)
1136 def get_lower_key():
1137 """get_lower_key() -> FloatKey"""
1138 return _IMP_isd.Nuisance_get_lower_key()
1140 get_lower_key = staticmethod(get_lower_key)
1142 def get_lower_particle_key():
1143 """get_lower_particle_key() -> ParticleIndexKey"""
1144 return _IMP_isd.Nuisance_get_lower_particle_key()
1146 get_lower_particle_key = staticmethod(get_lower_particle_key)
1148 def set_lower(self, *args):
1150 set_lower(Nuisance self, IMP::Float d)
1151 set_lower(Nuisance self, Particle d)
1153 return _IMP_isd.Nuisance_set_lower(self, *args)
1156 def remove_lower(self):
1157 """remove_lower(Nuisance self)"""
1158 return _IMP_isd.Nuisance_remove_lower(self)
1161 def get_has_upper(self):
1162 """get_has_upper(Nuisance self) -> bool"""
1163 return _IMP_isd.Nuisance_get_has_upper(self)
1166 def get_upper(self):
1167 """get_upper(Nuisance self) -> IMP::Float"""
1168 return _IMP_isd.Nuisance_get_upper(self)
1171 def get_upper_key():
1172 """get_upper_key() -> FloatKey"""
1173 return _IMP_isd.Nuisance_get_upper_key()
1175 get_upper_key = staticmethod(get_upper_key)
1177 def get_upper_particle_key():
1178 """get_upper_particle_key() -> ParticleIndexKey"""
1179 return _IMP_isd.Nuisance_get_upper_particle_key()
1181 get_upper_particle_key = staticmethod(get_upper_particle_key)
1183 def set_upper(self, *args):
1185 set_upper(Nuisance self, IMP::Float d)
1186 set_upper(Nuisance self, Particle d)
1188 return _IMP_isd.Nuisance_set_upper(self, *args)
1191 def remove_upper(self):
1192 """remove_upper(Nuisance self)"""
1193 return _IMP_isd.Nuisance_remove_upper(self)
1196 def get_nuisance_derivative(self):
1197 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1198 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1201 def add_to_nuisance_derivative(self, d, accum):
1202 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1203 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1206 def get_nuisance_is_optimized(self):
1207 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1208 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1211 def set_nuisance_is_optimized(self, val):
1212 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1213 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1216 def add_attribute(self, *args):
1218 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1219 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1220 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1221 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1222 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1223 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1225 return _IMP_isd.Nuisance_add_attribute(self, *args)
1228 def get_value(self, *args):
1230 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1231 get_value(Nuisance self, IntKey a0) -> IMP::Int
1232 get_value(Nuisance self, StringKey a0) -> IMP::String
1233 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1234 get_value(Nuisance self, ObjectKey a0) -> Object
1236 return _IMP_isd.Nuisance_get_value(self, *args)
1239 def set_value(self, *args):
1241 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1242 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1243 set_value(Nuisance self, StringKey a0, IMP::String a1)
1244 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1245 set_value(Nuisance self, ObjectKey a0, Object a1)
1247 return _IMP_isd.Nuisance_set_value(self, *args)
1250 def remove_attribute(self, *args):
1252 remove_attribute(Nuisance self, FloatKey a0)
1253 remove_attribute(Nuisance self, IntKey a0)
1254 remove_attribute(Nuisance self, StringKey a0)
1255 remove_attribute(Nuisance self, ParticleIndexKey a0)
1256 remove_attribute(Nuisance self, ObjectKey a0)
1258 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1261 def has_attribute(self, *args):
1263 has_attribute(Nuisance self, FloatKey a0) -> bool
1264 has_attribute(Nuisance self, IntKey a0) -> bool
1265 has_attribute(Nuisance self, StringKey a0) -> bool
1266 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1267 has_attribute(Nuisance self, ObjectKey a0) -> bool
1269 return _IMP_isd.Nuisance_has_attribute(self, *args)
1272 def get_derivative(self, a0):
1273 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1274 return _IMP_isd.Nuisance_get_derivative(self, a0)
1278 """get_name(Nuisance self) -> std::string"""
1279 return _IMP_isd.Nuisance_get_name(self)
1283 """clear_caches(Nuisance self)"""
1284 return _IMP_isd.Nuisance_clear_caches(self)
1287 def set_name(self, a0):
1288 """set_name(Nuisance self, std::string a0)"""
1289 return _IMP_isd.Nuisance_set_name(self, a0)
1293 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1294 return _IMP_isd.Nuisance_set_check_level(self, a0)
1297 def add_to_derivative(self, a0, a1, a2):
1298 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1299 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1302 def set_is_optimized(self, a0, a1):
1303 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1304 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1307 def get_is_optimized(self, a0):
1308 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1309 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1312 def get_check_level(self):
1313 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1314 return _IMP_isd.Nuisance_get_check_level(self)
1317 def __eq__(self, *args):
1319 __eq__(Nuisance self, Nuisance o) -> bool
1320 __eq__(Nuisance self, Particle d) -> bool
1322 return _IMP_isd.Nuisance___eq__(self, *args)
1325 def __ne__(self, *args):
1327 __ne__(Nuisance self, Nuisance o) -> bool
1328 __ne__(Nuisance self, Particle d) -> bool
1330 return _IMP_isd.Nuisance___ne__(self, *args)
1333 def __le__(self, *args):
1335 __le__(Nuisance self, Nuisance o) -> bool
1336 __le__(Nuisance self, Particle d) -> bool
1338 return _IMP_isd.Nuisance___le__(self, *args)
1341 def __lt__(self, *args):
1343 __lt__(Nuisance self, Nuisance o) -> bool
1344 __lt__(Nuisance self, Particle d) -> bool
1346 return _IMP_isd.Nuisance___lt__(self, *args)
1349 def __ge__(self, *args):
1351 __ge__(Nuisance self, Nuisance o) -> bool
1352 __ge__(Nuisance self, Particle d) -> bool
1354 return _IMP_isd.Nuisance___ge__(self, *args)
1357 def __gt__(self, *args):
1359 __gt__(Nuisance self, Nuisance o) -> bool
1360 __gt__(Nuisance self, Particle d) -> bool
1362 return _IMP_isd.Nuisance___gt__(self, *args)
1366 """__hash__(Nuisance self) -> std::size_t"""
1367 return _IMP_isd.Nuisance___hash__(self)
1371 """__str__(Nuisance self) -> std::string"""
1372 return _IMP_isd.Nuisance___str__(self)
1376 """__repr__(Nuisance self) -> std::string"""
1377 return _IMP_isd.Nuisance___repr__(self)
1379 __swig_destroy__ = _IMP_isd.delete_Nuisance
1380 __del__ =
lambda self:
None
1381 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1382 Nuisance_swigregister(Nuisance)
1384 def Nuisance_setup_particle(*args):
1386 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1387 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1388 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1389 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1391 return _IMP_isd.Nuisance_setup_particle(*args)
1393 def Nuisance_get_is_setup(*args):
1395 get_is_setup(_ParticleAdaptor p) -> bool
1396 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1398 return _IMP_isd.Nuisance_get_is_setup(*args)
1400 def Nuisance_get_nuisance_key():
1401 """Nuisance_get_nuisance_key() -> FloatKey"""
1402 return _IMP_isd.Nuisance_get_nuisance_key()
1404 def Nuisance_get_lower_key():
1405 """Nuisance_get_lower_key() -> FloatKey"""
1406 return _IMP_isd.Nuisance_get_lower_key()
1408 def Nuisance_get_lower_particle_key():
1409 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1410 return _IMP_isd.Nuisance_get_lower_particle_key()
1412 def Nuisance_get_upper_key():
1413 """Nuisance_get_upper_key() -> FloatKey"""
1414 return _IMP_isd.Nuisance_get_upper_key()
1416 def Nuisance_get_upper_particle_key():
1417 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1418 return _IMP_isd.Nuisance_get_upper_particle_key()
1420 class Scale(Nuisance):
1421 """Proxy of C++ IMP::isd::Scale class."""
1423 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1425 def __init__(self, *args):
1427 __init__(IMP::isd::Scale self) -> Scale
1428 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1429 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1431 this = _IMP_isd.new_Scale(*args)
1433 self.this.append(this)
1434 except __builtin__.Exception:
1437 def show(self, *args):
1439 show(Scale self, _ostream out)
1442 return _IMP_isd.Scale_show(self, *args)
1445 def setup_particle(*args):
1447 setup_particle(Model m, ParticleIndex pi) -> Scale
1448 setup_particle(_ParticleAdaptor decorator) -> Scale
1449 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1450 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1452 return _IMP_isd.Scale_setup_particle(*args)
1454 setup_particle = staticmethod(setup_particle)
1456 def get_is_setup(*args):
1458 get_is_setup(_ParticleAdaptor p) -> bool
1459 get_is_setup(Model m, ParticleIndex pi) -> bool
1461 return _IMP_isd.Scale_get_is_setup(*args)
1463 get_is_setup = staticmethod(get_is_setup)
1465 def get_scale(self):
1466 """get_scale(Scale self) -> IMP::Float"""
1467 return _IMP_isd.Scale_get_scale(self)
1470 def set_scale(self, d):
1471 """set_scale(Scale self, IMP::Float d)"""
1472 return _IMP_isd.Scale_set_scale(self, d)
1475 def add_to_scale_derivative(self, d, accum):
1476 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1477 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1480 def get_scale_derivative(self):
1481 """get_scale_derivative(Scale self) -> IMP::Float"""
1482 return _IMP_isd.Scale_get_scale_derivative(self)
1485 def get_scale_key():
1486 """get_scale_key() -> FloatKey"""
1487 return _IMP_isd.Scale_get_scale_key()
1489 get_scale_key = staticmethod(get_scale_key)
1491 def get_scale_is_optimized(self):
1492 """get_scale_is_optimized(Scale self) -> bool"""
1493 return _IMP_isd.Scale_get_scale_is_optimized(self)
1496 def set_scale_is_optimized(self, val):
1497 """set_scale_is_optimized(Scale self, bool val)"""
1498 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1501 def add_attribute(self, *args):
1503 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1504 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1505 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1506 add_attribute(Scale self, StringKey a0, IMP::String a1)
1507 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1508 add_attribute(Scale self, ObjectKey a0, Object a1)
1510 return _IMP_isd.Scale_add_attribute(self, *args)
1513 def get_value(self, *args):
1515 get_value(Scale self, FloatKey a0) -> IMP::Float
1516 get_value(Scale self, IntKey a0) -> IMP::Int
1517 get_value(Scale self, StringKey a0) -> IMP::String
1518 get_value(Scale self, ParticleIndexKey a0) -> Particle
1519 get_value(Scale self, ObjectKey a0) -> Object
1521 return _IMP_isd.Scale_get_value(self, *args)
1524 def set_value(self, *args):
1526 set_value(Scale self, FloatKey a0, IMP::Float a1)
1527 set_value(Scale self, IntKey a0, IMP::Int a1)
1528 set_value(Scale self, StringKey a0, IMP::String a1)
1529 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1530 set_value(Scale self, ObjectKey a0, Object a1)
1532 return _IMP_isd.Scale_set_value(self, *args)
1535 def remove_attribute(self, *args):
1537 remove_attribute(Scale self, FloatKey a0)
1538 remove_attribute(Scale self, IntKey a0)
1539 remove_attribute(Scale self, StringKey a0)
1540 remove_attribute(Scale self, ParticleIndexKey a0)
1541 remove_attribute(Scale self, ObjectKey a0)
1543 return _IMP_isd.Scale_remove_attribute(self, *args)
1546 def has_attribute(self, *args):
1548 has_attribute(Scale self, FloatKey a0) -> bool
1549 has_attribute(Scale self, IntKey a0) -> bool
1550 has_attribute(Scale self, StringKey a0) -> bool
1551 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1552 has_attribute(Scale self, ObjectKey a0) -> bool
1554 return _IMP_isd.Scale_has_attribute(self, *args)
1557 def get_derivative(self, a0):
1558 """get_derivative(Scale self, FloatKey a0) -> double"""
1559 return _IMP_isd.Scale_get_derivative(self, a0)
1563 """get_name(Scale self) -> std::string"""
1564 return _IMP_isd.Scale_get_name(self)
1568 """clear_caches(Scale self)"""
1569 return _IMP_isd.Scale_clear_caches(self)
1572 def set_name(self, a0):
1573 """set_name(Scale self, std::string a0)"""
1574 return _IMP_isd.Scale_set_name(self, a0)
1578 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1579 return _IMP_isd.Scale_set_check_level(self, a0)
1582 def add_to_derivative(self, a0, a1, a2):
1583 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1584 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1587 def set_is_optimized(self, a0, a1):
1588 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1589 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1592 def get_is_optimized(self, a0):
1593 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1594 return _IMP_isd.Scale_get_is_optimized(self, a0)
1597 def get_check_level(self):
1598 """get_check_level(Scale self) -> IMP::CheckLevel"""
1599 return _IMP_isd.Scale_get_check_level(self)
1602 def __eq__(self, *args):
1604 __eq__(Scale self, Scale o) -> bool
1605 __eq__(Scale self, Particle d) -> bool
1607 return _IMP_isd.Scale___eq__(self, *args)
1610 def __ne__(self, *args):
1612 __ne__(Scale self, Scale o) -> bool
1613 __ne__(Scale self, Particle d) -> bool
1615 return _IMP_isd.Scale___ne__(self, *args)
1618 def __le__(self, *args):
1620 __le__(Scale self, Scale o) -> bool
1621 __le__(Scale self, Particle d) -> bool
1623 return _IMP_isd.Scale___le__(self, *args)
1626 def __lt__(self, *args):
1628 __lt__(Scale self, Scale o) -> bool
1629 __lt__(Scale self, Particle d) -> bool
1631 return _IMP_isd.Scale___lt__(self, *args)
1634 def __ge__(self, *args):
1636 __ge__(Scale self, Scale o) -> bool
1637 __ge__(Scale self, Particle d) -> bool
1639 return _IMP_isd.Scale___ge__(self, *args)
1642 def __gt__(self, *args):
1644 __gt__(Scale self, Scale o) -> bool
1645 __gt__(Scale self, Particle d) -> bool
1647 return _IMP_isd.Scale___gt__(self, *args)
1651 """__hash__(Scale self) -> std::size_t"""
1652 return _IMP_isd.Scale___hash__(self)
1656 """__str__(Scale self) -> std::string"""
1657 return _IMP_isd.Scale___str__(self)
1661 """__repr__(Scale self) -> std::string"""
1662 return _IMP_isd.Scale___repr__(self)
1664 __swig_destroy__ = _IMP_isd.delete_Scale
1665 __del__ =
lambda self:
None
1666 Scale_swigregister = _IMP_isd.Scale_swigregister
1667 Scale_swigregister(Scale)
1669 def Scale_setup_particle(*args):
1671 setup_particle(Model m, ParticleIndex pi) -> Scale
1672 setup_particle(_ParticleAdaptor decorator) -> Scale
1673 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1674 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1676 return _IMP_isd.Scale_setup_particle(*args)
1678 def Scale_get_is_setup(*args):
1680 get_is_setup(_ParticleAdaptor p) -> bool
1681 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1683 return _IMP_isd.Scale_get_is_setup(*args)
1685 def Scale_get_scale_key():
1686 """Scale_get_scale_key() -> FloatKey"""
1687 return _IMP_isd.Scale_get_scale_key()
1689 class Switching(Nuisance):
1690 """Proxy of C++ IMP::isd::Switching class."""
1692 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1694 def __init__(self, *args):
1696 __init__(IMP::isd::Switching self) -> Switching
1697 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1698 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1700 this = _IMP_isd.new_Switching(*args)
1702 self.this.append(this)
1703 except __builtin__.Exception:
1706 def show(self, *args):
1708 show(Switching self, _ostream out)
1709 show(Switching self)
1711 return _IMP_isd.Switching_show(self, *args)
1714 def setup_particle(*args):
1716 setup_particle(Model m, ParticleIndex pi) -> Switching
1717 setup_particle(_ParticleAdaptor decorator) -> Switching
1718 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1719 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1721 return _IMP_isd.Switching_setup_particle(*args)
1723 setup_particle = staticmethod(setup_particle)
1725 def get_is_setup(*args):
1727 get_is_setup(_ParticleAdaptor p) -> bool
1728 get_is_setup(Model m, ParticleIndex pi) -> bool
1730 return _IMP_isd.Switching_get_is_setup(*args)
1732 get_is_setup = staticmethod(get_is_setup)
1734 def get_switching(self):
1735 """get_switching(Switching self) -> IMP::Float"""
1736 return _IMP_isd.Switching_get_switching(self)
1739 def set_switching(self, d):
1740 """set_switching(Switching self, IMP::Float d)"""
1741 return _IMP_isd.Switching_set_switching(self, d)
1744 def add_to_switching_derivative(self, d, accum):
1745 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1746 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1749 def get_switching_derivative(self):
1750 """get_switching_derivative(Switching self) -> IMP::Float"""
1751 return _IMP_isd.Switching_get_switching_derivative(self)
1754 def get_switching_key():
1755 """get_switching_key() -> FloatKey"""
1756 return _IMP_isd.Switching_get_switching_key()
1758 get_switching_key = staticmethod(get_switching_key)
1760 def get_switching_is_optimized(self):
1761 """get_switching_is_optimized(Switching self) -> bool"""
1762 return _IMP_isd.Switching_get_switching_is_optimized(self)
1765 def set_switching_is_optimized(self, val):
1766 """set_switching_is_optimized(Switching self, bool val)"""
1767 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
1770 def add_attribute(self, *args):
1772 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1773 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1774 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1775 add_attribute(Switching self, StringKey a0, IMP::String a1)
1776 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1777 add_attribute(Switching self, ObjectKey a0, Object a1)
1779 return _IMP_isd.Switching_add_attribute(self, *args)
1782 def get_value(self, *args):
1784 get_value(Switching self, FloatKey a0) -> IMP::Float
1785 get_value(Switching self, IntKey a0) -> IMP::Int
1786 get_value(Switching self, StringKey a0) -> IMP::String
1787 get_value(Switching self, ParticleIndexKey a0) -> Particle
1788 get_value(Switching self, ObjectKey a0) -> Object
1790 return _IMP_isd.Switching_get_value(self, *args)
1793 def set_value(self, *args):
1795 set_value(Switching self, FloatKey a0, IMP::Float a1)
1796 set_value(Switching self, IntKey a0, IMP::Int a1)
1797 set_value(Switching self, StringKey a0, IMP::String a1)
1798 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1799 set_value(Switching self, ObjectKey a0, Object a1)
1801 return _IMP_isd.Switching_set_value(self, *args)
1804 def remove_attribute(self, *args):
1806 remove_attribute(Switching self, FloatKey a0)
1807 remove_attribute(Switching self, IntKey a0)
1808 remove_attribute(Switching self, StringKey a0)
1809 remove_attribute(Switching self, ParticleIndexKey a0)
1810 remove_attribute(Switching self, ObjectKey a0)
1812 return _IMP_isd.Switching_remove_attribute(self, *args)
1815 def has_attribute(self, *args):
1817 has_attribute(Switching self, FloatKey a0) -> bool
1818 has_attribute(Switching self, IntKey a0) -> bool
1819 has_attribute(Switching self, StringKey a0) -> bool
1820 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1821 has_attribute(Switching self, ObjectKey a0) -> bool
1823 return _IMP_isd.Switching_has_attribute(self, *args)
1826 def get_derivative(self, a0):
1827 """get_derivative(Switching self, FloatKey a0) -> double"""
1828 return _IMP_isd.Switching_get_derivative(self, a0)
1832 """get_name(Switching self) -> std::string"""
1833 return _IMP_isd.Switching_get_name(self)
1837 """clear_caches(Switching self)"""
1838 return _IMP_isd.Switching_clear_caches(self)
1841 def set_name(self, a0):
1842 """set_name(Switching self, std::string a0)"""
1843 return _IMP_isd.Switching_set_name(self, a0)
1847 """set_check_level(Switching self, IMP::CheckLevel a0)"""
1848 return _IMP_isd.Switching_set_check_level(self, a0)
1851 def add_to_derivative(self, a0, a1, a2):
1852 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1853 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
1856 def set_is_optimized(self, a0, a1):
1857 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1858 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
1861 def get_is_optimized(self, a0):
1862 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1863 return _IMP_isd.Switching_get_is_optimized(self, a0)
1866 def get_check_level(self):
1867 """get_check_level(Switching self) -> IMP::CheckLevel"""
1868 return _IMP_isd.Switching_get_check_level(self)
1871 def __eq__(self, *args):
1873 __eq__(Switching self, Switching o) -> bool
1874 __eq__(Switching self, Particle d) -> bool
1876 return _IMP_isd.Switching___eq__(self, *args)
1879 def __ne__(self, *args):
1881 __ne__(Switching self, Switching o) -> bool
1882 __ne__(Switching self, Particle d) -> bool
1884 return _IMP_isd.Switching___ne__(self, *args)
1887 def __le__(self, *args):
1889 __le__(Switching self, Switching o) -> bool
1890 __le__(Switching self, Particle d) -> bool
1892 return _IMP_isd.Switching___le__(self, *args)
1895 def __lt__(self, *args):
1897 __lt__(Switching self, Switching o) -> bool
1898 __lt__(Switching self, Particle d) -> bool
1900 return _IMP_isd.Switching___lt__(self, *args)
1903 def __ge__(self, *args):
1905 __ge__(Switching self, Switching o) -> bool
1906 __ge__(Switching self, Particle d) -> bool
1908 return _IMP_isd.Switching___ge__(self, *args)
1911 def __gt__(self, *args):
1913 __gt__(Switching self, Switching o) -> bool
1914 __gt__(Switching self, Particle d) -> bool
1916 return _IMP_isd.Switching___gt__(self, *args)
1920 """__hash__(Switching self) -> std::size_t"""
1921 return _IMP_isd.Switching___hash__(self)
1925 """__str__(Switching self) -> std::string"""
1926 return _IMP_isd.Switching___str__(self)
1930 """__repr__(Switching self) -> std::string"""
1931 return _IMP_isd.Switching___repr__(self)
1933 __swig_destroy__ = _IMP_isd.delete_Switching
1934 __del__ =
lambda self:
None
1935 Switching_swigregister = _IMP_isd.Switching_swigregister
1936 Switching_swigregister(Switching)
1938 def Switching_setup_particle(*args):
1940 setup_particle(Model m, ParticleIndex pi) -> Switching
1941 setup_particle(_ParticleAdaptor decorator) -> Switching
1942 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1943 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1945 return _IMP_isd.Switching_setup_particle(*args)
1947 def Switching_get_is_setup(*args):
1949 get_is_setup(_ParticleAdaptor p) -> bool
1950 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
1952 return _IMP_isd.Switching_get_is_setup(*args)
1954 def Switching_get_switching_key():
1955 """Switching_get_switching_key() -> FloatKey"""
1956 return _IMP_isd.Switching_get_switching_key()
1959 def __lshift__(*args):
1961 __lshift__(_ostream out, Nuisance n) -> _ostream
1962 __lshift__(_ostream out, Scale n) -> _ostream
1963 __lshift__(_ostream out, Switching n) -> _ostream
1965 return _IMP_isd.__lshift__(*args)
1967 """Proxy of C++ IMP::isd::Weight class."""
1969 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1971 def __init__(self, *args):
1973 __init__(IMP::isd::Weight self) -> Weight
1974 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
1975 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
1977 this = _IMP_isd.new_Weight(*args)
1979 self.this.append(this)
1980 except __builtin__.Exception:
1983 def show(self, *args):
1985 show(Weight self, _ostream out)
1988 return _IMP_isd.Weight_show(self, *args)
1991 def setup_particle(*args):
1993 setup_particle(Model m, ParticleIndex pi) -> Weight
1994 setup_particle(_ParticleAdaptor decorator) -> Weight
1996 return _IMP_isd.Weight_setup_particle(*args)
1998 setup_particle = staticmethod(setup_particle)
2000 def get_nstates_key():
2001 """get_nstates_key() -> IntKey"""
2002 return _IMP_isd.Weight_get_nstates_key()
2004 get_nstates_key = staticmethod(get_nstates_key)
2006 def get_weight_key(i):
2007 """get_weight_key(int i) -> FloatKey"""
2008 return _IMP_isd.Weight_get_weight_key(i)
2010 get_weight_key = staticmethod(get_weight_key)
2012 def set_weights(self, w):
2013 """set_weights(Weight self, VectorKD w)"""
2014 return _IMP_isd.Weight_set_weights(self, w)
2017 def add_weight(self):
2018 """add_weight(Weight self)"""
2019 return _IMP_isd.Weight_add_weight(self)
2022 def get_weight(self, i):
2023 """get_weight(Weight self, int i) -> IMP::Float"""
2024 return _IMP_isd.Weight_get_weight(self, i)
2027 def get_weights(self):
2028 """get_weights(Weight self) -> VectorKD"""
2029 return _IMP_isd.Weight_get_weights(self)
2032 def set_weights_are_optimized(self, tf):
2033 """set_weights_are_optimized(Weight self, bool tf)"""
2034 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2037 def get_number_of_states(self):
2038 """get_number_of_states(Weight self) -> IMP::Int"""
2039 return _IMP_isd.Weight_get_number_of_states(self)
2042 def get_is_setup(*args):
2044 get_is_setup(_ParticleAdaptor p) -> bool
2045 get_is_setup(Model m, ParticleIndex pi) -> bool
2047 return _IMP_isd.Weight_get_is_setup(*args)
2049 get_is_setup = staticmethod(get_is_setup)
2051 def add_attribute(self, *args):
2053 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2054 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2055 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2056 add_attribute(Weight self, StringKey a0, IMP::String a1)
2057 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2058 add_attribute(Weight self, ObjectKey a0, Object a1)
2060 return _IMP_isd.Weight_add_attribute(self, *args)
2063 def get_value(self, *args):
2065 get_value(Weight self, FloatKey a0) -> IMP::Float
2066 get_value(Weight self, IntKey a0) -> IMP::Int
2067 get_value(Weight self, StringKey a0) -> IMP::String
2068 get_value(Weight self, ParticleIndexKey a0) -> Particle
2069 get_value(Weight self, ObjectKey a0) -> Object
2071 return _IMP_isd.Weight_get_value(self, *args)
2074 def set_value(self, *args):
2076 set_value(Weight self, FloatKey a0, IMP::Float a1)
2077 set_value(Weight self, IntKey a0, IMP::Int a1)
2078 set_value(Weight self, StringKey a0, IMP::String a1)
2079 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2080 set_value(Weight self, ObjectKey a0, Object a1)
2082 return _IMP_isd.Weight_set_value(self, *args)
2085 def remove_attribute(self, *args):
2087 remove_attribute(Weight self, FloatKey a0)
2088 remove_attribute(Weight self, IntKey a0)
2089 remove_attribute(Weight self, StringKey a0)
2090 remove_attribute(Weight self, ParticleIndexKey a0)
2091 remove_attribute(Weight self, ObjectKey a0)
2093 return _IMP_isd.Weight_remove_attribute(self, *args)
2096 def has_attribute(self, *args):
2098 has_attribute(Weight self, FloatKey a0) -> bool
2099 has_attribute(Weight self, IntKey a0) -> bool
2100 has_attribute(Weight self, StringKey a0) -> bool
2101 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2102 has_attribute(Weight self, ObjectKey a0) -> bool
2104 return _IMP_isd.Weight_has_attribute(self, *args)
2107 def get_derivative(self, a0):
2108 """get_derivative(Weight self, FloatKey a0) -> double"""
2109 return _IMP_isd.Weight_get_derivative(self, a0)
2113 """get_name(Weight self) -> std::string"""
2114 return _IMP_isd.Weight_get_name(self)
2118 """clear_caches(Weight self)"""
2119 return _IMP_isd.Weight_clear_caches(self)
2122 def set_name(self, a0):
2123 """set_name(Weight self, std::string a0)"""
2124 return _IMP_isd.Weight_set_name(self, a0)
2128 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2129 return _IMP_isd.Weight_set_check_level(self, a0)
2132 def add_to_derivative(self, a0, a1, a2):
2133 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2134 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2137 def set_is_optimized(self, a0, a1):
2138 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2139 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2142 def get_is_optimized(self, a0):
2143 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2144 return _IMP_isd.Weight_get_is_optimized(self, a0)
2147 def get_check_level(self):
2148 """get_check_level(Weight self) -> IMP::CheckLevel"""
2149 return _IMP_isd.Weight_get_check_level(self)
2152 def __eq__(self, *args):
2154 __eq__(Weight self, Weight o) -> bool
2155 __eq__(Weight self, Particle d) -> bool
2157 return _IMP_isd.Weight___eq__(self, *args)
2160 def __ne__(self, *args):
2162 __ne__(Weight self, Weight o) -> bool
2163 __ne__(Weight self, Particle d) -> bool
2165 return _IMP_isd.Weight___ne__(self, *args)
2168 def __le__(self, *args):
2170 __le__(Weight self, Weight o) -> bool
2171 __le__(Weight self, Particle d) -> bool
2173 return _IMP_isd.Weight___le__(self, *args)
2176 def __lt__(self, *args):
2178 __lt__(Weight self, Weight o) -> bool
2179 __lt__(Weight self, Particle d) -> bool
2181 return _IMP_isd.Weight___lt__(self, *args)
2184 def __ge__(self, *args):
2186 __ge__(Weight self, Weight o) -> bool
2187 __ge__(Weight self, Particle d) -> bool
2189 return _IMP_isd.Weight___ge__(self, *args)
2192 def __gt__(self, *args):
2194 __gt__(Weight self, Weight o) -> bool
2195 __gt__(Weight self, Particle d) -> bool
2197 return _IMP_isd.Weight___gt__(self, *args)
2201 """__hash__(Weight self) -> std::size_t"""
2202 return _IMP_isd.Weight___hash__(self)
2206 """__str__(Weight self) -> std::string"""
2207 return _IMP_isd.Weight___str__(self)
2211 """__repr__(Weight self) -> std::string"""
2212 return _IMP_isd.Weight___repr__(self)
2214 __swig_destroy__ = _IMP_isd.delete_Weight
2215 __del__ =
lambda self:
None
2216 Weight_swigregister = _IMP_isd.Weight_swigregister
2217 Weight_swigregister(Weight)
2219 def Weight_setup_particle(*args):
2221 setup_particle(Model m, ParticleIndex pi) -> Weight
2222 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
2224 return _IMP_isd.Weight_setup_particle(*args)
2226 def Weight_get_nstates_key():
2227 """Weight_get_nstates_key() -> IntKey"""
2228 return _IMP_isd.Weight_get_nstates_key()
2230 def Weight_get_weight_key(i):
2231 """Weight_get_weight_key(int i) -> FloatKey"""
2232 return _IMP_isd.Weight_get_weight_key(i)
2234 def Weight_get_is_setup(*args):
2236 get_is_setup(_ParticleAdaptor p) -> bool
2237 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2239 return _IMP_isd.Weight_get_is_setup(*args)
2242 """Proxy of C++ IMP::isd::JeffreysRestraint class."""
2244 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2246 def __init__(self, m, p):
2247 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2248 this = _IMP_isd.new_JeffreysRestraint(m, p)
2250 self.this.append(this)
2251 except __builtin__.Exception:
2255 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2256 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2260 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2261 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2264 def get_probability(self):
2265 """get_probability(JeffreysRestraint self) -> double"""
2266 return _IMP_isd.JeffreysRestraint_get_probability(self)
2270 """__str__(JeffreysRestraint self) -> std::string"""
2271 return _IMP_isd.JeffreysRestraint___str__(self)
2275 """__repr__(JeffreysRestraint self) -> std::string"""
2276 return _IMP_isd.JeffreysRestraint___repr__(self)
2281 return _object_cast_to_JeffreysRestraint(o)
2283 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2284 JeffreysRestraint_swigregister(JeffreysRestraint)
2287 """Proxy of C++ IMP::isd::FNormal class."""
2289 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2291 def __init__(self, FA, JA, FM, sigma):
2292 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2293 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2295 self.this.append(this)
2296 except __builtin__.Exception:
2300 """evaluate(FNormal self) -> double"""
2301 return _IMP_isd.FNormal_evaluate(self)
2304 def evaluate_derivative_FA(self):
2305 """evaluate_derivative_FA(FNormal self) -> double"""
2306 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2309 def evaluate_derivative_JA(self):
2310 """evaluate_derivative_JA(FNormal self) -> double"""
2311 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2314 def evaluate_derivative_FM(self):
2315 """evaluate_derivative_FM(FNormal self) -> double"""
2316 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2319 def evaluate_derivative_sigma(self):
2320 """evaluate_derivative_sigma(FNormal self) -> double"""
2321 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2325 """density(FNormal self) -> double"""
2326 return _IMP_isd.FNormal_density(self)
2329 def set_FA(self, f):
2330 """set_FA(FNormal self, double f)"""
2331 return _IMP_isd.FNormal_set_FA(self, f)
2334 def set_JA(self, f):
2335 """set_JA(FNormal self, double f)"""
2336 return _IMP_isd.FNormal_set_JA(self, f)
2339 def set_FM(self, f):
2340 """set_FM(FNormal self, double f)"""
2341 return _IMP_isd.FNormal_set_FM(self, f)
2344 def set_sigma(self, f):
2345 """set_sigma(FNormal self, double f)"""
2346 return _IMP_isd.FNormal_set_sigma(self, f)
2350 """get_version_info(FNormal self) -> VersionInfo"""
2351 return _IMP_isd.FNormal_get_version_info(self)
2355 """__str__(FNormal self) -> std::string"""
2356 return _IMP_isd.FNormal___str__(self)
2360 """__repr__(FNormal self) -> std::string"""
2361 return _IMP_isd.FNormal___repr__(self)
2366 return _object_cast_to_FNormal(o)
2368 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2369 FNormal_swigregister(FNormal)
2372 """Proxy of C++ IMP::isd::vonMises class."""
2374 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2376 def __init__(self, x, mu, kappa):
2377 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
2378 this = _IMP_isd.new_vonMises(x, mu, kappa)
2380 self.this.append(this)
2381 except __builtin__.Exception:
2385 """evaluate(vonMises self) -> double"""
2386 return _IMP_isd.vonMises_evaluate(self)
2389 def evaluate_derivative_x(self):
2390 """evaluate_derivative_x(vonMises self) -> double"""
2391 return _IMP_isd.vonMises_evaluate_derivative_x(self)
2394 def evaluate_derivative_mu(self):
2395 """evaluate_derivative_mu(vonMises self) -> double"""
2396 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
2399 def evaluate_derivative_kappa(self):
2400 """evaluate_derivative_kappa(vonMises self) -> double"""
2401 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
2405 """density(vonMises self) -> double"""
2406 return _IMP_isd.vonMises_density(self)
2410 """set_x(vonMises self, double x)"""
2411 return _IMP_isd.vonMises_set_x(self, x)
2414 def set_mu(self, mu):
2415 """set_mu(vonMises self, double mu)"""
2416 return _IMP_isd.vonMises_set_mu(self, mu)
2419 def set_kappa(self, kappa):
2420 """set_kappa(vonMises self, double kappa)"""
2421 return _IMP_isd.vonMises_set_kappa(self, kappa)
2425 """get_version_info(vonMises self) -> VersionInfo"""
2426 return _IMP_isd.vonMises_get_version_info(self)
2430 """__str__(vonMises self) -> std::string"""
2431 return _IMP_isd.vonMises___str__(self)
2435 """__repr__(vonMises self) -> std::string"""
2436 return _IMP_isd.vonMises___repr__(self)
2441 return _object_cast_to_vonMises(o)
2443 vonMises_swigregister = _IMP_isd.vonMises_swigregister
2444 vonMises_swigregister(vonMises)
2447 """Proxy of C++ IMP::isd::vonMisesSufficient class."""
2449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2451 def __init__(self, *args):
2453 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
2454 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
2456 this = _IMP_isd.new_vonMisesSufficient(*args)
2458 self.this.append(this)
2459 except __builtin__.Exception:
2463 """evaluate(vonMisesSufficient self) -> double"""
2464 return _IMP_isd.vonMisesSufficient_evaluate(self)
2467 def evaluate_derivative_x(self):
2468 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
2469 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
2472 def evaluate_derivative_kappa(self):
2473 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
2474 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
2478 """density(vonMisesSufficient self) -> double"""
2479 return _IMP_isd.vonMisesSufficient_density(self)
2483 """get_x(vonMisesSufficient self) -> double"""
2484 return _IMP_isd.vonMisesSufficient_get_x(self)
2488 """get_R0(vonMisesSufficient self) -> double"""
2489 return _IMP_isd.vonMisesSufficient_get_R0(self)
2492 def get_chiexp(self):
2493 """get_chiexp(vonMisesSufficient self) -> double"""
2494 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
2498 """get_N(vonMisesSufficient self) -> double"""
2499 return _IMP_isd.vonMisesSufficient_get_N(self)
2502 def get_kappa(self):
2503 """get_kappa(vonMisesSufficient self) -> double"""
2504 return _IMP_isd.vonMisesSufficient_get_kappa(self)
2508 """set_x(vonMisesSufficient self, double x)"""
2509 return _IMP_isd.vonMisesSufficient_set_x(self, x)
2512 def set_R0(self, R0):
2513 """set_R0(vonMisesSufficient self, double R0)"""
2514 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
2517 def set_chiexp(self, chiexp):
2518 """set_chiexp(vonMisesSufficient self, double chiexp)"""
2519 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
2523 """set_N(vonMisesSufficient self, unsigned int N)"""
2524 return _IMP_isd.vonMisesSufficient_set_N(self, N)
2527 def set_kappa(self, kappa):
2528 """set_kappa(vonMisesSufficient self, double kappa)"""
2529 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
2532 def get_sufficient_statistics(data):
2533 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2534 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
2536 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
2539 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
2540 return _IMP_isd.vonMisesSufficient_get_version_info(self)
2544 """__str__(vonMisesSufficient self) -> std::string"""
2545 return _IMP_isd.vonMisesSufficient___str__(self)
2549 """__repr__(vonMisesSufficient self) -> std::string"""
2550 return _IMP_isd.vonMisesSufficient___repr__(self)
2555 return _object_cast_to_vonMisesSufficient(o)
2557 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
2558 vonMisesSufficient_swigregister(vonMisesSufficient)
2560 def vonMisesSufficient_get_sufficient_statistics(data):
2561 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2562 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
2565 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class."""
2567 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2569 def __init__(self, m, kappa):
2570 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
2571 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
2573 self.this.append(this)
2574 except __builtin__.Exception:
2578 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2579 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
2583 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
2584 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
2587 def get_probability(self):
2588 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
2589 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
2593 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2594 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
2598 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2599 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
2604 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
2606 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
2607 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
2610 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class."""
2612 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2614 def __init__(self, m, kappa, c=10.0, R0=0.0):
2616 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
2617 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
2618 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
2620 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
2622 self.this.append(this)
2623 except __builtin__.Exception:
2627 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
2628 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
2632 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
2633 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
2636 def get_probability(self):
2637 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
2638 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
2642 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
2643 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
2647 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
2648 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
2653 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
2655 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
2656 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
2659 """Proxy of C++ IMP::isd::NOERestraint class."""
2661 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2663 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
2664 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
2665 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
2667 self.this.append(this)
2668 except __builtin__.Exception:
2671 def get_probability(self):
2672 """get_probability(NOERestraint self) -> double"""
2673 return _IMP_isd.NOERestraint_get_probability(self)
2677 """get_chi(NOERestraint self) -> double"""
2678 return _IMP_isd.NOERestraint_get_chi(self)
2682 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
2683 return _IMP_isd.NOERestraint_do_get_inputs(self)
2687 """get_version_info(NOERestraint self) -> VersionInfo"""
2688 return _IMP_isd.NOERestraint_get_version_info(self)
2692 """__str__(NOERestraint self) -> std::string"""
2693 return _IMP_isd.NOERestraint___str__(self)
2697 """__repr__(NOERestraint self) -> std::string"""
2698 return _IMP_isd.NOERestraint___repr__(self)
2703 return _object_cast_to_NOERestraint(o)
2705 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
2706 NOERestraint_swigregister(NOERestraint)
2709 """Proxy of C++ IMP::isd::GaussianRestraint class."""
2711 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2713 def __init__(self, *args):
2715 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
2716 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
2717 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
2718 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
2719 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
2720 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
2721 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
2723 this = _IMP_isd.new_GaussianRestraint(*args)
2725 self.this.append(this)
2726 except __builtin__.Exception:
2729 def get_probability(self):
2730 """get_probability(GaussianRestraint self) -> double"""
2731 return _IMP_isd.GaussianRestraint_get_probability(self)
2735 """get_chi(GaussianRestraint self) -> double"""
2736 return _IMP_isd.GaussianRestraint_get_chi(self)
2740 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
2741 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
2745 """get_version_info(GaussianRestraint self) -> VersionInfo"""
2746 return _IMP_isd.GaussianRestraint_get_version_info(self)
2750 """__str__(GaussianRestraint self) -> std::string"""
2751 return _IMP_isd.GaussianRestraint___str__(self)
2755 """__repr__(GaussianRestraint self) -> std::string"""
2756 return _IMP_isd.GaussianRestraint___repr__(self)
2761 return _object_cast_to_GaussianRestraint(o)
2763 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
2764 GaussianRestraint_swigregister(GaussianRestraint)
2767 """Proxy of C++ IMP::isd::LognormalRestraint class."""
2769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2771 def __init__(self, *args):
2773 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
2774 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
2775 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
2776 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
2777 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
2778 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
2779 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
2781 this = _IMP_isd.new_LognormalRestraint(*args)
2783 self.this.append(this)
2784 except __builtin__.Exception:
2787 def get_probability(self):
2788 """get_probability(LognormalRestraint self) -> double"""
2789 return _IMP_isd.LognormalRestraint_get_probability(self)
2793 """get_chi(LognormalRestraint self) -> double"""
2794 return _IMP_isd.LognormalRestraint_get_chi(self)
2798 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
2799 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
2803 """get_version_info(LognormalRestraint self) -> VersionInfo"""
2804 return _IMP_isd.LognormalRestraint_get_version_info(self)
2808 """__str__(LognormalRestraint self) -> std::string"""
2809 return _IMP_isd.LognormalRestraint___str__(self)
2813 """__repr__(LognormalRestraint self) -> std::string"""
2814 return _IMP_isd.LognormalRestraint___repr__(self)
2819 return _object_cast_to_LognormalRestraint(o)
2821 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
2822 LognormalRestraint_swigregister(LognormalRestraint)
2825 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class."""
2827 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2829 def __init__(self, p1, p2, ki, sigmaG):
2830 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
2831 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
2833 self.this.append(this)
2834 except __builtin__.Exception:
2837 def add_contribution(self, lexp, omega):
2838 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
2839 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
2842 def get_number_of_contributions(self):
2843 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
2844 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
2847 def draw_k_from_posterior(self, kt):
2848 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
2849 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
2852 def get_probability(self):
2853 """get_probability(LognormalAmbiguousRestraint self) -> double"""
2854 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
2858 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
2859 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
2863 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
2864 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
2868 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
2869 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
2873 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
2874 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
2879 return _object_cast_to_LognormalAmbiguousRestraint(o)
2881 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
2882 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
2885 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class."""
2887 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2889 def __init__(self, m, pc, sigma, gamma, Iexp):
2890 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
2891 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
2893 self.this.append(this)
2894 except __builtin__.Exception:
2897 def get_probability(self):
2898 """get_probability(AmbiguousNOERestraint self) -> double"""
2899 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
2903 """get_chi(AmbiguousNOERestraint self) -> double"""
2904 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
2908 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
2909 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
2913 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
2914 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
2918 """__str__(AmbiguousNOERestraint self) -> std::string"""
2919 return _IMP_isd.AmbiguousNOERestraint___str__(self)
2923 """__repr__(AmbiguousNOERestraint self) -> std::string"""
2924 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
2929 return _object_cast_to_AmbiguousNOERestraint(o)
2931 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
2932 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
2935 """Proxy of C++ IMP::isd::MarginalNOERestraint class."""
2937 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2939 def __init__(self, m):
2940 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
2941 this = _IMP_isd.new_MarginalNOERestraint(m)
2943 self.this.append(this)
2944 except __builtin__.Exception:
2947 def add_contribution(self, *args):
2949 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
2950 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
2952 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
2955 def get_log_gammahat(self):
2956 """get_log_gammahat(MarginalNOERestraint self) -> double"""
2957 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
2961 """get_SS(MarginalNOERestraint self) -> double"""
2962 return _IMP_isd.MarginalNOERestraint_get_SS(self)
2965 def get_number_of_contributions(self):
2966 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
2967 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
2970 def get_probability(self):
2971 """get_probability(MarginalNOERestraint self) -> double"""
2972 return _IMP_isd.MarginalNOERestraint_get_probability(self)
2976 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
2977 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
2981 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
2982 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
2986 """__str__(MarginalNOERestraint self) -> std::string"""
2987 return _IMP_isd.MarginalNOERestraint___str__(self)
2991 """__repr__(MarginalNOERestraint self) -> std::string"""
2992 return _IMP_isd.MarginalNOERestraint___repr__(self)
2997 return _object_cast_to_MarginalNOERestraint(o)
2999 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3000 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3003 """Proxy of C++ IMP::isd::MarginalHBondRestraint class."""
3005 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3007 def __init__(self, m):
3008 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3009 this = _IMP_isd.new_MarginalHBondRestraint(m)
3011 self.this.append(this)
3012 except __builtin__.Exception:
3015 def add_contribution(self, *args):
3017 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3018 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3020 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3023 def get_logsquares(self):
3024 """get_logsquares(MarginalHBondRestraint self) -> double"""
3025 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3028 def get_number_of_contributions(self):
3029 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3030 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3033 def get_probability(self):
3034 """get_probability(MarginalHBondRestraint self) -> double"""
3035 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3039 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3040 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3044 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3045 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3049 """__str__(MarginalHBondRestraint self) -> std::string"""
3050 return _IMP_isd.MarginalHBondRestraint___str__(self)
3054 """__repr__(MarginalHBondRestraint self) -> std::string"""
3055 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3060 return _object_cast_to_MarginalHBondRestraint(o)
3062 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3063 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3066 """Proxy of C++ IMP::isd::TALOSRestraint 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, *args):
3072 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3073 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3074 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3075 __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
3077 this = _IMP_isd.new_TALOSRestraint(*args)
3079 self.this.append(this)
3080 except __builtin__.Exception:
3083 def get_probability(self):
3084 """get_probability(TALOSRestraint self) -> double"""
3085 return _IMP_isd.TALOSRestraint_get_probability(self)
3089 """get_R0(TALOSRestraint self) -> double"""
3090 return _IMP_isd.TALOSRestraint_get_R0(self)
3093 def get_chiexp(self):
3094 """get_chiexp(TALOSRestraint self) -> double"""
3095 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3099 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3100 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3104 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3105 return _IMP_isd.TALOSRestraint_get_version_info(self)
3109 """__str__(TALOSRestraint self) -> std::string"""
3110 return _IMP_isd.TALOSRestraint___str__(self)
3114 """__repr__(TALOSRestraint self) -> std::string"""
3115 return _IMP_isd.TALOSRestraint___repr__(self)
3120 return _object_cast_to_TALOSRestraint(o)
3122 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3123 TALOSRestraint_swigregister(TALOSRestraint)
3126 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class."""
3128 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3130 def __init__(self, d0, k):
3131 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3132 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3134 self.this.append(this)
3135 except __builtin__.Exception:
3138 def get_rest_length(self):
3139 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3140 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3143 def get_stiffness(self):
3144 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3145 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3149 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3150 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3154 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3155 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
3159 """__str__(RepulsiveDistancePairScore self) -> std::string"""
3160 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
3164 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
3165 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
3170 return _object_cast_to_RepulsiveDistancePairScore(o)
3172 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
3173 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
3176 """Proxy of C++ IMP::isd::AmbiguousRestraint class."""
3178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3180 def __init__(self, *args):
3182 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
3183 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
3185 this = _IMP_isd.new_AmbiguousRestraint(*args)
3187 self.this.append(this)
3188 except __builtin__.Exception:
3191 def get_probability(self):
3192 """get_probability(AmbiguousRestraint self) -> double"""
3193 return _IMP_isd.AmbiguousRestraint_get_probability(self)
3197 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3198 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
3202 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
3203 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
3207 """__str__(AmbiguousRestraint self) -> std::string"""
3208 return _IMP_isd.AmbiguousRestraint___str__(self)
3212 """__repr__(AmbiguousRestraint self) -> std::string"""
3213 return _IMP_isd.AmbiguousRestraint___repr__(self)
3218 return _object_cast_to_AmbiguousRestraint(o)
3220 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
3221 AmbiguousRestraint_swigregister(AmbiguousRestraint)
3223 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
3225 """Proxy of C++ IMP::isd::UnivariateFunction class."""
3227 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3229 def __init__(self, *args, **kwargs):
3230 raise AttributeError(
"No constructor defined - class is abstract")
3232 def __call__(self, *args):
3234 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
3235 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3236 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3238 return _IMP_isd.UnivariateFunction___call__(self, *args)
3241 def has_changed(self):
3242 """has_changed(UnivariateFunction self) -> bool"""
3243 return _IMP_isd.UnivariateFunction_has_changed(self)
3247 """update(UnivariateFunction self)"""
3248 return _IMP_isd.UnivariateFunction_update(self)
3251 def add_to_derivatives(self, x, accum):
3252 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
3253 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
3256 def add_to_particle_derivative(self, particle_no, value, accum):
3257 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3258 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3261 def get_derivative_vector(self, particle_no, xlist):
3262 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd"""
3263 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
3266 def get_derivative_matrix(self, xlist, stupid):
3267 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
3268 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
3271 def get_second_derivative_vector(self, *args):
3273 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3274 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3276 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
3279 def get_ndims_x(self):
3280 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
3281 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
3284 def get_ndims_y(self):
3285 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
3286 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
3289 def get_number_of_particles(self):
3290 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
3291 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
3294 def get_particle_is_optimized(self, particle_no):
3295 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
3296 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
3299 def get_number_of_optimized_particles(self):
3300 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
3301 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
3305 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
3306 return _IMP_isd.UnivariateFunction_get_inputs(self)
3308 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
3309 __del__ =
lambda self:
None
3312 """__str__(UnivariateFunction self) -> std::string"""
3313 return _IMP_isd.UnivariateFunction___str__(self)
3317 """__repr__(UnivariateFunction self) -> std::string"""
3318 return _IMP_isd.UnivariateFunction___repr__(self)
3323 return _object_cast_to_UnivariateFunction(o)
3325 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
3326 UnivariateFunction_swigregister(UnivariateFunction)
3328 class Linear1DFunction(UnivariateFunction):
3329 """Proxy of C++ IMP::isd::Linear1DFunction 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, a, b):
3334 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
3335 this = _IMP_isd.new_Linear1DFunction(a, b)
3337 self.this.append(this)
3338 except __builtin__.Exception:
3341 def __call__(self, *args):
3343 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
3344 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3345 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3347 return _IMP_isd.Linear1DFunction___call__(self, *args)
3350 def get_second_derivative_vector(self, *args):
3352 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3353 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3355 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
3359 """get_version_info(Linear1DFunction self) -> VersionInfo"""
3360 return _IMP_isd.Linear1DFunction_get_version_info(self)
3364 """__str__(Linear1DFunction self) -> std::string"""
3365 return _IMP_isd.Linear1DFunction___str__(self)
3369 """__repr__(Linear1DFunction self) -> std::string"""
3370 return _IMP_isd.Linear1DFunction___repr__(self)
3375 return _object_cast_to_Linear1DFunction(o)
3377 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
3378 Linear1DFunction_swigregister(Linear1DFunction)
3380 class GeneralizedGuinierPorodFunction(UnivariateFunction):
3381 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class."""
3383 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3385 def __init__(self, G, Rg, d, s, A):
3386 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
3387 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
3389 self.this.append(this)
3390 except __builtin__.Exception:
3393 def __call__(self, *args):
3395 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
3396 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3397 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3399 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
3402 def get_second_derivative_vector(self, *args):
3404 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3405 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3407 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
3411 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
3412 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
3416 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
3417 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
3421 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
3422 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
3427 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
3429 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
3430 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
3432 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
3434 """Proxy of C++ IMP::isd::BivariateFunction class."""
3436 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3438 def __init__(self, *args, **kwargs):
3439 raise AttributeError(
"No constructor defined - class is abstract")
3441 def __call__(self, *args):
3443 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
3444 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3445 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3447 return _IMP_isd.BivariateFunction___call__(self, *args)
3450 def has_changed(self):
3451 """has_changed(BivariateFunction self) -> bool"""
3452 return _IMP_isd.BivariateFunction_has_changed(self)
3456 """update(BivariateFunction self)"""
3457 return _IMP_isd.BivariateFunction_update(self)
3460 def add_to_derivatives(self, x1, x2, accum):
3461 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
3462 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
3465 def add_to_particle_derivative(self, particle_no, value, accum):
3466 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3467 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3470 def get_derivative_matrix(self, *args):
3472 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3473 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3475 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
3478 def get_second_derivative_matrix(self, *args):
3480 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3481 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3483 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
3486 def get_ndims_x1(self):
3487 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
3488 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
3491 def get_ndims_x2(self):
3492 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
3493 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
3496 def get_ndims_y(self):
3497 """get_ndims_y(BivariateFunction self) -> unsigned int"""
3498 return _IMP_isd.BivariateFunction_get_ndims_y(self)
3501 def get_number_of_particles(self):
3502 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
3503 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
3506 def get_particle_is_optimized(self, particle_no):
3507 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
3508 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
3511 def get_number_of_optimized_particles(self):
3512 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
3513 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
3517 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
3518 return _IMP_isd.BivariateFunction_get_inputs(self)
3520 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
3521 __del__ =
lambda self:
None
3524 """__str__(BivariateFunction self) -> std::string"""
3525 return _IMP_isd.BivariateFunction___str__(self)
3529 """__repr__(BivariateFunction self) -> std::string"""
3530 return _IMP_isd.BivariateFunction___repr__(self)
3535 return _object_cast_to_BivariateFunction(o)
3537 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
3538 BivariateFunction_swigregister(BivariateFunction)
3540 class Covariance1DFunction(BivariateFunction):
3541 """Proxy of C++ IMP::isd::Covariance1DFunction class."""
3543 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3545 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
3547 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
3548 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
3549 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
3550 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
3552 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
3554 self.this.append(this)
3555 except __builtin__.Exception:
3558 def __call__(self, *args):
3560 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
3561 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3562 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3564 return _IMP_isd.Covariance1DFunction___call__(self, *args)
3567 def get_derivative_matrix(self, *args):
3569 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3570 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
3572 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
3575 def get_second_derivative_matrix(self, *args):
3577 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3578 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3580 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
3584 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
3585 return _IMP_isd.Covariance1DFunction_get_version_info(self)
3589 """__str__(Covariance1DFunction self) -> std::string"""
3590 return _IMP_isd.Covariance1DFunction___str__(self)
3594 """__repr__(Covariance1DFunction self) -> std::string"""
3595 return _IMP_isd.Covariance1DFunction___repr__(self)
3600 return _object_cast_to_Covariance1DFunction(o)
3602 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
3603 Covariance1DFunction_swigregister(Covariance1DFunction)
3605 class GaussianProcessInterpolation(
IMP.Object):
3606 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class."""
3608 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3610 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
3612 __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
3613 __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
3615 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
3617 self.this.append(this)
3618 except __builtin__.Exception:
3621 def get_posterior_mean(self, x):
3622 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
3623 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
3626 def get_posterior_covariance(self, x1, x2):
3627 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
3628 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
3631 def get_posterior_covariance_matrix(self, x, arg3):
3632 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
3633 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
3636 def get_posterior_covariance_derivative(self, x, arg3):
3637 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
3638 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
3641 def get_posterior_covariance_hessian(self, x, arg3):
3642 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
3643 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
3647 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
3648 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
3651 def force_mean_update(self):
3652 """force_mean_update(GaussianProcessInterpolation self)"""
3653 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
3656 def force_covariance_update(self):
3657 """force_covariance_update(GaussianProcessInterpolation self)"""
3658 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
3661 def get_number_of_m_particles(self):
3662 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
3663 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
3666 def get_m_particle_is_optimized(self, i):
3667 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3668 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
3671 def get_number_of_Omega_particles(self):
3672 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
3673 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
3676 def get_Omega_particle_is_optimized(self, i):
3677 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3678 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
3681 def get_data_abscissa(self):
3682 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3683 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
3686 def get_data_mean(self):
3687 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
3688 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
3691 def get_data_variance(self):
3692 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3693 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
3697 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
3698 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
3702 """__str__(GaussianProcessInterpolation self) -> std::string"""
3703 return _IMP_isd.GaussianProcessInterpolation___str__(self)
3707 """__repr__(GaussianProcessInterpolation self) -> std::string"""
3708 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
3713 return _object_cast_to_GaussianProcessInterpolation(o)
3715 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
3716 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
3719 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class."""
3721 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3723 def __init__(self, m, gpi):
3724 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
3725 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
3727 self.this.append(this)
3728 except __builtin__.Exception:
3731 def get_probability(self):
3732 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
3733 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
3737 """stats(GaussianProcessInterpolationRestraint self)"""
3738 return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
3741 def set_use_cg(self, use, tol):
3742 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
3743 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
3746 def get_minus_log_normalization(self):
3747 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
3748 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
3751 def get_minus_exponent(self):
3752 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
3753 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
3756 def get_logdet_hessian(self):
3757 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
3758 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
3761 def get_hessian(self, *args):
3763 get_hessian(GaussianProcessInterpolationRestraint self) -> IMP_Eigen::MatrixXd
3764 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
3766 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
3770 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
3771 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
3775 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
3776 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
3780 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
3781 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
3785 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
3786 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
3791 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
3793 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
3794 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
3797 """Proxy of C++ IMP::isd::MolecularDynamics class."""
3799 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3801 def __init__(self, m=None):
3803 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
3804 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
3806 this = _IMP_isd.new_MolecularDynamics(m)
3808 self.this.append(this)
3809 except __builtin__.Exception:
3813 """__str__(MolecularDynamics self) -> std::string"""
3814 return _IMP_isd.MolecularDynamics___str__(self)
3818 """__repr__(MolecularDynamics self) -> std::string"""
3819 return _IMP_isd.MolecularDynamics___repr__(self)
3824 return _object_cast_to_MolecularDynamics(o)
3826 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
3827 __del__ =
lambda self:
None
3828 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
3829 MolecularDynamics_swigregister(MolecularDynamics)
3832 """Proxy of C++ IMP::isd::MolecularDynamicsMover class."""
3834 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3836 def __init__(self, m, nsteps=100, timestep=1.):
3838 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
3839 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
3840 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
3842 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
3844 self.this.append(this)
3845 except __builtin__.Exception:
3849 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
3850 return _IMP_isd.MolecularDynamicsMover_get_md(self)
3853 def get_number_of_md_steps(self):
3854 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
3855 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
3858 def set_number_of_md_steps(self, nsteps):
3859 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
3860 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
3864 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
3865 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
3869 """__str__(MolecularDynamicsMover self) -> std::string"""
3870 return _IMP_isd.MolecularDynamicsMover___str__(self)
3874 """__repr__(MolecularDynamicsMover self) -> std::string"""
3875 return _IMP_isd.MolecularDynamicsMover___repr__(self)
3880 return _object_cast_to_MolecularDynamicsMover(o)
3882 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
3883 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
3886 """Proxy of C++ IMP::isd::HybridMonteCarlo class."""
3888 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3890 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
3892 __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
3893 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
3894 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
3895 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
3896 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
3898 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
3900 self.this.append(this)
3901 except __builtin__.Exception:
3904 def get_kinetic_energy(self):
3905 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
3906 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
3909 def get_potential_energy(self):
3910 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
3911 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
3914 def get_total_energy(self):
3915 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
3916 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
3919 def set_timestep(self, ts):
3920 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
3921 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
3924 def get_timestep(self):
3925 """get_timestep(HybridMonteCarlo self) -> double"""
3926 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
3929 def set_number_of_md_steps(self, nsteps):
3930 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
3931 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
3934 def get_number_of_md_steps(self):
3935 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
3936 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
3939 def set_persistence(self, persistence=1):
3941 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
3942 set_persistence(HybridMonteCarlo self)
3944 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
3947 def get_persistence(self):
3948 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
3949 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
3953 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
3954 return _IMP_isd.HybridMonteCarlo_get_md(self)
3957 def do_evaluate(self, arg2):
3958 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
3959 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
3963 """do_step(HybridMonteCarlo self)"""
3964 return _IMP_isd.HybridMonteCarlo_do_step(self)
3968 """__str__(HybridMonteCarlo self) -> std::string"""
3969 return _IMP_isd.HybridMonteCarlo___str__(self)
3973 """__repr__(HybridMonteCarlo self) -> std::string"""
3974 return _IMP_isd.HybridMonteCarlo___repr__(self)
3979 return _object_cast_to_HybridMonteCarlo(o)
3981 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
3982 HybridMonteCarlo_swigregister(HybridMonteCarlo)
3985 """Proxy of C++ IMP::isd::FretData class."""
3987 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3989 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
3991 __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
3992 __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
3994 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
3996 self.this.append(this)
3997 except __builtin__.Exception:
4000 def get_closest(self, vec, value):
4001 """get_closest(FretData self, DistBase vec, double value) -> int"""
4002 return _IMP_isd.FretData_get_closest(self, vec, value)
4005 def get_probability(self, distn, dist, sigma):
4006 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4007 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4010 def get_kernel(self, dist, R0):
4011 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4012 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4015 def get_marginal_element(self, d_term, d_center, sigma):
4016 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4017 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4021 """get_version_info(FretData self) -> VersionInfo"""
4022 return _IMP_isd.FretData_get_version_info(self)
4026 """__str__(FretData self) -> std::string"""
4027 return _IMP_isd.FretData___str__(self)
4031 """__repr__(FretData self) -> std::string"""
4032 return _IMP_isd.FretData___repr__(self)
4037 return _object_cast_to_FretData(o)
4039 FretData_swigregister = _IMP_isd.FretData_swigregister
4040 FretData_swigregister(FretData)
4043 """Proxy of C++ IMP::isd::FretRestraint class."""
4045 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4047 def __init__(self, *args):
4049 __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
4050 __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
4051 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4052 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4053 __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
4055 this = _IMP_isd.new_FretRestraint(*args)
4057 self.this.append(this)
4058 except __builtin__.Exception:
4061 def get_sumFi(self):
4062 """get_sumFi(FretRestraint self) -> double"""
4063 return _IMP_isd.FretRestraint_get_sumFi(self)
4066 def get_average_sigma(self, fmod):
4067 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4068 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4071 def get_standard_error(self):
4072 """get_standard_error(FretRestraint self) -> double"""
4073 return _IMP_isd.FretRestraint_get_standard_error(self)
4076 def get_model_fretr(self):
4077 """get_model_fretr(FretRestraint self) -> double"""
4078 return _IMP_isd.FretRestraint_get_model_fretr(self)
4081 def get_probability(self):
4082 """get_probability(FretRestraint self) -> double"""
4083 return _IMP_isd.FretRestraint_get_probability(self)
4086 def get_experimental_value(self):
4087 """get_experimental_value(FretRestraint self) -> double"""
4088 return _IMP_isd.FretRestraint_get_experimental_value(self)
4091 def set_experimental_value(self, fexp):
4092 """set_experimental_value(FretRestraint self, double fexp)"""
4093 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4097 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4098 return _IMP_isd.FretRestraint_do_get_inputs(self)
4102 """get_version_info(FretRestraint self) -> VersionInfo"""
4103 return _IMP_isd.FretRestraint_get_version_info(self)
4107 """__str__(FretRestraint self) -> std::string"""
4108 return _IMP_isd.FretRestraint___str__(self)
4112 """__repr__(FretRestraint self) -> std::string"""
4113 return _IMP_isd.FretRestraint___repr__(self)
4118 return _object_cast_to_FretRestraint(o)
4120 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4121 FretRestraint_swigregister(FretRestraint)
4124 """Proxy of C++ IMP::isd::CysteineCrossLinkData class."""
4126 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4128 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4130 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4131 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4133 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4135 self.this.append(this)
4136 except __builtin__.Exception:
4139 def get_closest(self, vec, value):
4140 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4141 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4144 def get_omegas(self, fmods, omega0):
4145 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4146 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4149 def get_nonmarginal_elements(self, fexp, fmods, omega):
4150 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4151 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4154 def get_marginal_elements(self, fmods, omega0):
4155 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4156 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4159 def get_omega(self, fmod, omega0):
4160 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4161 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
4164 def get_standard_deviation(self, fmod, omega0):
4165 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4166 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
4169 def get_nonmarginal_element(self, fexp, fmod, omega):
4170 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
4171 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
4174 def get_marginal_element(self, fmod, omega0):
4175 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4176 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
4180 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
4181 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
4185 """__str__(CysteineCrossLinkData self) -> std::string"""
4186 return _IMP_isd.CysteineCrossLinkData___str__(self)
4190 """__repr__(CysteineCrossLinkData self) -> std::string"""
4191 return _IMP_isd.CysteineCrossLinkData___repr__(self)
4196 return _object_cast_to_CysteineCrossLinkData(o)
4198 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
4199 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
4202 """Proxy of C++ IMP::isd::CrossLinkData class."""
4204 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4206 def __init__(self, *args):
4208 __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
4209 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
4210 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
4211 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
4212 __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
4213 __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
4214 __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
4215 __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
4217 this = _IMP_isd.new_CrossLinkData(*args)
4219 self.this.append(this)
4220 except __builtin__.Exception:
4223 def get_closest(self, vec, value):
4224 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
4225 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
4228 def get_omegas(self, sigma, dists):
4229 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4230 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
4233 def get_omega_prior(self, omega, omega0):
4234 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
4235 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
4238 def get_nonmarginal_elements(self, sigmai, dists):
4239 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
4240 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
4243 def get_marginal_elements(self, sigma, dists):
4244 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4245 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
4248 def get_marginal_maximum(self, *args):
4250 get_marginal_maximum(CrossLinkData self, double sigma) -> double
4251 get_marginal_maximum(CrossLinkData self) -> double
4253 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
4257 """get_version_info(CrossLinkData self) -> VersionInfo"""
4258 return _IMP_isd.CrossLinkData_get_version_info(self)
4262 """__str__(CrossLinkData self) -> std::string"""
4263 return _IMP_isd.CrossLinkData___str__(self)
4267 """__repr__(CrossLinkData self) -> std::string"""
4268 return _IMP_isd.CrossLinkData___repr__(self)
4273 return _object_cast_to_CrossLinkData(o)
4275 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
4276 CrossLinkData_swigregister(CrossLinkData)
4279 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class."""
4281 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4283 def __init__(self, *args):
4285 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
4286 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
4288 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
4290 self.this.append(this)
4291 except __builtin__.Exception:
4294 def get_probability(self):
4295 """get_probability(CysteineCrossLinkRestraint self) -> double"""
4296 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
4299 def get_standard_error(self):
4300 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
4301 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
4304 def get_frequencies(self):
4305 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4306 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
4309 def get_model_frequency(self):
4310 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
4311 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
4314 def get_distances(self):
4315 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4316 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
4319 def get_truncated_normalization(self, mean, sigma):
4320 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
4321 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
4324 def get_normal_pdf(self, mean, sigma, x):
4325 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
4326 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
4329 def add_contribution(self, *args):
4331 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
4332 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
4334 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
4337 def get_CB_coordinates(self, ps):
4338 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
4339 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
4342 def get_number_of_contributions(self):
4343 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
4344 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
4348 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
4349 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
4353 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
4354 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
4358 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
4359 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
4363 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
4364 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
4369 return _object_cast_to_CysteineCrossLinkRestraint(o)
4371 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
4372 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
4375 """Proxy of C++ IMP::isd::WeightMover class."""
4377 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4379 def __init__(self, w, radius):
4380 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
4381 this = _IMP_isd.new_WeightMover(w, radius)
4383 self.this.append(this)
4384 except __builtin__.Exception:
4387 def set_radius(self, radius):
4388 """set_radius(WeightMover self, IMP::Float radius)"""
4389 return _IMP_isd.WeightMover_set_radius(self, radius)
4392 def get_radius(self):
4393 """get_radius(WeightMover self) -> IMP::Float"""
4394 return _IMP_isd.WeightMover_get_radius(self)
4398 """get_version_info(WeightMover self) -> VersionInfo"""
4399 return _IMP_isd.WeightMover_get_version_info(self)
4403 """__str__(WeightMover self) -> std::string"""
4404 return _IMP_isd.WeightMover___str__(self)
4408 """__repr__(WeightMover self) -> std::string"""
4409 return _IMP_isd.WeightMover___repr__(self)
4414 return _object_cast_to_WeightMover(o)
4416 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
4417 WeightMover_swigregister(WeightMover)
4420 """Proxy of C++ IMP::isd::WeightRestraint class."""
4422 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4424 def __init__(self, w, wmin, wmax, kappa):
4425 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
4426 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
4428 self.this.append(this)
4429 except __builtin__.Exception:
4433 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
4434 return _IMP_isd.WeightRestraint_do_get_inputs(self)
4438 """get_version_info(WeightRestraint self) -> VersionInfo"""
4439 return _IMP_isd.WeightRestraint_get_version_info(self)
4443 """__str__(WeightRestraint self) -> std::string"""
4444 return _IMP_isd.WeightRestraint___str__(self)
4448 """__repr__(WeightRestraint self) -> std::string"""
4449 return _IMP_isd.WeightRestraint___repr__(self)
4454 return _object_cast_to_WeightRestraint(o)
4456 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
4457 WeightRestraint_swigregister(WeightRestraint)
4460 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class."""
4462 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4464 def __init__(self, *args):
4466 __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
4467 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
4468 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
4469 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
4471 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
4473 self.this.append(this)
4474 except __builtin__.Exception:
4477 def add_contribution(self, ppi, sigmas):
4478 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
4479 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
4482 def evaluate_for_contributions(self, c, accum):
4483 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
4484 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
4487 def get_number_of_contributions(self):
4488 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
4489 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
4492 def get_contribution(self, i):
4493 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
4494 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
4497 def get_contribution_sigmas(self, i):
4498 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
4499 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
4503 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
4504 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
4508 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
4509 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
4512 def show(self, out):
4513 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
4514 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
4517 def set_slope(self, slope):
4518 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
4519 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
4522 def set_part_of_log_score(self, hey):
4523 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
4524 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
4528 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
4529 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
4533 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
4534 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
4538 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
4539 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
4544 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
4546 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
4547 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
4550 """Proxy of C++ IMP::isd::GaussianEMRestraint class."""
4552 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4554 def __init__(self, *args):
4556 __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
4557 __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
4558 __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
4559 __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
4560 __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
4562 this = _IMP_isd.new_GaussianEMRestraint(*args)
4564 self.this.append(this)
4565 except __builtin__.Exception:
4568 def get_probability(self):
4569 """get_probability(GaussianEMRestraint self) -> double"""
4570 return _IMP_isd.GaussianEMRestraint_get_probability(self)
4573 def compute_initial_scores(self):
4574 """compute_initial_scores(GaussianEMRestraint self)"""
4575 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
4578 def set_slope(self, s):
4579 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
4580 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
4583 def get_slope(self):
4584 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
4585 return _IMP_isd.GaussianEMRestraint_get_slope(self)
4589 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
4590 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
4593 def show(self, out):
4594 """show(GaussianEMRestraint self, _ostream out)"""
4595 return _IMP_isd.GaussianEMRestraint_show(self, out)
4599 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
4600 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
4604 """__str__(GaussianEMRestraint self) -> std::string"""
4605 return _IMP_isd.GaussianEMRestraint___str__(self)
4609 """__repr__(GaussianEMRestraint self) -> std::string"""
4610 return _IMP_isd.GaussianEMRestraint___repr__(self)
4615 return _object_cast_to_GaussianEMRestraint(o)
4617 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
4618 GaussianEMRestraint_swigregister(GaussianEMRestraint)
4620 class GaussianAnchorEMRestraint(ISDRestraint):
4621 """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class."""
4623 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4625 def __init__(self, *args):
4627 __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
4628 __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
4630 this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
4632 self.this.append(this)
4633 except __builtin__.Exception:
4636 def get_density_particles(self):
4637 """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
4638 return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
4642 """__str__(GaussianAnchorEMRestraint self) -> std::string"""
4643 return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
4647 """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
4648 return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
4653 return _object_cast_to_GaussianAnchorEMRestraint(o)
4655 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
4656 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
4659 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
4661 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
4662 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
4664 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
4666 def get_module_version():
4667 """get_module_version() -> std::string const"""
4668 return _IMP_isd.get_module_version()
4671 """get_example_path(std::string fname) -> std::string"""
4672 return _IMP_isd.get_example_path(fname)
4675 """get_data_path(std::string fname) -> std::string"""
4676 return _IMP_isd.get_data_path(fname)
4678 from .
import _version_check
4679 _version_check.check_version(get_module_version())
4680 __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.
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.