IMP logo
IMP Reference Guide  2.15.0
The Integrative Modeling Platform
isd/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.7
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2021 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info
16 if version_info >= (2, 6, 0):
17  def swig_import_helper():
18  from os.path import dirname
19  import imp
20  fp = None
21  try:
22  fp, pathname, description = imp.find_module('_IMP_isd', [dirname(__file__)])
23  except ImportError:
24  import _IMP_isd
25  return _IMP_isd
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_isd', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_isd = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_isd
36 del version_info
37 try:
38  _swig_property = property
39 except NameError:
40  pass # Python < 2.2 doesn't have 'property'.
41 
42 
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44  if (name == "thisown"):
45  return self.this.own(value)
46  if (name == "this"):
47  if type(value).__name__ == 'SwigPyObject':
48  self.__dict__[name] = value
49  return
50  method = class_type.__swig_setmethods__.get(name, None)
51  if method:
52  return method(self, value)
53  if (not static):
54  object.__setattr__(self, name, value)
55  else:
56  raise AttributeError("You cannot add attributes to %s" % self)
57 
58 
59 def _swig_setattr(self, class_type, name, value):
60  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61 
62 
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64  if (name == "thisown"):
65  return self.this.own()
66  method = class_type.__swig_getmethods__.get(name, None)
67  if method:
68  return method(self)
69  if (not static):
70  return object.__getattr__(self, name)
71  else:
72  raise AttributeError(name)
73 
74 def _swig_getattr(self, class_type, name):
75  return _swig_getattr_nondynamic(self, class_type, name, 0)
76 
77 
78 def _swig_repr(self):
79  try:
80  strthis = "proxy of " + self.this.__repr__()
81  except:
82  strthis = ""
83  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
84 
85 try:
86  _object = object
87  _newclass = 1
88 except AttributeError:
89  class _object:
90  pass
91  _newclass = 0
92 
93 
94 
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)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_ISD_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_ISD_SwigPyIterator class"""
115  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
116 
117  def __init__(self, *args, **kwargs):
118  raise AttributeError("No constructor defined - class is abstract")
119  __repr__ = _swig_repr
120  __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
121  __del__ = lambda self: None
122 
123  def value(self):
124  """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
125  return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
126 
127 
128  def incr(self, n=1):
129  """
130  incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
131  incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
132  """
133  return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
134 
135 
136  def decr(self, n=1):
137  """
138  decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
139  decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
140  """
141  return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
142 
143 
144  def distance(self, x):
145  """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
146  return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, x)
147 
148 
149  def equal(self, x):
150  """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
151  return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, x)
152 
153 
154  def copy(self):
155  """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
156  return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
157 
158 
159  def next(self):
160  """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
161  return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
162 
163 
164  def __next__(self):
165  """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
166  return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
167 
168 
169  def previous(self):
170  """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
171  return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
172 
173 
174  def advance(self, n):
175  """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
176  return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, n)
177 
178 
179  def __eq__(self, x):
180  """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
181  return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, x)
182 
183 
184  def __ne__(self, x):
185  """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
186  return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, x)
187 
188 
189  def __iadd__(self, n):
190  """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
191  return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, n)
192 
193 
194  def __isub__(self, n):
195  """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
196  return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, n)
197 
198 
199  def __add__(self, n):
200  """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
201  return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, n)
202 
203 
204  def __sub__(self, *args):
205  """
206  __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
207  __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
208  """
209  return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
210 
211  def __iter__(self):
212  return self
213 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
214 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
215 
216 
217 _value_types=[]
218 _object_types=[]
219 _raii_types=[]
220 _plural_types=[]
221 
222 
223 _IMP_isd.IMP_DEBUG_swigconstant(_IMP_isd)
224 IMP_DEBUG = _IMP_isd.IMP_DEBUG
225 
226 _IMP_isd.IMP_RELEASE_swigconstant(_IMP_isd)
227 IMP_RELEASE = _IMP_isd.IMP_RELEASE
228 
229 _IMP_isd.IMP_SILENT_swigconstant(_IMP_isd)
230 IMP_SILENT = _IMP_isd.IMP_SILENT
231 
232 _IMP_isd.IMP_PROGRESS_swigconstant(_IMP_isd)
233 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
234 
235 _IMP_isd.IMP_TERSE_swigconstant(_IMP_isd)
236 IMP_TERSE = _IMP_isd.IMP_TERSE
237 
238 _IMP_isd.IMP_VERBOSE_swigconstant(_IMP_isd)
239 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
240 
241 _IMP_isd.IMP_MEMORY_swigconstant(_IMP_isd)
242 IMP_MEMORY = _IMP_isd.IMP_MEMORY
243 
244 _IMP_isd.IMP_NONE_swigconstant(_IMP_isd)
245 IMP_NONE = _IMP_isd.IMP_NONE
246 
247 _IMP_isd.IMP_USAGE_swigconstant(_IMP_isd)
248 IMP_USAGE = _IMP_isd.IMP_USAGE
249 
250 _IMP_isd.IMP_INTERNAL_swigconstant(_IMP_isd)
251 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
252 
253 _IMP_isd.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_isd)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_isd.IMP_KERNEL_HAS_LOG4CXX
255 
256 _IMP_isd.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_isd)
257 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
258 
259 _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_isd)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
261 
262 _IMP_isd.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_isd)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_isd.IMP_COMPILER_HAS_UNIQUE_PTR
264 
265 _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
267 
268 _IMP_isd.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_isd)
269 IMP_KERNEL_HAS_NUMPY = _IMP_isd.IMP_KERNEL_HAS_NUMPY
270 
271 _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_isd)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS
273 
274 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_isd)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
276 
277 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_isd)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
279 
280 _IMP_isd.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_isd)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
282 
283 import sys
284 class _DirectorObjects(object):
285  """@internal Simple class to keep references to director objects
286  to prevent premature deletion."""
287  def __init__(self):
288  self._objects = []
289  def register(self, obj):
290  """Take a reference to a director object; will only work for
291  refcounted C++ classes"""
292  if hasattr(obj, 'get_ref_count'):
293  self._objects.append(obj)
294  def cleanup(self):
295  """Only drop our reference and allow cleanup by Python if no other
296  Python references exist (we hold 3 references: one in self._objects,
297  one in x, and one in the argument list for getrefcount) *and* no
298  other C++ references exist (the Python object always holds one)"""
299  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
300  or x.get_ref_count() > 1]
301 # Do in two steps so the references are kept until the end of the
302 # function (deleting references may trigger a fresh call to this method)
303  self._objects = objs
304  def get_object_count(self):
305  """Get number of director objects (useful for testing only)"""
306  return len(self._objects)
307 _director_objects = _DirectorObjects()
308 
309 class _ostream(object):
310  """Proxy of C++ std::ostream class"""
311  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
312 
313  def __init__(self, *args, **kwargs):
314  raise AttributeError("No constructor defined")
315  __repr__ = _swig_repr
316 
317  def write(self, osa_buf):
318  """write(_ostream self, char const * osa_buf)"""
319  return _IMP_isd._ostream_write(self, osa_buf)
320 
321 _ostream_swigregister = _IMP_isd._ostream_swigregister
322 _ostream_swigregister(_ostream)
323 
324 
325 _IMP_isd.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_isd)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
327 
328 _IMP_isd.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_isd)
329 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
330 
331 _IMP_isd.IMP_HAS_NOEXCEPT_swigconstant(_IMP_isd)
332 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
333 
334 _IMP_isd.IMP_C_OPEN_BINARY_swigconstant(_IMP_isd)
335 IMP_C_OPEN_BINARY = _IMP_isd.IMP_C_OPEN_BINARY
336 import IMP
337 
338 _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
340 
341 _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
343 
344 _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
346 
347 _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
349 
350 _IMP_isd.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_isd)
351 IMP_CGAL_HAS_NUMPY = _IMP_isd.IMP_CGAL_HAS_NUMPY
352 
353 _IMP_isd.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_isd)
354 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
355 import IMP.cgal
356 
357 _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_isd)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
359 
360 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 
363 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 
366 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 
369 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
371 
372 _IMP_isd.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_isd)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
374 
375 _IMP_isd.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_isd)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_isd.IMP_ALGEBRA_HAS_NUMPY
377 
378 _IMP_isd.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_isd)
379 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
380 
381 _IMP_isd.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_isd)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
383 import IMP.algebra
384 
385 _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_isd)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
387 
388 _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
390 
391 _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
393 
394 _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
396 
397 _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
399 
400 _IMP_isd.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_isd)
401 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
402 
403 _IMP_isd.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_isd)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_isd.IMP_DISPLAY_HAS_NUMPY
405 
406 _IMP_isd.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_isd)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
408 import IMP.display
409 
410 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_isd)
411 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
412 
413 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
414 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
415 
416 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
417 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
418 
419 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
420 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
421 
422 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
423 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
424 
425 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_isd)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
427 
428 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_isd)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
430 
431 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_isd)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_NUMPY
433 
434 _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_isd)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
436 import IMP.score_functor
437 
438 _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
439 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
440 
441 _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
442 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
443 
444 _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
445 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
446 
447 _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
448 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
449 
450 _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
451 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
452 
453 _IMP_isd.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_isd)
454 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
455 
456 _IMP_isd.IMP_STATISTICS_HAS_NUMPY_swigconstant(_IMP_isd)
457 IMP_STATISTICS_HAS_NUMPY = _IMP_isd.IMP_STATISTICS_HAS_NUMPY
458 
459 _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_isd)
460 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
461 import IMP.statistics
462 
463 _IMP_isd.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_isd)
464 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
465 
466 _IMP_isd.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
467 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
468 
469 _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
470 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
471 
472 _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
473 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
474 
475 _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
476 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
477 
478 _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
479 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
480 
481 _IMP_isd.IMP_CORE_HAS_CGAL_swigconstant(_IMP_isd)
482 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
483 
484 _IMP_isd.IMP_CORE_HAS_HDF5_swigconstant(_IMP_isd)
485 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
486 
487 _IMP_isd.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_isd)
488 IMP_CORE_HAS_NUMPY = _IMP_isd.IMP_CORE_HAS_NUMPY
489 
490 _IMP_isd.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_isd)
491 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
492 import IMP.core
493 
494 _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_isd)
495 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
496 
497 _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_isd)
498 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
499 
500 _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
501 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
502 
503 _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
504 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
505 
506 _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
507 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
508 
509 _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
510 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
511 
512 _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
513 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
514 
515 _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
516 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
517 
518 _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
519 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
520 
521 _IMP_isd.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_isd)
522 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
523 
524 _IMP_isd.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_isd)
525 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
526 
527 _IMP_isd.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_isd)
528 IMP_CONTAINER_HAS_NUMPY = _IMP_isd.IMP_CONTAINER_HAS_NUMPY
529 
530 _IMP_isd.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
531 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_isd.IMP_CONTAINER_HAS_PYTHON_IHM
532 
533 _IMP_isd.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_isd)
534 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_isd.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
535 
536 _IMP_isd.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_isd)
537 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_isd.IMP_CONTAINER_HAS_ROBIN_MAP
538 
539 _IMP_isd.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_isd)
540 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
541 import IMP.container
542 
543 _IMP_isd.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
544 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
545 
546 _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
547 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
548 
549 _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
550 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
551 
552 _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
553 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
554 
555 _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
556 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
557 
558 _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
559 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
560 
561 _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
562 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
563 
564 _IMP_isd.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_isd)
565 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
566 
567 _IMP_isd.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_isd)
568 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
569 
570 _IMP_isd.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_isd)
571 IMP_ATOM_HAS_NUMPY = _IMP_isd.IMP_ATOM_HAS_NUMPY
572 
573 _IMP_isd.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
574 IMP_ATOM_HAS_PYTHON_IHM = _IMP_isd.IMP_ATOM_HAS_PYTHON_IHM
575 
576 _IMP_isd.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_isd)
577 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
578 
579 _IMP_isd.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_isd)
580 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
581 
582 _IMP_isd.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_isd)
583 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
584 
585 _IMP_isd.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_isd)
586 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
587 
588 _IMP_isd.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_isd)
589 IMP_CHAIN_TYPE_INDEX = _IMP_isd.IMP_CHAIN_TYPE_INDEX
590 import IMP.atom
591 
592 _IMP_isd.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
593 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
594 
595 _IMP_isd.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
596 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
597 
598 _IMP_isd.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
599 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
600 
601 _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
602 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
603 
604 _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
605 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
606 
607 _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
608 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
609 
610 _IMP_isd.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
611 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
612 
613 _IMP_isd.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
614 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
615 
616 _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
617 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
618 
619 _IMP_isd.IMP_EM_HAS_CGAL_swigconstant(_IMP_isd)
620 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
621 
622 _IMP_isd.IMP_EM_HAS_HDF5_swigconstant(_IMP_isd)
623 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
624 
625 _IMP_isd.IMP_EM_HAS_NUMPY_swigconstant(_IMP_isd)
626 IMP_EM_HAS_NUMPY = _IMP_isd.IMP_EM_HAS_NUMPY
627 
628 _IMP_isd.IMP_EM_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
629 IMP_EM_HAS_PYTHON_IHM = _IMP_isd.IMP_EM_HAS_PYTHON_IHM
630 
631 _IMP_isd.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_isd)
632 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
633 import IMP.em
634 
635 _IMP_isd.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
636 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
637 
638 _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
639 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
640 
641 _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
642 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
643 
644 _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
645 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
646 
647 _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
648 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
649 
650 _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
651 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
652 
653 _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
654 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
655 
656 _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
657 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
658 
659 _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
660 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
661 
662 _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
663 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
664 
665 _IMP_isd.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_isd)
666 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
667 
668 _IMP_isd.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_isd)
669 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
670 
671 _IMP_isd.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_isd)
672 IMP_SAXS_HAS_NUMPY = _IMP_isd.IMP_SAXS_HAS_NUMPY
673 
674 _IMP_isd.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
675 IMP_SAXS_HAS_PYTHON_IHM = _IMP_isd.IMP_SAXS_HAS_PYTHON_IHM
676 
677 _IMP_isd.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_isd)
678 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
679 import IMP.saxs
680 
681 _IMP_isd.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_isd)
682 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
683 
684 _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
685 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
686 
687 _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
688 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
689 
690 _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
691 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
692 
693 _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
694 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
695 
696 _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
697 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
698 
699 _IMP_isd.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
700 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
701 
702 _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
703 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
704 
705 _IMP_isd.IMP_ISD_HAS_CGAL_swigconstant(_IMP_isd)
706 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
707 
708 _IMP_isd.IMP_ISD_HAS_HDF5_swigconstant(_IMP_isd)
709 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
710 
711 _IMP_isd.IMP_ISD_HAS_NUMPY_swigconstant(_IMP_isd)
712 IMP_ISD_HAS_NUMPY = _IMP_isd.IMP_ISD_HAS_NUMPY
713 
714 _IMP_isd.IMP_ISD_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
715 IMP_ISD_HAS_PYTHON_IHM = _IMP_isd.IMP_ISD_HAS_PYTHON_IHM
716 
717 _IMP_isd.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_isd)
718 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
719 
720 _object_types.append("ISDRestraint")
721 
722 
723 def _object_cast_to_ISDRestraint(o):
724  """_object_cast_to_ISDRestraint(Object o) -> ISDRestraint"""
725  return _IMP_isd._object_cast_to_ISDRestraint(o)
726 
727 _object_types.append("CrossLinkMSRestraint")
728 
729 
730 def _object_cast_to_CrossLinkMSRestraint(o):
731  """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
732  return _IMP_isd._object_cast_to_CrossLinkMSRestraint(o)
733 
734 _object_types.append("LogWrapper")
735 
736 
737 def _object_cast_to_LogWrapper(o):
738  """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
739  return _IMP_isd._object_cast_to_LogWrapper(o)
740 
741 _object_types.append("UniformPrior")
742 
743 
744 def _object_cast_to_UniformPrior(o):
745  """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
746  return _IMP_isd._object_cast_to_UniformPrior(o)
747 
748 _object_types.append("JeffreysRestraint")
749 
750 
751 def _object_cast_to_JeffreysRestraint(o):
752  """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
753  return _IMP_isd._object_cast_to_JeffreysRestraint(o)
754 
755 _object_types.append("NormalSigmaPCRestraint")
756 
757 
758 def _object_cast_to_NormalSigmaPCRestraint(o):
759  """_object_cast_to_NormalSigmaPCRestraint(Object o) -> NormalSigmaPCRestraint"""
760  return _IMP_isd._object_cast_to_NormalSigmaPCRestraint(o)
761 
762 _object_types.append("vonMisesKappaJeffreysRestraint")
763 
764 
765 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
766  """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
767  return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
768 
769 _object_types.append("vonMisesKappaConjugateRestraint")
770 
771 
772 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
773  """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
774  return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
775 
776 _object_types.append("Distribution")
777 
778 
779 def _object_cast_to_Distribution(o):
780  """_object_cast_to_Distribution(Object o) -> Distribution"""
781  return _IMP_isd._object_cast_to_Distribution(o)
782 
783 _object_types.append("OneDimensionalDistribution")
784 
785 
786 def _object_cast_to_OneDimensionalDistribution(o):
787  """_object_cast_to_OneDimensionalDistribution(Object o) -> OneDimensionalDistribution"""
788  return _IMP_isd._object_cast_to_OneDimensionalDistribution(o)
789 
790 _object_types.append("OneDimensionalSufficientDistribution")
791 
792 
793 def _object_cast_to_OneDimensionalSufficientDistribution(o):
794  """_object_cast_to_OneDimensionalSufficientDistribution(Object o) -> OneDimensionalSufficientDistribution"""
795  return _IMP_isd._object_cast_to_OneDimensionalSufficientDistribution(o)
796 
797 _object_types.append("FNormal")
798 
799 
800 def _object_cast_to_FNormal(o):
801  """_object_cast_to_FNormal(Object o) -> FNormal"""
802  return _IMP_isd._object_cast_to_FNormal(o)
803 
804 _object_types.append("FStudentT")
805 
806 
807 def _object_cast_to_FStudentT(o):
808  """_object_cast_to_FStudentT(Object o) -> FStudentT"""
809  return _IMP_isd._object_cast_to_FStudentT(o)
810 
811 _object_types.append("vonMises")
812 
813 
814 def _object_cast_to_vonMises(o):
815  """_object_cast_to_vonMises(Object o) -> vonMises"""
816  return _IMP_isd._object_cast_to_vonMises(o)
817 
818 _object_types.append("vonMisesSufficient")
819 
820 
821 def _object_cast_to_vonMisesSufficient(o):
822  """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
823  return _IMP_isd._object_cast_to_vonMisesSufficient(o)
824 
825 _object_types.append("PenalizedComplexityPrior")
826 
827 
828 def _object_cast_to_PenalizedComplexityPrior(o):
829  """_object_cast_to_PenalizedComplexityPrior(Object o) -> PenalizedComplexityPrior"""
830  return _IMP_isd._object_cast_to_PenalizedComplexityPrior(o)
831 
832 def Nuisances(l=[]):
833  return [Nuisance(x) for x in l]
834 _plural_types.append("Nuisances")
835 
836 
837 _value_types.append("Nuisance")
838 
839 
840 def Scales(l=[]):
841  return [Scale(x) for x in l]
842 _plural_types.append("Scales")
843 
844 
845 _value_types.append("Scale")
846 
847 
848 def Switchings(l=[]):
849  return [Switching(x) for x in l]
850 _plural_types.append("Switchings")
851 
852 
853 _value_types.append("Switching")
854 
855 
856 _object_types.append("NOERestraint")
857 
858 
859 def _object_cast_to_NOERestraint(o):
860  """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
861  return _IMP_isd._object_cast_to_NOERestraint(o)
862 
863 def Weights(l=[]):
864  return [Weight(x) for x in l]
865 _plural_types.append("Weights")
866 
867 
868 _value_types.append("Weight")
869 
870 
871 _object_types.append("GaussianRestraint")
872 
873 
874 def _object_cast_to_GaussianRestraint(o):
875  """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
876  return _IMP_isd._object_cast_to_GaussianRestraint(o)
877 
878 _object_types.append("StudentTRestraint")
879 
880 
881 def _object_cast_to_StudentTRestraint(o):
882  """_object_cast_to_StudentTRestraint(Object o) -> StudentTRestraint"""
883  return _IMP_isd._object_cast_to_StudentTRestraint(o)
884 
885 _object_types.append("LognormalRestraint")
886 
887 
888 def _object_cast_to_LognormalRestraint(o):
889  """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
890  return _IMP_isd._object_cast_to_LognormalRestraint(o)
891 
892 _object_types.append("LognormalAmbiguousRestraint")
893 
894 
895 def _object_cast_to_LognormalAmbiguousRestraint(o):
896  """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
897  return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
898 
899 _object_types.append("AmbiguousNOERestraint")
900 
901 
902 def _object_cast_to_AmbiguousNOERestraint(o):
903  """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
904  return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
905 
906 _object_types.append("MarginalNOERestraint")
907 
908 
909 def _object_cast_to_MarginalNOERestraint(o):
910  """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
911  return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
912 
913 _object_types.append("MarginalHBondRestraint")
914 
915 
916 def _object_cast_to_MarginalHBondRestraint(o):
917  """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
918  return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
919 
920 _object_types.append("TALOSRestraint")
921 
922 
923 def _object_cast_to_TALOSRestraint(o):
924  """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
925  return _IMP_isd._object_cast_to_TALOSRestraint(o)
926 
927 _object_types.append("RepulsiveDistancePairScore")
928 
929 
930 def _object_cast_to_RepulsiveDistancePairScore(o):
931  """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
932  return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
933 
934 _object_types.append("AmbiguousRestraint")
935 
936 
937 def _object_cast_to_AmbiguousRestraint(o):
938  """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
939  return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
940 
941 _object_types.append("UnivariateFunction")
942 
943 
944 def _object_cast_to_UnivariateFunction(o):
945  """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
946  return _IMP_isd._object_cast_to_UnivariateFunction(o)
947 
948 _object_types.append("Linear1DFunction")
949 
950 
951 def _object_cast_to_Linear1DFunction(o):
952  """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
953  return _IMP_isd._object_cast_to_Linear1DFunction(o)
954 
955 _object_types.append("GeneralizedGuinierPorodFunction")
956 
957 
958 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
959  """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
960  return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
961 
962 _object_types.append("BivariateFunction")
963 
964 
965 def _object_cast_to_BivariateFunction(o):
966  """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
967  return _IMP_isd._object_cast_to_BivariateFunction(o)
968 
969 _object_types.append("Covariance1DFunction")
970 
971 
972 def _object_cast_to_Covariance1DFunction(o):
973  """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
974  return _IMP_isd._object_cast_to_Covariance1DFunction(o)
975 
976 _object_types.append("GaussianProcessInterpolation")
977 
978 
979 def _object_cast_to_GaussianProcessInterpolation(o):
980  """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
981  return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
982 
983 _object_types.append("GaussianProcessInterpolationRestraint")
984 
985 
986 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
987  """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
988  return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
989 
990 _object_types.append("MolecularDynamics")
991 
992 
993 _object_types.append("MolecularDynamicsMover")
994 
995 
996 def _object_cast_to_MolecularDynamicsMover(o):
997  """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
998  return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
999 
1000 _object_types.append("HybridMonteCarlo")
1001 
1002 
1003 def _object_cast_to_HybridMonteCarlo(o):
1004  """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
1005  return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
1006 
1007 _object_types.append("FretData")
1008 
1009 
1010 def _object_cast_to_FretData(o):
1011  """_object_cast_to_FretData(Object o) -> FretData"""
1012  return _IMP_isd._object_cast_to_FretData(o)
1013 
1014 _object_types.append("FretRestraint")
1015 
1016 
1017 def _object_cast_to_FretRestraint(o):
1018  """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
1019  return _IMP_isd._object_cast_to_FretRestraint(o)
1020 
1021 _object_types.append("CrossLinkData")
1022 
1023 
1024 def _object_cast_to_CrossLinkData(o):
1025  """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
1026  return _IMP_isd._object_cast_to_CrossLinkData(o)
1027 
1028 _object_types.append("CysteineCrossLinkData")
1029 
1030 
1031 def _object_cast_to_CysteineCrossLinkData(o):
1032  """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
1033  return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
1034 
1035 _object_types.append("CysteineCrossLinkRestraint")
1036 
1037 
1038 def _object_cast_to_CysteineCrossLinkRestraint(o):
1039  """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
1040  return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
1041 
1042 _object_types.append("WeightMover")
1043 
1044 
1045 def _object_cast_to_WeightMover(o):
1046  """_object_cast_to_WeightMover(Object o) -> WeightMover"""
1047  return _IMP_isd._object_cast_to_WeightMover(o)
1048 
1049 _object_types.append("WeightRestraint")
1050 
1051 
1052 def _object_cast_to_WeightRestraint(o):
1053  """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
1054  return _IMP_isd._object_cast_to_WeightRestraint(o)
1055 
1056 _object_types.append("AtomicCrossLinkMSRestraint")
1057 
1058 
1059 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
1060  """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
1061  return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
1062 
1063 _object_types.append("GaussianEMRestraint")
1064 
1065 
1066 def _object_cast_to_GaussianEMRestraint(o):
1067  """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
1068  return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
1069 
1070 _object_types.append("GaussianAnchorEMRestraint")
1071 
1072 
1073 def _object_cast_to_GaussianAnchorEMRestraint(o):
1074  """_object_cast_to_GaussianAnchorEMRestraint(Object o) -> GaussianAnchorEMRestraint"""
1075  return _IMP_isd._object_cast_to_GaussianAnchorEMRestraint(o)
1076 
1077 _object_types.append("GammaPrior")
1078 
1079 
1080 def _object_cast_to_GammaPrior(o):
1081  """_object_cast_to_GammaPrior(Object o) -> GammaPrior"""
1082  return _IMP_isd._object_cast_to_GammaPrior(o)
1083 
1084 def create_model_and_particles():
1085  m= IMP.Model()
1088  IMP.algebra.Vector3D(10,10,10))
1089  for i in range(0,100):
1090  p= IMP.Particle(m)
1091  sc.add_particle(p)
1093  d.set_coordinates_are_optimized(True)
1094  return (m, sc)
1095 
1096 class ISDRestraint(IMP.Restraint):
1097  """Proxy of C++ IMP::isd::ISDRestraint class"""
1098  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1099 
1100  def __init__(self, m, name):
1101  """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
1102  if self.__class__ == ISDRestraint:
1103  _self = None
1104  else:
1105  _self = self
1106  this = _IMP_isd.new_ISDRestraint(_self, m, name)
1107  try:
1108  self.this.append(this)
1109  except:
1110  self.this = this
1111 
1112  if self.__class__ != ISDRestraint:
1113  _director_objects.register(self)
1114 
1115 
1116 
1117 
1118  def get_probability(self):
1119  """get_probability(ISDRestraint self) -> double"""
1120  return _IMP_isd.ISDRestraint_get_probability(self)
1121 
1122 
1123  def unprotected_evaluate(self, accum):
1124  """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
1125  return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
1126 
1127 
1128  def do_get_inputs(self):
1129  """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1130  return _IMP_isd.ISDRestraint_do_get_inputs(self)
1131 
1132 
1133  def get_type_name(self):
1134  """get_type_name(ISDRestraint self) -> std::string"""
1135  return _IMP_isd.ISDRestraint_get_type_name(self)
1136 
1137 
1138  def get_version_info(self):
1139  """get_version_info(ISDRestraint self) -> VersionInfo"""
1140  return _IMP_isd.ISDRestraint_get_version_info(self)
1141 
1142 
1143  def __str__(self):
1144  """__str__(ISDRestraint self) -> std::string"""
1145  return _IMP_isd.ISDRestraint___str__(self)
1146 
1147 
1148  def __repr__(self):
1149  """__repr__(ISDRestraint self) -> std::string"""
1150  return _IMP_isd.ISDRestraint___repr__(self)
1151 
1152 
1153  @staticmethod
1154  def get_from(o):
1155  return _object_cast_to_ISDRestraint(o)
1156 
1157 
1158  def get_type_name(self):
1159  return self.__class__.__name__
1160  def do_show(self, out):
1161  pass
1162  def get_version_info(self):
1163  if"IMP::isd" == "IMP":
1164  return VersionInfo(self.__module__,
1165  __import__(self.__module__).get_module_version())
1166  else:
1167  return IMP.VersionInfo(self.__module__,
1168  __import__(self.__module__).get_module_version())
1169  @staticmethod
1170  def get_from(o):
1171  return _object_cast_to_ISDRestraint(o)
1172 
1173  def __disown__(self):
1174  self.this.disown()
1175  _IMP_isd.disown_ISDRestraint(self)
1176  return weakref_proxy(self)
1177 
1178  def do_destroy(self):
1179  """do_destroy(ISDRestraint self)"""
1180  return _IMP_isd.ISDRestraint_do_destroy(self)
1181 
1182 
1183  def handle_set_has_required_score_states(self, arg0):
1184  """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
1185  return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
1186 
1187 
1188  def do_get_outputs(self):
1189  """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1190  return _IMP_isd.ISDRestraint_do_get_outputs(self)
1191 
1192 
1193  def do_get_interactions(self):
1194  """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
1195  return _IMP_isd.ISDRestraint_do_get_interactions(self)
1196 
1197 
1198  def do_create_decomposition(self):
1199  """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
1200  return _IMP_isd.ISDRestraint_do_create_decomposition(self)
1201 
1202 
1203  def do_create_current_decomposition(self):
1204  """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
1205  return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
1206 
1207 
1208  def do_add_score_and_derivatives(self, sa):
1209  """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
1210  return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
1211 
1212 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
1213 ISDRestraint_swigregister(ISDRestraint)
1214 
1215 class CrossLinkMSRestraint(IMP.Restraint):
1216  """Proxy of C++ IMP::isd::CrossLinkMSRestraint class"""
1217  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1218 
1219  def __init__(self, *args):
1220  """
1221  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1222  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
1223  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
1224  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1225  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
1226  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
1227  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1228  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
1229  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
1230  """
1231  this = _IMP_isd.new_CrossLinkMSRestraint(*args)
1232  try:
1233  self.this.append(this)
1234  except:
1235  self.this = this
1236 
1237  def add_contribution(self, pps, sigmas, psi):
1238  """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
1239  return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
1240 
1241 
1242  def get_probability(self):
1243  """get_probability(CrossLinkMSRestraint self) -> double"""
1244  return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
1245 
1246 
1247  def get_length(self):
1248  """get_length(CrossLinkMSRestraint self) -> double"""
1249  return _IMP_isd.CrossLinkMSRestraint_get_length(self)
1250 
1251 
1252  def get_slope(self):
1253  """get_slope(CrossLinkMSRestraint self) -> double"""
1254  return _IMP_isd.CrossLinkMSRestraint_get_slope(self)
1255 
1256 
1257  def get_contribution_sigma_indexes(self, i):
1258  """get_contribution_sigma_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
1259  return _IMP_isd.CrossLinkMSRestraint_get_contribution_sigma_indexes(self, i)
1260 
1261 
1262  def get_contribution_psi_index(self, i):
1263  """get_contribution_psi_index(CrossLinkMSRestraint self, int i) -> ParticleIndex"""
1264  return _IMP_isd.CrossLinkMSRestraint_get_contribution_psi_index(self, i)
1265 
1266 
1267  def get_contribution_particle_indexes(self, i):
1268  """get_contribution_particle_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
1269  return _IMP_isd.CrossLinkMSRestraint_get_contribution_particle_indexes(self, i)
1270 
1271 
1272  def get_number_of_contributions(self):
1273  """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
1274  return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
1275 
1276 
1277  def do_get_inputs(self):
1278  """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
1279  return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
1280 
1281 
1282  def get_version_info(self):
1283  """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
1284  return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
1285 
1286 
1287  def __str__(self):
1288  """__str__(CrossLinkMSRestraint self) -> std::string"""
1289  return _IMP_isd.CrossLinkMSRestraint___str__(self)
1290 
1291 
1292  def __repr__(self):
1293  """__repr__(CrossLinkMSRestraint self) -> std::string"""
1294  return _IMP_isd.CrossLinkMSRestraint___repr__(self)
1295 
1296 
1297  @staticmethod
1298  def get_from(o):
1299  return _object_cast_to_CrossLinkMSRestraint(o)
1300 
1301 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
1302 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
1303 
1304 class LogWrapper(IMP.RestraintSet):
1305  """Proxy of C++ IMP::isd::LogWrapper class"""
1306  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1307 
1308  def __init__(self, *args):
1309  """
1310  __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
1311  __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
1312  __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
1313  __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
1314  __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
1315  __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
1316  """
1317  this = _IMP_isd.new_LogWrapper(*args)
1318  try:
1319  self.this.append(this)
1320  except:
1321  self.this = this
1322 
1323  def do_add_score_and_derivatives(self, sa):
1324  """do_add_score_and_derivatives(LogWrapper self, ScoreAccumulator sa)"""
1325  return _IMP_isd.LogWrapper_do_add_score_and_derivatives(self, sa)
1326 
1327 
1328  def __str__(self):
1329  """__str__(LogWrapper self) -> std::string"""
1330  return _IMP_isd.LogWrapper___str__(self)
1331 
1332 
1333  def __repr__(self):
1334  """__repr__(LogWrapper self) -> std::string"""
1335  return _IMP_isd.LogWrapper___repr__(self)
1336 
1337 
1338  @staticmethod
1339  def get_from(o):
1340  return _object_cast_to_LogWrapper(o)
1341 
1342 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1343 LogWrapper_swigregister(LogWrapper)
1344 
1345 class UniformPrior(IMP.Restraint):
1346  """Proxy of C++ IMP::isd::UniformPrior class"""
1347  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1348 
1349  def __init__(self, *args):
1350  """
1351  __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1352  __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1353  """
1354  this = _IMP_isd.new_UniformPrior(*args)
1355  try:
1356  self.this.append(this)
1357  except:
1358  self.this = this
1359 
1360  def do_get_inputs(self):
1361  """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1362  return _IMP_isd.UniformPrior_do_get_inputs(self)
1363 
1364 
1365  def get_version_info(self):
1366  """get_version_info(UniformPrior self) -> VersionInfo"""
1367  return _IMP_isd.UniformPrior_get_version_info(self)
1368 
1369 
1370  def get_probability(self):
1371  """get_probability(UniformPrior self) -> double"""
1372  return _IMP_isd.UniformPrior_get_probability(self)
1373 
1374 
1375  def __str__(self):
1376  """__str__(UniformPrior self) -> std::string"""
1377  return _IMP_isd.UniformPrior___str__(self)
1378 
1379 
1380  def __repr__(self):
1381  """__repr__(UniformPrior self) -> std::string"""
1382  return _IMP_isd.UniformPrior___repr__(self)
1383 
1384 
1385  @staticmethod
1386  def get_from(o):
1387  return _object_cast_to_UniformPrior(o)
1388 
1389 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1390 UniformPrior_swigregister(UniformPrior)
1391 
1392 class Nuisance(IMP.Decorator):
1393  """Proxy of C++ IMP::isd::Nuisance class"""
1394  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1395 
1396  def __init__(self, *args):
1397  """
1398  __init__(IMP::isd::Nuisance self) -> Nuisance
1399  __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1400  __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1401  """
1402  this = _IMP_isd.new_Nuisance(*args)
1403  try:
1404  self.this.append(this)
1405  except:
1406  self.this = this
1407 
1408  def show(self, *args):
1409  """
1410  show(Nuisance self, _ostream out)
1411  show(Nuisance self)
1412  """
1413  return _IMP_isd.Nuisance_show(self, *args)
1414 
1415 
1416  def setup_particle(*args):
1417  """
1418  setup_particle(Model m, ParticleIndex pi) -> Nuisance
1419  setup_particle(_ParticleAdaptor decorator) -> Nuisance
1420  setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1421  setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1422  """
1423  return _IMP_isd.Nuisance_setup_particle(*args)
1424 
1425  setup_particle = staticmethod(setup_particle)
1426 
1427  def get_is_setup(*args):
1428  """
1429  get_is_setup(_ParticleAdaptor p) -> bool
1430  get_is_setup(Model m, ParticleIndex pi) -> bool
1431  """
1432  return _IMP_isd.Nuisance_get_is_setup(*args)
1433 
1434  get_is_setup = staticmethod(get_is_setup)
1435 
1436  def get_nuisance_key():
1437  """get_nuisance_key() -> FloatKey"""
1438  return _IMP_isd.Nuisance_get_nuisance_key()
1439 
1440  get_nuisance_key = staticmethod(get_nuisance_key)
1441 
1442  def get_nuisance(self):
1443  """get_nuisance(Nuisance self) -> IMP::Float"""
1444  return _IMP_isd.Nuisance_get_nuisance(self)
1445 
1446 
1447  def set_nuisance(self, d):
1448  """set_nuisance(Nuisance self, IMP::Float d)"""
1449  return _IMP_isd.Nuisance_set_nuisance(self, d)
1450 
1451 
1452  def get_has_lower(self):
1453  """get_has_lower(Nuisance self) -> bool"""
1454  return _IMP_isd.Nuisance_get_has_lower(self)
1455 
1456 
1457  def get_lower(self):
1458  """get_lower(Nuisance self) -> IMP::Float"""
1459  return _IMP_isd.Nuisance_get_lower(self)
1460 
1461 
1462  def get_lower_key():
1463  """get_lower_key() -> FloatKey"""
1464  return _IMP_isd.Nuisance_get_lower_key()
1465 
1466  get_lower_key = staticmethod(get_lower_key)
1467 
1468  def get_lower_particle_key():
1469  """get_lower_particle_key() -> ParticleIndexKey"""
1470  return _IMP_isd.Nuisance_get_lower_particle_key()
1471 
1472  get_lower_particle_key = staticmethod(get_lower_particle_key)
1473 
1474  def set_lower(self, *args):
1475  """
1476  set_lower(Nuisance self, IMP::Float d)
1477  set_lower(Nuisance self, Particle d)
1478  """
1479  return _IMP_isd.Nuisance_set_lower(self, *args)
1480 
1481 
1482  def remove_lower(self):
1483  """remove_lower(Nuisance self)"""
1484  return _IMP_isd.Nuisance_remove_lower(self)
1485 
1486 
1487  def get_has_upper(self):
1488  """get_has_upper(Nuisance self) -> bool"""
1489  return _IMP_isd.Nuisance_get_has_upper(self)
1490 
1491 
1492  def get_upper(self):
1493  """get_upper(Nuisance self) -> IMP::Float"""
1494  return _IMP_isd.Nuisance_get_upper(self)
1495 
1496 
1497  def get_upper_key():
1498  """get_upper_key() -> FloatKey"""
1499  return _IMP_isd.Nuisance_get_upper_key()
1500 
1501  get_upper_key = staticmethod(get_upper_key)
1502 
1503  def get_upper_particle_key():
1504  """get_upper_particle_key() -> ParticleIndexKey"""
1505  return _IMP_isd.Nuisance_get_upper_particle_key()
1506 
1507  get_upper_particle_key = staticmethod(get_upper_particle_key)
1508 
1509  def set_upper(self, *args):
1510  """
1511  set_upper(Nuisance self, IMP::Float d)
1512  set_upper(Nuisance self, Particle d)
1513  """
1514  return _IMP_isd.Nuisance_set_upper(self, *args)
1515 
1516 
1517  def remove_upper(self):
1518  """remove_upper(Nuisance self)"""
1519  return _IMP_isd.Nuisance_remove_upper(self)
1520 
1521 
1522  def get_nuisance_derivative(self):
1523  """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1524  return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1525 
1526 
1527  def add_to_nuisance_derivative(self, d, accum):
1528  """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1529  return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1530 
1531 
1532  def get_nuisance_is_optimized(self):
1533  """get_nuisance_is_optimized(Nuisance self) -> bool"""
1534  return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1535 
1536 
1537  def set_nuisance_is_optimized(self, val):
1538  """set_nuisance_is_optimized(Nuisance self, bool val)"""
1539  return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1540 
1541 
1542  def add_attribute(self, *args):
1543  """
1544  add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1545  add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1546  add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1547  add_attribute(Nuisance self, FloatsKey a0, IMP::Floats a1)
1548  add_attribute(Nuisance self, IntsKey a0, IMP::Ints a1)
1549  add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1550  add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1551  add_attribute(Nuisance self, ObjectKey a0, Object a1)
1552  """
1553  return _IMP_isd.Nuisance_add_attribute(self, *args)
1554 
1555 
1556  def get_value(self, *args):
1557  """
1558  get_value(Nuisance self, FloatKey a0) -> IMP::Float
1559  get_value(Nuisance self, IntKey a0) -> IMP::Int
1560  get_value(Nuisance self, FloatsKey a0) -> IMP::Floats
1561  get_value(Nuisance self, IntsKey a0) -> IMP::Ints
1562  get_value(Nuisance self, StringKey a0) -> IMP::String
1563  get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1564  get_value(Nuisance self, ObjectKey a0) -> Object
1565  """
1566  return _IMP_isd.Nuisance_get_value(self, *args)
1567 
1568 
1569  def set_value(self, *args):
1570  """
1571  set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1572  set_value(Nuisance self, IntKey a0, IMP::Int a1)
1573  set_value(Nuisance self, FloatsKey a0, IMP::Floats a1)
1574  set_value(Nuisance self, IntsKey a0, IMP::Ints a1)
1575  set_value(Nuisance self, StringKey a0, IMP::String a1)
1576  set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1577  set_value(Nuisance self, ObjectKey a0, Object a1)
1578  """
1579  return _IMP_isd.Nuisance_set_value(self, *args)
1580 
1581 
1582  def remove_attribute(self, *args):
1583  """
1584  remove_attribute(Nuisance self, FloatKey a0)
1585  remove_attribute(Nuisance self, IntKey a0)
1586  remove_attribute(Nuisance self, FloatsKey a0)
1587  remove_attribute(Nuisance self, IntsKey a0)
1588  remove_attribute(Nuisance self, StringKey a0)
1589  remove_attribute(Nuisance self, ParticleIndexKey a0)
1590  remove_attribute(Nuisance self, ObjectKey a0)
1591  """
1592  return _IMP_isd.Nuisance_remove_attribute(self, *args)
1593 
1594 
1595  def has_attribute(self, *args):
1596  """
1597  has_attribute(Nuisance self, FloatKey a0) -> bool
1598  has_attribute(Nuisance self, IntKey a0) -> bool
1599  has_attribute(Nuisance self, FloatsKey a0) -> bool
1600  has_attribute(Nuisance self, IntsKey a0) -> bool
1601  has_attribute(Nuisance self, StringKey a0) -> bool
1602  has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1603  has_attribute(Nuisance self, ObjectKey a0) -> bool
1604  """
1605  return _IMP_isd.Nuisance_has_attribute(self, *args)
1606 
1607 
1608  def get_derivative(self, a0):
1609  """get_derivative(Nuisance self, FloatKey a0) -> double"""
1610  return _IMP_isd.Nuisance_get_derivative(self, a0)
1611 
1612 
1613  def get_name(self):
1614  """get_name(Nuisance self) -> std::string"""
1615  return _IMP_isd.Nuisance_get_name(self)
1616 
1617 
1618  def clear_caches(self):
1619  """clear_caches(Nuisance self)"""
1620  return _IMP_isd.Nuisance_clear_caches(self)
1621 
1622 
1623  def set_name(self, a0):
1624  """set_name(Nuisance self, std::string a0)"""
1625  return _IMP_isd.Nuisance_set_name(self, a0)
1626 
1627 
1628  def set_check_level(self, a0):
1629  """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1630  return _IMP_isd.Nuisance_set_check_level(self, a0)
1631 
1632 
1633  def add_to_derivative(self, a0, a1, a2):
1634  """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1635  return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1636 
1637 
1638  def set_is_optimized(self, a0, a1):
1639  """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1640  return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1641 
1642 
1643  def get_is_optimized(self, a0):
1644  """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1645  return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1646 
1647 
1648  def get_check_level(self):
1649  """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1650  return _IMP_isd.Nuisance_get_check_level(self)
1651 
1652 
1653  def __eq__(self, *args):
1654  """
1655  __eq__(Nuisance self, Nuisance o) -> bool
1656  __eq__(Nuisance self, Particle d) -> bool
1657  """
1658  return _IMP_isd.Nuisance___eq__(self, *args)
1659 
1660 
1661  def __ne__(self, *args):
1662  """
1663  __ne__(Nuisance self, Nuisance o) -> bool
1664  __ne__(Nuisance self, Particle d) -> bool
1665  """
1666  return _IMP_isd.Nuisance___ne__(self, *args)
1667 
1668 
1669  def __le__(self, *args):
1670  """
1671  __le__(Nuisance self, Nuisance o) -> bool
1672  __le__(Nuisance self, Particle d) -> bool
1673  """
1674  return _IMP_isd.Nuisance___le__(self, *args)
1675 
1676 
1677  def __lt__(self, *args):
1678  """
1679  __lt__(Nuisance self, Nuisance o) -> bool
1680  __lt__(Nuisance self, Particle d) -> bool
1681  """
1682  return _IMP_isd.Nuisance___lt__(self, *args)
1683 
1684 
1685  def __ge__(self, *args):
1686  """
1687  __ge__(Nuisance self, Nuisance o) -> bool
1688  __ge__(Nuisance self, Particle d) -> bool
1689  """
1690  return _IMP_isd.Nuisance___ge__(self, *args)
1691 
1692 
1693  def __gt__(self, *args):
1694  """
1695  __gt__(Nuisance self, Nuisance o) -> bool
1696  __gt__(Nuisance self, Particle d) -> bool
1697  """
1698  return _IMP_isd.Nuisance___gt__(self, *args)
1699 
1700 
1701  def __hash__(self):
1702  """__hash__(Nuisance self) -> std::size_t"""
1703  return _IMP_isd.Nuisance___hash__(self)
1704 
1705 
1706  def __str__(self):
1707  """__str__(Nuisance self) -> std::string"""
1708  return _IMP_isd.Nuisance___str__(self)
1709 
1710 
1711  def __repr__(self):
1712  """__repr__(Nuisance self) -> std::string"""
1713  return _IMP_isd.Nuisance___repr__(self)
1714 
1715  __swig_destroy__ = _IMP_isd.delete_Nuisance
1716  __del__ = lambda self: None
1717 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1718 Nuisance_swigregister(Nuisance)
1719 
1720 def Nuisance_setup_particle(*args):
1721  """
1722  setup_particle(Model m, ParticleIndex pi) -> Nuisance
1723  setup_particle(_ParticleAdaptor decorator) -> Nuisance
1724  setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1725  Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1726  """
1727  return _IMP_isd.Nuisance_setup_particle(*args)
1728 
1729 def Nuisance_get_is_setup(*args):
1730  """
1731  get_is_setup(_ParticleAdaptor p) -> bool
1732  Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1733  """
1734  return _IMP_isd.Nuisance_get_is_setup(*args)
1735 
1736 def Nuisance_get_nuisance_key():
1737  """Nuisance_get_nuisance_key() -> FloatKey"""
1738  return _IMP_isd.Nuisance_get_nuisance_key()
1739 
1740 def Nuisance_get_lower_key():
1741  """Nuisance_get_lower_key() -> FloatKey"""
1742  return _IMP_isd.Nuisance_get_lower_key()
1743 
1744 def Nuisance_get_lower_particle_key():
1745  """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1746  return _IMP_isd.Nuisance_get_lower_particle_key()
1747 
1748 def Nuisance_get_upper_key():
1749  """Nuisance_get_upper_key() -> FloatKey"""
1750  return _IMP_isd.Nuisance_get_upper_key()
1751 
1752 def Nuisance_get_upper_particle_key():
1753  """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1754  return _IMP_isd.Nuisance_get_upper_particle_key()
1755 
1756 class Scale(Nuisance):
1757  """Proxy of C++ IMP::isd::Scale class"""
1758  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1759 
1760  def __init__(self, *args):
1761  """
1762  __init__(IMP::isd::Scale self) -> Scale
1763  __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1764  __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1765  """
1766  this = _IMP_isd.new_Scale(*args)
1767  try:
1768  self.this.append(this)
1769  except:
1770  self.this = this
1771 
1772  def show(self, *args):
1773  """
1774  show(Scale self, _ostream out)
1775  show(Scale self)
1776  """
1777  return _IMP_isd.Scale_show(self, *args)
1778 
1779 
1780  def setup_particle(*args):
1781  """
1782  setup_particle(Model m, ParticleIndex pi) -> Scale
1783  setup_particle(_ParticleAdaptor decorator) -> Scale
1784  setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1785  setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1786  """
1787  return _IMP_isd.Scale_setup_particle(*args)
1788 
1789  setup_particle = staticmethod(setup_particle)
1790 
1791  def get_is_setup(*args):
1792  """
1793  get_is_setup(_ParticleAdaptor p) -> bool
1794  get_is_setup(Model m, ParticleIndex pi) -> bool
1795  """
1796  return _IMP_isd.Scale_get_is_setup(*args)
1797 
1798  get_is_setup = staticmethod(get_is_setup)
1799 
1800  def get_scale(self):
1801  """get_scale(Scale self) -> IMP::Float"""
1802  return _IMP_isd.Scale_get_scale(self)
1803 
1804 
1805  def set_scale(self, d):
1806  """set_scale(Scale self, IMP::Float d)"""
1807  return _IMP_isd.Scale_set_scale(self, d)
1808 
1809 
1810  def add_to_scale_derivative(self, d, accum):
1811  """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1812  return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1813 
1814 
1815  def get_scale_derivative(self):
1816  """get_scale_derivative(Scale self) -> IMP::Float"""
1817  return _IMP_isd.Scale_get_scale_derivative(self)
1818 
1819 
1820  def get_scale_key():
1821  """get_scale_key() -> FloatKey"""
1822  return _IMP_isd.Scale_get_scale_key()
1823 
1824  get_scale_key = staticmethod(get_scale_key)
1825 
1826  def get_scale_is_optimized(self):
1827  """get_scale_is_optimized(Scale self) -> bool"""
1828  return _IMP_isd.Scale_get_scale_is_optimized(self)
1829 
1830 
1831  def set_scale_is_optimized(self, val):
1832  """set_scale_is_optimized(Scale self, bool val)"""
1833  return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1834 
1835 
1836  def add_attribute(self, *args):
1837  """
1838  add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1839  add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1840  add_attribute(Scale self, IntKey a0, IMP::Int a1)
1841  add_attribute(Scale self, FloatsKey a0, IMP::Floats a1)
1842  add_attribute(Scale self, IntsKey a0, IMP::Ints a1)
1843  add_attribute(Scale self, StringKey a0, IMP::String a1)
1844  add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1845  add_attribute(Scale self, ObjectKey a0, Object a1)
1846  """
1847  return _IMP_isd.Scale_add_attribute(self, *args)
1848 
1849 
1850  def get_value(self, *args):
1851  """
1852  get_value(Scale self, FloatKey a0) -> IMP::Float
1853  get_value(Scale self, IntKey a0) -> IMP::Int
1854  get_value(Scale self, FloatsKey a0) -> IMP::Floats
1855  get_value(Scale self, IntsKey a0) -> IMP::Ints
1856  get_value(Scale self, StringKey a0) -> IMP::String
1857  get_value(Scale self, ParticleIndexKey a0) -> Particle
1858  get_value(Scale self, ObjectKey a0) -> Object
1859  """
1860  return _IMP_isd.Scale_get_value(self, *args)
1861 
1862 
1863  def set_value(self, *args):
1864  """
1865  set_value(Scale self, FloatKey a0, IMP::Float a1)
1866  set_value(Scale self, IntKey a0, IMP::Int a1)
1867  set_value(Scale self, FloatsKey a0, IMP::Floats a1)
1868  set_value(Scale self, IntsKey a0, IMP::Ints a1)
1869  set_value(Scale self, StringKey a0, IMP::String a1)
1870  set_value(Scale self, ParticleIndexKey a0, Particle a1)
1871  set_value(Scale self, ObjectKey a0, Object a1)
1872  """
1873  return _IMP_isd.Scale_set_value(self, *args)
1874 
1875 
1876  def remove_attribute(self, *args):
1877  """
1878  remove_attribute(Scale self, FloatKey a0)
1879  remove_attribute(Scale self, IntKey a0)
1880  remove_attribute(Scale self, FloatsKey a0)
1881  remove_attribute(Scale self, IntsKey a0)
1882  remove_attribute(Scale self, StringKey a0)
1883  remove_attribute(Scale self, ParticleIndexKey a0)
1884  remove_attribute(Scale self, ObjectKey a0)
1885  """
1886  return _IMP_isd.Scale_remove_attribute(self, *args)
1887 
1888 
1889  def has_attribute(self, *args):
1890  """
1891  has_attribute(Scale self, FloatKey a0) -> bool
1892  has_attribute(Scale self, IntKey a0) -> bool
1893  has_attribute(Scale self, FloatsKey a0) -> bool
1894  has_attribute(Scale self, IntsKey a0) -> bool
1895  has_attribute(Scale self, StringKey a0) -> bool
1896  has_attribute(Scale self, ParticleIndexKey a0) -> bool
1897  has_attribute(Scale self, ObjectKey a0) -> bool
1898  """
1899  return _IMP_isd.Scale_has_attribute(self, *args)
1900 
1901 
1902  def get_derivative(self, a0):
1903  """get_derivative(Scale self, FloatKey a0) -> double"""
1904  return _IMP_isd.Scale_get_derivative(self, a0)
1905 
1906 
1907  def get_name(self):
1908  """get_name(Scale self) -> std::string"""
1909  return _IMP_isd.Scale_get_name(self)
1910 
1911 
1912  def clear_caches(self):
1913  """clear_caches(Scale self)"""
1914  return _IMP_isd.Scale_clear_caches(self)
1915 
1916 
1917  def set_name(self, a0):
1918  """set_name(Scale self, std::string a0)"""
1919  return _IMP_isd.Scale_set_name(self, a0)
1920 
1921 
1922  def set_check_level(self, a0):
1923  """set_check_level(Scale self, IMP::CheckLevel a0)"""
1924  return _IMP_isd.Scale_set_check_level(self, a0)
1925 
1926 
1927  def add_to_derivative(self, a0, a1, a2):
1928  """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1929  return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1930 
1931 
1932  def set_is_optimized(self, a0, a1):
1933  """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1934  return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1935 
1936 
1937  def get_is_optimized(self, a0):
1938  """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1939  return _IMP_isd.Scale_get_is_optimized(self, a0)
1940 
1941 
1942  def get_check_level(self):
1943  """get_check_level(Scale self) -> IMP::CheckLevel"""
1944  return _IMP_isd.Scale_get_check_level(self)
1945 
1946 
1947  def __eq__(self, *args):
1948  """
1949  __eq__(Scale self, Scale o) -> bool
1950  __eq__(Scale self, Particle d) -> bool
1951  """
1952  return _IMP_isd.Scale___eq__(self, *args)
1953 
1954 
1955  def __ne__(self, *args):
1956  """
1957  __ne__(Scale self, Scale o) -> bool
1958  __ne__(Scale self, Particle d) -> bool
1959  """
1960  return _IMP_isd.Scale___ne__(self, *args)
1961 
1962 
1963  def __le__(self, *args):
1964  """
1965  __le__(Scale self, Scale o) -> bool
1966  __le__(Scale self, Particle d) -> bool
1967  """
1968  return _IMP_isd.Scale___le__(self, *args)
1969 
1970 
1971  def __lt__(self, *args):
1972  """
1973  __lt__(Scale self, Scale o) -> bool
1974  __lt__(Scale self, Particle d) -> bool
1975  """
1976  return _IMP_isd.Scale___lt__(self, *args)
1977 
1978 
1979  def __ge__(self, *args):
1980  """
1981  __ge__(Scale self, Scale o) -> bool
1982  __ge__(Scale self, Particle d) -> bool
1983  """
1984  return _IMP_isd.Scale___ge__(self, *args)
1985 
1986 
1987  def __gt__(self, *args):
1988  """
1989  __gt__(Scale self, Scale o) -> bool
1990  __gt__(Scale self, Particle d) -> bool
1991  """
1992  return _IMP_isd.Scale___gt__(self, *args)
1993 
1994 
1995  def __hash__(self):
1996  """__hash__(Scale self) -> std::size_t"""
1997  return _IMP_isd.Scale___hash__(self)
1998 
1999 
2000  def __str__(self):
2001  """__str__(Scale self) -> std::string"""
2002  return _IMP_isd.Scale___str__(self)
2003 
2004 
2005  def __repr__(self):
2006  """__repr__(Scale self) -> std::string"""
2007  return _IMP_isd.Scale___repr__(self)
2008 
2009  __swig_destroy__ = _IMP_isd.delete_Scale
2010  __del__ = lambda self: None
2011 Scale_swigregister = _IMP_isd.Scale_swigregister
2012 Scale_swigregister(Scale)
2013 
2014 def Scale_setup_particle(*args):
2015  """
2016  setup_particle(Model m, ParticleIndex pi) -> Scale
2017  setup_particle(_ParticleAdaptor decorator) -> Scale
2018  setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
2019  Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
2020  """
2021  return _IMP_isd.Scale_setup_particle(*args)
2022 
2023 def Scale_get_is_setup(*args):
2024  """
2025  get_is_setup(_ParticleAdaptor p) -> bool
2026  Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
2027  """
2028  return _IMP_isd.Scale_get_is_setup(*args)
2029 
2030 def Scale_get_scale_key():
2031  """Scale_get_scale_key() -> FloatKey"""
2032  return _IMP_isd.Scale_get_scale_key()
2033 
2034 class Switching(Nuisance):
2035  """Proxy of C++ IMP::isd::Switching class"""
2036  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2037 
2038  def __init__(self, *args):
2039  """
2040  __init__(IMP::isd::Switching self) -> Switching
2041  __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
2042  __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
2043  """
2044  this = _IMP_isd.new_Switching(*args)
2045  try:
2046  self.this.append(this)
2047  except:
2048  self.this = this
2049 
2050  def show(self, *args):
2051  """
2052  show(Switching self, _ostream out)
2053  show(Switching self)
2054  """
2055  return _IMP_isd.Switching_show(self, *args)
2056 
2057 
2058  def setup_particle(*args):
2059  """
2060  setup_particle(Model m, ParticleIndex pi) -> Switching
2061  setup_particle(_ParticleAdaptor decorator) -> Switching
2062  setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2063  setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2064  """
2065  return _IMP_isd.Switching_setup_particle(*args)
2066 
2067  setup_particle = staticmethod(setup_particle)
2068 
2069  def get_is_setup(*args):
2070  """
2071  get_is_setup(_ParticleAdaptor p) -> bool
2072  get_is_setup(Model m, ParticleIndex pi) -> bool
2073  """
2074  return _IMP_isd.Switching_get_is_setup(*args)
2075 
2076  get_is_setup = staticmethod(get_is_setup)
2077 
2078  def get_switching(self):
2079  """get_switching(Switching self) -> IMP::Float"""
2080  return _IMP_isd.Switching_get_switching(self)
2081 
2082 
2083  def set_switching(self, d):
2084  """set_switching(Switching self, IMP::Float d)"""
2085  return _IMP_isd.Switching_set_switching(self, d)
2086 
2087 
2088  def add_to_switching_derivative(self, d, accum):
2089  """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
2090  return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
2091 
2092 
2093  def get_switching_derivative(self):
2094  """get_switching_derivative(Switching self) -> IMP::Float"""
2095  return _IMP_isd.Switching_get_switching_derivative(self)
2096 
2097 
2098  def get_switching_key():
2099  """get_switching_key() -> FloatKey"""
2100  return _IMP_isd.Switching_get_switching_key()
2101 
2102  get_switching_key = staticmethod(get_switching_key)
2103 
2104  def get_switching_is_optimized(self):
2105  """get_switching_is_optimized(Switching self) -> bool"""
2106  return _IMP_isd.Switching_get_switching_is_optimized(self)
2107 
2108 
2109  def set_switching_is_optimized(self, val):
2110  """set_switching_is_optimized(Switching self, bool val)"""
2111  return _IMP_isd.Switching_set_switching_is_optimized(self, val)
2112 
2113 
2114  def add_attribute(self, *args):
2115  """
2116  add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
2117  add_attribute(Switching self, FloatKey a0, IMP::Float a1)
2118  add_attribute(Switching self, IntKey a0, IMP::Int a1)
2119  add_attribute(Switching self, FloatsKey a0, IMP::Floats a1)
2120  add_attribute(Switching self, IntsKey a0, IMP::Ints a1)
2121  add_attribute(Switching self, StringKey a0, IMP::String a1)
2122  add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
2123  add_attribute(Switching self, ObjectKey a0, Object a1)
2124  """
2125  return _IMP_isd.Switching_add_attribute(self, *args)
2126 
2127 
2128  def get_value(self, *args):
2129  """
2130  get_value(Switching self, FloatKey a0) -> IMP::Float
2131  get_value(Switching self, IntKey a0) -> IMP::Int
2132  get_value(Switching self, FloatsKey a0) -> IMP::Floats
2133  get_value(Switching self, IntsKey a0) -> IMP::Ints
2134  get_value(Switching self, StringKey a0) -> IMP::String
2135  get_value(Switching self, ParticleIndexKey a0) -> Particle
2136  get_value(Switching self, ObjectKey a0) -> Object
2137  """
2138  return _IMP_isd.Switching_get_value(self, *args)
2139 
2140 
2141  def set_value(self, *args):
2142  """
2143  set_value(Switching self, FloatKey a0, IMP::Float a1)
2144  set_value(Switching self, IntKey a0, IMP::Int a1)
2145  set_value(Switching self, FloatsKey a0, IMP::Floats a1)
2146  set_value(Switching self, IntsKey a0, IMP::Ints a1)
2147  set_value(Switching self, StringKey a0, IMP::String a1)
2148  set_value(Switching self, ParticleIndexKey a0, Particle a1)
2149  set_value(Switching self, ObjectKey a0, Object a1)
2150  """
2151  return _IMP_isd.Switching_set_value(self, *args)
2152 
2153 
2154  def remove_attribute(self, *args):
2155  """
2156  remove_attribute(Switching self, FloatKey a0)
2157  remove_attribute(Switching self, IntKey a0)
2158  remove_attribute(Switching self, FloatsKey a0)
2159  remove_attribute(Switching self, IntsKey a0)
2160  remove_attribute(Switching self, StringKey a0)
2161  remove_attribute(Switching self, ParticleIndexKey a0)
2162  remove_attribute(Switching self, ObjectKey a0)
2163  """
2164  return _IMP_isd.Switching_remove_attribute(self, *args)
2165 
2166 
2167  def has_attribute(self, *args):
2168  """
2169  has_attribute(Switching self, FloatKey a0) -> bool
2170  has_attribute(Switching self, IntKey a0) -> bool
2171  has_attribute(Switching self, FloatsKey a0) -> bool
2172  has_attribute(Switching self, IntsKey a0) -> bool
2173  has_attribute(Switching self, StringKey a0) -> bool
2174  has_attribute(Switching self, ParticleIndexKey a0) -> bool
2175  has_attribute(Switching self, ObjectKey a0) -> bool
2176  """
2177  return _IMP_isd.Switching_has_attribute(self, *args)
2178 
2179 
2180  def get_derivative(self, a0):
2181  """get_derivative(Switching self, FloatKey a0) -> double"""
2182  return _IMP_isd.Switching_get_derivative(self, a0)
2183 
2184 
2185  def get_name(self):
2186  """get_name(Switching self) -> std::string"""
2187  return _IMP_isd.Switching_get_name(self)
2188 
2189 
2190  def clear_caches(self):
2191  """clear_caches(Switching self)"""
2192  return _IMP_isd.Switching_clear_caches(self)
2193 
2194 
2195  def set_name(self, a0):
2196  """set_name(Switching self, std::string a0)"""
2197  return _IMP_isd.Switching_set_name(self, a0)
2198 
2199 
2200  def set_check_level(self, a0):
2201  """set_check_level(Switching self, IMP::CheckLevel a0)"""
2202  return _IMP_isd.Switching_set_check_level(self, a0)
2203 
2204 
2205  def add_to_derivative(self, a0, a1, a2):
2206  """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2207  return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
2208 
2209 
2210  def set_is_optimized(self, a0, a1):
2211  """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
2212  return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
2213 
2214 
2215  def get_is_optimized(self, a0):
2216  """get_is_optimized(Switching self, FloatKey a0) -> bool"""
2217  return _IMP_isd.Switching_get_is_optimized(self, a0)
2218 
2219 
2220  def get_check_level(self):
2221  """get_check_level(Switching self) -> IMP::CheckLevel"""
2222  return _IMP_isd.Switching_get_check_level(self)
2223 
2224 
2225  def __eq__(self, *args):
2226  """
2227  __eq__(Switching self, Switching o) -> bool
2228  __eq__(Switching self, Particle d) -> bool
2229  """
2230  return _IMP_isd.Switching___eq__(self, *args)
2231 
2232 
2233  def __ne__(self, *args):
2234  """
2235  __ne__(Switching self, Switching o) -> bool
2236  __ne__(Switching self, Particle d) -> bool
2237  """
2238  return _IMP_isd.Switching___ne__(self, *args)
2239 
2240 
2241  def __le__(self, *args):
2242  """
2243  __le__(Switching self, Switching o) -> bool
2244  __le__(Switching self, Particle d) -> bool
2245  """
2246  return _IMP_isd.Switching___le__(self, *args)
2247 
2248 
2249  def __lt__(self, *args):
2250  """
2251  __lt__(Switching self, Switching o) -> bool
2252  __lt__(Switching self, Particle d) -> bool
2253  """
2254  return _IMP_isd.Switching___lt__(self, *args)
2255 
2256 
2257  def __ge__(self, *args):
2258  """
2259  __ge__(Switching self, Switching o) -> bool
2260  __ge__(Switching self, Particle d) -> bool
2261  """
2262  return _IMP_isd.Switching___ge__(self, *args)
2263 
2264 
2265  def __gt__(self, *args):
2266  """
2267  __gt__(Switching self, Switching o) -> bool
2268  __gt__(Switching self, Particle d) -> bool
2269  """
2270  return _IMP_isd.Switching___gt__(self, *args)
2271 
2272 
2273  def __hash__(self):
2274  """__hash__(Switching self) -> std::size_t"""
2275  return _IMP_isd.Switching___hash__(self)
2276 
2277 
2278  def __str__(self):
2279  """__str__(Switching self) -> std::string"""
2280  return _IMP_isd.Switching___str__(self)
2281 
2282 
2283  def __repr__(self):
2284  """__repr__(Switching self) -> std::string"""
2285  return _IMP_isd.Switching___repr__(self)
2286 
2287  __swig_destroy__ = _IMP_isd.delete_Switching
2288  __del__ = lambda self: None
2289 Switching_swigregister = _IMP_isd.Switching_swigregister
2290 Switching_swigregister(Switching)
2291 
2292 def Switching_setup_particle(*args):
2293  """
2294  setup_particle(Model m, ParticleIndex pi) -> Switching
2295  setup_particle(_ParticleAdaptor decorator) -> Switching
2296  setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2297  Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2298  """
2299  return _IMP_isd.Switching_setup_particle(*args)
2300 
2301 def Switching_get_is_setup(*args):
2302  """
2303  get_is_setup(_ParticleAdaptor p) -> bool
2304  Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
2305  """
2306  return _IMP_isd.Switching_get_is_setup(*args)
2307 
2308 def Switching_get_switching_key():
2309  """Switching_get_switching_key() -> FloatKey"""
2310  return _IMP_isd.Switching_get_switching_key()
2311 
2312 class Weight(IMP.Decorator):
2313  """Proxy of C++ IMP::isd::Weight class"""
2314  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2315 
2316  def __init__(self, *args):
2317  """
2318  __init__(IMP::isd::Weight self) -> Weight
2319  __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
2320  __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
2321  """
2322  this = _IMP_isd.new_Weight(*args)
2323  try:
2324  self.this.append(this)
2325  except:
2326  self.this = this
2327 
2328  def show(self, *args):
2329  """
2330  show(Weight self, _ostream out)
2331  show(Weight self)
2332  """
2333  return _IMP_isd.Weight_show(self, *args)
2334 
2335 
2336  def setup_particle(*args):
2337  """
2338  setup_particle(Model m, ParticleIndex pi) -> Weight
2339  setup_particle(_ParticleAdaptor decorator) -> Weight
2340  setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2341  setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2342  setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2343  setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2344  """
2345  return _IMP_isd.Weight_setup_particle(*args)
2346 
2347  setup_particle = staticmethod(setup_particle)
2348 
2349  def get_nstates_key():
2350  """get_nstates_key() -> IntKey"""
2351  return _IMP_isd.Weight_get_nstates_key()
2352 
2353  get_nstates_key = staticmethod(get_nstates_key)
2354 
2355  def get_number_of_weights_key():
2356  """get_number_of_weights_key() -> IntKey"""
2357  return _IMP_isd.Weight_get_number_of_weights_key()
2358 
2359  get_number_of_weights_key = staticmethod(get_number_of_weights_key)
2360 
2361  def get_weight_key(i):
2362  """get_weight_key(int i) -> FloatKey"""
2363  return _IMP_isd.Weight_get_weight_key(i)
2364 
2365  get_weight_key = staticmethod(get_weight_key)
2366 
2367  def get_weight_keys(self):
2368  """get_weight_keys(Weight self) -> IMP::FloatKeys"""
2369  return _IMP_isd.Weight_get_weight_keys(self)
2370 
2371 
2372  def get_weight(self, i):
2373  """get_weight(Weight self, int i) -> IMP::Float"""
2374  return _IMP_isd.Weight_get_weight(self, i)
2375 
2376 
2377  def get_weights(self):
2378  """get_weights(Weight self) -> VectorKD"""
2379  return _IMP_isd.Weight_get_weights(self)
2380 
2381 
2382  def set_weight_lazy(self, i, wi):
2383  """set_weight_lazy(Weight self, int i, IMP::Float wi)"""
2384  return _IMP_isd.Weight_set_weight_lazy(self, i, wi)
2385 
2386 
2387  def set_weights_lazy(self, w):
2388  """set_weights_lazy(Weight self, VectorKD w)"""
2389  return _IMP_isd.Weight_set_weights_lazy(self, w)
2390 
2391 
2392  def set_weights(self, w):
2393  """set_weights(Weight self, VectorKD w)"""
2394  return _IMP_isd.Weight_set_weights(self, w)
2395 
2396 
2397  def get_weights_are_optimized(self):
2398  """get_weights_are_optimized(Weight self) -> bool"""
2399  return _IMP_isd.Weight_get_weights_are_optimized(self)
2400 
2401 
2402  def set_weights_are_optimized(self, tf):
2403  """set_weights_are_optimized(Weight self, bool tf)"""
2404  return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2405 
2406 
2407  def get_weight_derivative(self, i):
2408  """get_weight_derivative(Weight self, int i) -> IMP::Float"""
2409  return _IMP_isd.Weight_get_weight_derivative(self, i)
2410 
2411 
2412  def get_weights_derivatives(self):
2413  """get_weights_derivatives(Weight self) -> VectorKD"""
2414  return _IMP_isd.Weight_get_weights_derivatives(self)
2415 
2416 
2417  def add_to_weight_derivative(self, i, dwi, da):
2418  """add_to_weight_derivative(Weight self, int i, IMP::Float dwi, DerivativeAccumulator da)"""
2419  return _IMP_isd.Weight_add_to_weight_derivative(self, i, dwi, da)
2420 
2421 
2422  def add_to_weights_derivatives(self, dw, da):
2423  """add_to_weights_derivatives(Weight self, VectorKD dw, DerivativeAccumulator da)"""
2424  return _IMP_isd.Weight_add_to_weights_derivatives(self, dw, da)
2425 
2426 
2427  def add_weight_lazy(self, wi=0):
2428  """
2429  add_weight_lazy(Weight self, IMP::Float wi=0)
2430  add_weight_lazy(Weight self)
2431  """
2432  return _IMP_isd.Weight_add_weight_lazy(self, wi)
2433 
2434 
2435  def add_weight(self, wi=0):
2436  """
2437  add_weight(Weight self, IMP::Float wi=0)
2438  add_weight(Weight self)
2439  """
2440  return _IMP_isd.Weight_add_weight(self, wi)
2441 
2442 
2443  def get_number_of_states(self):
2444  """get_number_of_states(Weight self) -> IMP::Int"""
2445  return _IMP_isd.Weight_get_number_of_states(self)
2446 
2447 
2448  def get_number_of_weights(self):
2449  """get_number_of_weights(Weight self) -> IMP::Int"""
2450  return _IMP_isd.Weight_get_number_of_weights(self)
2451 
2452 
2453  def get_unit_simplex(self):
2454  """get_unit_simplex(Weight self) -> UnitSimplexKD"""
2455  return _IMP_isd.Weight_get_unit_simplex(self)
2456 
2457 
2458  def set_number_of_weights_lazy(self, nweights):
2459  """set_number_of_weights_lazy(Weight self, IMP::Int nweights)"""
2460  return _IMP_isd.Weight_set_number_of_weights_lazy(self, nweights)
2461 
2462 
2463  def set_number_of_weights(self, nweights):
2464  """set_number_of_weights(Weight self, IMP::Int nweights)"""
2465  return _IMP_isd.Weight_set_number_of_weights(self, nweights)
2466 
2467 
2468  def get_is_setup(*args):
2469  """
2470  get_is_setup(_ParticleAdaptor p) -> bool
2471  get_is_setup(Model m, ParticleIndex pi) -> bool
2472  """
2473  return _IMP_isd.Weight_get_is_setup(*args)
2474 
2475  get_is_setup = staticmethod(get_is_setup)
2476 
2477  def add_attribute(self, *args):
2478  """
2479  add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2480  add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2481  add_attribute(Weight self, IntKey a0, IMP::Int a1)
2482  add_attribute(Weight self, FloatsKey a0, IMP::Floats a1)
2483  add_attribute(Weight self, IntsKey a0, IMP::Ints a1)
2484  add_attribute(Weight self, StringKey a0, IMP::String a1)
2485  add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2486  add_attribute(Weight self, ObjectKey a0, Object a1)
2487  """
2488  return _IMP_isd.Weight_add_attribute(self, *args)
2489 
2490 
2491  def get_value(self, *args):
2492  """
2493  get_value(Weight self, FloatKey a0) -> IMP::Float
2494  get_value(Weight self, IntKey a0) -> IMP::Int
2495  get_value(Weight self, FloatsKey a0) -> IMP::Floats
2496  get_value(Weight self, IntsKey a0) -> IMP::Ints
2497  get_value(Weight self, StringKey a0) -> IMP::String
2498  get_value(Weight self, ParticleIndexKey a0) -> Particle
2499  get_value(Weight self, ObjectKey a0) -> Object
2500  """
2501  return _IMP_isd.Weight_get_value(self, *args)
2502 
2503 
2504  def set_value(self, *args):
2505  """
2506  set_value(Weight self, FloatKey a0, IMP::Float a1)
2507  set_value(Weight self, IntKey a0, IMP::Int a1)
2508  set_value(Weight self, FloatsKey a0, IMP::Floats a1)
2509  set_value(Weight self, IntsKey a0, IMP::Ints a1)
2510  set_value(Weight self, StringKey a0, IMP::String a1)
2511  set_value(Weight self, ParticleIndexKey a0, Particle a1)
2512  set_value(Weight self, ObjectKey a0, Object a1)
2513  """
2514  return _IMP_isd.Weight_set_value(self, *args)
2515 
2516 
2517  def remove_attribute(self, *args):
2518  """
2519  remove_attribute(Weight self, FloatKey a0)
2520  remove_attribute(Weight self, IntKey a0)
2521  remove_attribute(Weight self, FloatsKey a0)
2522  remove_attribute(Weight self, IntsKey a0)
2523  remove_attribute(Weight self, StringKey a0)
2524  remove_attribute(Weight self, ParticleIndexKey a0)
2525  remove_attribute(Weight self, ObjectKey a0)
2526  """
2527  return _IMP_isd.Weight_remove_attribute(self, *args)
2528 
2529 
2530  def has_attribute(self, *args):
2531  """
2532  has_attribute(Weight self, FloatKey a0) -> bool
2533  has_attribute(Weight self, IntKey a0) -> bool
2534  has_attribute(Weight self, FloatsKey a0) -> bool
2535  has_attribute(Weight self, IntsKey a0) -> bool
2536  has_attribute(Weight self, StringKey a0) -> bool
2537  has_attribute(Weight self, ParticleIndexKey a0) -> bool
2538  has_attribute(Weight self, ObjectKey a0) -> bool
2539  """
2540  return _IMP_isd.Weight_has_attribute(self, *args)
2541 
2542 
2543  def get_derivative(self, a0):
2544  """get_derivative(Weight self, FloatKey a0) -> double"""
2545  return _IMP_isd.Weight_get_derivative(self, a0)
2546 
2547 
2548  def get_name(self):
2549  """get_name(Weight self) -> std::string"""
2550  return _IMP_isd.Weight_get_name(self)
2551 
2552 
2553  def clear_caches(self):
2554  """clear_caches(Weight self)"""
2555  return _IMP_isd.Weight_clear_caches(self)
2556 
2557 
2558  def set_name(self, a0):
2559  """set_name(Weight self, std::string a0)"""
2560  return _IMP_isd.Weight_set_name(self, a0)
2561 
2562 
2563  def set_check_level(self, a0):
2564  """set_check_level(Weight self, IMP::CheckLevel a0)"""
2565  return _IMP_isd.Weight_set_check_level(self, a0)
2566 
2567 
2568  def add_to_derivative(self, a0, a1, a2):
2569  """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2570  return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2571 
2572 
2573  def set_is_optimized(self, a0, a1):
2574  """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2575  return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2576 
2577 
2578  def get_is_optimized(self, a0):
2579  """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2580  return _IMP_isd.Weight_get_is_optimized(self, a0)
2581 
2582 
2583  def get_check_level(self):
2584  """get_check_level(Weight self) -> IMP::CheckLevel"""
2585  return _IMP_isd.Weight_get_check_level(self)
2586 
2587 
2588  def __eq__(self, *args):
2589  """
2590  __eq__(Weight self, Weight o) -> bool
2591  __eq__(Weight self, Particle d) -> bool
2592  """
2593  return _IMP_isd.Weight___eq__(self, *args)
2594 
2595 
2596  def __ne__(self, *args):
2597  """
2598  __ne__(Weight self, Weight o) -> bool
2599  __ne__(Weight self, Particle d) -> bool
2600  """
2601  return _IMP_isd.Weight___ne__(self, *args)
2602 
2603 
2604  def __le__(self, *args):
2605  """
2606  __le__(Weight self, Weight o) -> bool
2607  __le__(Weight self, Particle d) -> bool
2608  """
2609  return _IMP_isd.Weight___le__(self, *args)
2610 
2611 
2612  def __lt__(self, *args):
2613  """
2614  __lt__(Weight self, Weight o) -> bool
2615  __lt__(Weight self, Particle d) -> bool
2616  """
2617  return _IMP_isd.Weight___lt__(self, *args)
2618 
2619 
2620  def __ge__(self, *args):
2621  """
2622  __ge__(Weight self, Weight o) -> bool
2623  __ge__(Weight self, Particle d) -> bool
2624  """
2625  return _IMP_isd.Weight___ge__(self, *args)
2626 
2627 
2628  def __gt__(self, *args):
2629  """
2630  __gt__(Weight self, Weight o) -> bool
2631  __gt__(Weight self, Particle d) -> bool
2632  """
2633  return _IMP_isd.Weight___gt__(self, *args)
2634 
2635 
2636  def __hash__(self):
2637  """__hash__(Weight self) -> std::size_t"""
2638  return _IMP_isd.Weight___hash__(self)
2639 
2640 
2641  def __str__(self):
2642  """__str__(Weight self) -> std::string"""
2643  return _IMP_isd.Weight___str__(self)
2644 
2645 
2646  def __repr__(self):
2647  """__repr__(Weight self) -> std::string"""
2648  return _IMP_isd.Weight___repr__(self)
2649 
2650  __swig_destroy__ = _IMP_isd.delete_Weight
2651  __del__ = lambda self: None
2652 Weight_swigregister = _IMP_isd.Weight_swigregister
2653 Weight_swigregister(Weight)
2654 cvar = _IMP_isd.cvar
2655 IMPISD_MAX_WEIGHTS = cvar.IMPISD_MAX_WEIGHTS
2656 
2657 def Weight_setup_particle(*args):
2658  """
2659  setup_particle(Model m, ParticleIndex pi) -> Weight
2660  setup_particle(_ParticleAdaptor decorator) -> Weight
2661  setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2662  setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2663  setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2664  Weight_setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2665  """
2666  return _IMP_isd.Weight_setup_particle(*args)
2667 
2668 def Weight_get_nstates_key():
2669  """Weight_get_nstates_key() -> IntKey"""
2670  return _IMP_isd.Weight_get_nstates_key()
2671 
2672 def Weight_get_number_of_weights_key():
2673  """Weight_get_number_of_weights_key() -> IntKey"""
2674  return _IMP_isd.Weight_get_number_of_weights_key()
2675 
2676 def Weight_get_weight_key(i):
2677  """Weight_get_weight_key(int i) -> FloatKey"""
2678  return _IMP_isd.Weight_get_weight_key(i)
2679 
2680 def Weight_get_is_setup(*args):
2681  """
2682  get_is_setup(_ParticleAdaptor p) -> bool
2683  Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2684  """
2685  return _IMP_isd.Weight_get_is_setup(*args)
2686 
2687 
2688 def __lshift__(*args):
2689  """
2690  __lshift__(_ostream out, Nuisance n) -> _ostream
2691  __lshift__(_ostream out, Scale n) -> _ostream
2692  __lshift__(_ostream out, Switching n) -> _ostream
2693  __lshift__(_ostream out, Weight n) -> _ostream
2694  """
2695  return _IMP_isd.__lshift__(*args)
2696 class JeffreysRestraint(IMP.Restraint):
2697  """Proxy of C++ IMP::isd::JeffreysRestraint class"""
2698  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2699 
2700  def __init__(self, m, p):
2701  """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2702  this = _IMP_isd.new_JeffreysRestraint(m, p)
2703  try:
2704  self.this.append(this)
2705  except:
2706  self.this = this
2707 
2708  def do_get_inputs(self):
2709  """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2710  return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2711 
2712 
2713  def get_version_info(self):
2714  """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2715  return _IMP_isd.JeffreysRestraint_get_version_info(self)
2716 
2717 
2718  def get_probability(self):
2719  """get_probability(JeffreysRestraint self) -> double"""
2720  return _IMP_isd.JeffreysRestraint_get_probability(self)
2721 
2722 
2723  def __str__(self):
2724  """__str__(JeffreysRestraint self) -> std::string"""
2725  return _IMP_isd.JeffreysRestraint___str__(self)
2726 
2727 
2728  def __repr__(self):
2729  """__repr__(JeffreysRestraint self) -> std::string"""
2730  return _IMP_isd.JeffreysRestraint___repr__(self)
2731 
2732 
2733  @staticmethod
2734  def get_from(o):
2735  return _object_cast_to_JeffreysRestraint(o)
2736 
2737 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2738 JeffreysRestraint_swigregister(JeffreysRestraint)
2739 
2740 class NormalSigmaPCRestraint(IMP.Restraint):
2741  """Proxy of C++ IMP::isd::NormalSigmaPCRestraint class"""
2742  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2743 
2744  def __init__(self, *args):
2745  """
2746  __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2747  __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha) -> NormalSigmaPCRestraint
2748  __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2749  __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha) -> NormalSigmaPCRestraint
2750  """
2751  this = _IMP_isd.new_NormalSigmaPCRestraint(*args)
2752  try:
2753  self.this.append(this)
2754  except:
2755  self.this = this
2756 
2757  def get_sigma(self):
2758  """get_sigma(NormalSigmaPCRestraint self) -> Scale"""
2759  return _IMP_isd.NormalSigmaPCRestraint_get_sigma(self)
2760 
2761 
2762  def get_alpha(self):
2763  """get_alpha(NormalSigmaPCRestraint self) -> double"""
2764  return _IMP_isd.NormalSigmaPCRestraint_get_alpha(self)
2765 
2766 
2767  def get_sigma_upper(self):
2768  """get_sigma_upper(NormalSigmaPCRestraint self) -> double"""
2769  return _IMP_isd.NormalSigmaPCRestraint_get_sigma_upper(self)
2770 
2771 
2772  def get_probability(self):
2773  """get_probability(NormalSigmaPCRestraint self) -> double"""
2774  return _IMP_isd.NormalSigmaPCRestraint_get_probability(self)
2775 
2776 
2777  def do_get_inputs(self):
2778  """do_get_inputs(NormalSigmaPCRestraint self) -> IMP::ModelObjectsTemp"""
2779  return _IMP_isd.NormalSigmaPCRestraint_do_get_inputs(self)
2780 
2781 
2782  def get_version_info(self):
2783  """get_version_info(NormalSigmaPCRestraint self) -> VersionInfo"""
2784  return _IMP_isd.NormalSigmaPCRestraint_get_version_info(self)
2785 
2786 
2787  def __str__(self):
2788  """__str__(NormalSigmaPCRestraint self) -> std::string"""
2789  return _IMP_isd.NormalSigmaPCRestraint___str__(self)
2790 
2791 
2792  def __repr__(self):
2793  """__repr__(NormalSigmaPCRestraint self) -> std::string"""
2794  return _IMP_isd.NormalSigmaPCRestraint___repr__(self)
2795 
2796 
2797  @staticmethod
2798  def get_from(o):
2799  return _object_cast_to_NormalSigmaPCRestraint(o)
2800 
2801 NormalSigmaPCRestraint_swigregister = _IMP_isd.NormalSigmaPCRestraint_swigregister
2802 NormalSigmaPCRestraint_swigregister(NormalSigmaPCRestraint)
2803 
2804 class Distribution(IMP.Object):
2805  """Proxy of C++ IMP::isd::Distribution class"""
2806  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2807 
2808  def __init__(self, *args):
2809  """
2810  __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2811  __init__(IMP::isd::Distribution self) -> Distribution
2812  """
2813  if self.__class__ == Distribution:
2814  _self = None
2815  else:
2816  _self = self
2817  this = _IMP_isd.new_Distribution(_self, *args)
2818  try:
2819  self.this.append(this)
2820  except:
2821  self.this = this
2822 
2823  if self.__class__ != Distribution:
2824  _director_objects.register(self)
2825 
2826 
2827 
2828 
2829  def get_type_name(self):
2830  """get_type_name(Distribution self) -> std::string"""
2831  return _IMP_isd.Distribution_get_type_name(self)
2832 
2833 
2834  def get_version_info(self):
2835  """get_version_info(Distribution self) -> VersionInfo"""
2836  return _IMP_isd.Distribution_get_version_info(self)
2837 
2838 
2839  def __str__(self):
2840  """__str__(Distribution self) -> std::string"""
2841  return _IMP_isd.Distribution___str__(self)
2842 
2843 
2844  def __repr__(self):
2845  """__repr__(Distribution self) -> std::string"""
2846  return _IMP_isd.Distribution___repr__(self)
2847 
2848 
2849  @staticmethod
2850  def get_from(o):
2851  return _object_cast_to_Distribution(o)
2852 
2853 
2854  def get_type_name(self):
2855  return self.__class__.__name__
2856  def do_show(self, out):
2857  pass
2858  def get_version_info(self):
2859  if"IMP::isd" == "IMP":
2860  return VersionInfo(self.__module__,
2861  __import__(self.__module__).get_module_version())
2862  else:
2863  return IMP.VersionInfo(self.__module__,
2864  __import__(self.__module__).get_module_version())
2865  @staticmethod
2866  def get_from(o):
2867  return _object_cast_to_Distribution(o)
2868 
2869  def __disown__(self):
2870  self.this.disown()
2871  _IMP_isd.disown_Distribution(self)
2872  return weakref_proxy(self)
2873 
2874  def do_destroy(self):
2875  """do_destroy(Distribution self)"""
2876  return _IMP_isd.Distribution_do_destroy(self)
2877 
2878 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2879 Distribution_swigregister(Distribution)
2880 
2881 class OneDimensionalDistribution(Distribution):
2882  """Proxy of C++ IMP::isd::OneDimensionalDistribution class"""
2883  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2884 
2885  def do_evaluate(self, *args):
2886  """
2887  do_evaluate(OneDimensionalDistribution self, double v) -> double
2888  do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2889  """
2890  return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2891 
2892 
2893  def do_get_density(self, *args):
2894  """
2895  do_get_density(OneDimensionalDistribution self, double v) -> double
2896  do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2897  """
2898  return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2899 
2900 
2901  def __init__(self, *args):
2902  """
2903  __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2904  __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2905  """
2906  if self.__class__ == OneDimensionalDistribution:
2907  _self = None
2908  else:
2909  _self = self
2910  this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2911  try:
2912  self.this.append(this)
2913  except:
2914  self.this = this
2915 
2916  if self.__class__ != OneDimensionalDistribution:
2917  _director_objects.register(self)
2918 
2919 
2920 
2921 
2922  def evaluate(self, *args):
2923  """
2924  evaluate(OneDimensionalDistribution self, double v) -> double
2925  evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2926  """
2927  return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2928 
2929 
2930  def get_density(self, *args):
2931  """
2932  get_density(OneDimensionalDistribution self, double v) -> double
2933  get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2934  """
2935  return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2936 
2937 
2938  def get_type_name(self):
2939  """get_type_name(OneDimensionalDistribution self) -> std::string"""
2940  return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2941 
2942 
2943  def get_version_info(self):
2944  """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2945  return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2946 
2947 
2948  def __str__(self):
2949  """__str__(OneDimensionalDistribution self) -> std::string"""
2950  return _IMP_isd.OneDimensionalDistribution___str__(self)
2951 
2952 
2953  def __repr__(self):
2954  """__repr__(OneDimensionalDistribution self) -> std::string"""
2955  return _IMP_isd.OneDimensionalDistribution___repr__(self)
2956 
2957 
2958  @staticmethod
2959  def get_from(o):
2960  return _object_cast_to_OneDimensionalDistribution(o)
2961 
2962 
2963  def get_type_name(self):
2964  return self.__class__.__name__
2965  def do_show(self, out):
2966  pass
2967  def get_version_info(self):
2968  if"IMP::isd" == "IMP":
2969  return VersionInfo(self.__module__,
2970  __import__(self.__module__).get_module_version())
2971  else:
2972  return IMP.VersionInfo(self.__module__,
2973  __import__(self.__module__).get_module_version())
2974  @staticmethod
2975  def get_from(o):
2976  return _object_cast_to_OneDimensionalDistribution(o)
2977 
2978  def __disown__(self):
2979  self.this.disown()
2980  _IMP_isd.disown_OneDimensionalDistribution(self)
2981  return weakref_proxy(self)
2982 
2983  def do_destroy(self):
2984  """do_destroy(OneDimensionalDistribution self)"""
2985  return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2986 
2987 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2988 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2989 
2990 class OneDimensionalSufficientDistribution(Distribution):
2991  """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class"""
2992  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2993 
2994  def do_update_sufficient_statistics(self, vs):
2995  """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2996  return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
2997 
2998 
2999  def do_get_sufficient_statistics(self):
3000  """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
3001  return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
3002 
3003 
3004  def do_evaluate(self):
3005  """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
3006  return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
3007 
3008 
3009  def do_get_density(self):
3010  """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
3011  return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
3012 
3013 
3014  def __init__(self, *args):
3015  """
3016  __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
3017  __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
3018  """
3019  if self.__class__ == OneDimensionalSufficientDistribution:
3020  _self = None
3021  else:
3022  _self = self
3023  this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
3024  try:
3025  self.this.append(this)
3026  except:
3027  self.this = this
3028 
3029  if self.__class__ != OneDimensionalSufficientDistribution:
3030  _director_objects.register(self)
3031 
3032 
3033 
3034 
3035  def update_sufficient_statistics(self, vs):
3036  """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
3037  return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
3038 
3039 
3040  def get_sufficient_statistics(self):
3041  """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
3042  return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
3043 
3044 
3045  def evaluate(self):
3046  """evaluate(OneDimensionalSufficientDistribution self) -> double"""
3047  return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
3048 
3049 
3050  def get_density(self):
3051  """get_density(OneDimensionalSufficientDistribution self) -> double"""
3052  return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
3053 
3054 
3055  def get_type_name(self):
3056  """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
3057  return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
3058 
3059 
3060  def get_version_info(self):
3061  """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
3062  return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
3063 
3064 
3065  def __str__(self):
3066  """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
3067  return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
3068 
3069 
3070  def __repr__(self):
3071  """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
3072  return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
3073 
3074 
3075  @staticmethod
3076  def get_from(o):
3077  return _object_cast_to_OneDimensionalSufficientDistribution(o)
3078 
3079 
3080  def get_type_name(self):
3081  return self.__class__.__name__
3082  def do_show(self, out):
3083  pass
3084  def get_version_info(self):
3085  if"IMP::isd" == "IMP":
3086  return VersionInfo(self.__module__,
3087  __import__(self.__module__).get_module_version())
3088  else:
3089  return IMP.VersionInfo(self.__module__,
3090  __import__(self.__module__).get_module_version())
3091  @staticmethod
3092  def get_from(o):
3093  return _object_cast_to_OneDimensionalSufficientDistribution(o)
3094 
3095  def __disown__(self):
3096  self.this.disown()
3097  _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
3098  return weakref_proxy(self)
3099 
3100  def do_destroy(self):
3101  """do_destroy(OneDimensionalSufficientDistribution self)"""
3102  return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
3103 
3104 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
3105 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
3106 
3107 class FNormal(OneDimensionalSufficientDistribution):
3108  """Proxy of C++ IMP::isd::FNormal class"""
3109  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3110 
3111  def __init__(self, FA, JA, FM, sigma):
3112  """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
3113  this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
3114  try:
3115  self.this.append(this)
3116  except:
3117  self.this = this
3118 
3119  def update_sufficient_statistics(self, FA):
3120  """update_sufficient_statistics(FNormal self, double FA)"""
3121  return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
3122 
3123 
3124  def do_update_sufficient_statistics(self, data):
3125  """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
3126  return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
3127 
3128 
3129  def do_get_sufficient_statistics(self):
3130  """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
3131  return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
3132 
3133 
3134  def do_evaluate(self):
3135  """do_evaluate(FNormal self) -> double"""
3136  return _IMP_isd.FNormal_do_evaluate(self)
3137 
3138 
3139  def evaluate_derivative_FA(self):
3140  """evaluate_derivative_FA(FNormal self) -> double"""
3141  return _IMP_isd.FNormal_evaluate_derivative_FA(self)
3142 
3143 
3144  def evaluate_derivative_JA(self):
3145  """evaluate_derivative_JA(FNormal self) -> double"""
3146  return _IMP_isd.FNormal_evaluate_derivative_JA(self)
3147 
3148 
3149  def evaluate_derivative_FM(self):
3150  """evaluate_derivative_FM(FNormal self) -> double"""
3151  return _IMP_isd.FNormal_evaluate_derivative_FM(self)
3152 
3153 
3154  def evaluate_derivative_sigma(self):
3155  """evaluate_derivative_sigma(FNormal self) -> double"""
3156  return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
3157 
3158 
3159  def do_get_density(self):
3160  """do_get_density(FNormal self) -> double"""
3161  return _IMP_isd.FNormal_do_get_density(self)
3162 
3163 
3164  def set_FA(self, f):
3165  """set_FA(FNormal self, double f)"""
3166  return _IMP_isd.FNormal_set_FA(self, f)
3167 
3168 
3169  def set_JA(self, f):
3170  """set_JA(FNormal self, double f)"""
3171  return _IMP_isd.FNormal_set_JA(self, f)
3172 
3173 
3174  def set_FM(self, f):
3175  """set_FM(FNormal self, double f)"""
3176  return _IMP_isd.FNormal_set_FM(self, f)
3177 
3178 
3179  def set_sigma(self, f):
3180  """set_sigma(FNormal self, double f)"""
3181  return _IMP_isd.FNormal_set_sigma(self, f)
3182 
3183 
3184  def __str__(self):
3185  """__str__(FNormal self) -> std::string"""
3186  return _IMP_isd.FNormal___str__(self)
3187 
3188 
3189  def __repr__(self):
3190  """__repr__(FNormal self) -> std::string"""
3191  return _IMP_isd.FNormal___repr__(self)
3192 
3193 
3194  @staticmethod
3195  def get_from(o):
3196  return _object_cast_to_FNormal(o)
3197 
3198 FNormal_swigregister = _IMP_isd.FNormal_swigregister
3199 FNormal_swigregister(FNormal)
3200 
3201 class FStudentT(OneDimensionalSufficientDistribution):
3202  """Proxy of C++ IMP::isd::FStudentT class"""
3203  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3204 
3205  def __init__(self, *args):
3206  """
3207  __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
3208  __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
3209  __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
3210  __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
3211  """
3212  this = _IMP_isd.new_FStudentT(*args)
3213  try:
3214  self.this.append(this)
3215  except:
3216  self.this = this
3217 
3218  def update_sufficient_statistics(self, FXs, JXs):
3219  """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
3220  return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
3221 
3222 
3223  def evaluate_derivative_Fx(self, Fx):
3224  """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
3225  return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
3226 
3227 
3228  def evaluate_derivative_FX(self, FXs):
3229  """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
3230  return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
3231 
3232 
3233  def evaluate_derivative_LogJX(self):
3234  """evaluate_derivative_LogJX(FStudentT self) -> double"""
3235  return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
3236 
3237 
3238  def evaluate_derivative_FM(self):
3239  """evaluate_derivative_FM(FStudentT self) -> double"""
3240  return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
3241 
3242 
3243  def evaluate_derivative_sigma(self):
3244  """evaluate_derivative_sigma(FStudentT self) -> double"""
3245  return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
3246 
3247 
3248  def evaluate_derivative_nu(self):
3249  """evaluate_derivative_nu(FStudentT self) -> double"""
3250  return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
3251 
3252 
3253  def update_cached_values(self):
3254  """update_cached_values(FStudentT self)"""
3255  return _IMP_isd.FStudentT_update_cached_values(self)
3256 
3257 
3258  def set_sumFX(self, v):
3259  """set_sumFX(FStudentT self, double v)"""
3260  return _IMP_isd.FStudentT_set_sumFX(self, v)
3261 
3262 
3263  def set_sumFX2(self, v):
3264  """set_sumFX2(FStudentT self, double v)"""
3265  return _IMP_isd.FStudentT_set_sumFX2(self, v)
3266 
3267 
3268  def set_N(self, v):
3269  """set_N(FStudentT self, unsigned int v)"""
3270  return _IMP_isd.FStudentT_set_N(self, v)
3271 
3272 
3273  def set_LogJX(self, v):
3274  """set_LogJX(FStudentT self, double v)"""
3275  return _IMP_isd.FStudentT_set_LogJX(self, v)
3276 
3277 
3278  def set_FM(self, v):
3279  """set_FM(FStudentT self, double v)"""
3280  return _IMP_isd.FStudentT_set_FM(self, v)
3281 
3282 
3283  def set_sigma(self, v):
3284  """set_sigma(FStudentT self, double v)"""
3285  return _IMP_isd.FStudentT_set_sigma(self, v)
3286 
3287 
3288  def set_nu(self, v):
3289  """set_nu(FStudentT self, double v)"""
3290  return _IMP_isd.FStudentT_set_nu(self, v)
3291 
3292 
3293  def get_sumFX(self):
3294  """get_sumFX(FStudentT self) -> double"""
3295  return _IMP_isd.FStudentT_get_sumFX(self)
3296 
3297 
3298  def get_sumFX2(self):
3299  """get_sumFX2(FStudentT self) -> double"""
3300  return _IMP_isd.FStudentT_get_sumFX2(self)
3301 
3302 
3303  def get_N(self):
3304  """get_N(FStudentT self) -> unsigned int"""
3305  return _IMP_isd.FStudentT_get_N(self)
3306 
3307 
3308  def get_LogJX(self):
3309  """get_LogJX(FStudentT self) -> double"""
3310  return _IMP_isd.FStudentT_get_LogJX(self)
3311 
3312 
3313  def get_FM(self):
3314  """get_FM(FStudentT self) -> double"""
3315  return _IMP_isd.FStudentT_get_FM(self)
3316 
3317 
3318  def get_sigma(self):
3319  """get_sigma(FStudentT self) -> double"""
3320  return _IMP_isd.FStudentT_get_sigma(self)
3321 
3322 
3323  def get_nu(self):
3324  """get_nu(FStudentT self) -> double"""
3325  return _IMP_isd.FStudentT_get_nu(self)
3326 
3327 
3328  def __str__(self):
3329  """__str__(FStudentT self) -> std::string"""
3330  return _IMP_isd.FStudentT___str__(self)
3331 
3332 
3333  def __repr__(self):
3334  """__repr__(FStudentT self) -> std::string"""
3335  return _IMP_isd.FStudentT___repr__(self)
3336 
3337 
3338  @staticmethod
3339  def get_from(o):
3340  return _object_cast_to_FStudentT(o)
3341 
3342 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
3343 FStudentT_swigregister(FStudentT)
3344 
3345 class vonMises(IMP.Object):
3346  """Proxy of C++ IMP::isd::vonMises class"""
3347  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3348 
3349  def __init__(self, x, mu, kappa):
3350  """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
3351  this = _IMP_isd.new_vonMises(x, mu, kappa)
3352  try:
3353  self.this.append(this)
3354  except:
3355  self.this = this
3356 
3357  def evaluate(self):
3358  """evaluate(vonMises self) -> double"""
3359  return _IMP_isd.vonMises_evaluate(self)
3360 
3361 
3362  def evaluate_derivative_x(self):
3363  """evaluate_derivative_x(vonMises self) -> double"""
3364  return _IMP_isd.vonMises_evaluate_derivative_x(self)
3365 
3366 
3367  def evaluate_derivative_mu(self):
3368  """evaluate_derivative_mu(vonMises self) -> double"""
3369  return _IMP_isd.vonMises_evaluate_derivative_mu(self)
3370 
3371 
3372  def evaluate_derivative_kappa(self):
3373  """evaluate_derivative_kappa(vonMises self) -> double"""
3374  return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
3375 
3376 
3377  def density(self):
3378  """density(vonMises self) -> double"""
3379  return _IMP_isd.vonMises_density(self)
3380 
3381 
3382  def set_x(self, x):
3383  """set_x(vonMises self, double x)"""
3384  return _IMP_isd.vonMises_set_x(self, x)
3385 
3386 
3387  def set_mu(self, mu):
3388  """set_mu(vonMises self, double mu)"""
3389  return _IMP_isd.vonMises_set_mu(self, mu)
3390 
3391 
3392  def set_kappa(self, kappa):
3393  """set_kappa(vonMises self, double kappa)"""
3394  return _IMP_isd.vonMises_set_kappa(self, kappa)
3395 
3396 
3397  def get_version_info(self):
3398  """get_version_info(vonMises self) -> VersionInfo"""
3399  return _IMP_isd.vonMises_get_version_info(self)
3400 
3401 
3402  def __str__(self):
3403  """__str__(vonMises self) -> std::string"""
3404  return _IMP_isd.vonMises___str__(self)
3405 
3406 
3407  def __repr__(self):
3408  """__repr__(vonMises self) -> std::string"""
3409  return _IMP_isd.vonMises___repr__(self)
3410 
3411 
3412  @staticmethod
3413  def get_from(o):
3414  return _object_cast_to_vonMises(o)
3415 
3416 vonMises_swigregister = _IMP_isd.vonMises_swigregister
3417 vonMises_swigregister(vonMises)
3418 
3419 class vonMisesSufficient(IMP.Object):
3420  """Proxy of C++ IMP::isd::vonMisesSufficient class"""
3421  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3422 
3423  def __init__(self, *args):
3424  """
3425  __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
3426  __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
3427  """
3428  this = _IMP_isd.new_vonMisesSufficient(*args)
3429  try:
3430  self.this.append(this)
3431  except:
3432  self.this = this
3433 
3434  def evaluate(self):
3435  """evaluate(vonMisesSufficient self) -> double"""
3436  return _IMP_isd.vonMisesSufficient_evaluate(self)
3437 
3438 
3439  def evaluate_derivative_x(self):
3440  """evaluate_derivative_x(vonMisesSufficient self) -> double"""
3441  return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
3442 
3443 
3444  def evaluate_derivative_kappa(self):
3445  """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
3446  return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
3447 
3448 
3449  def density(self):
3450  """density(vonMisesSufficient self) -> double"""
3451  return _IMP_isd.vonMisesSufficient_density(self)
3452 
3453 
3454  def get_x(self):
3455  """get_x(vonMisesSufficient self) -> double"""
3456  return _IMP_isd.vonMisesSufficient_get_x(self)
3457 
3458 
3459  def get_R0(self):
3460  """get_R0(vonMisesSufficient self) -> double"""
3461  return _IMP_isd.vonMisesSufficient_get_R0(self)
3462 
3463 
3464  def get_chiexp(self):
3465  """get_chiexp(vonMisesSufficient self) -> double"""
3466  return _IMP_isd.vonMisesSufficient_get_chiexp(self)
3467 
3468 
3469  def get_N(self):
3470  """get_N(vonMisesSufficient self) -> double"""
3471  return _IMP_isd.vonMisesSufficient_get_N(self)
3472 
3473 
3474  def get_kappa(self):
3475  """get_kappa(vonMisesSufficient self) -> double"""
3476  return _IMP_isd.vonMisesSufficient_get_kappa(self)
3477 
3478 
3479  def set_x(self, x):
3480  """set_x(vonMisesSufficient self, double x)"""
3481  return _IMP_isd.vonMisesSufficient_set_x(self, x)
3482 
3483 
3484  def set_R0(self, R0):
3485  """set_R0(vonMisesSufficient self, double R0)"""
3486  return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
3487 
3488 
3489  def set_chiexp(self, chiexp):
3490  """set_chiexp(vonMisesSufficient self, double chiexp)"""
3491  return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
3492 
3493 
3494  def set_N(self, N):
3495  """set_N(vonMisesSufficient self, unsigned int N)"""
3496  return _IMP_isd.vonMisesSufficient_set_N(self, N)
3497 
3498 
3499  def set_kappa(self, kappa):
3500  """set_kappa(vonMisesSufficient self, double kappa)"""
3501  return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
3502 
3503 
3504  def get_sufficient_statistics(data):
3505  """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3506  return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3507 
3508  get_sufficient_statistics = staticmethod(get_sufficient_statistics)
3509 
3510  def get_version_info(self):
3511  """get_version_info(vonMisesSufficient self) -> VersionInfo"""
3512  return _IMP_isd.vonMisesSufficient_get_version_info(self)
3513 
3514 
3515  def __str__(self):
3516  """__str__(vonMisesSufficient self) -> std::string"""
3517  return _IMP_isd.vonMisesSufficient___str__(self)
3518 
3519 
3520  def __repr__(self):
3521  """__repr__(vonMisesSufficient self) -> std::string"""
3522  return _IMP_isd.vonMisesSufficient___repr__(self)
3523 
3524 
3525  @staticmethod
3526  def get_from(o):
3527  return _object_cast_to_vonMisesSufficient(o)
3528 
3529 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3530 vonMisesSufficient_swigregister(vonMisesSufficient)
3531 
3532 def vonMisesSufficient_get_sufficient_statistics(data):
3533  """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3534  return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3535 
3536 class PenalizedComplexityPrior(OneDimensionalSufficientDistribution):
3537  """Proxy of C++ IMP::isd::PenalizedComplexityPrior class"""
3538  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3539 
3540  def __init__(self, *args):
3541  """
3542  __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha, std::string name) -> PenalizedComplexityPrior
3543  __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha) -> PenalizedComplexityPrior
3544  """
3545  this = _IMP_isd.new_PenalizedComplexityPrior(*args)
3546  try:
3547  self.this.append(this)
3548  except:
3549  self.this = this
3550 
3551  def update_sufficient_statistics(self, Dxis, Jxis):
3552  """update_sufficient_statistics(PenalizedComplexityPrior self, IMP::Floats Dxis, IMP::Floats Jxis)"""
3553  return _IMP_isd.PenalizedComplexityPrior_update_sufficient_statistics(self, Dxis, Jxis)
3554 
3555 
3556  def evaluate_derivative_Dxi(self):
3557  """evaluate_derivative_Dxi(PenalizedComplexityPrior self) -> double"""
3558  return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Dxi(self)
3559 
3560 
3561  def evaluate_derivative_Jxi(self):
3562  """evaluate_derivative_Jxi(PenalizedComplexityPrior self) -> double"""
3563  return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Jxi(self)
3564 
3565 
3566  def evaluate_derivative_alpha(self):
3567  """evaluate_derivative_alpha(PenalizedComplexityPrior self) -> double"""
3568  return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_alpha(self)
3569 
3570 
3571  def evaluate_derivative_xi(self, JJxi):
3572  """evaluate_derivative_xi(PenalizedComplexityPrior self, double JJxi) -> double"""
3573  return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_xi(self, JJxi)
3574 
3575 
3576  def set_Dxi(self, v):
3577  """set_Dxi(PenalizedComplexityPrior self, double v)"""
3578  return _IMP_isd.PenalizedComplexityPrior_set_Dxi(self, v)
3579 
3580 
3581  def set_Jxi(self, v):
3582  """set_Jxi(PenalizedComplexityPrior self, double v)"""
3583  return _IMP_isd.PenalizedComplexityPrior_set_Jxi(self, v)
3584 
3585 
3586  def set_alpha(self, v):
3587  """set_alpha(PenalizedComplexityPrior self, double v)"""
3588  return _IMP_isd.PenalizedComplexityPrior_set_alpha(self, v)
3589 
3590 
3591  def get_Dxi(self):
3592  """get_Dxi(PenalizedComplexityPrior self) -> double"""
3593  return _IMP_isd.PenalizedComplexityPrior_get_Dxi(self)
3594 
3595 
3596  def get_Jxi(self):
3597  """get_Jxi(PenalizedComplexityPrior self) -> double"""
3598  return _IMP_isd.PenalizedComplexityPrior_get_Jxi(self)
3599 
3600 
3601  def get_alpha(self):
3602  """get_alpha(PenalizedComplexityPrior self) -> double"""
3603  return _IMP_isd.PenalizedComplexityPrior_get_alpha(self)
3604 
3605 
3606  def __str__(self):
3607  """__str__(PenalizedComplexityPrior self) -> std::string"""
3608  return _IMP_isd.PenalizedComplexityPrior___str__(self)
3609 
3610 
3611  def __repr__(self):
3612  """__repr__(PenalizedComplexityPrior self) -> std::string"""
3613  return _IMP_isd.PenalizedComplexityPrior___repr__(self)
3614 
3615 
3616  @staticmethod
3617  def get_from(o):
3618  return _object_cast_to_PenalizedComplexityPrior(o)
3619 
3620 PenalizedComplexityPrior_swigregister = _IMP_isd.PenalizedComplexityPrior_swigregister
3621 PenalizedComplexityPrior_swigregister(PenalizedComplexityPrior)
3622 
3623 class vonMisesKappaJeffreysRestraint(IMP.Restraint):
3624  """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
3625  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3626 
3627  def __init__(self, m, kappa):
3628  """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3629  this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3630  try:
3631  self.this.append(this)
3632  except:
3633  self.this = this
3634 
3635  def do_get_inputs(self):
3636  """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3637  return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3638 
3639 
3640  def get_version_info(self):
3641  """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3642  return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3643 
3644 
3645  def get_probability(self):
3646  """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3647  return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3648 
3649 
3650  def __str__(self):
3651  """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3652  return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3653 
3654 
3655  def __repr__(self):
3656  """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3657  return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3658 
3659 
3660  @staticmethod
3661  def get_from(o):
3662  return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3663 
3664 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3665 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3666 
3667 class vonMisesKappaConjugateRestraint(IMP.Restraint):
3668  """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
3669  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3670 
3671  def __init__(self, m, kappa, c=10.0, R0=0.0):
3672  """
3673  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3674  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3675  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3676  """
3677  this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3678  try:
3679  self.this.append(this)
3680  except:
3681  self.this = this
3682 
3683  def do_get_inputs(self):
3684  """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3685  return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3686 
3687 
3688  def get_version_info(self):
3689  """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3690  return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3691 
3692 
3693  def get_probability(self):
3694  """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3695  return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3696 
3697 
3698  def __str__(self):
3699  """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3700  return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3701 
3702 
3703  def __repr__(self):
3704  """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3705  return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3706 
3707 
3708  @staticmethod
3709  def get_from(o):
3710  return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3711 
3712 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3713 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3714 
3715 class NOERestraint(IMP.Restraint):
3716  """Proxy of C++ IMP::isd::NOERestraint class"""
3717  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3718 
3719  def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3720  """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3721  this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3722  try:
3723  self.this.append(this)
3724  except:
3725  self.this = this
3726 
3727  def get_probability(self):
3728  """get_probability(NOERestraint self) -> double"""
3729  return _IMP_isd.NOERestraint_get_probability(self)
3730 
3731 
3732  def get_chi(self):
3733  """get_chi(NOERestraint self) -> double"""
3734  return _IMP_isd.NOERestraint_get_chi(self)
3735 
3736 
3737  def do_get_inputs(self):
3738  """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3739  return _IMP_isd.NOERestraint_do_get_inputs(self)
3740 
3741 
3742  def get_version_info(self):
3743  """get_version_info(NOERestraint self) -> VersionInfo"""
3744  return _IMP_isd.NOERestraint_get_version_info(self)
3745 
3746 
3747  def __str__(self):
3748  """__str__(NOERestraint self) -> std::string"""
3749  return _IMP_isd.NOERestraint___str__(self)
3750 
3751 
3752  def __repr__(self):
3753  """__repr__(NOERestraint self) -> std::string"""
3754  return _IMP_isd.NOERestraint___repr__(self)
3755 
3756 
3757  @staticmethod
3758  def get_from(o):
3759  return _object_cast_to_NOERestraint(o)
3760 
3761 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3762 NOERestraint_swigregister(NOERestraint)
3763 
3764 class GaussianRestraint(IMP.Restraint):
3765  """Proxy of C++ IMP::isd::GaussianRestraint class"""
3766  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3767 
3768  def __init__(self, *args):
3769  """
3770  __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3771  __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3772  __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3773  __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3774  __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3775  __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3776  __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3777  """
3778  this = _IMP_isd.new_GaussianRestraint(*args)
3779  try:
3780  self.this.append(this)
3781  except:
3782  self.this = this
3783 
3784  def get_probability(self):
3785  """get_probability(GaussianRestraint self) -> double"""
3786  return _IMP_isd.GaussianRestraint_get_probability(self)
3787 
3788 
3789  def get_chi(self):
3790  """get_chi(GaussianRestraint self) -> double"""
3791  return _IMP_isd.GaussianRestraint_get_chi(self)
3792 
3793 
3794  def do_get_inputs(self):
3795  """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3796  return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3797 
3798 
3799  def get_version_info(self):
3800  """get_version_info(GaussianRestraint self) -> VersionInfo"""
3801  return _IMP_isd.GaussianRestraint_get_version_info(self)
3802 
3803 
3804  def __str__(self):
3805  """__str__(GaussianRestraint self) -> std::string"""
3806  return _IMP_isd.GaussianRestraint___str__(self)
3807 
3808 
3809  def __repr__(self):
3810  """__repr__(GaussianRestraint self) -> std::string"""
3811  return _IMP_isd.GaussianRestraint___repr__(self)
3812 
3813 
3814  @staticmethod
3815  def get_from(o):
3816  return _object_cast_to_GaussianRestraint(o)
3817 
3818 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3819 GaussianRestraint_swigregister(GaussianRestraint)
3820 
3821 class StudentTRestraint(IMP.Restraint):
3822  """Proxy of C++ IMP::isd::StudentTRestraint class"""
3823  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3824 
3825  def __init__(self, *args):
3826  """
3827  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3828  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3829  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3830  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3831  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3832  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3833  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3834  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3835  __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3836  __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3837  __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3838  __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3839  __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3840  __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3841  __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3842  """
3843  this = _IMP_isd.new_StudentTRestraint(*args)
3844  try:
3845  self.this.append(this)
3846  except:
3847  self.this = this
3848 
3849  def get_probability(self):
3850  """get_probability(StudentTRestraint self) -> double"""
3851  return _IMP_isd.StudentTRestraint_get_probability(self)
3852 
3853 
3854  def do_get_inputs(self):
3855  """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3856  return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3857 
3858 
3859  def get_version_info(self):
3860  """get_version_info(StudentTRestraint self) -> VersionInfo"""
3861  return _IMP_isd.StudentTRestraint_get_version_info(self)
3862 
3863 
3864  def __str__(self):
3865  """__str__(StudentTRestraint self) -> std::string"""
3866  return _IMP_isd.StudentTRestraint___str__(self)
3867 
3868 
3869  def __repr__(self):
3870  """__repr__(StudentTRestraint self) -> std::string"""
3871  return _IMP_isd.StudentTRestraint___repr__(self)
3872 
3873 
3874  @staticmethod
3875  def get_from(o):
3876  return _object_cast_to_StudentTRestraint(o)
3877 
3878 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3879 StudentTRestraint_swigregister(StudentTRestraint)
3880 
3881 class LognormalRestraint(IMP.Restraint):
3882  """Proxy of C++ IMP::isd::LognormalRestraint class"""
3883  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3884 
3885  def __init__(self, *args):
3886  """
3887  __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3888  __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3889  __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3890  __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3891  __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3892  __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3893  __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3894  """
3895  this = _IMP_isd.new_LognormalRestraint(*args)
3896  try:
3897  self.this.append(this)
3898  except:
3899  self.this = this
3900 
3901  def get_probability(self):
3902  """get_probability(LognormalRestraint self) -> double"""
3903  return _IMP_isd.LognormalRestraint_get_probability(self)
3904 
3905 
3906  def get_chi(self):
3907  """get_chi(LognormalRestraint self) -> double"""
3908  return _IMP_isd.LognormalRestraint_get_chi(self)
3909 
3910 
3911  def do_get_inputs(self):
3912  """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3913  return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3914 
3915 
3916  def get_version_info(self):
3917  """get_version_info(LognormalRestraint self) -> VersionInfo"""
3918  return _IMP_isd.LognormalRestraint_get_version_info(self)
3919 
3920 
3921  def __str__(self):
3922  """__str__(LognormalRestraint self) -> std::string"""
3923  return _IMP_isd.LognormalRestraint___str__(self)
3924 
3925 
3926  def __repr__(self):
3927  """__repr__(LognormalRestraint self) -> std::string"""
3928  return _IMP_isd.LognormalRestraint___repr__(self)
3929 
3930 
3931  @staticmethod
3932  def get_from(o):
3933  return _object_cast_to_LognormalRestraint(o)
3934 
3935 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3936 LognormalRestraint_swigregister(LognormalRestraint)
3937 
3938 class LognormalAmbiguousRestraint(IMP.Restraint):
3939  """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class"""
3940  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3941 
3942  def __init__(self, p1, p2, ki, sigmaG):
3943  """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3944  this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3945  try:
3946  self.this.append(this)
3947  except:
3948  self.this = this
3949 
3950  def add_contribution(self, lexp, omega):
3951  """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3952  return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3953 
3954 
3955  def get_number_of_contributions(self):
3956  """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3957  return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3958 
3959 
3960  def draw_k_from_posterior(self, kt):
3961  """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3962  return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3963 
3964 
3965  def get_probability(self):
3966  """get_probability(LognormalAmbiguousRestraint self) -> double"""
3967  return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3968 
3969 
3970  def do_get_inputs(self):
3971  """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3972  return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3973 
3974 
3975  def get_version_info(self):
3976  """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3977  return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3978 
3979 
3980  def __str__(self):
3981  """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3982  return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3983 
3984 
3985  def __repr__(self):
3986  """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3987  return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3988 
3989 
3990  @staticmethod
3991  def get_from(o):
3992  return _object_cast_to_LognormalAmbiguousRestraint(o)
3993 
3994 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3995 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3996 
3997 class AmbiguousNOERestraint(IMP.Restraint):
3998  """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
3999  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4000 
4001  def __init__(self, m, pc, sigma, gamma, Iexp):
4002  """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
4003  this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
4004  try:
4005  self.this.append(this)
4006  except:
4007  self.this = this
4008 
4009  def get_probability(self):
4010  """get_probability(AmbiguousNOERestraint self) -> double"""
4011  return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
4012 
4013 
4014  def get_chi(self):
4015  """get_chi(AmbiguousNOERestraint self) -> double"""
4016  return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
4017 
4018 
4019  def do_get_inputs(self):
4020  """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
4021  return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
4022 
4023 
4024  def get_version_info(self):
4025  """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
4026  return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
4027 
4028 
4029  def __str__(self):
4030  """__str__(AmbiguousNOERestraint self) -> std::string"""
4031  return _IMP_isd.AmbiguousNOERestraint___str__(self)
4032 
4033 
4034  def __repr__(self):
4035  """__repr__(AmbiguousNOERestraint self) -> std::string"""
4036  return _IMP_isd.AmbiguousNOERestraint___repr__(self)
4037 
4038 
4039  @staticmethod
4040  def get_from(o):
4041  return _object_cast_to_AmbiguousNOERestraint(o)
4042 
4043 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
4044 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
4045 
4046 class MarginalNOERestraint(IMP.Restraint):
4047  """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
4048  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4049 
4050  def __init__(self, m):
4051  """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
4052  this = _IMP_isd.new_MarginalNOERestraint(m)
4053  try:
4054  self.this.append(this)
4055  except:
4056  self.this = this
4057 
4058  def add_contribution(self, *args):
4059  """
4060  add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
4061  add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
4062  """
4063  return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
4064 
4065 
4066  def get_log_gammahat(self):
4067  """get_log_gammahat(MarginalNOERestraint self) -> double"""
4068  return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
4069 
4070 
4071  def get_SS(self):
4072  """get_SS(MarginalNOERestraint self) -> double"""
4073  return _IMP_isd.MarginalNOERestraint_get_SS(self)
4074 
4075 
4076  def get_number_of_contributions(self):
4077  """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
4078  return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
4079 
4080 
4081  def get_probability(self):
4082  """get_probability(MarginalNOERestraint self) -> double"""
4083  return _IMP_isd.MarginalNOERestraint_get_probability(self)
4084 
4085 
4086  def do_get_inputs(self):
4087  """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
4088  return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
4089 
4090 
4091  def get_version_info(self):
4092  """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
4093  return _IMP_isd.MarginalNOERestraint_get_version_info(self)
4094 
4095 
4096  def __str__(self):
4097  """__str__(MarginalNOERestraint self) -> std::string"""
4098  return _IMP_isd.MarginalNOERestraint___str__(self)
4099 
4100 
4101  def __repr__(self):
4102  """__repr__(MarginalNOERestraint self) -> std::string"""
4103  return _IMP_isd.MarginalNOERestraint___repr__(self)
4104 
4105 
4106  @staticmethod
4107  def get_from(o):
4108  return _object_cast_to_MarginalNOERestraint(o)
4109 
4110 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
4111 MarginalNOERestraint_swigregister(MarginalNOERestraint)
4112 
4113 class MarginalHBondRestraint(IMP.Restraint):
4114  """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
4115  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4116 
4117  def __init__(self, m):
4118  """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
4119  this = _IMP_isd.new_MarginalHBondRestraint(m)
4120  try:
4121  self.this.append(this)
4122  except:
4123  self.this = this
4124 
4125  def add_contribution(self, *args):
4126  """
4127  add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
4128  add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
4129  """
4130  return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
4131 
4132 
4133  def get_logsquares(self):
4134  """get_logsquares(MarginalHBondRestraint self) -> double"""
4135  return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
4136 
4137 
4138  def get_number_of_contributions(self):
4139  """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
4140  return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
4141 
4142 
4143  def get_probability(self):
4144  """get_probability(MarginalHBondRestraint self) -> double"""
4145  return _IMP_isd.MarginalHBondRestraint_get_probability(self)
4146 
4147 
4148  def do_get_inputs(self):
4149  """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
4150  return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
4151 
4152 
4153  def get_version_info(self):
4154  """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
4155  return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
4156 
4157 
4158  def __str__(self):
4159  """__str__(MarginalHBondRestraint self) -> std::string"""
4160  return _IMP_isd.MarginalHBondRestraint___str__(self)
4161 
4162 
4163  def __repr__(self):
4164  """__repr__(MarginalHBondRestraint self) -> std::string"""
4165  return _IMP_isd.MarginalHBondRestraint___repr__(self)
4166 
4167 
4168  @staticmethod
4169  def get_from(o):
4170  return _object_cast_to_MarginalHBondRestraint(o)
4171 
4172 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
4173 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
4174 
4175 class TALOSRestraint(IMP.Restraint):
4176  """Proxy of C++ IMP::isd::TALOSRestraint class"""
4177  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4178 
4179  def __init__(self, *args):
4180  """
4181  __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
4182  __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
4183  __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
4184  __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
4185  """
4186  this = _IMP_isd.new_TALOSRestraint(*args)
4187  try:
4188  self.this.append(this)
4189  except:
4190  self.this = this
4191 
4192  def get_probability(self):
4193  """get_probability(TALOSRestraint self) -> double"""
4194  return _IMP_isd.TALOSRestraint_get_probability(self)
4195 
4196 
4197  def get_R0(self):
4198  """get_R0(TALOSRestraint self) -> double"""
4199  return _IMP_isd.TALOSRestraint_get_R0(self)
4200 
4201 
4202  def get_chiexp(self):
4203  """get_chiexp(TALOSRestraint self) -> double"""
4204  return _IMP_isd.TALOSRestraint_get_chiexp(self)
4205 
4206 
4207  def do_get_inputs(self):
4208  """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
4209  return _IMP_isd.TALOSRestraint_do_get_inputs(self)
4210 
4211 
4212  def get_version_info(self):
4213  """get_version_info(TALOSRestraint self) -> VersionInfo"""
4214  return _IMP_isd.TALOSRestraint_get_version_info(self)
4215 
4216 
4217  def __str__(self):
4218  """__str__(TALOSRestraint self) -> std::string"""
4219  return _IMP_isd.TALOSRestraint___str__(self)
4220 
4221 
4222  def __repr__(self):
4223  """__repr__(TALOSRestraint self) -> std::string"""
4224  return _IMP_isd.TALOSRestraint___repr__(self)
4225 
4226 
4227  @staticmethod
4228  def get_from(o):
4229  return _object_cast_to_TALOSRestraint(o)
4230 
4231 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
4232 TALOSRestraint_swigregister(TALOSRestraint)
4233 
4234 class RepulsiveDistancePairScore(IMP.PairScore):
4235  """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
4236  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4237 
4238  def __init__(self, d0, k):
4239  """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
4240  this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
4241  try:
4242  self.this.append(this)
4243  except:
4244  self.this = this
4245 
4246  def get_rest_length(self):
4247  """get_rest_length(RepulsiveDistancePairScore self) -> double"""
4248  return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
4249 
4250 
4251  def get_stiffness(self):
4252  """get_stiffness(RepulsiveDistancePairScore self) -> double"""
4253  return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
4254 
4255 
4256  def do_get_inputs(self, m, pis):
4257  """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4258  return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
4259 
4260 
4261  def get_version_info(self):
4262  """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
4263  return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
4264 
4265 
4266  def __str__(self):
4267  """__str__(RepulsiveDistancePairScore self) -> std::string"""
4268  return _IMP_isd.RepulsiveDistancePairScore___str__(self)
4269 
4270 
4271  def __repr__(self):
4272  """__repr__(RepulsiveDistancePairScore self) -> std::string"""
4273  return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
4274 
4275 
4276  @staticmethod
4277  def get_from(o):
4278  return _object_cast_to_RepulsiveDistancePairScore(o)
4279 
4280 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
4281 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
4282 
4283 class AmbiguousRestraint(IMP.Restraint):
4284  """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
4285  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4286 
4287  def __init__(self, *args):
4288  """
4289  __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
4290  __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
4291  """
4292  this = _IMP_isd.new_AmbiguousRestraint(*args)
4293  try:
4294  self.this.append(this)
4295  except:
4296  self.this = this
4297 
4298  def get_probability(self):
4299  """get_probability(AmbiguousRestraint self) -> double"""
4300  return _IMP_isd.AmbiguousRestraint_get_probability(self)
4301 
4302 
4303  def do_get_inputs(self):
4304  """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
4305  return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
4306 
4307 
4308  def get_version_info(self):
4309  """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
4310  return _IMP_isd.AmbiguousRestraint_get_version_info(self)
4311 
4312 
4313  def __str__(self):
4314  """__str__(AmbiguousRestraint self) -> std::string"""
4315  return _IMP_isd.AmbiguousRestraint___str__(self)
4316 
4317 
4318  def __repr__(self):
4319  """__repr__(AmbiguousRestraint self) -> std::string"""
4320  return _IMP_isd.AmbiguousRestraint___repr__(self)
4321 
4322 
4323  @staticmethod
4324  def get_from(o):
4325  return _object_cast_to_AmbiguousRestraint(o)
4326 
4327 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
4328 AmbiguousRestraint_swigregister(AmbiguousRestraint)
4329 
4330 
4331 _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
4332 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
4333 class UnivariateFunction(IMP.Object):
4334  """Proxy of C++ IMP::isd::UnivariateFunction class"""
4335  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4336 
4337  def __init__(self, *args, **kwargs):
4338  raise AttributeError("No constructor defined - class is abstract")
4339 
4340  def __call__(self, *args):
4341  """
4342  __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
4343  __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4344  __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4345  """
4346  return _IMP_isd.UnivariateFunction___call__(self, *args)
4347 
4348 
4349  def has_changed(self):
4350  """has_changed(UnivariateFunction self) -> bool"""
4351  return _IMP_isd.UnivariateFunction_has_changed(self)
4352 
4353 
4354  def update(self):
4355  """update(UnivariateFunction self)"""
4356  return _IMP_isd.UnivariateFunction_update(self)
4357 
4358 
4359  def add_to_derivatives(self, x, accum):
4360  """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
4361  return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
4362 
4363 
4364  def add_to_particle_derivative(self, particle_no, value, accum):
4365  """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4366  return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4367 
4368 
4369  def get_derivative_vector(self, particle_no, xlist):
4370  """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
4371  return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
4372 
4373 
4374  def get_derivative_matrix(self, xlist, stupid):
4375  """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
4376  return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
4377 
4378 
4379  def get_second_derivative_vector(self, *args):
4380  """
4381  get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4382  get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4383  """
4384  return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
4385 
4386 
4387  def get_ndims_x(self):
4388  """get_ndims_x(UnivariateFunction self) -> unsigned int"""
4389  return _IMP_isd.UnivariateFunction_get_ndims_x(self)
4390 
4391 
4392  def get_ndims_y(self):
4393  """get_ndims_y(UnivariateFunction self) -> unsigned int"""
4394  return _IMP_isd.UnivariateFunction_get_ndims_y(self)
4395 
4396 
4397  def get_number_of_particles(self):
4398  """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
4399  return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
4400 
4401 
4402  def get_particle_is_optimized(self, particle_no):
4403  """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
4404  return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
4405 
4406 
4407  def get_number_of_optimized_particles(self):
4408  """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
4409  return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
4410 
4411 
4412  def get_inputs(self):
4413  """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
4414  return _IMP_isd.UnivariateFunction_get_inputs(self)
4415 
4416  __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
4417  __del__ = lambda self: None
4418 
4419  def __str__(self):
4420  """__str__(UnivariateFunction self) -> std::string"""
4421  return _IMP_isd.UnivariateFunction___str__(self)
4422 
4423 
4424  def __repr__(self):
4425  """__repr__(UnivariateFunction self) -> std::string"""
4426  return _IMP_isd.UnivariateFunction___repr__(self)
4427 
4428 
4429  @staticmethod
4430  def get_from(o):
4431  return _object_cast_to_UnivariateFunction(o)
4432 
4433 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
4434 UnivariateFunction_swigregister(UnivariateFunction)
4435 
4436 class Linear1DFunction(UnivariateFunction):
4437  """Proxy of C++ IMP::isd::Linear1DFunction class"""
4438  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4439 
4440  def __init__(self, a, b):
4441  """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
4442  this = _IMP_isd.new_Linear1DFunction(a, b)
4443  try:
4444  self.this.append(this)
4445  except:
4446  self.this = this
4447 
4448  def __call__(self, *args):
4449  """
4450  __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
4451  __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4452  __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4453  """
4454  return _IMP_isd.Linear1DFunction___call__(self, *args)
4455 
4456 
4457  def get_second_derivative_vector(self, *args):
4458  """
4459  get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4460  get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4461  """
4462  return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
4463 
4464 
4465  def get_version_info(self):
4466  """get_version_info(Linear1DFunction self) -> VersionInfo"""
4467  return _IMP_isd.Linear1DFunction_get_version_info(self)
4468 
4469 
4470  def __str__(self):
4471  """__str__(Linear1DFunction self) -> std::string"""
4472  return _IMP_isd.Linear1DFunction___str__(self)
4473 
4474 
4475  def __repr__(self):
4476  """__repr__(Linear1DFunction self) -> std::string"""
4477  return _IMP_isd.Linear1DFunction___repr__(self)
4478 
4479 
4480  @staticmethod
4481  def get_from(o):
4482  return _object_cast_to_Linear1DFunction(o)
4483 
4484 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
4485 Linear1DFunction_swigregister(Linear1DFunction)
4486 
4487 class GeneralizedGuinierPorodFunction(UnivariateFunction):
4488  """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
4489  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4490 
4491  def __init__(self, G, Rg, d, s, A):
4492  """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
4493  this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
4494  try:
4495  self.this.append(this)
4496  except:
4497  self.this = this
4498 
4499  def __call__(self, *args):
4500  """
4501  __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
4502  __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4503  __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4504  """
4505  return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
4506 
4507 
4508  def get_second_derivative_vector(self, *args):
4509  """
4510  get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4511  get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4512  """
4513  return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
4514 
4515 
4516  def get_version_info(self):
4517  """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
4518  return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
4519 
4520 
4521  def __str__(self):
4522  """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
4523  return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
4524 
4525 
4526  def __repr__(self):
4527  """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
4528  return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
4529 
4530 
4531  @staticmethod
4532  def get_from(o):
4533  return _object_cast_to_GeneralizedGuinierPorodFunction(o)
4534 
4535 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
4536 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
4537 
4538 
4539 _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
4540 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
4541 class BivariateFunction(IMP.Object):
4542  """Proxy of C++ IMP::isd::BivariateFunction class"""
4543  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4544 
4545  def __init__(self, *args, **kwargs):
4546  raise AttributeError("No constructor defined - class is abstract")
4547 
4548  def __call__(self, *args):
4549  """
4550  __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4551  __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4552  __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4553  """
4554  return _IMP_isd.BivariateFunction___call__(self, *args)
4555 
4556 
4557  def has_changed(self):
4558  """has_changed(BivariateFunction self) -> bool"""
4559  return _IMP_isd.BivariateFunction_has_changed(self)
4560 
4561 
4562  def update(self):
4563  """update(BivariateFunction self)"""
4564  return _IMP_isd.BivariateFunction_update(self)
4565 
4566 
4567  def add_to_derivatives(self, x1, x2, accum):
4568  """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
4569  return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
4570 
4571 
4572  def add_to_particle_derivative(self, particle_no, value, accum):
4573  """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4574  return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4575 
4576 
4577  def get_derivative_matrix(self, *args):
4578  """
4579  get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4580  get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4581  """
4582  return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
4583 
4584 
4585  def get_second_derivative_matrix(self, *args):
4586  """
4587  get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4588  get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4589  """
4590  return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
4591 
4592 
4593  def get_ndims_x1(self):
4594  """get_ndims_x1(BivariateFunction self) -> unsigned int"""
4595  return _IMP_isd.BivariateFunction_get_ndims_x1(self)
4596 
4597 
4598  def get_ndims_x2(self):
4599  """get_ndims_x2(BivariateFunction self) -> unsigned int"""
4600  return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4601 
4602 
4603  def get_ndims_y(self):
4604  """get_ndims_y(BivariateFunction self) -> unsigned int"""
4605  return _IMP_isd.BivariateFunction_get_ndims_y(self)
4606 
4607 
4608  def get_number_of_particles(self):
4609  """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4610  return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4611 
4612 
4613  def get_particle_is_optimized(self, particle_no):
4614  """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4615  return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4616 
4617 
4618  def get_number_of_optimized_particles(self):
4619  """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4620  return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4621 
4622 
4623  def get_inputs(self):
4624  """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4625  return _IMP_isd.BivariateFunction_get_inputs(self)
4626 
4627  __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4628  __del__ = lambda self: None
4629 
4630  def __str__(self):
4631  """__str__(BivariateFunction self) -> std::string"""
4632  return _IMP_isd.BivariateFunction___str__(self)
4633 
4634 
4635  def __repr__(self):
4636  """__repr__(BivariateFunction self) -> std::string"""
4637  return _IMP_isd.BivariateFunction___repr__(self)
4638 
4639 
4640  @staticmethod
4641  def get_from(o):
4642  return _object_cast_to_BivariateFunction(o)
4643 
4644 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4645 BivariateFunction_swigregister(BivariateFunction)
4646 
4647 class Covariance1DFunction(BivariateFunction):
4648  """Proxy of C++ IMP::isd::Covariance1DFunction class"""
4649  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4650 
4651  def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4652  """
4653  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4654  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4655  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4656  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4657  """
4658  this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4659  try:
4660  self.this.append(this)
4661  except:
4662  self.this = this
4663 
4664  def __call__(self, *args):
4665  """
4666  __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4667  __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4668  __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4669  """
4670  return _IMP_isd.Covariance1DFunction___call__(self, *args)
4671 
4672 
4673  def get_derivative_matrix(self, *args):
4674  """
4675  get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4676  get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4677  """
4678  return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4679 
4680 
4681  def get_second_derivative_matrix(self, *args):
4682  """
4683  get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4684  get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4685  """
4686  return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4687 
4688 
4689  def get_version_info(self):
4690  """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4691  return _IMP_isd.Covariance1DFunction_get_version_info(self)
4692 
4693 
4694  def __str__(self):
4695  """__str__(Covariance1DFunction self) -> std::string"""
4696  return _IMP_isd.Covariance1DFunction___str__(self)
4697 
4698 
4699  def __repr__(self):
4700  """__repr__(Covariance1DFunction self) -> std::string"""
4701  return _IMP_isd.Covariance1DFunction___repr__(self)
4702 
4703 
4704  @staticmethod
4705  def get_from(o):
4706  return _object_cast_to_Covariance1DFunction(o)
4707 
4708 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4709 Covariance1DFunction_swigregister(Covariance1DFunction)
4710 
4711 class GaussianProcessInterpolation(IMP.Object):
4712  """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
4713  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4714 
4715  def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4716  """
4717  __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
4718  __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
4719  """
4720  this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4721  try:
4722  self.this.append(this)
4723  except:
4724  self.this = this
4725 
4726  def get_posterior_mean(self, x):
4727  """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4728  return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4729 
4730 
4731  def get_posterior_covariance(self, x1, x2):
4732  """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4733  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4734 
4735 
4736  def get_posterior_covariance_matrix(self, x, arg3):
4737  """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4738  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4739 
4740 
4741  def get_posterior_covariance_derivative(self, x, arg3):
4742  """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4743  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4744 
4745 
4746  def get_posterior_covariance_hessian(self, x, arg3):
4747  """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4748  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4749 
4750 
4751  def get_inputs(self):
4752  """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4753  return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4754 
4755 
4756  def force_mean_update(self):
4757  """force_mean_update(GaussianProcessInterpolation self)"""
4758  return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4759 
4760 
4761  def force_covariance_update(self):
4762  """force_covariance_update(GaussianProcessInterpolation self)"""
4763  return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4764 
4765 
4766  def get_number_of_m_particles(self):
4767  """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4768  return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4769 
4770 
4771  def get_m_particle_is_optimized(self, i):
4772  """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4773  return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4774 
4775 
4776  def get_number_of_Omega_particles(self):
4777  """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4778  return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4779 
4780 
4781  def get_Omega_particle_is_optimized(self, i):
4782  """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4783  return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4784 
4785 
4786  def get_data_abscissa(self):
4787  """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4788  return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4789 
4790 
4791  def get_data_mean(self):
4792  """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4793  return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4794 
4795 
4796  def get_data_variance(self):
4797  """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4798  return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4799 
4800 
4801  def get_version_info(self):
4802  """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4803  return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4804 
4805 
4806  def __str__(self):
4807  """__str__(GaussianProcessInterpolation self) -> std::string"""
4808  return _IMP_isd.GaussianProcessInterpolation___str__(self)
4809 
4810 
4811  def __repr__(self):
4812  """__repr__(GaussianProcessInterpolation self) -> std::string"""
4813  return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4814 
4815 
4816  @staticmethod
4817  def get_from(o):
4818  return _object_cast_to_GaussianProcessInterpolation(o)
4819 
4820 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4821 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4822 
4823 class GaussianProcessInterpolationRestraint(IMP.Restraint):
4824  """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
4825  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4826 
4827  def __init__(self, m, gpi):
4828  """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4829  this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4830  try:
4831  self.this.append(this)
4832  except:
4833  self.this = this
4834 
4835  def get_probability(self):
4836  """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4837  return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4838 
4839 
4840  def set_use_cg(self, use, tol):
4841  """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4842  return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4843 
4844 
4845  def get_minus_log_normalization(self):
4846  """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4847  return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4848 
4849 
4850  def get_minus_exponent(self):
4851  """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4852  return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4853 
4854 
4855  def get_logdet_hessian(self):
4856  """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4857  return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4858 
4859 
4860  def get_hessian(self, *args):
4861  """
4862  get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
4863  get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4864  """
4865  return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4866 
4867 
4868  def do_get_inputs(self):
4869  """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4870  return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4871 
4872 
4873  def get_version_info(self):
4874  """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4875  return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4876 
4877 
4878  def __str__(self):
4879  """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4880  return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4881 
4882 
4883  def __repr__(self):
4884  """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4885  return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4886 
4887 
4888  @staticmethod
4889  def get_from(o):
4890  return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4891 
4892 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4893 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4894 
4895 class MolecularDynamics(IMP.atom.MolecularDynamics):
4896  """Proxy of C++ IMP::isd::MolecularDynamics class"""
4897  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4898 
4899  def __init__(self, m=None):
4900  """
4901  __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4902  __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4903  """
4904  this = _IMP_isd.new_MolecularDynamics(m)
4905  try:
4906  self.this.append(this)
4907  except:
4908  self.this = this
4909 
4910  def __str__(self):
4911  """__str__(MolecularDynamics self) -> std::string"""
4912  return _IMP_isd.MolecularDynamics___str__(self)
4913 
4914 
4915  def __repr__(self):
4916  """__repr__(MolecularDynamics self) -> std::string"""
4917  return _IMP_isd.MolecularDynamics___repr__(self)
4918 
4919 
4920  @staticmethod
4921  def get_from(o):
4922  return _object_cast_to_MolecularDynamics(o)
4923 
4924  __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4925  __del__ = lambda self: None
4926 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4927 MolecularDynamics_swigregister(MolecularDynamics)
4928 
4929 class MolecularDynamicsMover(IMP.core.MonteCarloMover):
4930  """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
4931  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4932 
4933  def __init__(self, m, nsteps=100, timestep=1.):
4934  """
4935  __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4936  __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4937  __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4938  """
4939  this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4940  try:
4941  self.this.append(this)
4942  except:
4943  self.this = this
4944 
4945  def get_md(self):
4946  """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4947  return _IMP_isd.MolecularDynamicsMover_get_md(self)
4948 
4949 
4950  def get_number_of_md_steps(self):
4951  """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4952  return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4953 
4954 
4955  def set_number_of_md_steps(self, nsteps):
4956  """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4957  return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4958 
4959 
4960  def get_version_info(self):
4961  """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4962  return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4963 
4964 
4965  def __str__(self):
4966  """__str__(MolecularDynamicsMover self) -> std::string"""
4967  return _IMP_isd.MolecularDynamicsMover___str__(self)
4968 
4969 
4970  def __repr__(self):
4971  """__repr__(MolecularDynamicsMover self) -> std::string"""
4972  return _IMP_isd.MolecularDynamicsMover___repr__(self)
4973 
4974 
4975  @staticmethod
4976  def get_from(o):
4977  return _object_cast_to_MolecularDynamicsMover(o)
4978 
4979 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4980 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4981 
4982 class HybridMonteCarlo(IMP.core.MonteCarlo):
4983  """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
4984  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4985 
4986  def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4987  """
4988  __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
4989  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4990  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4991  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4992  __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4993  """
4994  this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4995  try:
4996  self.this.append(this)
4997  except:
4998  self.this = this
4999 
5000  def get_kinetic_energy(self):
5001  """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
5002  return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
5003 
5004 
5005  def get_potential_energy(self):
5006  """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
5007  return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
5008 
5009 
5010  def get_total_energy(self):
5011  """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
5012  return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
5013 
5014 
5015  def set_timestep(self, ts):
5016  """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
5017  return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
5018 
5019 
5020  def get_timestep(self):
5021  """get_timestep(HybridMonteCarlo self) -> double"""
5022  return _IMP_isd.HybridMonteCarlo_get_timestep(self)
5023 
5024 
5025  def set_number_of_md_steps(self, nsteps):
5026  """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
5027  return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
5028 
5029 
5030  def get_number_of_md_steps(self):
5031  """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
5032  return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
5033 
5034 
5035  def set_persistence(self, persistence=1):
5036  """
5037  set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
5038  set_persistence(HybridMonteCarlo self)
5039  """
5040  return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
5041 
5042 
5043  def get_persistence(self):
5044  """get_persistence(HybridMonteCarlo self) -> unsigned int"""
5045  return _IMP_isd.HybridMonteCarlo_get_persistence(self)
5046 
5047 
5048  def get_md(self):
5049  """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
5050  return _IMP_isd.HybridMonteCarlo_get_md(self)
5051 
5052 
5053  def do_evaluate(self, arg2):
5054  """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
5055  return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
5056 
5057 
5058  def do_step(self):
5059  """do_step(HybridMonteCarlo self)"""
5060  return _IMP_isd.HybridMonteCarlo_do_step(self)
5061 
5062 
5063  def __str__(self):
5064  """__str__(HybridMonteCarlo self) -> std::string"""
5065  return _IMP_isd.HybridMonteCarlo___str__(self)
5066 
5067 
5068  def __repr__(self):
5069  """__repr__(HybridMonteCarlo self) -> std::string"""
5070  return _IMP_isd.HybridMonteCarlo___repr__(self)
5071 
5072 
5073  @staticmethod
5074  def get_from(o):
5075  return _object_cast_to_HybridMonteCarlo(o)
5076 
5077 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
5078 HybridMonteCarlo_swigregister(HybridMonteCarlo)
5079 
5080 class FretData(IMP.Object):
5081  """Proxy of C++ IMP::isd::FretData class"""
5082  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5083 
5084  def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
5085  """
5086  __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
5087  __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
5088  """
5089  this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
5090  try:
5091  self.this.append(this)
5092  except:
5093  self.this = this
5094 
5095  def get_closest(self, vec, value):
5096  """get_closest(FretData self, DistBase vec, double value) -> int"""
5097  return _IMP_isd.FretData_get_closest(self, vec, value)
5098 
5099 
5100  def get_probability(self, distn, dist, sigma):
5101  """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
5102  return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
5103 
5104 
5105  def get_kernel(self, dist, R0):
5106  """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
5107  return _IMP_isd.FretData_get_kernel(self, dist, R0)
5108 
5109 
5110  def get_marginal_element(self, d_term, d_center, sigma):
5111  """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
5112  return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
5113 
5114 
5115  def get_version_info(self):
5116  """get_version_info(FretData self) -> VersionInfo"""
5117  return _IMP_isd.FretData_get_version_info(self)
5118 
5119 
5120  def __str__(self):
5121  """__str__(FretData self) -> std::string"""
5122  return _IMP_isd.FretData___str__(self)
5123 
5124 
5125  def __repr__(self):
5126  """__repr__(FretData self) -> std::string"""
5127  return _IMP_isd.FretData___repr__(self)
5128 
5129 
5130  @staticmethod
5131  def get_from(o):
5132  return _object_cast_to_FretData(o)
5133 
5134 FretData_swigregister = _IMP_isd.FretData_swigregister
5135 FretData_swigregister(FretData)
5136 
5137 class FretRestraint(IMP.Restraint):
5138  """Proxy of C++ IMP::isd::FretRestraint class"""
5139  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5140 
5141  def __init__(self, *args):
5142  """
5143  __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
5144  __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
5145  __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
5146  __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
5147  __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
5148  """
5149  this = _IMP_isd.new_FretRestraint(*args)
5150  try:
5151  self.this.append(this)
5152  except:
5153  self.this = this
5154 
5155  def get_sumFi(self):
5156  """get_sumFi(FretRestraint self) -> double"""
5157  return _IMP_isd.FretRestraint_get_sumFi(self)
5158 
5159 
5160  def get_average_sigma(self, fmod):
5161  """get_average_sigma(FretRestraint self, double fmod) -> double"""
5162  return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
5163 
5164 
5165  def get_standard_error(self):
5166  """get_standard_error(FretRestraint self) -> double"""
5167  return _IMP_isd.FretRestraint_get_standard_error(self)
5168 
5169 
5170  def get_model_fretr(self):
5171  """get_model_fretr(FretRestraint self) -> double"""
5172  return _IMP_isd.FretRestraint_get_model_fretr(self)
5173 
5174 
5175  def get_probability(self):
5176  """get_probability(FretRestraint self) -> double"""
5177  return _IMP_isd.FretRestraint_get_probability(self)
5178 
5179 
5180  def get_experimental_value(self):
5181  """get_experimental_value(FretRestraint self) -> double"""
5182  return _IMP_isd.FretRestraint_get_experimental_value(self)
5183 
5184 
5185  def set_experimental_value(self, fexp):
5186  """set_experimental_value(FretRestraint self, double fexp)"""
5187  return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
5188 
5189 
5190  def do_get_inputs(self):
5191  """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
5192  return _IMP_isd.FretRestraint_do_get_inputs(self)
5193 
5194 
5195  def get_version_info(self):
5196  """get_version_info(FretRestraint self) -> VersionInfo"""
5197  return _IMP_isd.FretRestraint_get_version_info(self)
5198 
5199 
5200  def __str__(self):
5201  """__str__(FretRestraint self) -> std::string"""
5202  return _IMP_isd.FretRestraint___str__(self)
5203 
5204 
5205  def __repr__(self):
5206  """__repr__(FretRestraint self) -> std::string"""
5207  return _IMP_isd.FretRestraint___repr__(self)
5208 
5209 
5210  @staticmethod
5211  def get_from(o):
5212  return _object_cast_to_FretRestraint(o)
5213 
5214 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
5215 FretRestraint_swigregister(FretRestraint)
5216 
5217 class CysteineCrossLinkData(IMP.Object):
5218  """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
5219  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5220 
5221  def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
5222  """
5223  __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
5224  __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
5225  """
5226  this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
5227  try:
5228  self.this.append(this)
5229  except:
5230  self.this = this
5231 
5232  def get_closest(self, vec, value):
5233  """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
5234  return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
5235 
5236 
5237  def get_omegas(self, fmods, omega0):
5238  """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
5239  return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
5240 
5241 
5242  def get_nonmarginal_elements(self, fexp, fmods, omega):
5243  """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
5244  return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
5245 
5246 
5247  def get_marginal_elements(self, fmods, omega0):
5248  """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
5249  return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
5250 
5251 
5252  def get_omega(self, fmod, omega0):
5253  """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5254  return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
5255 
5256 
5257  def get_standard_deviation(self, fmod, omega0):
5258  """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5259  return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
5260 
5261 
5262  def get_nonmarginal_element(self, fexp, fmod, omega):
5263  """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
5264  return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
5265 
5266 
5267  def get_marginal_element(self, fmod, omega0):
5268  """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5269  return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
5270 
5271 
5272  def get_version_info(self):
5273  """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
5274  return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
5275 
5276 
5277  def __str__(self):
5278  """__str__(CysteineCrossLinkData self) -> std::string"""
5279  return _IMP_isd.CysteineCrossLinkData___str__(self)
5280 
5281 
5282  def __repr__(self):
5283  """__repr__(CysteineCrossLinkData self) -> std::string"""
5284  return _IMP_isd.CysteineCrossLinkData___repr__(self)
5285 
5286 
5287  @staticmethod
5288  def get_from(o):
5289  return _object_cast_to_CysteineCrossLinkData(o)
5290 
5291 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
5292 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
5293 
5294 class CrossLinkData(IMP.Object):
5295  """Proxy of C++ IMP::isd::CrossLinkData class"""
5296  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5297 
5298  def __init__(self, *args):
5299  """
5300  __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
5301  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
5302  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
5303  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
5304  __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
5305  __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
5306  __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
5307  __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
5308  """
5309  this = _IMP_isd.new_CrossLinkData(*args)
5310  try:
5311  self.this.append(this)
5312  except:
5313  self.this = this
5314 
5315  def get_closest(self, vec, value):
5316  """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
5317  return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
5318 
5319 
5320  def get_omegas(self, sigma, dists):
5321  """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5322  return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
5323 
5324 
5325  def get_omega_prior(self, omega, omega0):
5326  """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
5327  return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
5328 
5329 
5330  def get_nonmarginal_elements(self, sigmai, dists):
5331  """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
5332  return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
5333 
5334 
5335  def get_marginal_elements(self, sigma, dists):
5336  """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5337  return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
5338 
5339 
5340  def get_marginal_maximum(self, *args):
5341  """
5342  get_marginal_maximum(CrossLinkData self, double sigma) -> double
5343  get_marginal_maximum(CrossLinkData self) -> double
5344  """
5345  return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
5346 
5347 
5348  def get_version_info(self):
5349  """get_version_info(CrossLinkData self) -> VersionInfo"""
5350  return _IMP_isd.CrossLinkData_get_version_info(self)
5351 
5352 
5353  def __str__(self):
5354  """__str__(CrossLinkData self) -> std::string"""
5355  return _IMP_isd.CrossLinkData___str__(self)
5356 
5357 
5358  def __repr__(self):
5359  """__repr__(CrossLinkData self) -> std::string"""
5360  return _IMP_isd.CrossLinkData___repr__(self)
5361 
5362 
5363  @staticmethod
5364  def get_from(o):
5365  return _object_cast_to_CrossLinkData(o)
5366 
5367 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
5368 CrossLinkData_swigregister(CrossLinkData)
5369 
5370 class CysteineCrossLinkRestraint(IMP.Restraint):
5371  """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
5372  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5373 
5374  def __init__(self, *args):
5375  """
5376  __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
5377  __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
5378  """
5379  this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
5380  try:
5381  self.this.append(this)
5382  except:
5383  self.this = this
5384 
5385  def get_probability(self):
5386  """get_probability(CysteineCrossLinkRestraint self) -> double"""
5387  return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
5388 
5389 
5390  def get_standard_error(self):
5391  """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
5392  return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
5393 
5394 
5395  def get_frequencies(self):
5396  """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5397  return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
5398 
5399 
5400  def get_model_frequency(self):
5401  """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
5402  return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
5403 
5404 
5405  def get_distances(self):
5406  """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5407  return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
5408 
5409 
5410  def get_truncated_normalization(self, mean, sigma):
5411  """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
5412  return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
5413 
5414 
5415  def get_normal_pdf(self, mean, sigma, x):
5416  """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
5417  return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
5418 
5419 
5420  def add_contribution(self, *args):
5421  """
5422  add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
5423  add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
5424  """
5425  return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
5426 
5427 
5428  def get_CB_coordinates(self, ps):
5429  """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
5430  return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
5431 
5432 
5433  def get_number_of_contributions(self):
5434  """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
5435  return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
5436 
5437 
5438  def do_get_inputs(self):
5439  """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
5440  return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
5441 
5442 
5443  def get_version_info(self):
5444  """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
5445  return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
5446 
5447 
5448  def __str__(self):
5449  """__str__(CysteineCrossLinkRestraint self) -> std::string"""
5450  return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
5451 
5452 
5453  def __repr__(self):
5454  """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
5455  return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
5456 
5457 
5458  @staticmethod
5459  def get_from(o):
5460  return _object_cast_to_CysteineCrossLinkRestraint(o)
5461 
5462 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
5463 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
5464 
5465 class WeightMover(IMP.core.MonteCarloMover):
5466  """Proxy of C++ IMP::isd::WeightMover class"""
5467  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5468 
5469  def __init__(self, w, radius):
5470  """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
5471  this = _IMP_isd.new_WeightMover(w, radius)
5472  try:
5473  self.this.append(this)
5474  except:
5475  self.this = this
5476 
5477  def set_radius(self, radius):
5478  """set_radius(WeightMover self, IMP::Float radius)"""
5479  return _IMP_isd.WeightMover_set_radius(self, radius)
5480 
5481 
5482  def get_radius(self):
5483  """get_radius(WeightMover self) -> IMP::Float"""
5484  return _IMP_isd.WeightMover_get_radius(self)
5485 
5486 
5487  def get_version_info(self):
5488  """get_version_info(WeightMover self) -> VersionInfo"""
5489  return _IMP_isd.WeightMover_get_version_info(self)
5490 
5491 
5492  def __str__(self):
5493  """__str__(WeightMover self) -> std::string"""
5494  return _IMP_isd.WeightMover___str__(self)
5495 
5496 
5497  def __repr__(self):
5498  """__repr__(WeightMover self) -> std::string"""
5499  return _IMP_isd.WeightMover___repr__(self)
5500 
5501 
5502  @staticmethod
5503  def get_from(o):
5504  return _object_cast_to_WeightMover(o)
5505 
5506 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
5507 WeightMover_swigregister(WeightMover)
5508 
5509 class WeightRestraint(IMP.Restraint):
5510  """Proxy of C++ IMP::isd::WeightRestraint class"""
5511  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5512 
5513  def __init__(self, w, wmin, wmax, kappa):
5514  """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
5515  this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
5516  try:
5517  self.this.append(this)
5518  except:
5519  self.this = this
5520 
5521  def do_get_inputs(self):
5522  """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
5523  return _IMP_isd.WeightRestraint_do_get_inputs(self)
5524 
5525 
5526  def get_version_info(self):
5527  """get_version_info(WeightRestraint self) -> VersionInfo"""
5528  return _IMP_isd.WeightRestraint_get_version_info(self)
5529 
5530 
5531  def __str__(self):
5532  """__str__(WeightRestraint self) -> std::string"""
5533  return _IMP_isd.WeightRestraint___str__(self)
5534 
5535 
5536  def __repr__(self):
5537  """__repr__(WeightRestraint self) -> std::string"""
5538  return _IMP_isd.WeightRestraint___repr__(self)
5539 
5540 
5541  @staticmethod
5542  def get_from(o):
5543  return _object_cast_to_WeightRestraint(o)
5544 
5545 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
5546 WeightRestraint_swigregister(WeightRestraint)
5547 
5548 class AtomicCrossLinkMSRestraint(IMP.Restraint):
5549  """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class"""
5550  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5551 
5552  def __init__(self, *args):
5553  """
5554  __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
5555  __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
5556  __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
5557  __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
5558  """
5559  this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
5560  try:
5561  self.this.append(this)
5562  except:
5563  self.this = this
5564 
5565  def add_contribution(self, ppi, sigmas):
5566  """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
5567  return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
5568 
5569 
5570  def evaluate_for_contributions(self, c, accum):
5571  """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
5572  return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
5573 
5574 
5575  def get_number_of_contributions(self):
5576  """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
5577  return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
5578 
5579 
5580  def get_contribution(self, i):
5581  """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5582  return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
5583 
5584 
5585  def get_contribution_sigmas(self, i):
5586  """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5587  return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5588 
5589 
5590  def get_psi(self):
5591  """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5592  return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5593 
5594 
5595  def do_get_inputs(self):
5596  """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5597  return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5598 
5599 
5600  def show(self, out):
5601  """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5602  return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5603 
5604 
5605  def set_slope(self, slope):
5606  """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5607  return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5608 
5609 
5610  def set_part_of_log_score(self, hey):
5611  """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5612  return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5613 
5614 
5615  def get_version_info(self):
5616  """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5617  return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5618 
5619 
5620  def __str__(self):
5621  """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5622  return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5623 
5624 
5625  def __repr__(self):
5626  """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5627  return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5628 
5629 
5630  @staticmethod
5631  def get_from(o):
5632  return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5633 
5634 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5635 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5636 
5637 class GaussianEMRestraint(IMP.Restraint):
5638  """Proxy of C++ IMP::isd::GaussianEMRestraint class"""
5639  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5640 
5641  def __init__(self, *args):
5642  """
5643  __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
5644  __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
5645  __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
5646  __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
5647  __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
5648  """
5649  this = _IMP_isd.new_GaussianEMRestraint(*args)
5650  try:
5651  self.this.append(this)
5652  except:
5653  self.this = this
5654 
5655  def get_probability(self):
5656  """get_probability(GaussianEMRestraint self) -> double"""
5657  return _IMP_isd.GaussianEMRestraint_get_probability(self)
5658 
5659 
5661  """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5662  return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5663 
5664 
5665  def set_density_filename(self, density_fn):
5666  """set_density_filename(GaussianEMRestraint self, std::string density_fn)"""
5667  return _IMP_isd.GaussianEMRestraint_set_density_filename(self, density_fn)
5668 
5669 
5670  def compute_initial_scores(self):
5671  """compute_initial_scores(GaussianEMRestraint self)"""
5672  return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5673 
5674 
5675  def set_slope(self, s):
5676  """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5677  return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5678 
5679 
5680  def get_slope(self):
5681  """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5682  return _IMP_isd.GaussianEMRestraint_get_slope(self)
5683 
5684 
5685  def do_get_inputs(self):
5686  """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5687  return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5688 
5689 
5690  def show(self, out):
5691  """show(GaussianEMRestraint self, _ostream out)"""
5692  return _IMP_isd.GaussianEMRestraint_show(self, out)
5693 
5694 
5695  def get_version_info(self):
5696  """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5697  return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5698 
5699 
5700  def __str__(self):
5701  """__str__(GaussianEMRestraint self) -> std::string"""
5702  return _IMP_isd.GaussianEMRestraint___str__(self)
5703 
5704 
5705  def __repr__(self):
5706  """__repr__(GaussianEMRestraint self) -> std::string"""
5707  return _IMP_isd.GaussianEMRestraint___repr__(self)
5708 
5709 
5710  @staticmethod
5711  def get_from(o):
5712  return _object_cast_to_GaussianEMRestraint(o)
5713 
5714 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5715 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5716 
5717 class GaussianAnchorEMRestraint(ISDRestraint):
5718  """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class"""
5719  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5720 
5721  def __init__(self, *args):
5722  """
5723  __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
5724  __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
5725  """
5726  this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5727  try:
5728  self.this.append(this)
5729  except:
5730  self.this = this
5731 
5732  def get_density_particles(self):
5733  """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5734  return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5735 
5736 
5737  def __str__(self):
5738  """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5739  return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5740 
5741 
5742  def __repr__(self):
5743  """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5744  return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5745 
5746 
5747  @staticmethod
5748  def get_from(o):
5749  return _object_cast_to_GaussianAnchorEMRestraint(o)
5750 
5751 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5752 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5753 
5754 class GammaPrior(IMP.Restraint):
5755  """Proxy of C++ IMP::isd::GammaPrior class"""
5756  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5757 
5758  def __init__(self, *args):
5759  """
5760  __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta, std::string name) -> GammaPrior
5761  __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta) -> GammaPrior
5762  """
5763  this = _IMP_isd.new_GammaPrior(*args)
5764  try:
5765  self.this.append(this)
5766  except:
5767  self.this = this
5768 
5769  def evaluate_at(self, val):
5770  """evaluate_at(GammaPrior self, IMP::Float val) -> double"""
5771  return _IMP_isd.GammaPrior_evaluate_at(self, val)
5772 
5773 
5774  def do_get_inputs(self):
5775  """do_get_inputs(GammaPrior self) -> IMP::ModelObjectsTemp"""
5776  return _IMP_isd.GammaPrior_do_get_inputs(self)
5777 
5778 
5779  def get_version_info(self):
5780  """get_version_info(GammaPrior self) -> VersionInfo"""
5781  return _IMP_isd.GammaPrior_get_version_info(self)
5782 
5783 
5784  def get_probability(self):
5785  """get_probability(GammaPrior self) -> double"""
5786  return _IMP_isd.GammaPrior_get_probability(self)
5787 
5788 
5789  def __str__(self):
5790  """__str__(GammaPrior self) -> std::string"""
5791  return _IMP_isd.GammaPrior___str__(self)
5792 
5793 
5794  def __repr__(self):
5795  """__repr__(GammaPrior self) -> std::string"""
5796  return _IMP_isd.GammaPrior___repr__(self)
5797 
5798 
5799  @staticmethod
5800  def get_from(o):
5801  return _object_cast_to_GammaPrior(o)
5802 
5803 GammaPrior_swigregister = _IMP_isd.GammaPrior_swigregister
5804 GammaPrior_swigregister(GammaPrior)
5805 
5806 
5807 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5808  """
5809  sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5810  sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5811  """
5812  return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5813 
5814 def get_module_version():
5815  """get_module_version() -> std::string const"""
5816  return _IMP_isd.get_module_version()
5817 
5818 def get_example_path(fname):
5819  """get_example_path(std::string fname) -> std::string"""
5820  return _IMP_isd.get_example_path(fname)
5821 
5822 def get_data_path(fname):
5823  """get_data_path(std::string fname) -> std::string"""
5824  return _IMP_isd.get_data_path(fname)
5825 
5826 from . import _version_check
5827 _version_check.check_version(get_module_version())
5828 __version__ = get_module_version()
5829 
5830 
5831 
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:37
A Monte Carlo optimizer.
Definition: MonteCarlo.h:45
Various classes to hold sets of particles.
static XYZR setup_particle(Model *m, ParticleIndex pi)
Definition: XYZR.h:48
Make CGAL functionality available to IMP.
virtual void clear_caches()
Definition: Object.h:227
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the outputs.
Composable functors to implement scores via compile-time composition.
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
Code to compute statistical measures.
Object used to hold a set of restraints.
Definition: RestraintSet.h:37
Class for storing model, its restraints, constraints, and particles.
Definition: Model.h:72
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()
Definition: Object.h:231
Common base class for heavy weight IMP objects.
Definition: Object.h:106
Simple molecular dynamics optimizer.
Store a list of ParticleIndexes.
A base class for classes which perturb particles.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
Version and module information for Objects.
Definition: VersionInfo.h:28
Basic utilities for handling cryo-electron microscopy 3D density maps.
double get_cross_correlation_coefficient(Image *im1, Image *im2)
Cross correlation between two images.
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
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...
std::string get_module_version()
Return the version of this module, as a string.
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
Definition: Object.h:173
VectorD< 3 > Vector3D
Definition: VectorD.h:421
Class to handle individual particles of a Model object.
Definition: Particle.h:41
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.
Definition: Restraint.h:54