IMP logo
IMP Reference Guide  2.16.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 
1213  def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis):
1214  """do_add_score_and_derivatives_moved(ISDRestraint self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1215  return _IMP_isd.ISDRestraint_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis)
1216 
1217 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
1218 ISDRestraint_swigregister(ISDRestraint)
1219 
1220 class CrossLinkMSRestraint(IMP.Restraint):
1221  """Proxy of C++ IMP::isd::CrossLinkMSRestraint class"""
1222  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1223 
1224  def __init__(self, *args):
1225  """
1226  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1227  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
1228  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
1229  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1230  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
1231  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
1232  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1233  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
1234  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
1235  """
1236  this = _IMP_isd.new_CrossLinkMSRestraint(*args)
1237  try:
1238  self.this.append(this)
1239  except:
1240  self.this = this
1241 
1242  def add_contribution(self, pps, sigmas, psi):
1243  """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
1244  return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
1245 
1246 
1247  def get_probability(self):
1248  """get_probability(CrossLinkMSRestraint self) -> double"""
1249  return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
1250 
1251 
1252  def get_length(self):
1253  """get_length(CrossLinkMSRestraint self) -> double"""
1254  return _IMP_isd.CrossLinkMSRestraint_get_length(self)
1255 
1256 
1257  def get_slope(self):
1258  """get_slope(CrossLinkMSRestraint self) -> double"""
1259  return _IMP_isd.CrossLinkMSRestraint_get_slope(self)
1260 
1261 
1262  def get_contribution_sigma_indexes(self, i):
1263  """get_contribution_sigma_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
1264  return _IMP_isd.CrossLinkMSRestraint_get_contribution_sigma_indexes(self, i)
1265 
1266 
1267  def get_contribution_psi_index(self, i):
1268  """get_contribution_psi_index(CrossLinkMSRestraint self, int i) -> ParticleIndex"""
1269  return _IMP_isd.CrossLinkMSRestraint_get_contribution_psi_index(self, i)
1270 
1271 
1272  def get_contribution_particle_indexes(self, i):
1273  """get_contribution_particle_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
1274  return _IMP_isd.CrossLinkMSRestraint_get_contribution_particle_indexes(self, i)
1275 
1276 
1277  def get_number_of_contributions(self):
1278  """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
1279  return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
1280 
1281 
1282  def do_get_inputs(self):
1283  """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
1284  return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
1285 
1286 
1287  def get_version_info(self):
1288  """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
1289  return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
1290 
1291 
1292  def __str__(self):
1293  """__str__(CrossLinkMSRestraint self) -> std::string"""
1294  return _IMP_isd.CrossLinkMSRestraint___str__(self)
1295 
1296 
1297  def __repr__(self):
1298  """__repr__(CrossLinkMSRestraint self) -> std::string"""
1299  return _IMP_isd.CrossLinkMSRestraint___repr__(self)
1300 
1301 
1302  @staticmethod
1303  def get_from(o):
1304  return _object_cast_to_CrossLinkMSRestraint(o)
1305 
1306 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
1307 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
1308 
1309 class LogWrapper(IMP.RestraintSet):
1310  """Proxy of C++ IMP::isd::LogWrapper class"""
1311  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1312 
1313  def __init__(self, *args):
1314  """
1315  __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
1316  __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
1317  __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
1318  __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
1319  __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
1320  __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
1321  """
1322  this = _IMP_isd.new_LogWrapper(*args)
1323  try:
1324  self.this.append(this)
1325  except:
1326  self.this = this
1327 
1328  def do_add_score_and_derivatives(self, sa):
1329  """do_add_score_and_derivatives(LogWrapper self, ScoreAccumulator sa)"""
1330  return _IMP_isd.LogWrapper_do_add_score_and_derivatives(self, sa)
1331 
1332 
1333  def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis):
1334  """do_add_score_and_derivatives_moved(LogWrapper self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1335  return _IMP_isd.LogWrapper_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis)
1336 
1337 
1338  def __str__(self):
1339  """__str__(LogWrapper self) -> std::string"""
1340  return _IMP_isd.LogWrapper___str__(self)
1341 
1342 
1343  def __repr__(self):
1344  """__repr__(LogWrapper self) -> std::string"""
1345  return _IMP_isd.LogWrapper___repr__(self)
1346 
1347 
1348  @staticmethod
1349  def get_from(o):
1350  return _object_cast_to_LogWrapper(o)
1351 
1352 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1353 LogWrapper_swigregister(LogWrapper)
1354 
1355 class UniformPrior(IMP.Restraint):
1356  """Proxy of C++ IMP::isd::UniformPrior class"""
1357  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1358 
1359  def __init__(self, *args):
1360  """
1361  __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1362  __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1363  """
1364  this = _IMP_isd.new_UniformPrior(*args)
1365  try:
1366  self.this.append(this)
1367  except:
1368  self.this = this
1369 
1370  def do_get_inputs(self):
1371  """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1372  return _IMP_isd.UniformPrior_do_get_inputs(self)
1373 
1374 
1375  def get_version_info(self):
1376  """get_version_info(UniformPrior self) -> VersionInfo"""
1377  return _IMP_isd.UniformPrior_get_version_info(self)
1378 
1379 
1380  def get_probability(self):
1381  """get_probability(UniformPrior self) -> double"""
1382  return _IMP_isd.UniformPrior_get_probability(self)
1383 
1384 
1385  def __str__(self):
1386  """__str__(UniformPrior self) -> std::string"""
1387  return _IMP_isd.UniformPrior___str__(self)
1388 
1389 
1390  def __repr__(self):
1391  """__repr__(UniformPrior self) -> std::string"""
1392  return _IMP_isd.UniformPrior___repr__(self)
1393 
1394 
1395  @staticmethod
1396  def get_from(o):
1397  return _object_cast_to_UniformPrior(o)
1398 
1399 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1400 UniformPrior_swigregister(UniformPrior)
1401 
1402 class Nuisance(IMP.Decorator):
1403  """Proxy of C++ IMP::isd::Nuisance class"""
1404  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1405 
1406  def __init__(self, *args):
1407  """
1408  __init__(IMP::isd::Nuisance self) -> Nuisance
1409  __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1410  __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1411  """
1412  this = _IMP_isd.new_Nuisance(*args)
1413  try:
1414  self.this.append(this)
1415  except:
1416  self.this = this
1417 
1418  def show(self, *args):
1419  """
1420  show(Nuisance self, _ostream out)
1421  show(Nuisance self)
1422  """
1423  return _IMP_isd.Nuisance_show(self, *args)
1424 
1425 
1426  def setup_particle(*args):
1427  """
1428  setup_particle(Model m, ParticleIndex pi) -> Nuisance
1429  setup_particle(_ParticleAdaptor decorator) -> Nuisance
1430  setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1431  setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1432  """
1433  return _IMP_isd.Nuisance_setup_particle(*args)
1434 
1435  setup_particle = staticmethod(setup_particle)
1436 
1437  def get_is_setup(*args):
1438  """
1439  get_is_setup(_ParticleAdaptor p) -> bool
1440  get_is_setup(Model m, ParticleIndex pi) -> bool
1441  """
1442  return _IMP_isd.Nuisance_get_is_setup(*args)
1443 
1444  get_is_setup = staticmethod(get_is_setup)
1445 
1446  def get_nuisance_key():
1447  """get_nuisance_key() -> FloatKey"""
1448  return _IMP_isd.Nuisance_get_nuisance_key()
1449 
1450  get_nuisance_key = staticmethod(get_nuisance_key)
1451 
1452  def get_nuisance(self):
1453  """get_nuisance(Nuisance self) -> IMP::Float"""
1454  return _IMP_isd.Nuisance_get_nuisance(self)
1455 
1456 
1457  def set_nuisance(self, d):
1458  """set_nuisance(Nuisance self, IMP::Float d)"""
1459  return _IMP_isd.Nuisance_set_nuisance(self, d)
1460 
1461 
1462  def get_has_lower(self):
1463  """get_has_lower(Nuisance self) -> bool"""
1464  return _IMP_isd.Nuisance_get_has_lower(self)
1465 
1466 
1467  def get_lower(self):
1468  """get_lower(Nuisance self) -> IMP::Float"""
1469  return _IMP_isd.Nuisance_get_lower(self)
1470 
1471 
1472  def get_lower_key():
1473  """get_lower_key() -> FloatKey"""
1474  return _IMP_isd.Nuisance_get_lower_key()
1475 
1476  get_lower_key = staticmethod(get_lower_key)
1477 
1478  def get_lower_particle_key():
1479  """get_lower_particle_key() -> ParticleIndexKey"""
1480  return _IMP_isd.Nuisance_get_lower_particle_key()
1481 
1482  get_lower_particle_key = staticmethod(get_lower_particle_key)
1483 
1484  def set_lower(self, *args):
1485  """
1486  set_lower(Nuisance self, IMP::Float d)
1487  set_lower(Nuisance self, Particle d)
1488  """
1489  return _IMP_isd.Nuisance_set_lower(self, *args)
1490 
1491 
1492  def remove_lower(self):
1493  """remove_lower(Nuisance self)"""
1494  return _IMP_isd.Nuisance_remove_lower(self)
1495 
1496 
1497  def get_has_upper(self):
1498  """get_has_upper(Nuisance self) -> bool"""
1499  return _IMP_isd.Nuisance_get_has_upper(self)
1500 
1501 
1502  def get_upper(self):
1503  """get_upper(Nuisance self) -> IMP::Float"""
1504  return _IMP_isd.Nuisance_get_upper(self)
1505 
1506 
1507  def get_upper_key():
1508  """get_upper_key() -> FloatKey"""
1509  return _IMP_isd.Nuisance_get_upper_key()
1510 
1511  get_upper_key = staticmethod(get_upper_key)
1512 
1513  def get_upper_particle_key():
1514  """get_upper_particle_key() -> ParticleIndexKey"""
1515  return _IMP_isd.Nuisance_get_upper_particle_key()
1516 
1517  get_upper_particle_key = staticmethod(get_upper_particle_key)
1518 
1519  def set_upper(self, *args):
1520  """
1521  set_upper(Nuisance self, IMP::Float d)
1522  set_upper(Nuisance self, Particle d)
1523  """
1524  return _IMP_isd.Nuisance_set_upper(self, *args)
1525 
1526 
1527  def remove_upper(self):
1528  """remove_upper(Nuisance self)"""
1529  return _IMP_isd.Nuisance_remove_upper(self)
1530 
1531 
1532  def get_nuisance_derivative(self):
1533  """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1534  return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1535 
1536 
1537  def add_to_nuisance_derivative(self, d, accum):
1538  """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1539  return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1540 
1541 
1542  def get_nuisance_is_optimized(self):
1543  """get_nuisance_is_optimized(Nuisance self) -> bool"""
1544  return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1545 
1546 
1547  def set_nuisance_is_optimized(self, val):
1548  """set_nuisance_is_optimized(Nuisance self, bool val)"""
1549  return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1550 
1551 
1552  def add_attribute(self, *args):
1553  """
1554  add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1555  add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1556  add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1557  add_attribute(Nuisance self, FloatsKey a0, IMP::Floats a1)
1558  add_attribute(Nuisance self, IntsKey a0, IMP::Ints a1)
1559  add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1560  add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1561  add_attribute(Nuisance self, ObjectKey a0, Object a1)
1562  """
1563  return _IMP_isd.Nuisance_add_attribute(self, *args)
1564 
1565 
1566  def get_value(self, *args):
1567  """
1568  get_value(Nuisance self, FloatKey a0) -> IMP::Float
1569  get_value(Nuisance self, IntKey a0) -> IMP::Int
1570  get_value(Nuisance self, FloatsKey a0) -> IMP::Floats
1571  get_value(Nuisance self, IntsKey a0) -> IMP::Ints
1572  get_value(Nuisance self, StringKey a0) -> IMP::String
1573  get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1574  get_value(Nuisance self, ObjectKey a0) -> Object
1575  """
1576  return _IMP_isd.Nuisance_get_value(self, *args)
1577 
1578 
1579  def set_value(self, *args):
1580  """
1581  set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1582  set_value(Nuisance self, IntKey a0, IMP::Int a1)
1583  set_value(Nuisance self, FloatsKey a0, IMP::Floats a1)
1584  set_value(Nuisance self, IntsKey a0, IMP::Ints a1)
1585  set_value(Nuisance self, StringKey a0, IMP::String a1)
1586  set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1587  set_value(Nuisance self, ObjectKey a0, Object a1)
1588  """
1589  return _IMP_isd.Nuisance_set_value(self, *args)
1590 
1591 
1592  def remove_attribute(self, *args):
1593  """
1594  remove_attribute(Nuisance self, FloatKey a0)
1595  remove_attribute(Nuisance self, IntKey a0)
1596  remove_attribute(Nuisance self, FloatsKey a0)
1597  remove_attribute(Nuisance self, IntsKey a0)
1598  remove_attribute(Nuisance self, StringKey a0)
1599  remove_attribute(Nuisance self, ParticleIndexKey a0)
1600  remove_attribute(Nuisance self, ObjectKey a0)
1601  """
1602  return _IMP_isd.Nuisance_remove_attribute(self, *args)
1603 
1604 
1605  def has_attribute(self, *args):
1606  """
1607  has_attribute(Nuisance self, FloatKey a0) -> bool
1608  has_attribute(Nuisance self, IntKey a0) -> bool
1609  has_attribute(Nuisance self, FloatsKey a0) -> bool
1610  has_attribute(Nuisance self, IntsKey a0) -> bool
1611  has_attribute(Nuisance self, StringKey a0) -> bool
1612  has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1613  has_attribute(Nuisance self, ObjectKey a0) -> bool
1614  """
1615  return _IMP_isd.Nuisance_has_attribute(self, *args)
1616 
1617 
1618  def get_derivative(self, a0):
1619  """get_derivative(Nuisance self, FloatKey a0) -> double"""
1620  return _IMP_isd.Nuisance_get_derivative(self, a0)
1621 
1622 
1623  def get_name(self):
1624  """get_name(Nuisance self) -> std::string"""
1625  return _IMP_isd.Nuisance_get_name(self)
1626 
1627 
1628  def clear_caches(self):
1629  """clear_caches(Nuisance self)"""
1630  return _IMP_isd.Nuisance_clear_caches(self)
1631 
1632 
1633  def set_name(self, a0):
1634  """set_name(Nuisance self, std::string a0)"""
1635  return _IMP_isd.Nuisance_set_name(self, a0)
1636 
1637 
1638  def set_check_level(self, a0):
1639  """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1640  return _IMP_isd.Nuisance_set_check_level(self, a0)
1641 
1642 
1643  def add_to_derivative(self, a0, a1, a2):
1644  """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1645  return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1646 
1647 
1648  def set_is_optimized(self, a0, a1):
1649  """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1650  return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1651 
1652 
1653  def get_is_optimized(self, a0):
1654  """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1655  return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1656 
1657 
1658  def get_check_level(self):
1659  """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1660  return _IMP_isd.Nuisance_get_check_level(self)
1661 
1662 
1663  def __eq__(self, *args):
1664  """
1665  __eq__(Nuisance self, Nuisance o) -> bool
1666  __eq__(Nuisance self, Particle d) -> bool
1667  """
1668  return _IMP_isd.Nuisance___eq__(self, *args)
1669 
1670 
1671  def __ne__(self, *args):
1672  """
1673  __ne__(Nuisance self, Nuisance o) -> bool
1674  __ne__(Nuisance self, Particle d) -> bool
1675  """
1676  return _IMP_isd.Nuisance___ne__(self, *args)
1677 
1678 
1679  def __le__(self, *args):
1680  """
1681  __le__(Nuisance self, Nuisance o) -> bool
1682  __le__(Nuisance self, Particle d) -> bool
1683  """
1684  return _IMP_isd.Nuisance___le__(self, *args)
1685 
1686 
1687  def __lt__(self, *args):
1688  """
1689  __lt__(Nuisance self, Nuisance o) -> bool
1690  __lt__(Nuisance self, Particle d) -> bool
1691  """
1692  return _IMP_isd.Nuisance___lt__(self, *args)
1693 
1694 
1695  def __ge__(self, *args):
1696  """
1697  __ge__(Nuisance self, Nuisance o) -> bool
1698  __ge__(Nuisance self, Particle d) -> bool
1699  """
1700  return _IMP_isd.Nuisance___ge__(self, *args)
1701 
1702 
1703  def __gt__(self, *args):
1704  """
1705  __gt__(Nuisance self, Nuisance o) -> bool
1706  __gt__(Nuisance self, Particle d) -> bool
1707  """
1708  return _IMP_isd.Nuisance___gt__(self, *args)
1709 
1710 
1711  def __hash__(self):
1712  """__hash__(Nuisance self) -> std::size_t"""
1713  return _IMP_isd.Nuisance___hash__(self)
1714 
1715 
1716  def __str__(self):
1717  """__str__(Nuisance self) -> std::string"""
1718  return _IMP_isd.Nuisance___str__(self)
1719 
1720 
1721  def __repr__(self):
1722  """__repr__(Nuisance self) -> std::string"""
1723  return _IMP_isd.Nuisance___repr__(self)
1724 
1725  __swig_destroy__ = _IMP_isd.delete_Nuisance
1726  __del__ = lambda self: None
1727 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1728 Nuisance_swigregister(Nuisance)
1729 
1730 def Nuisance_setup_particle(*args):
1731  """
1732  setup_particle(Model m, ParticleIndex pi) -> Nuisance
1733  setup_particle(_ParticleAdaptor decorator) -> Nuisance
1734  setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1735  Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1736  """
1737  return _IMP_isd.Nuisance_setup_particle(*args)
1738 
1739 def Nuisance_get_is_setup(*args):
1740  """
1741  get_is_setup(_ParticleAdaptor p) -> bool
1742  Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1743  """
1744  return _IMP_isd.Nuisance_get_is_setup(*args)
1745 
1746 def Nuisance_get_nuisance_key():
1747  """Nuisance_get_nuisance_key() -> FloatKey"""
1748  return _IMP_isd.Nuisance_get_nuisance_key()
1749 
1750 def Nuisance_get_lower_key():
1751  """Nuisance_get_lower_key() -> FloatKey"""
1752  return _IMP_isd.Nuisance_get_lower_key()
1753 
1754 def Nuisance_get_lower_particle_key():
1755  """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1756  return _IMP_isd.Nuisance_get_lower_particle_key()
1757 
1758 def Nuisance_get_upper_key():
1759  """Nuisance_get_upper_key() -> FloatKey"""
1760  return _IMP_isd.Nuisance_get_upper_key()
1761 
1762 def Nuisance_get_upper_particle_key():
1763  """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1764  return _IMP_isd.Nuisance_get_upper_particle_key()
1765 
1766 class Scale(Nuisance):
1767  """Proxy of C++ IMP::isd::Scale class"""
1768  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1769 
1770  def __init__(self, *args):
1771  """
1772  __init__(IMP::isd::Scale self) -> Scale
1773  __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1774  __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1775  """
1776  this = _IMP_isd.new_Scale(*args)
1777  try:
1778  self.this.append(this)
1779  except:
1780  self.this = this
1781 
1782  def show(self, *args):
1783  """
1784  show(Scale self, _ostream out)
1785  show(Scale self)
1786  """
1787  return _IMP_isd.Scale_show(self, *args)
1788 
1789 
1790  def setup_particle(*args):
1791  """
1792  setup_particle(Model m, ParticleIndex pi) -> Scale
1793  setup_particle(_ParticleAdaptor decorator) -> Scale
1794  setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1795  setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1796  """
1797  return _IMP_isd.Scale_setup_particle(*args)
1798 
1799  setup_particle = staticmethod(setup_particle)
1800 
1801  def get_is_setup(*args):
1802  """
1803  get_is_setup(_ParticleAdaptor p) -> bool
1804  get_is_setup(Model m, ParticleIndex pi) -> bool
1805  """
1806  return _IMP_isd.Scale_get_is_setup(*args)
1807 
1808  get_is_setup = staticmethod(get_is_setup)
1809 
1810  def get_scale(self):
1811  """get_scale(Scale self) -> IMP::Float"""
1812  return _IMP_isd.Scale_get_scale(self)
1813 
1814 
1815  def set_scale(self, d):
1816  """set_scale(Scale self, IMP::Float d)"""
1817  return _IMP_isd.Scale_set_scale(self, d)
1818 
1819 
1820  def add_to_scale_derivative(self, d, accum):
1821  """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1822  return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1823 
1824 
1825  def get_scale_derivative(self):
1826  """get_scale_derivative(Scale self) -> IMP::Float"""
1827  return _IMP_isd.Scale_get_scale_derivative(self)
1828 
1829 
1830  def get_scale_key():
1831  """get_scale_key() -> FloatKey"""
1832  return _IMP_isd.Scale_get_scale_key()
1833 
1834  get_scale_key = staticmethod(get_scale_key)
1835 
1836  def get_scale_is_optimized(self):
1837  """get_scale_is_optimized(Scale self) -> bool"""
1838  return _IMP_isd.Scale_get_scale_is_optimized(self)
1839 
1840 
1841  def set_scale_is_optimized(self, val):
1842  """set_scale_is_optimized(Scale self, bool val)"""
1843  return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1844 
1845 
1846  def add_attribute(self, *args):
1847  """
1848  add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1849  add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1850  add_attribute(Scale self, IntKey a0, IMP::Int a1)
1851  add_attribute(Scale self, FloatsKey a0, IMP::Floats a1)
1852  add_attribute(Scale self, IntsKey a0, IMP::Ints a1)
1853  add_attribute(Scale self, StringKey a0, IMP::String a1)
1854  add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1855  add_attribute(Scale self, ObjectKey a0, Object a1)
1856  """
1857  return _IMP_isd.Scale_add_attribute(self, *args)
1858 
1859 
1860  def get_value(self, *args):
1861  """
1862  get_value(Scale self, FloatKey a0) -> IMP::Float
1863  get_value(Scale self, IntKey a0) -> IMP::Int
1864  get_value(Scale self, FloatsKey a0) -> IMP::Floats
1865  get_value(Scale self, IntsKey a0) -> IMP::Ints
1866  get_value(Scale self, StringKey a0) -> IMP::String
1867  get_value(Scale self, ParticleIndexKey a0) -> Particle
1868  get_value(Scale self, ObjectKey a0) -> Object
1869  """
1870  return _IMP_isd.Scale_get_value(self, *args)
1871 
1872 
1873  def set_value(self, *args):
1874  """
1875  set_value(Scale self, FloatKey a0, IMP::Float a1)
1876  set_value(Scale self, IntKey a0, IMP::Int a1)
1877  set_value(Scale self, FloatsKey a0, IMP::Floats a1)
1878  set_value(Scale self, IntsKey a0, IMP::Ints a1)
1879  set_value(Scale self, StringKey a0, IMP::String a1)
1880  set_value(Scale self, ParticleIndexKey a0, Particle a1)
1881  set_value(Scale self, ObjectKey a0, Object a1)
1882  """
1883  return _IMP_isd.Scale_set_value(self, *args)
1884 
1885 
1886  def remove_attribute(self, *args):
1887  """
1888  remove_attribute(Scale self, FloatKey a0)
1889  remove_attribute(Scale self, IntKey a0)
1890  remove_attribute(Scale self, FloatsKey a0)
1891  remove_attribute(Scale self, IntsKey a0)
1892  remove_attribute(Scale self, StringKey a0)
1893  remove_attribute(Scale self, ParticleIndexKey a0)
1894  remove_attribute(Scale self, ObjectKey a0)
1895  """
1896  return _IMP_isd.Scale_remove_attribute(self, *args)
1897 
1898 
1899  def has_attribute(self, *args):
1900  """
1901  has_attribute(Scale self, FloatKey a0) -> bool
1902  has_attribute(Scale self, IntKey a0) -> bool
1903  has_attribute(Scale self, FloatsKey a0) -> bool
1904  has_attribute(Scale self, IntsKey a0) -> bool
1905  has_attribute(Scale self, StringKey a0) -> bool
1906  has_attribute(Scale self, ParticleIndexKey a0) -> bool
1907  has_attribute(Scale self, ObjectKey a0) -> bool
1908  """
1909  return _IMP_isd.Scale_has_attribute(self, *args)
1910 
1911 
1912  def get_derivative(self, a0):
1913  """get_derivative(Scale self, FloatKey a0) -> double"""
1914  return _IMP_isd.Scale_get_derivative(self, a0)
1915 
1916 
1917  def get_name(self):
1918  """get_name(Scale self) -> std::string"""
1919  return _IMP_isd.Scale_get_name(self)
1920 
1921 
1922  def clear_caches(self):
1923  """clear_caches(Scale self)"""
1924  return _IMP_isd.Scale_clear_caches(self)
1925 
1926 
1927  def set_name(self, a0):
1928  """set_name(Scale self, std::string a0)"""
1929  return _IMP_isd.Scale_set_name(self, a0)
1930 
1931 
1932  def set_check_level(self, a0):
1933  """set_check_level(Scale self, IMP::CheckLevel a0)"""
1934  return _IMP_isd.Scale_set_check_level(self, a0)
1935 
1936 
1937  def add_to_derivative(self, a0, a1, a2):
1938  """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1939  return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1940 
1941 
1942  def set_is_optimized(self, a0, a1):
1943  """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1944  return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1945 
1946 
1947  def get_is_optimized(self, a0):
1948  """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1949  return _IMP_isd.Scale_get_is_optimized(self, a0)
1950 
1951 
1952  def get_check_level(self):
1953  """get_check_level(Scale self) -> IMP::CheckLevel"""
1954  return _IMP_isd.Scale_get_check_level(self)
1955 
1956 
1957  def __eq__(self, *args):
1958  """
1959  __eq__(Scale self, Scale o) -> bool
1960  __eq__(Scale self, Particle d) -> bool
1961  """
1962  return _IMP_isd.Scale___eq__(self, *args)
1963 
1964 
1965  def __ne__(self, *args):
1966  """
1967  __ne__(Scale self, Scale o) -> bool
1968  __ne__(Scale self, Particle d) -> bool
1969  """
1970  return _IMP_isd.Scale___ne__(self, *args)
1971 
1972 
1973  def __le__(self, *args):
1974  """
1975  __le__(Scale self, Scale o) -> bool
1976  __le__(Scale self, Particle d) -> bool
1977  """
1978  return _IMP_isd.Scale___le__(self, *args)
1979 
1980 
1981  def __lt__(self, *args):
1982  """
1983  __lt__(Scale self, Scale o) -> bool
1984  __lt__(Scale self, Particle d) -> bool
1985  """
1986  return _IMP_isd.Scale___lt__(self, *args)
1987 
1988 
1989  def __ge__(self, *args):
1990  """
1991  __ge__(Scale self, Scale o) -> bool
1992  __ge__(Scale self, Particle d) -> bool
1993  """
1994  return _IMP_isd.Scale___ge__(self, *args)
1995 
1996 
1997  def __gt__(self, *args):
1998  """
1999  __gt__(Scale self, Scale o) -> bool
2000  __gt__(Scale self, Particle d) -> bool
2001  """
2002  return _IMP_isd.Scale___gt__(self, *args)
2003 
2004 
2005  def __hash__(self):
2006  """__hash__(Scale self) -> std::size_t"""
2007  return _IMP_isd.Scale___hash__(self)
2008 
2009 
2010  def __str__(self):
2011  """__str__(Scale self) -> std::string"""
2012  return _IMP_isd.Scale___str__(self)
2013 
2014 
2015  def __repr__(self):
2016  """__repr__(Scale self) -> std::string"""
2017  return _IMP_isd.Scale___repr__(self)
2018 
2019  __swig_destroy__ = _IMP_isd.delete_Scale
2020  __del__ = lambda self: None
2021 Scale_swigregister = _IMP_isd.Scale_swigregister
2022 Scale_swigregister(Scale)
2023 
2024 def Scale_setup_particle(*args):
2025  """
2026  setup_particle(Model m, ParticleIndex pi) -> Scale
2027  setup_particle(_ParticleAdaptor decorator) -> Scale
2028  setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
2029  Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
2030  """
2031  return _IMP_isd.Scale_setup_particle(*args)
2032 
2033 def Scale_get_is_setup(*args):
2034  """
2035  get_is_setup(_ParticleAdaptor p) -> bool
2036  Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
2037  """
2038  return _IMP_isd.Scale_get_is_setup(*args)
2039 
2040 def Scale_get_scale_key():
2041  """Scale_get_scale_key() -> FloatKey"""
2042  return _IMP_isd.Scale_get_scale_key()
2043 
2044 class Switching(Nuisance):
2045  """Proxy of C++ IMP::isd::Switching class"""
2046  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2047 
2048  def __init__(self, *args):
2049  """
2050  __init__(IMP::isd::Switching self) -> Switching
2051  __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
2052  __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
2053  """
2054  this = _IMP_isd.new_Switching(*args)
2055  try:
2056  self.this.append(this)
2057  except:
2058  self.this = this
2059 
2060  def show(self, *args):
2061  """
2062  show(Switching self, _ostream out)
2063  show(Switching self)
2064  """
2065  return _IMP_isd.Switching_show(self, *args)
2066 
2067 
2068  def setup_particle(*args):
2069  """
2070  setup_particle(Model m, ParticleIndex pi) -> Switching
2071  setup_particle(_ParticleAdaptor decorator) -> Switching
2072  setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2073  setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2074  """
2075  return _IMP_isd.Switching_setup_particle(*args)
2076 
2077  setup_particle = staticmethod(setup_particle)
2078 
2079  def get_is_setup(*args):
2080  """
2081  get_is_setup(_ParticleAdaptor p) -> bool
2082  get_is_setup(Model m, ParticleIndex pi) -> bool
2083  """
2084  return _IMP_isd.Switching_get_is_setup(*args)
2085 
2086  get_is_setup = staticmethod(get_is_setup)
2087 
2088  def get_switching(self):
2089  """get_switching(Switching self) -> IMP::Float"""
2090  return _IMP_isd.Switching_get_switching(self)
2091 
2092 
2093  def set_switching(self, d):
2094  """set_switching(Switching self, IMP::Float d)"""
2095  return _IMP_isd.Switching_set_switching(self, d)
2096 
2097 
2098  def add_to_switching_derivative(self, d, accum):
2099  """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
2100  return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
2101 
2102 
2103  def get_switching_derivative(self):
2104  """get_switching_derivative(Switching self) -> IMP::Float"""
2105  return _IMP_isd.Switching_get_switching_derivative(self)
2106 
2107 
2108  def get_switching_key():
2109  """get_switching_key() -> FloatKey"""
2110  return _IMP_isd.Switching_get_switching_key()
2111 
2112  get_switching_key = staticmethod(get_switching_key)
2113 
2114  def get_switching_is_optimized(self):
2115  """get_switching_is_optimized(Switching self) -> bool"""
2116  return _IMP_isd.Switching_get_switching_is_optimized(self)
2117 
2118 
2119  def set_switching_is_optimized(self, val):
2120  """set_switching_is_optimized(Switching self, bool val)"""
2121  return _IMP_isd.Switching_set_switching_is_optimized(self, val)
2122 
2123 
2124  def add_attribute(self, *args):
2125  """
2126  add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
2127  add_attribute(Switching self, FloatKey a0, IMP::Float a1)
2128  add_attribute(Switching self, IntKey a0, IMP::Int a1)
2129  add_attribute(Switching self, FloatsKey a0, IMP::Floats a1)
2130  add_attribute(Switching self, IntsKey a0, IMP::Ints a1)
2131  add_attribute(Switching self, StringKey a0, IMP::String a1)
2132  add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
2133  add_attribute(Switching self, ObjectKey a0, Object a1)
2134  """
2135  return _IMP_isd.Switching_add_attribute(self, *args)
2136 
2137 
2138  def get_value(self, *args):
2139  """
2140  get_value(Switching self, FloatKey a0) -> IMP::Float
2141  get_value(Switching self, IntKey a0) -> IMP::Int
2142  get_value(Switching self, FloatsKey a0) -> IMP::Floats
2143  get_value(Switching self, IntsKey a0) -> IMP::Ints
2144  get_value(Switching self, StringKey a0) -> IMP::String
2145  get_value(Switching self, ParticleIndexKey a0) -> Particle
2146  get_value(Switching self, ObjectKey a0) -> Object
2147  """
2148  return _IMP_isd.Switching_get_value(self, *args)
2149 
2150 
2151  def set_value(self, *args):
2152  """
2153  set_value(Switching self, FloatKey a0, IMP::Float a1)
2154  set_value(Switching self, IntKey a0, IMP::Int a1)
2155  set_value(Switching self, FloatsKey a0, IMP::Floats a1)
2156  set_value(Switching self, IntsKey a0, IMP::Ints a1)
2157  set_value(Switching self, StringKey a0, IMP::String a1)
2158  set_value(Switching self, ParticleIndexKey a0, Particle a1)
2159  set_value(Switching self, ObjectKey a0, Object a1)
2160  """
2161  return _IMP_isd.Switching_set_value(self, *args)
2162 
2163 
2164  def remove_attribute(self, *args):
2165  """
2166  remove_attribute(Switching self, FloatKey a0)
2167  remove_attribute(Switching self, IntKey a0)
2168  remove_attribute(Switching self, FloatsKey a0)
2169  remove_attribute(Switching self, IntsKey a0)
2170  remove_attribute(Switching self, StringKey a0)
2171  remove_attribute(Switching self, ParticleIndexKey a0)
2172  remove_attribute(Switching self, ObjectKey a0)
2173  """
2174  return _IMP_isd.Switching_remove_attribute(self, *args)
2175 
2176 
2177  def has_attribute(self, *args):
2178  """
2179  has_attribute(Switching self, FloatKey a0) -> bool
2180  has_attribute(Switching self, IntKey a0) -> bool
2181  has_attribute(Switching self, FloatsKey a0) -> bool
2182  has_attribute(Switching self, IntsKey a0) -> bool
2183  has_attribute(Switching self, StringKey a0) -> bool
2184  has_attribute(Switching self, ParticleIndexKey a0) -> bool
2185  has_attribute(Switching self, ObjectKey a0) -> bool
2186  """
2187  return _IMP_isd.Switching_has_attribute(self, *args)
2188 
2189 
2190  def get_derivative(self, a0):
2191  """get_derivative(Switching self, FloatKey a0) -> double"""
2192  return _IMP_isd.Switching_get_derivative(self, a0)
2193 
2194 
2195  def get_name(self):
2196  """get_name(Switching self) -> std::string"""
2197  return _IMP_isd.Switching_get_name(self)
2198 
2199 
2200  def clear_caches(self):
2201  """clear_caches(Switching self)"""
2202  return _IMP_isd.Switching_clear_caches(self)
2203 
2204 
2205  def set_name(self, a0):
2206  """set_name(Switching self, std::string a0)"""
2207  return _IMP_isd.Switching_set_name(self, a0)
2208 
2209 
2210  def set_check_level(self, a0):
2211  """set_check_level(Switching self, IMP::CheckLevel a0)"""
2212  return _IMP_isd.Switching_set_check_level(self, a0)
2213 
2214 
2215  def add_to_derivative(self, a0, a1, a2):
2216  """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2217  return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
2218 
2219 
2220  def set_is_optimized(self, a0, a1):
2221  """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
2222  return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
2223 
2224 
2225  def get_is_optimized(self, a0):
2226  """get_is_optimized(Switching self, FloatKey a0) -> bool"""
2227  return _IMP_isd.Switching_get_is_optimized(self, a0)
2228 
2229 
2230  def get_check_level(self):
2231  """get_check_level(Switching self) -> IMP::CheckLevel"""
2232  return _IMP_isd.Switching_get_check_level(self)
2233 
2234 
2235  def __eq__(self, *args):
2236  """
2237  __eq__(Switching self, Switching o) -> bool
2238  __eq__(Switching self, Particle d) -> bool
2239  """
2240  return _IMP_isd.Switching___eq__(self, *args)
2241 
2242 
2243  def __ne__(self, *args):
2244  """
2245  __ne__(Switching self, Switching o) -> bool
2246  __ne__(Switching self, Particle d) -> bool
2247  """
2248  return _IMP_isd.Switching___ne__(self, *args)
2249 
2250 
2251  def __le__(self, *args):
2252  """
2253  __le__(Switching self, Switching o) -> bool
2254  __le__(Switching self, Particle d) -> bool
2255  """
2256  return _IMP_isd.Switching___le__(self, *args)
2257 
2258 
2259  def __lt__(self, *args):
2260  """
2261  __lt__(Switching self, Switching o) -> bool
2262  __lt__(Switching self, Particle d) -> bool
2263  """
2264  return _IMP_isd.Switching___lt__(self, *args)
2265 
2266 
2267  def __ge__(self, *args):
2268  """
2269  __ge__(Switching self, Switching o) -> bool
2270  __ge__(Switching self, Particle d) -> bool
2271  """
2272  return _IMP_isd.Switching___ge__(self, *args)
2273 
2274 
2275  def __gt__(self, *args):
2276  """
2277  __gt__(Switching self, Switching o) -> bool
2278  __gt__(Switching self, Particle d) -> bool
2279  """
2280  return _IMP_isd.Switching___gt__(self, *args)
2281 
2282 
2283  def __hash__(self):
2284  """__hash__(Switching self) -> std::size_t"""
2285  return _IMP_isd.Switching___hash__(self)
2286 
2287 
2288  def __str__(self):
2289  """__str__(Switching self) -> std::string"""
2290  return _IMP_isd.Switching___str__(self)
2291 
2292 
2293  def __repr__(self):
2294  """__repr__(Switching self) -> std::string"""
2295  return _IMP_isd.Switching___repr__(self)
2296 
2297  __swig_destroy__ = _IMP_isd.delete_Switching
2298  __del__ = lambda self: None
2299 Switching_swigregister = _IMP_isd.Switching_swigregister
2300 Switching_swigregister(Switching)
2301 
2302 def Switching_setup_particle(*args):
2303  """
2304  setup_particle(Model m, ParticleIndex pi) -> Switching
2305  setup_particle(_ParticleAdaptor decorator) -> Switching
2306  setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2307  Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2308  """
2309  return _IMP_isd.Switching_setup_particle(*args)
2310 
2311 def Switching_get_is_setup(*args):
2312  """
2313  get_is_setup(_ParticleAdaptor p) -> bool
2314  Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
2315  """
2316  return _IMP_isd.Switching_get_is_setup(*args)
2317 
2318 def Switching_get_switching_key():
2319  """Switching_get_switching_key() -> FloatKey"""
2320  return _IMP_isd.Switching_get_switching_key()
2321 
2322 class Weight(IMP.Decorator):
2323  """Proxy of C++ IMP::isd::Weight class"""
2324  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2325 
2326  def __init__(self, *args):
2327  """
2328  __init__(IMP::isd::Weight self) -> Weight
2329  __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
2330  __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
2331  """
2332  this = _IMP_isd.new_Weight(*args)
2333  try:
2334  self.this.append(this)
2335  except:
2336  self.this = this
2337 
2338  def show(self, *args):
2339  """
2340  show(Weight self, _ostream out)
2341  show(Weight self)
2342  """
2343  return _IMP_isd.Weight_show(self, *args)
2344 
2345 
2346  def setup_particle(*args):
2347  """
2348  setup_particle(Model m, ParticleIndex pi) -> Weight
2349  setup_particle(_ParticleAdaptor decorator) -> Weight
2350  setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2351  setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2352  setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2353  setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2354  """
2355  return _IMP_isd.Weight_setup_particle(*args)
2356 
2357  setup_particle = staticmethod(setup_particle)
2358 
2359  def get_nstates_key():
2360  """get_nstates_key() -> IntKey"""
2361  return _IMP_isd.Weight_get_nstates_key()
2362 
2363  get_nstates_key = staticmethod(get_nstates_key)
2364 
2365  def get_number_of_weights_key():
2366  """get_number_of_weights_key() -> IntKey"""
2367  return _IMP_isd.Weight_get_number_of_weights_key()
2368 
2369  get_number_of_weights_key = staticmethod(get_number_of_weights_key)
2370 
2371  def get_weight_key(i):
2372  """get_weight_key(int i) -> FloatKey"""
2373  return _IMP_isd.Weight_get_weight_key(i)
2374 
2375  get_weight_key = staticmethod(get_weight_key)
2376 
2377  def get_weight_keys(self):
2378  """get_weight_keys(Weight self) -> IMP::FloatKeys"""
2379  return _IMP_isd.Weight_get_weight_keys(self)
2380 
2381 
2382  def get_weight(self, i):
2383  """get_weight(Weight self, int i) -> IMP::Float"""
2384  return _IMP_isd.Weight_get_weight(self, i)
2385 
2386 
2387  def get_weights(self):
2388  """get_weights(Weight self) -> VectorKD"""
2389  return _IMP_isd.Weight_get_weights(self)
2390 
2391 
2392  def set_weight_lazy(self, i, wi):
2393  """set_weight_lazy(Weight self, int i, IMP::Float wi)"""
2394  return _IMP_isd.Weight_set_weight_lazy(self, i, wi)
2395 
2396 
2397  def set_weights_lazy(self, w):
2398  """set_weights_lazy(Weight self, VectorKD w)"""
2399  return _IMP_isd.Weight_set_weights_lazy(self, w)
2400 
2401 
2402  def set_weights(self, w):
2403  """set_weights(Weight self, VectorKD w)"""
2404  return _IMP_isd.Weight_set_weights(self, w)
2405 
2406 
2407  def get_weights_are_optimized(self):
2408  """get_weights_are_optimized(Weight self) -> bool"""
2409  return _IMP_isd.Weight_get_weights_are_optimized(self)
2410 
2411 
2412  def set_weights_are_optimized(self, tf):
2413  """set_weights_are_optimized(Weight self, bool tf)"""
2414  return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2415 
2416 
2417  def get_weight_derivative(self, i):
2418  """get_weight_derivative(Weight self, int i) -> IMP::Float"""
2419  return _IMP_isd.Weight_get_weight_derivative(self, i)
2420 
2421 
2422  def get_weights_derivatives(self):
2423  """get_weights_derivatives(Weight self) -> VectorKD"""
2424  return _IMP_isd.Weight_get_weights_derivatives(self)
2425 
2426 
2427  def add_to_weight_derivative(self, i, dwi, da):
2428  """add_to_weight_derivative(Weight self, int i, IMP::Float dwi, DerivativeAccumulator da)"""
2429  return _IMP_isd.Weight_add_to_weight_derivative(self, i, dwi, da)
2430 
2431 
2432  def add_to_weights_derivatives(self, dw, da):
2433  """add_to_weights_derivatives(Weight self, VectorKD dw, DerivativeAccumulator da)"""
2434  return _IMP_isd.Weight_add_to_weights_derivatives(self, dw, da)
2435 
2436 
2437  def add_weight_lazy(self, wi=0):
2438  """
2439  add_weight_lazy(Weight self, IMP::Float wi=0)
2440  add_weight_lazy(Weight self)
2441  """
2442  return _IMP_isd.Weight_add_weight_lazy(self, wi)
2443 
2444 
2445  def add_weight(self, wi=0):
2446  """
2447  add_weight(Weight self, IMP::Float wi=0)
2448  add_weight(Weight self)
2449  """
2450  return _IMP_isd.Weight_add_weight(self, wi)
2451 
2452 
2453  def get_number_of_weights(self):
2454  """get_number_of_weights(Weight self) -> IMP::Int"""
2455  return _IMP_isd.Weight_get_number_of_weights(self)
2456 
2457 
2458  def get_unit_simplex(self):
2459  """get_unit_simplex(Weight self) -> UnitSimplexKD"""
2460  return _IMP_isd.Weight_get_unit_simplex(self)
2461 
2462 
2463  def set_number_of_weights_lazy(self, nweights):
2464  """set_number_of_weights_lazy(Weight self, IMP::Int nweights)"""
2465  return _IMP_isd.Weight_set_number_of_weights_lazy(self, nweights)
2466 
2467 
2468  def set_number_of_weights(self, nweights):
2469  """set_number_of_weights(Weight self, IMP::Int nweights)"""
2470  return _IMP_isd.Weight_set_number_of_weights(self, nweights)
2471 
2472 
2473  def get_is_setup(*args):
2474  """
2475  get_is_setup(_ParticleAdaptor p) -> bool
2476  get_is_setup(Model m, ParticleIndex pi) -> bool
2477  """
2478  return _IMP_isd.Weight_get_is_setup(*args)
2479 
2480  get_is_setup = staticmethod(get_is_setup)
2481 
2482  def add_attribute(self, *args):
2483  """
2484  add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2485  add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2486  add_attribute(Weight self, IntKey a0, IMP::Int a1)
2487  add_attribute(Weight self, FloatsKey a0, IMP::Floats a1)
2488  add_attribute(Weight self, IntsKey a0, IMP::Ints a1)
2489  add_attribute(Weight self, StringKey a0, IMP::String a1)
2490  add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2491  add_attribute(Weight self, ObjectKey a0, Object a1)
2492  """
2493  return _IMP_isd.Weight_add_attribute(self, *args)
2494 
2495 
2496  def get_value(self, *args):
2497  """
2498  get_value(Weight self, FloatKey a0) -> IMP::Float
2499  get_value(Weight self, IntKey a0) -> IMP::Int
2500  get_value(Weight self, FloatsKey a0) -> IMP::Floats
2501  get_value(Weight self, IntsKey a0) -> IMP::Ints
2502  get_value(Weight self, StringKey a0) -> IMP::String
2503  get_value(Weight self, ParticleIndexKey a0) -> Particle
2504  get_value(Weight self, ObjectKey a0) -> Object
2505  """
2506  return _IMP_isd.Weight_get_value(self, *args)
2507 
2508 
2509  def set_value(self, *args):
2510  """
2511  set_value(Weight self, FloatKey a0, IMP::Float a1)
2512  set_value(Weight self, IntKey a0, IMP::Int a1)
2513  set_value(Weight self, FloatsKey a0, IMP::Floats a1)
2514  set_value(Weight self, IntsKey a0, IMP::Ints a1)
2515  set_value(Weight self, StringKey a0, IMP::String a1)
2516  set_value(Weight self, ParticleIndexKey a0, Particle a1)
2517  set_value(Weight self, ObjectKey a0, Object a1)
2518  """
2519  return _IMP_isd.Weight_set_value(self, *args)
2520 
2521 
2522  def remove_attribute(self, *args):
2523  """
2524  remove_attribute(Weight self, FloatKey a0)
2525  remove_attribute(Weight self, IntKey a0)
2526  remove_attribute(Weight self, FloatsKey a0)
2527  remove_attribute(Weight self, IntsKey a0)
2528  remove_attribute(Weight self, StringKey a0)
2529  remove_attribute(Weight self, ParticleIndexKey a0)
2530  remove_attribute(Weight self, ObjectKey a0)
2531  """
2532  return _IMP_isd.Weight_remove_attribute(self, *args)
2533 
2534 
2535  def has_attribute(self, *args):
2536  """
2537  has_attribute(Weight self, FloatKey a0) -> bool
2538  has_attribute(Weight self, IntKey a0) -> bool
2539  has_attribute(Weight self, FloatsKey a0) -> bool
2540  has_attribute(Weight self, IntsKey a0) -> bool
2541  has_attribute(Weight self, StringKey a0) -> bool
2542  has_attribute(Weight self, ParticleIndexKey a0) -> bool
2543  has_attribute(Weight self, ObjectKey a0) -> bool
2544  """
2545  return _IMP_isd.Weight_has_attribute(self, *args)
2546 
2547 
2548  def get_derivative(self, a0):
2549  """get_derivative(Weight self, FloatKey a0) -> double"""
2550  return _IMP_isd.Weight_get_derivative(self, a0)
2551 
2552 
2553  def get_name(self):
2554  """get_name(Weight self) -> std::string"""
2555  return _IMP_isd.Weight_get_name(self)
2556 
2557 
2558  def clear_caches(self):
2559  """clear_caches(Weight self)"""
2560  return _IMP_isd.Weight_clear_caches(self)
2561 
2562 
2563  def set_name(self, a0):
2564  """set_name(Weight self, std::string a0)"""
2565  return _IMP_isd.Weight_set_name(self, a0)
2566 
2567 
2568  def set_check_level(self, a0):
2569  """set_check_level(Weight self, IMP::CheckLevel a0)"""
2570  return _IMP_isd.Weight_set_check_level(self, a0)
2571 
2572 
2573  def add_to_derivative(self, a0, a1, a2):
2574  """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2575  return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2576 
2577 
2578  def set_is_optimized(self, a0, a1):
2579  """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2580  return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2581 
2582 
2583  def get_is_optimized(self, a0):
2584  """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2585  return _IMP_isd.Weight_get_is_optimized(self, a0)
2586 
2587 
2588  def get_check_level(self):
2589  """get_check_level(Weight self) -> IMP::CheckLevel"""
2590  return _IMP_isd.Weight_get_check_level(self)
2591 
2592 
2593  def __eq__(self, *args):
2594  """
2595  __eq__(Weight self, Weight o) -> bool
2596  __eq__(Weight self, Particle d) -> bool
2597  """
2598  return _IMP_isd.Weight___eq__(self, *args)
2599 
2600 
2601  def __ne__(self, *args):
2602  """
2603  __ne__(Weight self, Weight o) -> bool
2604  __ne__(Weight self, Particle d) -> bool
2605  """
2606  return _IMP_isd.Weight___ne__(self, *args)
2607 
2608 
2609  def __le__(self, *args):
2610  """
2611  __le__(Weight self, Weight o) -> bool
2612  __le__(Weight self, Particle d) -> bool
2613  """
2614  return _IMP_isd.Weight___le__(self, *args)
2615 
2616 
2617  def __lt__(self, *args):
2618  """
2619  __lt__(Weight self, Weight o) -> bool
2620  __lt__(Weight self, Particle d) -> bool
2621  """
2622  return _IMP_isd.Weight___lt__(self, *args)
2623 
2624 
2625  def __ge__(self, *args):
2626  """
2627  __ge__(Weight self, Weight o) -> bool
2628  __ge__(Weight self, Particle d) -> bool
2629  """
2630  return _IMP_isd.Weight___ge__(self, *args)
2631 
2632 
2633  def __gt__(self, *args):
2634  """
2635  __gt__(Weight self, Weight o) -> bool
2636  __gt__(Weight self, Particle d) -> bool
2637  """
2638  return _IMP_isd.Weight___gt__(self, *args)
2639 
2640 
2641  def __hash__(self):
2642  """__hash__(Weight self) -> std::size_t"""
2643  return _IMP_isd.Weight___hash__(self)
2644 
2645 
2646  def __str__(self):
2647  """__str__(Weight self) -> std::string"""
2648  return _IMP_isd.Weight___str__(self)
2649 
2650 
2651  def __repr__(self):
2652  """__repr__(Weight self) -> std::string"""
2653  return _IMP_isd.Weight___repr__(self)
2654 
2655  __swig_destroy__ = _IMP_isd.delete_Weight
2656  __del__ = lambda self: None
2657 Weight_swigregister = _IMP_isd.Weight_swigregister
2658 Weight_swigregister(Weight)
2659 cvar = _IMP_isd.cvar
2660 IMPISD_MAX_WEIGHTS = cvar.IMPISD_MAX_WEIGHTS
2661 
2662 def Weight_setup_particle(*args):
2663  """
2664  setup_particle(Model m, ParticleIndex pi) -> Weight
2665  setup_particle(_ParticleAdaptor decorator) -> Weight
2666  setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2667  setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2668  setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2669  Weight_setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2670  """
2671  return _IMP_isd.Weight_setup_particle(*args)
2672 
2673 def Weight_get_nstates_key():
2674  """Weight_get_nstates_key() -> IntKey"""
2675  return _IMP_isd.Weight_get_nstates_key()
2676 
2677 def Weight_get_number_of_weights_key():
2678  """Weight_get_number_of_weights_key() -> IntKey"""
2679  return _IMP_isd.Weight_get_number_of_weights_key()
2680 
2681 def Weight_get_weight_key(i):
2682  """Weight_get_weight_key(int i) -> FloatKey"""
2683  return _IMP_isd.Weight_get_weight_key(i)
2684 
2685 def Weight_get_is_setup(*args):
2686  """
2687  get_is_setup(_ParticleAdaptor p) -> bool
2688  Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2689  """
2690  return _IMP_isd.Weight_get_is_setup(*args)
2691 
2692 
2693 def __lshift__(*args):
2694  """
2695  __lshift__(_ostream out, Nuisance n) -> _ostream
2696  __lshift__(_ostream out, Scale n) -> _ostream
2697  __lshift__(_ostream out, Switching n) -> _ostream
2698  __lshift__(_ostream out, Weight n) -> _ostream
2699  """
2700  return _IMP_isd.__lshift__(*args)
2701 class JeffreysRestraint(IMP.Restraint):
2702  """Proxy of C++ IMP::isd::JeffreysRestraint class"""
2703  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2704 
2705  def __init__(self, m, p):
2706  """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2707  this = _IMP_isd.new_JeffreysRestraint(m, p)
2708  try:
2709  self.this.append(this)
2710  except:
2711  self.this = this
2712 
2713  def do_get_inputs(self):
2714  """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2715  return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2716 
2717 
2718  def get_version_info(self):
2719  """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2720  return _IMP_isd.JeffreysRestraint_get_version_info(self)
2721 
2722 
2723  def get_probability(self):
2724  """get_probability(JeffreysRestraint self) -> double"""
2725  return _IMP_isd.JeffreysRestraint_get_probability(self)
2726 
2727 
2728  def __str__(self):
2729  """__str__(JeffreysRestraint self) -> std::string"""
2730  return _IMP_isd.JeffreysRestraint___str__(self)
2731 
2732 
2733  def __repr__(self):
2734  """__repr__(JeffreysRestraint self) -> std::string"""
2735  return _IMP_isd.JeffreysRestraint___repr__(self)
2736 
2737 
2738  @staticmethod
2739  def get_from(o):
2740  return _object_cast_to_JeffreysRestraint(o)
2741 
2742 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2743 JeffreysRestraint_swigregister(JeffreysRestraint)
2744 
2745 class NormalSigmaPCRestraint(IMP.Restraint):
2746  """Proxy of C++ IMP::isd::NormalSigmaPCRestraint class"""
2747  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2748 
2749  def __init__(self, *args):
2750  """
2751  __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2752  __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha) -> NormalSigmaPCRestraint
2753  __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2754  __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha) -> NormalSigmaPCRestraint
2755  """
2756  this = _IMP_isd.new_NormalSigmaPCRestraint(*args)
2757  try:
2758  self.this.append(this)
2759  except:
2760  self.this = this
2761 
2762  def get_sigma(self):
2763  """get_sigma(NormalSigmaPCRestraint self) -> Scale"""
2764  return _IMP_isd.NormalSigmaPCRestraint_get_sigma(self)
2765 
2766 
2767  def get_alpha(self):
2768  """get_alpha(NormalSigmaPCRestraint self) -> double"""
2769  return _IMP_isd.NormalSigmaPCRestraint_get_alpha(self)
2770 
2771 
2772  def get_sigma_upper(self):
2773  """get_sigma_upper(NormalSigmaPCRestraint self) -> double"""
2774  return _IMP_isd.NormalSigmaPCRestraint_get_sigma_upper(self)
2775 
2776 
2777  def get_probability(self):
2778  """get_probability(NormalSigmaPCRestraint self) -> double"""
2779  return _IMP_isd.NormalSigmaPCRestraint_get_probability(self)
2780 
2781 
2782  def do_get_inputs(self):
2783  """do_get_inputs(NormalSigmaPCRestraint self) -> IMP::ModelObjectsTemp"""
2784  return _IMP_isd.NormalSigmaPCRestraint_do_get_inputs(self)
2785 
2786 
2787  def get_version_info(self):
2788  """get_version_info(NormalSigmaPCRestraint self) -> VersionInfo"""
2789  return _IMP_isd.NormalSigmaPCRestraint_get_version_info(self)
2790 
2791 
2792  def __str__(self):
2793  """__str__(NormalSigmaPCRestraint self) -> std::string"""
2794  return _IMP_isd.NormalSigmaPCRestraint___str__(self)
2795 
2796 
2797  def __repr__(self):
2798  """__repr__(NormalSigmaPCRestraint self) -> std::string"""
2799  return _IMP_isd.NormalSigmaPCRestraint___repr__(self)
2800 
2801 
2802  @staticmethod
2803  def get_from(o):
2804  return _object_cast_to_NormalSigmaPCRestraint(o)
2805 
2806 NormalSigmaPCRestraint_swigregister = _IMP_isd.NormalSigmaPCRestraint_swigregister
2807 NormalSigmaPCRestraint_swigregister(NormalSigmaPCRestraint)
2808 
2809 class Distribution(IMP.Object):
2810  """Proxy of C++ IMP::isd::Distribution class"""
2811  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2812 
2813  def __init__(self, *args):
2814  """
2815  __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2816  __init__(IMP::isd::Distribution self) -> Distribution
2817  """
2818  if self.__class__ == Distribution:
2819  _self = None
2820  else:
2821  _self = self
2822  this = _IMP_isd.new_Distribution(_self, *args)
2823  try:
2824  self.this.append(this)
2825  except:
2826  self.this = this
2827 
2828  if self.__class__ != Distribution:
2829  _director_objects.register(self)
2830 
2831 
2832 
2833 
2834  def get_type_name(self):
2835  """get_type_name(Distribution self) -> std::string"""
2836  return _IMP_isd.Distribution_get_type_name(self)
2837 
2838 
2839  def get_version_info(self):
2840  """get_version_info(Distribution self) -> VersionInfo"""
2841  return _IMP_isd.Distribution_get_version_info(self)
2842 
2843 
2844  def __str__(self):
2845  """__str__(Distribution self) -> std::string"""
2846  return _IMP_isd.Distribution___str__(self)
2847 
2848 
2849  def __repr__(self):
2850  """__repr__(Distribution self) -> std::string"""
2851  return _IMP_isd.Distribution___repr__(self)
2852 
2853 
2854  @staticmethod
2855  def get_from(o):
2856  return _object_cast_to_Distribution(o)
2857 
2858 
2859  def get_type_name(self):
2860  return self.__class__.__name__
2861  def do_show(self, out):
2862  pass
2863  def get_version_info(self):
2864  if"IMP::isd" == "IMP":
2865  return VersionInfo(self.__module__,
2866  __import__(self.__module__).get_module_version())
2867  else:
2868  return IMP.VersionInfo(self.__module__,
2869  __import__(self.__module__).get_module_version())
2870  @staticmethod
2871  def get_from(o):
2872  return _object_cast_to_Distribution(o)
2873 
2874  def __disown__(self):
2875  self.this.disown()
2876  _IMP_isd.disown_Distribution(self)
2877  return weakref_proxy(self)
2878 
2879  def do_destroy(self):
2880  """do_destroy(Distribution self)"""
2881  return _IMP_isd.Distribution_do_destroy(self)
2882 
2883 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2884 Distribution_swigregister(Distribution)
2885 
2886 class OneDimensionalDistribution(Distribution):
2887  """Proxy of C++ IMP::isd::OneDimensionalDistribution class"""
2888  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2889 
2890  def do_evaluate(self, *args):
2891  """
2892  do_evaluate(OneDimensionalDistribution self, double v) -> double
2893  do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2894  """
2895  return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2896 
2897 
2898  def do_get_density(self, *args):
2899  """
2900  do_get_density(OneDimensionalDistribution self, double v) -> double
2901  do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2902  """
2903  return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2904 
2905 
2906  def __init__(self, *args):
2907  """
2908  __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2909  __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2910  """
2911  if self.__class__ == OneDimensionalDistribution:
2912  _self = None
2913  else:
2914  _self = self
2915  this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2916  try:
2917  self.this.append(this)
2918  except:
2919  self.this = this
2920 
2921  if self.__class__ != OneDimensionalDistribution:
2922  _director_objects.register(self)
2923 
2924 
2925 
2926 
2927  def evaluate(self, *args):
2928  """
2929  evaluate(OneDimensionalDistribution self, double v) -> double
2930  evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2931  """
2932  return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2933 
2934 
2935  def get_density(self, *args):
2936  """
2937  get_density(OneDimensionalDistribution self, double v) -> double
2938  get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2939  """
2940  return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2941 
2942 
2943  def get_type_name(self):
2944  """get_type_name(OneDimensionalDistribution self) -> std::string"""
2945  return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2946 
2947 
2948  def get_version_info(self):
2949  """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2950  return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2951 
2952 
2953  def __str__(self):
2954  """__str__(OneDimensionalDistribution self) -> std::string"""
2955  return _IMP_isd.OneDimensionalDistribution___str__(self)
2956 
2957 
2958  def __repr__(self):
2959  """__repr__(OneDimensionalDistribution self) -> std::string"""
2960  return _IMP_isd.OneDimensionalDistribution___repr__(self)
2961 
2962 
2963  @staticmethod
2964  def get_from(o):
2965  return _object_cast_to_OneDimensionalDistribution(o)
2966 
2967 
2968  def get_type_name(self):
2969  return self.__class__.__name__
2970  def do_show(self, out):
2971  pass
2972  def get_version_info(self):
2973  if"IMP::isd" == "IMP":
2974  return VersionInfo(self.__module__,
2975  __import__(self.__module__).get_module_version())
2976  else:
2977  return IMP.VersionInfo(self.__module__,
2978  __import__(self.__module__).get_module_version())
2979  @staticmethod
2980  def get_from(o):
2981  return _object_cast_to_OneDimensionalDistribution(o)
2982 
2983  def __disown__(self):
2984  self.this.disown()
2985  _IMP_isd.disown_OneDimensionalDistribution(self)
2986  return weakref_proxy(self)
2987 
2988  def do_destroy(self):
2989  """do_destroy(OneDimensionalDistribution self)"""
2990  return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2991 
2992 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2993 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2994 
2995 class OneDimensionalSufficientDistribution(Distribution):
2996  """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class"""
2997  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2998 
2999  def do_update_sufficient_statistics(self, vs):
3000  """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
3001  return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
3002 
3003 
3004  def do_get_sufficient_statistics(self):
3005  """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
3006  return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
3007 
3008 
3009  def do_evaluate(self):
3010  """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
3011  return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
3012 
3013 
3014  def do_get_density(self):
3015  """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
3016  return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
3017 
3018 
3019  def __init__(self, *args):
3020  """
3021  __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
3022  __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
3023  """
3024  if self.__class__ == OneDimensionalSufficientDistribution:
3025  _self = None
3026  else:
3027  _self = self
3028  this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
3029  try:
3030  self.this.append(this)
3031  except:
3032  self.this = this
3033 
3034  if self.__class__ != OneDimensionalSufficientDistribution:
3035  _director_objects.register(self)
3036 
3037 
3038 
3039 
3040  def update_sufficient_statistics(self, vs):
3041  """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
3042  return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
3043 
3044 
3045  def get_sufficient_statistics(self):
3046  """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
3047  return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
3048 
3049 
3050  def evaluate(self):
3051  """evaluate(OneDimensionalSufficientDistribution self) -> double"""
3052  return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
3053 
3054 
3055  def get_density(self):
3056  """get_density(OneDimensionalSufficientDistribution self) -> double"""
3057  return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
3058 
3059 
3060  def get_type_name(self):
3061  """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
3062  return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
3063 
3064 
3065  def get_version_info(self):
3066  """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
3067  return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
3068 
3069 
3070  def __str__(self):
3071  """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
3072  return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
3073 
3074 
3075  def __repr__(self):
3076  """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
3077  return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
3078 
3079 
3080  @staticmethod
3081  def get_from(o):
3082  return _object_cast_to_OneDimensionalSufficientDistribution(o)
3083 
3084 
3085  def get_type_name(self):
3086  return self.__class__.__name__
3087  def do_show(self, out):
3088  pass
3089  def get_version_info(self):
3090  if"IMP::isd" == "IMP":
3091  return VersionInfo(self.__module__,
3092  __import__(self.__module__).get_module_version())
3093  else:
3094  return IMP.VersionInfo(self.__module__,
3095  __import__(self.__module__).get_module_version())
3096  @staticmethod
3097  def get_from(o):
3098  return _object_cast_to_OneDimensionalSufficientDistribution(o)
3099 
3100  def __disown__(self):
3101  self.this.disown()
3102  _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
3103  return weakref_proxy(self)
3104 
3105  def do_destroy(self):
3106  """do_destroy(OneDimensionalSufficientDistribution self)"""
3107  return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
3108 
3109 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
3110 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
3111 
3112 class FNormal(OneDimensionalSufficientDistribution):
3113  """Proxy of C++ IMP::isd::FNormal class"""
3114  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3115 
3116  def __init__(self, FA, JA, FM, sigma):
3117  """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
3118  this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
3119  try:
3120  self.this.append(this)
3121  except:
3122  self.this = this
3123 
3124  def update_sufficient_statistics(self, FA):
3125  """update_sufficient_statistics(FNormal self, double FA)"""
3126  return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
3127 
3128 
3129  def do_update_sufficient_statistics(self, data):
3130  """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
3131  return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
3132 
3133 
3134  def do_get_sufficient_statistics(self):
3135  """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
3136  return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
3137 
3138 
3139  def do_evaluate(self):
3140  """do_evaluate(FNormal self) -> double"""
3141  return _IMP_isd.FNormal_do_evaluate(self)
3142 
3143 
3144  def evaluate_derivative_FA(self):
3145  """evaluate_derivative_FA(FNormal self) -> double"""
3146  return _IMP_isd.FNormal_evaluate_derivative_FA(self)
3147 
3148 
3149  def evaluate_derivative_JA(self):
3150  """evaluate_derivative_JA(FNormal self) -> double"""
3151  return _IMP_isd.FNormal_evaluate_derivative_JA(self)
3152 
3153 
3154  def evaluate_derivative_FM(self):
3155  """evaluate_derivative_FM(FNormal self) -> double"""
3156  return _IMP_isd.FNormal_evaluate_derivative_FM(self)
3157 
3158 
3159  def evaluate_derivative_sigma(self):
3160  """evaluate_derivative_sigma(FNormal self) -> double"""
3161  return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
3162 
3163 
3164  def do_get_density(self):
3165  """do_get_density(FNormal self) -> double"""
3166  return _IMP_isd.FNormal_do_get_density(self)
3167 
3168 
3169  def set_FA(self, f):
3170  """set_FA(FNormal self, double f)"""
3171  return _IMP_isd.FNormal_set_FA(self, f)
3172 
3173 
3174  def set_JA(self, f):
3175  """set_JA(FNormal self, double f)"""
3176  return _IMP_isd.FNormal_set_JA(self, f)
3177 
3178 
3179  def set_FM(self, f):
3180  """set_FM(FNormal self, double f)"""
3181  return _IMP_isd.FNormal_set_FM(self, f)
3182 
3183 
3184  def set_sigma(self, f):
3185  """set_sigma(FNormal self, double f)"""
3186  return _IMP_isd.FNormal_set_sigma(self, f)
3187 
3188 
3189  def __str__(self):
3190  """__str__(FNormal self) -> std::string"""
3191  return _IMP_isd.FNormal___str__(self)
3192 
3193 
3194  def __repr__(self):
3195  """__repr__(FNormal self) -> std::string"""
3196  return _IMP_isd.FNormal___repr__(self)
3197 
3198 
3199  @staticmethod
3200  def get_from(o):
3201  return _object_cast_to_FNormal(o)
3202 
3203 FNormal_swigregister = _IMP_isd.FNormal_swigregister
3204 FNormal_swigregister(FNormal)
3205 
3206 class FStudentT(OneDimensionalSufficientDistribution):
3207  """Proxy of C++ IMP::isd::FStudentT class"""
3208  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3209 
3210  def __init__(self, *args):
3211  """
3212  __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
3213  __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
3214  __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
3215  __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
3216  """
3217  this = _IMP_isd.new_FStudentT(*args)
3218  try:
3219  self.this.append(this)
3220  except:
3221  self.this = this
3222 
3223  def update_sufficient_statistics(self, FXs, JXs):
3224  """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
3225  return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
3226 
3227 
3228  def evaluate_derivative_Fx(self, Fx):
3229  """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
3230  return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
3231 
3232 
3233  def evaluate_derivative_FX(self, FXs):
3234  """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
3235  return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
3236 
3237 
3238  def evaluate_derivative_LogJX(self):
3239  """evaluate_derivative_LogJX(FStudentT self) -> double"""
3240  return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
3241 
3242 
3243  def evaluate_derivative_FM(self):
3244  """evaluate_derivative_FM(FStudentT self) -> double"""
3245  return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
3246 
3247 
3248  def evaluate_derivative_sigma(self):
3249  """evaluate_derivative_sigma(FStudentT self) -> double"""
3250  return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
3251 
3252 
3253  def evaluate_derivative_nu(self):
3254  """evaluate_derivative_nu(FStudentT self) -> double"""
3255  return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
3256 
3257 
3258  def update_cached_values(self):
3259  """update_cached_values(FStudentT self)"""
3260  return _IMP_isd.FStudentT_update_cached_values(self)
3261 
3262 
3263  def set_sumFX(self, v):
3264  """set_sumFX(FStudentT self, double v)"""
3265  return _IMP_isd.FStudentT_set_sumFX(self, v)
3266 
3267 
3268  def set_sumFX2(self, v):
3269  """set_sumFX2(FStudentT self, double v)"""
3270  return _IMP_isd.FStudentT_set_sumFX2(self, v)
3271 
3272 
3273  def set_N(self, v):
3274  """set_N(FStudentT self, unsigned int v)"""
3275  return _IMP_isd.FStudentT_set_N(self, v)
3276 
3277 
3278  def set_LogJX(self, v):
3279  """set_LogJX(FStudentT self, double v)"""
3280  return _IMP_isd.FStudentT_set_LogJX(self, v)
3281 
3282 
3283  def set_FM(self, v):
3284  """set_FM(FStudentT self, double v)"""
3285  return _IMP_isd.FStudentT_set_FM(self, v)
3286 
3287 
3288  def set_sigma(self, v):
3289  """set_sigma(FStudentT self, double v)"""
3290  return _IMP_isd.FStudentT_set_sigma(self, v)
3291 
3292 
3293  def set_nu(self, v):
3294  """set_nu(FStudentT self, double v)"""
3295  return _IMP_isd.FStudentT_set_nu(self, v)
3296 
3297 
3298  def get_sumFX(self):
3299  """get_sumFX(FStudentT self) -> double"""
3300  return _IMP_isd.FStudentT_get_sumFX(self)
3301 
3302 
3303  def get_sumFX2(self):
3304  """get_sumFX2(FStudentT self) -> double"""
3305  return _IMP_isd.FStudentT_get_sumFX2(self)
3306 
3307 
3308  def get_N(self):
3309  """get_N(FStudentT self) -> unsigned int"""
3310  return _IMP_isd.FStudentT_get_N(self)
3311 
3312 
3313  def get_LogJX(self):
3314  """get_LogJX(FStudentT self) -> double"""
3315  return _IMP_isd.FStudentT_get_LogJX(self)
3316 
3317 
3318  def get_FM(self):
3319  """get_FM(FStudentT self) -> double"""
3320  return _IMP_isd.FStudentT_get_FM(self)
3321 
3322 
3323  def get_sigma(self):
3324  """get_sigma(FStudentT self) -> double"""
3325  return _IMP_isd.FStudentT_get_sigma(self)
3326 
3327 
3328  def get_nu(self):
3329  """get_nu(FStudentT self) -> double"""
3330  return _IMP_isd.FStudentT_get_nu(self)
3331 
3332 
3333  def __str__(self):
3334  """__str__(FStudentT self) -> std::string"""
3335  return _IMP_isd.FStudentT___str__(self)
3336 
3337 
3338  def __repr__(self):
3339  """__repr__(FStudentT self) -> std::string"""
3340  return _IMP_isd.FStudentT___repr__(self)
3341 
3342 
3343  @staticmethod
3344  def get_from(o):
3345  return _object_cast_to_FStudentT(o)
3346 
3347 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
3348 FStudentT_swigregister(FStudentT)
3349 
3350 class vonMises(IMP.Object):
3351  """Proxy of C++ IMP::isd::vonMises class"""
3352  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3353 
3354  def __init__(self, x, mu, kappa):
3355  """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
3356  this = _IMP_isd.new_vonMises(x, mu, kappa)
3357  try:
3358  self.this.append(this)
3359  except:
3360  self.this = this
3361 
3362  def evaluate(self):
3363  """evaluate(vonMises self) -> double"""
3364  return _IMP_isd.vonMises_evaluate(self)
3365 
3366 
3367  def evaluate_derivative_x(self):
3368  """evaluate_derivative_x(vonMises self) -> double"""
3369  return _IMP_isd.vonMises_evaluate_derivative_x(self)
3370 
3371 
3372  def evaluate_derivative_mu(self):
3373  """evaluate_derivative_mu(vonMises self) -> double"""
3374  return _IMP_isd.vonMises_evaluate_derivative_mu(self)
3375 
3376 
3377  def evaluate_derivative_kappa(self):
3378  """evaluate_derivative_kappa(vonMises self) -> double"""
3379  return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
3380 
3381 
3382  def density(self):
3383  """density(vonMises self) -> double"""
3384  return _IMP_isd.vonMises_density(self)
3385 
3386 
3387  def set_x(self, x):
3388  """set_x(vonMises self, double x)"""
3389  return _IMP_isd.vonMises_set_x(self, x)
3390 
3391 
3392  def set_mu(self, mu):
3393  """set_mu(vonMises self, double mu)"""
3394  return _IMP_isd.vonMises_set_mu(self, mu)
3395 
3396 
3397  def set_kappa(self, kappa):
3398  """set_kappa(vonMises self, double kappa)"""
3399  return _IMP_isd.vonMises_set_kappa(self, kappa)
3400 
3401 
3402  def get_version_info(self):
3403  """get_version_info(vonMises self) -> VersionInfo"""
3404  return _IMP_isd.vonMises_get_version_info(self)
3405 
3406 
3407  def __str__(self):
3408  """__str__(vonMises self) -> std::string"""
3409  return _IMP_isd.vonMises___str__(self)
3410 
3411 
3412  def __repr__(self):
3413  """__repr__(vonMises self) -> std::string"""
3414  return _IMP_isd.vonMises___repr__(self)
3415 
3416 
3417  @staticmethod
3418  def get_from(o):
3419  return _object_cast_to_vonMises(o)
3420 
3421 vonMises_swigregister = _IMP_isd.vonMises_swigregister
3422 vonMises_swigregister(vonMises)
3423 
3424 class vonMisesSufficient(IMP.Object):
3425  """Proxy of C++ IMP::isd::vonMisesSufficient class"""
3426  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3427 
3428  def __init__(self, *args):
3429  """
3430  __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
3431  __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
3432  """
3433  this = _IMP_isd.new_vonMisesSufficient(*args)
3434  try:
3435  self.this.append(this)
3436  except:
3437  self.this = this
3438 
3439  def evaluate(self):
3440  """evaluate(vonMisesSufficient self) -> double"""
3441  return _IMP_isd.vonMisesSufficient_evaluate(self)
3442 
3443 
3444  def evaluate_derivative_x(self):
3445  """evaluate_derivative_x(vonMisesSufficient self) -> double"""
3446  return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
3447 
3448 
3449  def evaluate_derivative_kappa(self):
3450  """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
3451  return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
3452 
3453 
3454  def density(self):
3455  """density(vonMisesSufficient self) -> double"""
3456  return _IMP_isd.vonMisesSufficient_density(self)
3457 
3458 
3459  def get_x(self):
3460  """get_x(vonMisesSufficient self) -> double"""
3461  return _IMP_isd.vonMisesSufficient_get_x(self)
3462 
3463 
3464  def get_R0(self):
3465  """get_R0(vonMisesSufficient self) -> double"""
3466  return _IMP_isd.vonMisesSufficient_get_R0(self)
3467 
3468 
3469  def get_chiexp(self):
3470  """get_chiexp(vonMisesSufficient self) -> double"""
3471  return _IMP_isd.vonMisesSufficient_get_chiexp(self)
3472 
3473 
3474  def get_N(self):
3475  """get_N(vonMisesSufficient self) -> double"""
3476  return _IMP_isd.vonMisesSufficient_get_N(self)
3477 
3478 
3479  def get_kappa(self):
3480  """get_kappa(vonMisesSufficient self) -> double"""
3481  return _IMP_isd.vonMisesSufficient_get_kappa(self)
3482 
3483 
3484  def set_x(self, x):
3485  """set_x(vonMisesSufficient self, double x)"""
3486  return _IMP_isd.vonMisesSufficient_set_x(self, x)
3487 
3488 
3489  def set_R0(self, R0):
3490  """set_R0(vonMisesSufficient self, double R0)"""
3491  return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
3492 
3493 
3494  def set_chiexp(self, chiexp):
3495  """set_chiexp(vonMisesSufficient self, double chiexp)"""
3496  return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
3497 
3498 
3499  def set_N(self, N):
3500  """set_N(vonMisesSufficient self, unsigned int N)"""
3501  return _IMP_isd.vonMisesSufficient_set_N(self, N)
3502 
3503 
3504  def set_kappa(self, kappa):
3505  """set_kappa(vonMisesSufficient self, double kappa)"""
3506  return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
3507 
3508 
3509  def get_sufficient_statistics(data):
3510  """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3511  return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3512 
3513  get_sufficient_statistics = staticmethod(get_sufficient_statistics)
3514 
3515  def get_version_info(self):
3516  """get_version_info(vonMisesSufficient self) -> VersionInfo"""
3517  return _IMP_isd.vonMisesSufficient_get_version_info(self)
3518 
3519 
3520  def __str__(self):
3521  """__str__(vonMisesSufficient self) -> std::string"""
3522  return _IMP_isd.vonMisesSufficient___str__(self)
3523 
3524 
3525  def __repr__(self):
3526  """__repr__(vonMisesSufficient self) -> std::string"""
3527  return _IMP_isd.vonMisesSufficient___repr__(self)
3528 
3529 
3530  @staticmethod
3531  def get_from(o):
3532  return _object_cast_to_vonMisesSufficient(o)
3533 
3534 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3535 vonMisesSufficient_swigregister(vonMisesSufficient)
3536 
3537 def vonMisesSufficient_get_sufficient_statistics(data):
3538  """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3539  return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3540 
3541 class PenalizedComplexityPrior(OneDimensionalSufficientDistribution):
3542  """Proxy of C++ IMP::isd::PenalizedComplexityPrior class"""
3543  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3544 
3545  def __init__(self, *args):
3546  """
3547  __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha, std::string name) -> PenalizedComplexityPrior
3548  __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha) -> PenalizedComplexityPrior
3549  """
3550  this = _IMP_isd.new_PenalizedComplexityPrior(*args)
3551  try:
3552  self.this.append(this)
3553  except:
3554  self.this = this
3555 
3556  def update_sufficient_statistics(self, Dxis, Jxis):
3557  """update_sufficient_statistics(PenalizedComplexityPrior self, IMP::Floats Dxis, IMP::Floats Jxis)"""
3558  return _IMP_isd.PenalizedComplexityPrior_update_sufficient_statistics(self, Dxis, Jxis)
3559 
3560 
3561  def evaluate_derivative_Dxi(self):
3562  """evaluate_derivative_Dxi(PenalizedComplexityPrior self) -> double"""
3563  return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Dxi(self)
3564 
3565 
3566  def evaluate_derivative_Jxi(self):
3567  """evaluate_derivative_Jxi(PenalizedComplexityPrior self) -> double"""
3568  return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Jxi(self)
3569 
3570 
3571  def evaluate_derivative_alpha(self):
3572  """evaluate_derivative_alpha(PenalizedComplexityPrior self) -> double"""
3573  return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_alpha(self)
3574 
3575 
3576  def evaluate_derivative_xi(self, JJxi):
3577  """evaluate_derivative_xi(PenalizedComplexityPrior self, double JJxi) -> double"""
3578  return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_xi(self, JJxi)
3579 
3580 
3581  def set_Dxi(self, v):
3582  """set_Dxi(PenalizedComplexityPrior self, double v)"""
3583  return _IMP_isd.PenalizedComplexityPrior_set_Dxi(self, v)
3584 
3585 
3586  def set_Jxi(self, v):
3587  """set_Jxi(PenalizedComplexityPrior self, double v)"""
3588  return _IMP_isd.PenalizedComplexityPrior_set_Jxi(self, v)
3589 
3590 
3591  def set_alpha(self, v):
3592  """set_alpha(PenalizedComplexityPrior self, double v)"""
3593  return _IMP_isd.PenalizedComplexityPrior_set_alpha(self, v)
3594 
3595 
3596  def get_Dxi(self):
3597  """get_Dxi(PenalizedComplexityPrior self) -> double"""
3598  return _IMP_isd.PenalizedComplexityPrior_get_Dxi(self)
3599 
3600 
3601  def get_Jxi(self):
3602  """get_Jxi(PenalizedComplexityPrior self) -> double"""
3603  return _IMP_isd.PenalizedComplexityPrior_get_Jxi(self)
3604 
3605 
3606  def get_alpha(self):
3607  """get_alpha(PenalizedComplexityPrior self) -> double"""
3608  return _IMP_isd.PenalizedComplexityPrior_get_alpha(self)
3609 
3610 
3611  def __str__(self):
3612  """__str__(PenalizedComplexityPrior self) -> std::string"""
3613  return _IMP_isd.PenalizedComplexityPrior___str__(self)
3614 
3615 
3616  def __repr__(self):
3617  """__repr__(PenalizedComplexityPrior self) -> std::string"""
3618  return _IMP_isd.PenalizedComplexityPrior___repr__(self)
3619 
3620 
3621  @staticmethod
3622  def get_from(o):
3623  return _object_cast_to_PenalizedComplexityPrior(o)
3624 
3625 PenalizedComplexityPrior_swigregister = _IMP_isd.PenalizedComplexityPrior_swigregister
3626 PenalizedComplexityPrior_swigregister(PenalizedComplexityPrior)
3627 
3628 class vonMisesKappaJeffreysRestraint(IMP.Restraint):
3629  """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
3630  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3631 
3632  def __init__(self, m, kappa):
3633  """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3634  this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3635  try:
3636  self.this.append(this)
3637  except:
3638  self.this = this
3639 
3640  def do_get_inputs(self):
3641  """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3642  return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3643 
3644 
3645  def get_version_info(self):
3646  """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3647  return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3648 
3649 
3650  def get_probability(self):
3651  """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3652  return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3653 
3654 
3655  def __str__(self):
3656  """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3657  return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3658 
3659 
3660  def __repr__(self):
3661  """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3662  return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3663 
3664 
3665  @staticmethod
3666  def get_from(o):
3667  return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3668 
3669 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3670 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3671 
3672 class vonMisesKappaConjugateRestraint(IMP.Restraint):
3673  """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
3674  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3675 
3676  def __init__(self, m, kappa, c=10.0, R0=0.0):
3677  """
3678  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3679  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3680  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3681  """
3682  this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3683  try:
3684  self.this.append(this)
3685  except:
3686  self.this = this
3687 
3688  def do_get_inputs(self):
3689  """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3690  return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3691 
3692 
3693  def get_version_info(self):
3694  """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3695  return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3696 
3697 
3698  def get_probability(self):
3699  """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3700  return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3701 
3702 
3703  def __str__(self):
3704  """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3705  return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3706 
3707 
3708  def __repr__(self):
3709  """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3710  return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3711 
3712 
3713  @staticmethod
3714  def get_from(o):
3715  return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3716 
3717 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3718 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3719 
3720 class NOERestraint(IMP.Restraint):
3721  """Proxy of C++ IMP::isd::NOERestraint class"""
3722  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3723 
3724  def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3725  """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3726  this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3727  try:
3728  self.this.append(this)
3729  except:
3730  self.this = this
3731 
3732  def get_probability(self):
3733  """get_probability(NOERestraint self) -> double"""
3734  return _IMP_isd.NOERestraint_get_probability(self)
3735 
3736 
3737  def get_chi(self):
3738  """get_chi(NOERestraint self) -> double"""
3739  return _IMP_isd.NOERestraint_get_chi(self)
3740 
3741 
3742  def do_get_inputs(self):
3743  """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3744  return _IMP_isd.NOERestraint_do_get_inputs(self)
3745 
3746 
3747  def get_version_info(self):
3748  """get_version_info(NOERestraint self) -> VersionInfo"""
3749  return _IMP_isd.NOERestraint_get_version_info(self)
3750 
3751 
3752  def __str__(self):
3753  """__str__(NOERestraint self) -> std::string"""
3754  return _IMP_isd.NOERestraint___str__(self)
3755 
3756 
3757  def __repr__(self):
3758  """__repr__(NOERestraint self) -> std::string"""
3759  return _IMP_isd.NOERestraint___repr__(self)
3760 
3761 
3762  @staticmethod
3763  def get_from(o):
3764  return _object_cast_to_NOERestraint(o)
3765 
3766 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3767 NOERestraint_swigregister(NOERestraint)
3768 
3769 class GaussianRestraint(IMP.Restraint):
3770  """Proxy of C++ IMP::isd::GaussianRestraint class"""
3771  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3772 
3773  def __init__(self, *args):
3774  """
3775  __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3776  __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3777  __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3778  __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3779  __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3780  __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3781  __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3782  """
3783  this = _IMP_isd.new_GaussianRestraint(*args)
3784  try:
3785  self.this.append(this)
3786  except:
3787  self.this = this
3788 
3789  def get_probability(self):
3790  """get_probability(GaussianRestraint self) -> double"""
3791  return _IMP_isd.GaussianRestraint_get_probability(self)
3792 
3793 
3794  def get_chi(self):
3795  """get_chi(GaussianRestraint self) -> double"""
3796  return _IMP_isd.GaussianRestraint_get_chi(self)
3797 
3798 
3799  def do_get_inputs(self):
3800  """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3801  return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3802 
3803 
3804  def get_version_info(self):
3805  """get_version_info(GaussianRestraint self) -> VersionInfo"""
3806  return _IMP_isd.GaussianRestraint_get_version_info(self)
3807 
3808 
3809  def __str__(self):
3810  """__str__(GaussianRestraint self) -> std::string"""
3811  return _IMP_isd.GaussianRestraint___str__(self)
3812 
3813 
3814  def __repr__(self):
3815  """__repr__(GaussianRestraint self) -> std::string"""
3816  return _IMP_isd.GaussianRestraint___repr__(self)
3817 
3818 
3819  @staticmethod
3820  def get_from(o):
3821  return _object_cast_to_GaussianRestraint(o)
3822 
3823 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3824 GaussianRestraint_swigregister(GaussianRestraint)
3825 
3826 class StudentTRestraint(IMP.Restraint):
3827  """Proxy of C++ IMP::isd::StudentTRestraint class"""
3828  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3829 
3830  def __init__(self, *args):
3831  """
3832  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3833  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3834  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3835  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3836  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3837  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3838  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3839  __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3840  __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3841  __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3842  __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3843  __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3844  __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3845  __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3846  __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3847  """
3848  this = _IMP_isd.new_StudentTRestraint(*args)
3849  try:
3850  self.this.append(this)
3851  except:
3852  self.this = this
3853 
3854  def get_probability(self):
3855  """get_probability(StudentTRestraint self) -> double"""
3856  return _IMP_isd.StudentTRestraint_get_probability(self)
3857 
3858 
3859  def do_get_inputs(self):
3860  """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3861  return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3862 
3863 
3864  def get_version_info(self):
3865  """get_version_info(StudentTRestraint self) -> VersionInfo"""
3866  return _IMP_isd.StudentTRestraint_get_version_info(self)
3867 
3868 
3869  def __str__(self):
3870  """__str__(StudentTRestraint self) -> std::string"""
3871  return _IMP_isd.StudentTRestraint___str__(self)
3872 
3873 
3874  def __repr__(self):
3875  """__repr__(StudentTRestraint self) -> std::string"""
3876  return _IMP_isd.StudentTRestraint___repr__(self)
3877 
3878 
3879  @staticmethod
3880  def get_from(o):
3881  return _object_cast_to_StudentTRestraint(o)
3882 
3883 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3884 StudentTRestraint_swigregister(StudentTRestraint)
3885 
3886 class LognormalRestraint(IMP.Restraint):
3887  """Proxy of C++ IMP::isd::LognormalRestraint class"""
3888  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3889 
3890  def __init__(self, *args):
3891  """
3892  __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3893  __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3894  __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3895  __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3896  __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3897  __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3898  __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3899  """
3900  this = _IMP_isd.new_LognormalRestraint(*args)
3901  try:
3902  self.this.append(this)
3903  except:
3904  self.this = this
3905 
3906  def get_probability(self):
3907  """get_probability(LognormalRestraint self) -> double"""
3908  return _IMP_isd.LognormalRestraint_get_probability(self)
3909 
3910 
3911  def get_chi(self):
3912  """get_chi(LognormalRestraint self) -> double"""
3913  return _IMP_isd.LognormalRestraint_get_chi(self)
3914 
3915 
3916  def do_get_inputs(self):
3917  """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3918  return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3919 
3920 
3921  def get_version_info(self):
3922  """get_version_info(LognormalRestraint self) -> VersionInfo"""
3923  return _IMP_isd.LognormalRestraint_get_version_info(self)
3924 
3925 
3926  def __str__(self):
3927  """__str__(LognormalRestraint self) -> std::string"""
3928  return _IMP_isd.LognormalRestraint___str__(self)
3929 
3930 
3931  def __repr__(self):
3932  """__repr__(LognormalRestraint self) -> std::string"""
3933  return _IMP_isd.LognormalRestraint___repr__(self)
3934 
3935 
3936  @staticmethod
3937  def get_from(o):
3938  return _object_cast_to_LognormalRestraint(o)
3939 
3940 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3941 LognormalRestraint_swigregister(LognormalRestraint)
3942 
3943 class LognormalAmbiguousRestraint(IMP.Restraint):
3944  """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class"""
3945  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3946 
3947  def __init__(self, p1, p2, ki, sigmaG):
3948  """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3949  this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3950  try:
3951  self.this.append(this)
3952  except:
3953  self.this = this
3954 
3955  def add_contribution(self, lexp, omega):
3956  """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3957  return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3958 
3959 
3960  def get_number_of_contributions(self):
3961  """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3962  return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3963 
3964 
3965  def draw_k_from_posterior(self, kt):
3966  """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3967  return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3968 
3969 
3970  def get_probability(self):
3971  """get_probability(LognormalAmbiguousRestraint self) -> double"""
3972  return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3973 
3974 
3975  def do_get_inputs(self):
3976  """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3977  return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3978 
3979 
3980  def get_version_info(self):
3981  """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3982  return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3983 
3984 
3985  def __str__(self):
3986  """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3987  return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3988 
3989 
3990  def __repr__(self):
3991  """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3992  return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3993 
3994 
3995  @staticmethod
3996  def get_from(o):
3997  return _object_cast_to_LognormalAmbiguousRestraint(o)
3998 
3999 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
4000 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
4001 
4002 class AmbiguousNOERestraint(IMP.Restraint):
4003  """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
4004  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4005 
4006  def __init__(self, m, pc, sigma, gamma, Iexp):
4007  """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
4008  this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
4009  try:
4010  self.this.append(this)
4011  except:
4012  self.this = this
4013 
4014  def get_probability(self):
4015  """get_probability(AmbiguousNOERestraint self) -> double"""
4016  return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
4017 
4018 
4019  def get_chi(self):
4020  """get_chi(AmbiguousNOERestraint self) -> double"""
4021  return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
4022 
4023 
4024  def do_get_inputs(self):
4025  """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
4026  return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
4027 
4028 
4029  def get_version_info(self):
4030  """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
4031  return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
4032 
4033 
4034  def __str__(self):
4035  """__str__(AmbiguousNOERestraint self) -> std::string"""
4036  return _IMP_isd.AmbiguousNOERestraint___str__(self)
4037 
4038 
4039  def __repr__(self):
4040  """__repr__(AmbiguousNOERestraint self) -> std::string"""
4041  return _IMP_isd.AmbiguousNOERestraint___repr__(self)
4042 
4043 
4044  @staticmethod
4045  def get_from(o):
4046  return _object_cast_to_AmbiguousNOERestraint(o)
4047 
4048 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
4049 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
4050 
4051 class MarginalNOERestraint(IMP.Restraint):
4052  """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
4053  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4054 
4055  def __init__(self, m):
4056  """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
4057  this = _IMP_isd.new_MarginalNOERestraint(m)
4058  try:
4059  self.this.append(this)
4060  except:
4061  self.this = this
4062 
4063  def add_contribution(self, *args):
4064  """
4065  add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
4066  add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
4067  """
4068  return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
4069 
4070 
4071  def get_log_gammahat(self):
4072  """get_log_gammahat(MarginalNOERestraint self) -> double"""
4073  return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
4074 
4075 
4076  def get_SS(self):
4077  """get_SS(MarginalNOERestraint self) -> double"""
4078  return _IMP_isd.MarginalNOERestraint_get_SS(self)
4079 
4080 
4081  def get_number_of_contributions(self):
4082  """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
4083  return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
4084 
4085 
4086  def get_probability(self):
4087  """get_probability(MarginalNOERestraint self) -> double"""
4088  return _IMP_isd.MarginalNOERestraint_get_probability(self)
4089 
4090 
4091  def do_get_inputs(self):
4092  """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
4093  return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
4094 
4095 
4096  def get_version_info(self):
4097  """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
4098  return _IMP_isd.MarginalNOERestraint_get_version_info(self)
4099 
4100 
4101  def __str__(self):
4102  """__str__(MarginalNOERestraint self) -> std::string"""
4103  return _IMP_isd.MarginalNOERestraint___str__(self)
4104 
4105 
4106  def __repr__(self):
4107  """__repr__(MarginalNOERestraint self) -> std::string"""
4108  return _IMP_isd.MarginalNOERestraint___repr__(self)
4109 
4110 
4111  @staticmethod
4112  def get_from(o):
4113  return _object_cast_to_MarginalNOERestraint(o)
4114 
4115 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
4116 MarginalNOERestraint_swigregister(MarginalNOERestraint)
4117 
4118 class MarginalHBondRestraint(IMP.Restraint):
4119  """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
4120  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4121 
4122  def __init__(self, m):
4123  """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
4124  this = _IMP_isd.new_MarginalHBondRestraint(m)
4125  try:
4126  self.this.append(this)
4127  except:
4128  self.this = this
4129 
4130  def add_contribution(self, *args):
4131  """
4132  add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
4133  add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
4134  """
4135  return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
4136 
4137 
4138  def get_logsquares(self):
4139  """get_logsquares(MarginalHBondRestraint self) -> double"""
4140  return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
4141 
4142 
4143  def get_number_of_contributions(self):
4144  """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
4145  return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
4146 
4147 
4148  def get_probability(self):
4149  """get_probability(MarginalHBondRestraint self) -> double"""
4150  return _IMP_isd.MarginalHBondRestraint_get_probability(self)
4151 
4152 
4153  def do_get_inputs(self):
4154  """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
4155  return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
4156 
4157 
4158  def get_version_info(self):
4159  """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
4160  return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
4161 
4162 
4163  def __str__(self):
4164  """__str__(MarginalHBondRestraint self) -> std::string"""
4165  return _IMP_isd.MarginalHBondRestraint___str__(self)
4166 
4167 
4168  def __repr__(self):
4169  """__repr__(MarginalHBondRestraint self) -> std::string"""
4170  return _IMP_isd.MarginalHBondRestraint___repr__(self)
4171 
4172 
4173  @staticmethod
4174  def get_from(o):
4175  return _object_cast_to_MarginalHBondRestraint(o)
4176 
4177 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
4178 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
4179 
4180 class TALOSRestraint(IMP.Restraint):
4181  """Proxy of C++ IMP::isd::TALOSRestraint class"""
4182  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4183 
4184  def __init__(self, *args):
4185  """
4186  __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
4187  __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
4188  __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
4189  __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
4190  """
4191  this = _IMP_isd.new_TALOSRestraint(*args)
4192  try:
4193  self.this.append(this)
4194  except:
4195  self.this = this
4196 
4197  def get_probability(self):
4198  """get_probability(TALOSRestraint self) -> double"""
4199  return _IMP_isd.TALOSRestraint_get_probability(self)
4200 
4201 
4202  def get_R0(self):
4203  """get_R0(TALOSRestraint self) -> double"""
4204  return _IMP_isd.TALOSRestraint_get_R0(self)
4205 
4206 
4207  def get_chiexp(self):
4208  """get_chiexp(TALOSRestraint self) -> double"""
4209  return _IMP_isd.TALOSRestraint_get_chiexp(self)
4210 
4211 
4212  def do_get_inputs(self):
4213  """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
4214  return _IMP_isd.TALOSRestraint_do_get_inputs(self)
4215 
4216 
4217  def get_version_info(self):
4218  """get_version_info(TALOSRestraint self) -> VersionInfo"""
4219  return _IMP_isd.TALOSRestraint_get_version_info(self)
4220 
4221 
4222  def __str__(self):
4223  """__str__(TALOSRestraint self) -> std::string"""
4224  return _IMP_isd.TALOSRestraint___str__(self)
4225 
4226 
4227  def __repr__(self):
4228  """__repr__(TALOSRestraint self) -> std::string"""
4229  return _IMP_isd.TALOSRestraint___repr__(self)
4230 
4231 
4232  @staticmethod
4233  def get_from(o):
4234  return _object_cast_to_TALOSRestraint(o)
4235 
4236 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
4237 TALOSRestraint_swigregister(TALOSRestraint)
4238 
4239 class RepulsiveDistancePairScore(IMP.PairScore):
4240  """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
4241  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4242 
4243  def __init__(self, d0, k):
4244  """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
4245  this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
4246  try:
4247  self.this.append(this)
4248  except:
4249  self.this = this
4250 
4251  def get_rest_length(self):
4252  """get_rest_length(RepulsiveDistancePairScore self) -> double"""
4253  return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
4254 
4255 
4256  def get_stiffness(self):
4257  """get_stiffness(RepulsiveDistancePairScore self) -> double"""
4258  return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
4259 
4260 
4261  def do_get_inputs(self, m, pis):
4262  """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4263  return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
4264 
4265 
4266  def get_version_info(self):
4267  """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
4268  return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
4269 
4270 
4271  def __str__(self):
4272  """__str__(RepulsiveDistancePairScore self) -> std::string"""
4273  return _IMP_isd.RepulsiveDistancePairScore___str__(self)
4274 
4275 
4276  def __repr__(self):
4277  """__repr__(RepulsiveDistancePairScore self) -> std::string"""
4278  return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
4279 
4280 
4281  @staticmethod
4282  def get_from(o):
4283  return _object_cast_to_RepulsiveDistancePairScore(o)
4284 
4285 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
4286 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
4287 
4288 class AmbiguousRestraint(IMP.Restraint):
4289  """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
4290  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4291 
4292  def __init__(self, *args):
4293  """
4294  __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
4295  __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
4296  """
4297  this = _IMP_isd.new_AmbiguousRestraint(*args)
4298  try:
4299  self.this.append(this)
4300  except:
4301  self.this = this
4302 
4303  def get_probability(self):
4304  """get_probability(AmbiguousRestraint self) -> double"""
4305  return _IMP_isd.AmbiguousRestraint_get_probability(self)
4306 
4307 
4308  def do_get_inputs(self):
4309  """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
4310  return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
4311 
4312 
4313  def get_version_info(self):
4314  """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
4315  return _IMP_isd.AmbiguousRestraint_get_version_info(self)
4316 
4317 
4318  def __str__(self):
4319  """__str__(AmbiguousRestraint self) -> std::string"""
4320  return _IMP_isd.AmbiguousRestraint___str__(self)
4321 
4322 
4323  def __repr__(self):
4324  """__repr__(AmbiguousRestraint self) -> std::string"""
4325  return _IMP_isd.AmbiguousRestraint___repr__(self)
4326 
4327 
4328  @staticmethod
4329  def get_from(o):
4330  return _object_cast_to_AmbiguousRestraint(o)
4331 
4332 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
4333 AmbiguousRestraint_swigregister(AmbiguousRestraint)
4334 
4335 
4336 _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
4337 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
4338 class UnivariateFunction(IMP.Object):
4339  """Proxy of C++ IMP::isd::UnivariateFunction class"""
4340  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4341 
4342  def __init__(self, *args, **kwargs):
4343  raise AttributeError("No constructor defined - class is abstract")
4344 
4345  def __call__(self, *args):
4346  """
4347  __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
4348  __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4349  __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4350  """
4351  return _IMP_isd.UnivariateFunction___call__(self, *args)
4352 
4353 
4354  def has_changed(self):
4355  """has_changed(UnivariateFunction self) -> bool"""
4356  return _IMP_isd.UnivariateFunction_has_changed(self)
4357 
4358 
4359  def update(self):
4360  """update(UnivariateFunction self)"""
4361  return _IMP_isd.UnivariateFunction_update(self)
4362 
4363 
4364  def add_to_derivatives(self, x, accum):
4365  """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
4366  return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
4367 
4368 
4369  def add_to_particle_derivative(self, particle_no, value, accum):
4370  """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4371  return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4372 
4373 
4374  def get_derivative_vector(self, particle_no, xlist):
4375  """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
4376  return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
4377 
4378 
4379  def get_derivative_matrix(self, xlist, stupid):
4380  """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
4381  return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
4382 
4383 
4384  def get_second_derivative_vector(self, *args):
4385  """
4386  get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4387  get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4388  """
4389  return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
4390 
4391 
4392  def get_ndims_x(self):
4393  """get_ndims_x(UnivariateFunction self) -> unsigned int"""
4394  return _IMP_isd.UnivariateFunction_get_ndims_x(self)
4395 
4396 
4397  def get_ndims_y(self):
4398  """get_ndims_y(UnivariateFunction self) -> unsigned int"""
4399  return _IMP_isd.UnivariateFunction_get_ndims_y(self)
4400 
4401 
4402  def get_number_of_particles(self):
4403  """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
4404  return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
4405 
4406 
4407  def get_particle_is_optimized(self, particle_no):
4408  """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
4409  return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
4410 
4411 
4412  def get_number_of_optimized_particles(self):
4413  """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
4414  return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
4415 
4416 
4417  def get_inputs(self):
4418  """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
4419  return _IMP_isd.UnivariateFunction_get_inputs(self)
4420 
4421  __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
4422  __del__ = lambda self: None
4423 
4424  def __str__(self):
4425  """__str__(UnivariateFunction self) -> std::string"""
4426  return _IMP_isd.UnivariateFunction___str__(self)
4427 
4428 
4429  def __repr__(self):
4430  """__repr__(UnivariateFunction self) -> std::string"""
4431  return _IMP_isd.UnivariateFunction___repr__(self)
4432 
4433 
4434  @staticmethod
4435  def get_from(o):
4436  return _object_cast_to_UnivariateFunction(o)
4437 
4438 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
4439 UnivariateFunction_swigregister(UnivariateFunction)
4440 
4441 class Linear1DFunction(UnivariateFunction):
4442  """Proxy of C++ IMP::isd::Linear1DFunction class"""
4443  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4444 
4445  def __init__(self, a, b):
4446  """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
4447  this = _IMP_isd.new_Linear1DFunction(a, b)
4448  try:
4449  self.this.append(this)
4450  except:
4451  self.this = this
4452 
4453  def __call__(self, *args):
4454  """
4455  __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
4456  __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4457  __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4458  """
4459  return _IMP_isd.Linear1DFunction___call__(self, *args)
4460 
4461 
4462  def get_second_derivative_vector(self, *args):
4463  """
4464  get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4465  get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4466  """
4467  return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
4468 
4469 
4470  def get_version_info(self):
4471  """get_version_info(Linear1DFunction self) -> VersionInfo"""
4472  return _IMP_isd.Linear1DFunction_get_version_info(self)
4473 
4474 
4475  def __str__(self):
4476  """__str__(Linear1DFunction self) -> std::string"""
4477  return _IMP_isd.Linear1DFunction___str__(self)
4478 
4479 
4480  def __repr__(self):
4481  """__repr__(Linear1DFunction self) -> std::string"""
4482  return _IMP_isd.Linear1DFunction___repr__(self)
4483 
4484 
4485  @staticmethod
4486  def get_from(o):
4487  return _object_cast_to_Linear1DFunction(o)
4488 
4489 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
4490 Linear1DFunction_swigregister(Linear1DFunction)
4491 
4492 class GeneralizedGuinierPorodFunction(UnivariateFunction):
4493  """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
4494  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4495 
4496  def __init__(self, G, Rg, d, s, A):
4497  """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
4498  this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
4499  try:
4500  self.this.append(this)
4501  except:
4502  self.this = this
4503 
4504  def __call__(self, *args):
4505  """
4506  __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
4507  __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4508  __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4509  """
4510  return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
4511 
4512 
4513  def get_second_derivative_vector(self, *args):
4514  """
4515  get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4516  get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4517  """
4518  return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
4519 
4520 
4521  def get_version_info(self):
4522  """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
4523  return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
4524 
4525 
4526  def __str__(self):
4527  """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
4528  return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
4529 
4530 
4531  def __repr__(self):
4532  """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
4533  return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
4534 
4535 
4536  @staticmethod
4537  def get_from(o):
4538  return _object_cast_to_GeneralizedGuinierPorodFunction(o)
4539 
4540 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
4541 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
4542 
4543 
4544 _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
4545 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
4546 class BivariateFunction(IMP.Object):
4547  """Proxy of C++ IMP::isd::BivariateFunction class"""
4548  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4549 
4550  def __init__(self, *args, **kwargs):
4551  raise AttributeError("No constructor defined - class is abstract")
4552 
4553  def __call__(self, *args):
4554  """
4555  __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4556  __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4557  __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4558  """
4559  return _IMP_isd.BivariateFunction___call__(self, *args)
4560 
4561 
4562  def has_changed(self):
4563  """has_changed(BivariateFunction self) -> bool"""
4564  return _IMP_isd.BivariateFunction_has_changed(self)
4565 
4566 
4567  def update(self):
4568  """update(BivariateFunction self)"""
4569  return _IMP_isd.BivariateFunction_update(self)
4570 
4571 
4572  def add_to_derivatives(self, x1, x2, accum):
4573  """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
4574  return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
4575 
4576 
4577  def add_to_particle_derivative(self, particle_no, value, accum):
4578  """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4579  return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4580 
4581 
4582  def get_derivative_matrix(self, *args):
4583  """
4584  get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4585  get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4586  """
4587  return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
4588 
4589 
4590  def get_second_derivative_matrix(self, *args):
4591  """
4592  get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4593  get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4594  """
4595  return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
4596 
4597 
4598  def get_ndims_x1(self):
4599  """get_ndims_x1(BivariateFunction self) -> unsigned int"""
4600  return _IMP_isd.BivariateFunction_get_ndims_x1(self)
4601 
4602 
4603  def get_ndims_x2(self):
4604  """get_ndims_x2(BivariateFunction self) -> unsigned int"""
4605  return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4606 
4607 
4608  def get_ndims_y(self):
4609  """get_ndims_y(BivariateFunction self) -> unsigned int"""
4610  return _IMP_isd.BivariateFunction_get_ndims_y(self)
4611 
4612 
4613  def get_number_of_particles(self):
4614  """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4615  return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4616 
4617 
4618  def get_particle_is_optimized(self, particle_no):
4619  """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4620  return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4621 
4622 
4623  def get_number_of_optimized_particles(self):
4624  """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4625  return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4626 
4627 
4628  def get_inputs(self):
4629  """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4630  return _IMP_isd.BivariateFunction_get_inputs(self)
4631 
4632  __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4633  __del__ = lambda self: None
4634 
4635  def __str__(self):
4636  """__str__(BivariateFunction self) -> std::string"""
4637  return _IMP_isd.BivariateFunction___str__(self)
4638 
4639 
4640  def __repr__(self):
4641  """__repr__(BivariateFunction self) -> std::string"""
4642  return _IMP_isd.BivariateFunction___repr__(self)
4643 
4644 
4645  @staticmethod
4646  def get_from(o):
4647  return _object_cast_to_BivariateFunction(o)
4648 
4649 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4650 BivariateFunction_swigregister(BivariateFunction)
4651 
4652 class Covariance1DFunction(BivariateFunction):
4653  """Proxy of C++ IMP::isd::Covariance1DFunction class"""
4654  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4655 
4656  def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4657  """
4658  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4659  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4660  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4661  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4662  """
4663  this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4664  try:
4665  self.this.append(this)
4666  except:
4667  self.this = this
4668 
4669  def __call__(self, *args):
4670  """
4671  __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4672  __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4673  __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4674  """
4675  return _IMP_isd.Covariance1DFunction___call__(self, *args)
4676 
4677 
4678  def get_derivative_matrix(self, *args):
4679  """
4680  get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4681  get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4682  """
4683  return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4684 
4685 
4686  def get_second_derivative_matrix(self, *args):
4687  """
4688  get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4689  get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4690  """
4691  return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4692 
4693 
4694  def get_version_info(self):
4695  """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4696  return _IMP_isd.Covariance1DFunction_get_version_info(self)
4697 
4698 
4699  def __str__(self):
4700  """__str__(Covariance1DFunction self) -> std::string"""
4701  return _IMP_isd.Covariance1DFunction___str__(self)
4702 
4703 
4704  def __repr__(self):
4705  """__repr__(Covariance1DFunction self) -> std::string"""
4706  return _IMP_isd.Covariance1DFunction___repr__(self)
4707 
4708 
4709  @staticmethod
4710  def get_from(o):
4711  return _object_cast_to_Covariance1DFunction(o)
4712 
4713 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4714 Covariance1DFunction_swigregister(Covariance1DFunction)
4715 
4716 class GaussianProcessInterpolation(IMP.Object):
4717  """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
4718  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4719 
4720  def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4721  """
4722  __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
4723  __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
4724  """
4725  this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4726  try:
4727  self.this.append(this)
4728  except:
4729  self.this = this
4730 
4731  def get_posterior_mean(self, x):
4732  """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4733  return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4734 
4735 
4736  def get_posterior_covariance(self, x1, x2):
4737  """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4738  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4739 
4740 
4741  def get_posterior_covariance_matrix(self, x, arg3):
4742  """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4743  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4744 
4745 
4746  def get_posterior_covariance_derivative(self, x, arg3):
4747  """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4748  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4749 
4750 
4751  def get_posterior_covariance_hessian(self, x, arg3):
4752  """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4753  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4754 
4755 
4756  def get_inputs(self):
4757  """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4758  return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4759 
4760 
4761  def force_mean_update(self):
4762  """force_mean_update(GaussianProcessInterpolation self)"""
4763  return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4764 
4765 
4766  def force_covariance_update(self):
4767  """force_covariance_update(GaussianProcessInterpolation self)"""
4768  return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4769 
4770 
4771  def get_number_of_m_particles(self):
4772  """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4773  return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4774 
4775 
4776  def get_m_particle_is_optimized(self, i):
4777  """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4778  return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4779 
4780 
4781  def get_number_of_Omega_particles(self):
4782  """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4783  return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4784 
4785 
4786  def get_Omega_particle_is_optimized(self, i):
4787  """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4788  return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4789 
4790 
4791  def get_data_abscissa(self):
4792  """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4793  return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4794 
4795 
4796  def get_data_mean(self):
4797  """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4798  return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4799 
4800 
4801  def get_data_variance(self):
4802  """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4803  return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4804 
4805 
4806  def get_version_info(self):
4807  """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4808  return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4809 
4810 
4811  def __str__(self):
4812  """__str__(GaussianProcessInterpolation self) -> std::string"""
4813  return _IMP_isd.GaussianProcessInterpolation___str__(self)
4814 
4815 
4816  def __repr__(self):
4817  """__repr__(GaussianProcessInterpolation self) -> std::string"""
4818  return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4819 
4820 
4821  @staticmethod
4822  def get_from(o):
4823  return _object_cast_to_GaussianProcessInterpolation(o)
4824 
4825 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4826 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4827 
4828 class GaussianProcessInterpolationRestraint(IMP.Restraint):
4829  """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
4830  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4831 
4832  def __init__(self, m, gpi):
4833  """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4834  this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4835  try:
4836  self.this.append(this)
4837  except:
4838  self.this = this
4839 
4840  def get_probability(self):
4841  """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4842  return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4843 
4844 
4845  def set_use_cg(self, use, tol):
4846  """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4847  return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4848 
4849 
4850  def get_minus_log_normalization(self):
4851  """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4852  return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4853 
4854 
4855  def get_minus_exponent(self):
4856  """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4857  return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4858 
4859 
4860  def get_logdet_hessian(self):
4861  """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4862  return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4863 
4864 
4865  def get_hessian(self, *args):
4866  """
4867  get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
4868  get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4869  """
4870  return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4871 
4872 
4873  def do_get_inputs(self):
4874  """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4875  return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4876 
4877 
4878  def get_version_info(self):
4879  """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4880  return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4881 
4882 
4883  def __str__(self):
4884  """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4885  return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4886 
4887 
4888  def __repr__(self):
4889  """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4890  return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4891 
4892 
4893  @staticmethod
4894  def get_from(o):
4895  return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4896 
4897 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4898 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4899 
4900 class MolecularDynamics(IMP.atom.MolecularDynamics):
4901  """Proxy of C++ IMP::isd::MolecularDynamics class"""
4902  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4903 
4904  def __init__(self, m=None):
4905  """
4906  __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4907  __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4908  """
4909  this = _IMP_isd.new_MolecularDynamics(m)
4910  try:
4911  self.this.append(this)
4912  except:
4913  self.this = this
4914 
4915  def __str__(self):
4916  """__str__(MolecularDynamics self) -> std::string"""
4917  return _IMP_isd.MolecularDynamics___str__(self)
4918 
4919 
4920  def __repr__(self):
4921  """__repr__(MolecularDynamics self) -> std::string"""
4922  return _IMP_isd.MolecularDynamics___repr__(self)
4923 
4924 
4925  @staticmethod
4926  def get_from(o):
4927  return _object_cast_to_MolecularDynamics(o)
4928 
4929  __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4930  __del__ = lambda self: None
4931 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4932 MolecularDynamics_swigregister(MolecularDynamics)
4933 
4934 class MolecularDynamicsMover(IMP.core.MonteCarloMover):
4935  """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
4936  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4937 
4938  def __init__(self, m, nsteps=100, timestep=1.):
4939  """
4940  __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4941  __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4942  __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4943  """
4944  this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4945  try:
4946  self.this.append(this)
4947  except:
4948  self.this = this
4949 
4950  def get_md(self):
4951  """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4952  return _IMP_isd.MolecularDynamicsMover_get_md(self)
4953 
4954 
4955  def get_number_of_md_steps(self):
4956  """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4957  return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4958 
4959 
4960  def set_number_of_md_steps(self, nsteps):
4961  """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4962  return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4963 
4964 
4965  def get_version_info(self):
4966  """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4967  return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4968 
4969 
4970  def __str__(self):
4971  """__str__(MolecularDynamicsMover self) -> std::string"""
4972  return _IMP_isd.MolecularDynamicsMover___str__(self)
4973 
4974 
4975  def __repr__(self):
4976  """__repr__(MolecularDynamicsMover self) -> std::string"""
4977  return _IMP_isd.MolecularDynamicsMover___repr__(self)
4978 
4979 
4980  @staticmethod
4981  def get_from(o):
4982  return _object_cast_to_MolecularDynamicsMover(o)
4983 
4984 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4985 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4986 
4987 class HybridMonteCarlo(IMP.core.MonteCarlo):
4988  """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
4989  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4990 
4991  def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4992  """
4993  __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
4994  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4995  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4996  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4997  __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4998  """
4999  this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
5000  try:
5001  self.this.append(this)
5002  except:
5003  self.this = this
5004 
5005  def get_kinetic_energy(self):
5006  """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
5007  return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
5008 
5009 
5010  def get_potential_energy(self):
5011  """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
5012  return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
5013 
5014 
5015  def get_total_energy(self):
5016  """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
5017  return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
5018 
5019 
5020  def set_timestep(self, ts):
5021  """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
5022  return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
5023 
5024 
5025  def get_timestep(self):
5026  """get_timestep(HybridMonteCarlo self) -> double"""
5027  return _IMP_isd.HybridMonteCarlo_get_timestep(self)
5028 
5029 
5030  def set_number_of_md_steps(self, nsteps):
5031  """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
5032  return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
5033 
5034 
5035  def get_number_of_md_steps(self):
5036  """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
5037  return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
5038 
5039 
5040  def set_persistence(self, persistence=1):
5041  """
5042  set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
5043  set_persistence(HybridMonteCarlo self)
5044  """
5045  return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
5046 
5047 
5048  def get_persistence(self):
5049  """get_persistence(HybridMonteCarlo self) -> unsigned int"""
5050  return _IMP_isd.HybridMonteCarlo_get_persistence(self)
5051 
5052 
5053  def get_md(self):
5054  """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
5055  return _IMP_isd.HybridMonteCarlo_get_md(self)
5056 
5057 
5058  def do_evaluate(self, arg2, arg3):
5059  """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2, bool arg3) -> double"""
5060  return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2, arg3)
5061 
5062 
5063  def do_step(self):
5064  """do_step(HybridMonteCarlo self)"""
5065  return _IMP_isd.HybridMonteCarlo_do_step(self)
5066 
5067 
5068  def __str__(self):
5069  """__str__(HybridMonteCarlo self) -> std::string"""
5070  return _IMP_isd.HybridMonteCarlo___str__(self)
5071 
5072 
5073  def __repr__(self):
5074  """__repr__(HybridMonteCarlo self) -> std::string"""
5075  return _IMP_isd.HybridMonteCarlo___repr__(self)
5076 
5077 
5078  @staticmethod
5079  def get_from(o):
5080  return _object_cast_to_HybridMonteCarlo(o)
5081 
5082 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
5083 HybridMonteCarlo_swigregister(HybridMonteCarlo)
5084 
5085 class FretData(IMP.Object):
5086  """Proxy of C++ IMP::isd::FretData class"""
5087  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5088 
5089  def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
5090  """
5091  __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
5092  __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
5093  """
5094  this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
5095  try:
5096  self.this.append(this)
5097  except:
5098  self.this = this
5099 
5100  def get_closest(self, vec, value):
5101  """get_closest(FretData self, DistBase vec, double value) -> int"""
5102  return _IMP_isd.FretData_get_closest(self, vec, value)
5103 
5104 
5105  def get_probability(self, distn, dist, sigma):
5106  """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
5107  return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
5108 
5109 
5110  def get_kernel(self, dist, R0):
5111  """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
5112  return _IMP_isd.FretData_get_kernel(self, dist, R0)
5113 
5114 
5115  def get_marginal_element(self, d_term, d_center, sigma):
5116  """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
5117  return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
5118 
5119 
5120  def get_version_info(self):
5121  """get_version_info(FretData self) -> VersionInfo"""
5122  return _IMP_isd.FretData_get_version_info(self)
5123 
5124 
5125  def __str__(self):
5126  """__str__(FretData self) -> std::string"""
5127  return _IMP_isd.FretData___str__(self)
5128 
5129 
5130  def __repr__(self):
5131  """__repr__(FretData self) -> std::string"""
5132  return _IMP_isd.FretData___repr__(self)
5133 
5134 
5135  @staticmethod
5136  def get_from(o):
5137  return _object_cast_to_FretData(o)
5138 
5139 FretData_swigregister = _IMP_isd.FretData_swigregister
5140 FretData_swigregister(FretData)
5141 
5142 class FretRestraint(IMP.Restraint):
5143  """Proxy of C++ IMP::isd::FretRestraint class"""
5144  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5145 
5146  def __init__(self, *args):
5147  """
5148  __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
5149  __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
5150  __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
5151  __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
5152  __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
5153  """
5154  this = _IMP_isd.new_FretRestraint(*args)
5155  try:
5156  self.this.append(this)
5157  except:
5158  self.this = this
5159 
5160  def get_sumFi(self):
5161  """get_sumFi(FretRestraint self) -> double"""
5162  return _IMP_isd.FretRestraint_get_sumFi(self)
5163 
5164 
5165  def get_average_sigma(self, fmod):
5166  """get_average_sigma(FretRestraint self, double fmod) -> double"""
5167  return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
5168 
5169 
5170  def get_standard_error(self):
5171  """get_standard_error(FretRestraint self) -> double"""
5172  return _IMP_isd.FretRestraint_get_standard_error(self)
5173 
5174 
5175  def get_model_fretr(self):
5176  """get_model_fretr(FretRestraint self) -> double"""
5177  return _IMP_isd.FretRestraint_get_model_fretr(self)
5178 
5179 
5180  def get_probability(self):
5181  """get_probability(FretRestraint self) -> double"""
5182  return _IMP_isd.FretRestraint_get_probability(self)
5183 
5184 
5185  def get_experimental_value(self):
5186  """get_experimental_value(FretRestraint self) -> double"""
5187  return _IMP_isd.FretRestraint_get_experimental_value(self)
5188 
5189 
5190  def set_experimental_value(self, fexp):
5191  """set_experimental_value(FretRestraint self, double fexp)"""
5192  return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
5193 
5194 
5195  def do_get_inputs(self):
5196  """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
5197  return _IMP_isd.FretRestraint_do_get_inputs(self)
5198 
5199 
5200  def get_version_info(self):
5201  """get_version_info(FretRestraint self) -> VersionInfo"""
5202  return _IMP_isd.FretRestraint_get_version_info(self)
5203 
5204 
5205  def __str__(self):
5206  """__str__(FretRestraint self) -> std::string"""
5207  return _IMP_isd.FretRestraint___str__(self)
5208 
5209 
5210  def __repr__(self):
5211  """__repr__(FretRestraint self) -> std::string"""
5212  return _IMP_isd.FretRestraint___repr__(self)
5213 
5214 
5215  @staticmethod
5216  def get_from(o):
5217  return _object_cast_to_FretRestraint(o)
5218 
5219 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
5220 FretRestraint_swigregister(FretRestraint)
5221 
5222 class CysteineCrossLinkData(IMP.Object):
5223  """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
5224  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5225 
5226  def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
5227  """
5228  __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
5229  __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
5230  """
5231  this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
5232  try:
5233  self.this.append(this)
5234  except:
5235  self.this = this
5236 
5237  def get_closest(self, vec, value):
5238  """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
5239  return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
5240 
5241 
5242  def get_omegas(self, fmods, omega0):
5243  """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
5244  return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
5245 
5246 
5247  def get_nonmarginal_elements(self, fexp, fmods, omega):
5248  """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
5249  return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
5250 
5251 
5252  def get_marginal_elements(self, fmods, omega0):
5253  """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
5254  return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
5255 
5256 
5257  def get_omega(self, fmod, omega0):
5258  """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5259  return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
5260 
5261 
5262  def get_standard_deviation(self, fmod, omega0):
5263  """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5264  return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
5265 
5266 
5267  def get_nonmarginal_element(self, fexp, fmod, omega):
5268  """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
5269  return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
5270 
5271 
5272  def get_marginal_element(self, fmod, omega0):
5273  """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5274  return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
5275 
5276 
5277  def get_version_info(self):
5278  """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
5279  return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
5280 
5281 
5282  def __str__(self):
5283  """__str__(CysteineCrossLinkData self) -> std::string"""
5284  return _IMP_isd.CysteineCrossLinkData___str__(self)
5285 
5286 
5287  def __repr__(self):
5288  """__repr__(CysteineCrossLinkData self) -> std::string"""
5289  return _IMP_isd.CysteineCrossLinkData___repr__(self)
5290 
5291 
5292  @staticmethod
5293  def get_from(o):
5294  return _object_cast_to_CysteineCrossLinkData(o)
5295 
5296 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
5297 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
5298 
5299 class CrossLinkData(IMP.Object):
5300  """Proxy of C++ IMP::isd::CrossLinkData class"""
5301  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5302 
5303  def __init__(self, *args):
5304  """
5305  __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
5306  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
5307  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
5308  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
5309  __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
5310  __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
5311  __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
5312  __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
5313  """
5314  this = _IMP_isd.new_CrossLinkData(*args)
5315  try:
5316  self.this.append(this)
5317  except:
5318  self.this = this
5319 
5320  def get_closest(self, vec, value):
5321  """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
5322  return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
5323 
5324 
5325  def get_omegas(self, sigma, dists):
5326  """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5327  return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
5328 
5329 
5330  def get_omega_prior(self, omega, omega0):
5331  """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
5332  return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
5333 
5334 
5335  def get_nonmarginal_elements(self, sigmai, dists):
5336  """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
5337  return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
5338 
5339 
5340  def get_marginal_elements(self, sigma, dists):
5341  """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5342  return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
5343 
5344 
5345  def get_marginal_maximum(self, *args):
5346  """
5347  get_marginal_maximum(CrossLinkData self, double sigma) -> double
5348  get_marginal_maximum(CrossLinkData self) -> double
5349  """
5350  return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
5351 
5352 
5353  def get_version_info(self):
5354  """get_version_info(CrossLinkData self) -> VersionInfo"""
5355  return _IMP_isd.CrossLinkData_get_version_info(self)
5356 
5357 
5358  def __str__(self):
5359  """__str__(CrossLinkData self) -> std::string"""
5360  return _IMP_isd.CrossLinkData___str__(self)
5361 
5362 
5363  def __repr__(self):
5364  """__repr__(CrossLinkData self) -> std::string"""
5365  return _IMP_isd.CrossLinkData___repr__(self)
5366 
5367 
5368  @staticmethod
5369  def get_from(o):
5370  return _object_cast_to_CrossLinkData(o)
5371 
5372 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
5373 CrossLinkData_swigregister(CrossLinkData)
5374 
5375 class CysteineCrossLinkRestraint(IMP.Restraint):
5376  """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
5377  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5378 
5379  def __init__(self, *args):
5380  """
5381  __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
5382  __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
5383  """
5384  this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
5385  try:
5386  self.this.append(this)
5387  except:
5388  self.this = this
5389 
5390  def get_probability(self):
5391  """get_probability(CysteineCrossLinkRestraint self) -> double"""
5392  return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
5393 
5394 
5395  def get_standard_error(self):
5396  """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
5397  return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
5398 
5399 
5400  def get_frequencies(self):
5401  """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5402  return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
5403 
5404 
5405  def get_model_frequency(self):
5406  """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
5407  return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
5408 
5409 
5410  def get_distances(self):
5411  """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5412  return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
5413 
5414 
5415  def get_truncated_normalization(self, mean, sigma):
5416  """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
5417  return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
5418 
5419 
5420  def get_normal_pdf(self, mean, sigma, x):
5421  """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
5422  return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
5423 
5424 
5425  def add_contribution(self, *args):
5426  """
5427  add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
5428  add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
5429  """
5430  return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
5431 
5432 
5433  def get_CB_coordinates(self, ps):
5434  """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
5435  return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
5436 
5437 
5438  def get_number_of_contributions(self):
5439  """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
5440  return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
5441 
5442 
5443  def do_get_inputs(self):
5444  """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
5445  return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
5446 
5447 
5448  def get_version_info(self):
5449  """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
5450  return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
5451 
5452 
5453  def __str__(self):
5454  """__str__(CysteineCrossLinkRestraint self) -> std::string"""
5455  return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
5456 
5457 
5458  def __repr__(self):
5459  """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
5460  return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
5461 
5462 
5463  @staticmethod
5464  def get_from(o):
5465  return _object_cast_to_CysteineCrossLinkRestraint(o)
5466 
5467 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
5468 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
5469 
5470 class WeightMover(IMP.core.MonteCarloMover):
5471  """Proxy of C++ IMP::isd::WeightMover class"""
5472  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5473 
5474  def __init__(self, w, radius):
5475  """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
5476  this = _IMP_isd.new_WeightMover(w, radius)
5477  try:
5478  self.this.append(this)
5479  except:
5480  self.this = this
5481 
5482  def set_radius(self, radius):
5483  """set_radius(WeightMover self, IMP::Float radius)"""
5484  return _IMP_isd.WeightMover_set_radius(self, radius)
5485 
5486 
5487  def get_radius(self):
5488  """get_radius(WeightMover self) -> IMP::Float"""
5489  return _IMP_isd.WeightMover_get_radius(self)
5490 
5491 
5492  def get_version_info(self):
5493  """get_version_info(WeightMover self) -> VersionInfo"""
5494  return _IMP_isd.WeightMover_get_version_info(self)
5495 
5496 
5497  def __str__(self):
5498  """__str__(WeightMover self) -> std::string"""
5499  return _IMP_isd.WeightMover___str__(self)
5500 
5501 
5502  def __repr__(self):
5503  """__repr__(WeightMover self) -> std::string"""
5504  return _IMP_isd.WeightMover___repr__(self)
5505 
5506 
5507  @staticmethod
5508  def get_from(o):
5509  return _object_cast_to_WeightMover(o)
5510 
5511 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
5512 WeightMover_swigregister(WeightMover)
5513 
5514 class WeightRestraint(IMP.Restraint):
5515  """Proxy of C++ IMP::isd::WeightRestraint class"""
5516  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5517 
5518  def __init__(self, w, wmin, wmax, kappa):
5519  """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
5520  this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
5521  try:
5522  self.this.append(this)
5523  except:
5524  self.this = this
5525 
5526  def do_get_inputs(self):
5527  """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
5528  return _IMP_isd.WeightRestraint_do_get_inputs(self)
5529 
5530 
5531  def get_version_info(self):
5532  """get_version_info(WeightRestraint self) -> VersionInfo"""
5533  return _IMP_isd.WeightRestraint_get_version_info(self)
5534 
5535 
5536  def __str__(self):
5537  """__str__(WeightRestraint self) -> std::string"""
5538  return _IMP_isd.WeightRestraint___str__(self)
5539 
5540 
5541  def __repr__(self):
5542  """__repr__(WeightRestraint self) -> std::string"""
5543  return _IMP_isd.WeightRestraint___repr__(self)
5544 
5545 
5546  @staticmethod
5547  def get_from(o):
5548  return _object_cast_to_WeightRestraint(o)
5549 
5550 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
5551 WeightRestraint_swigregister(WeightRestraint)
5552 
5553 class AtomicCrossLinkMSRestraint(IMP.Restraint):
5554  """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class"""
5555  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5556 
5557  def __init__(self, *args):
5558  """
5559  __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
5560  __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
5561  __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
5562  __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
5563  """
5564  this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
5565  try:
5566  self.this.append(this)
5567  except:
5568  self.this = this
5569 
5570  def add_contribution(self, ppi, sigmas):
5571  """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
5572  return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
5573 
5574 
5575  def evaluate_for_contributions(self, c, accum):
5576  """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
5577  return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
5578 
5579 
5580  def get_number_of_contributions(self):
5581  """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
5582  return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
5583 
5584 
5585  def get_contribution(self, i):
5586  """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5587  return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
5588 
5589 
5590  def get_contribution_sigmas(self, i):
5591  """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5592  return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5593 
5594 
5595  def get_psi(self):
5596  """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5597  return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5598 
5599 
5600  def do_get_inputs(self):
5601  """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5602  return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5603 
5604 
5605  def show(self, out):
5606  """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5607  return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5608 
5609 
5610  def set_slope(self, slope):
5611  """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5612  return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5613 
5614 
5615  def set_part_of_log_score(self, hey):
5616  """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5617  return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5618 
5619 
5620  def get_version_info(self):
5621  """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5622  return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5623 
5624 
5625  def __str__(self):
5626  """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5627  return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5628 
5629 
5630  def __repr__(self):
5631  """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5632  return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5633 
5634 
5635  @staticmethod
5636  def get_from(o):
5637  return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5638 
5639 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5640 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5641 
5642 class GaussianEMRestraint(IMP.Restraint):
5643  """Proxy of C++ IMP::isd::GaussianEMRestraint class"""
5644  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5645 
5646  def __init__(self, *args):
5647  """
5648  __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
5649  __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
5650  __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
5651  __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
5652  __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
5653  """
5654  this = _IMP_isd.new_GaussianEMRestraint(*args)
5655  try:
5656  self.this.append(this)
5657  except:
5658  self.this = this
5659 
5660  def get_probability(self):
5661  """get_probability(GaussianEMRestraint self) -> double"""
5662  return _IMP_isd.GaussianEMRestraint_get_probability(self)
5663 
5664 
5666  """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5667  return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5668 
5669 
5670  def set_density_filename(self, density_fn):
5671  """set_density_filename(GaussianEMRestraint self, std::string density_fn)"""
5672  return _IMP_isd.GaussianEMRestraint_set_density_filename(self, density_fn)
5673 
5674 
5675  def compute_initial_scores(self):
5676  """compute_initial_scores(GaussianEMRestraint self)"""
5677  return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5678 
5679 
5680  def set_slope(self, s):
5681  """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5682  return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5683 
5684 
5685  def get_slope(self):
5686  """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5687  return _IMP_isd.GaussianEMRestraint_get_slope(self)
5688 
5689 
5690  def do_get_inputs(self):
5691  """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5692  return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5693 
5694 
5695  def show(self, out):
5696  """show(GaussianEMRestraint self, _ostream out)"""
5697  return _IMP_isd.GaussianEMRestraint_show(self, out)
5698 
5699 
5700  def get_version_info(self):
5701  """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5702  return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5703 
5704 
5705  def __str__(self):
5706  """__str__(GaussianEMRestraint self) -> std::string"""
5707  return _IMP_isd.GaussianEMRestraint___str__(self)
5708 
5709 
5710  def __repr__(self):
5711  """__repr__(GaussianEMRestraint self) -> std::string"""
5712  return _IMP_isd.GaussianEMRestraint___repr__(self)
5713 
5714 
5715  @staticmethod
5716  def get_from(o):
5717  return _object_cast_to_GaussianEMRestraint(o)
5718 
5719 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5720 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5721 
5722 class GaussianAnchorEMRestraint(ISDRestraint):
5723  """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class"""
5724  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5725 
5726  def __init__(self, *args):
5727  """
5728  __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
5729  __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
5730  """
5731  this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5732  try:
5733  self.this.append(this)
5734  except:
5735  self.this = this
5736 
5737  def get_density_particles(self):
5738  """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5739  return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5740 
5741 
5742  def __str__(self):
5743  """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5744  return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5745 
5746 
5747  def __repr__(self):
5748  """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5749  return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5750 
5751 
5752  @staticmethod
5753  def get_from(o):
5754  return _object_cast_to_GaussianAnchorEMRestraint(o)
5755 
5756 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5757 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5758 
5759 class GammaPrior(IMP.Restraint):
5760  """Proxy of C++ IMP::isd::GammaPrior class"""
5761  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5762 
5763  def __init__(self, *args):
5764  """
5765  __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta, std::string name) -> GammaPrior
5766  __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta) -> GammaPrior
5767  """
5768  this = _IMP_isd.new_GammaPrior(*args)
5769  try:
5770  self.this.append(this)
5771  except:
5772  self.this = this
5773 
5774  def evaluate_at(self, val):
5775  """evaluate_at(GammaPrior self, IMP::Float val) -> double"""
5776  return _IMP_isd.GammaPrior_evaluate_at(self, val)
5777 
5778 
5779  def do_get_inputs(self):
5780  """do_get_inputs(GammaPrior self) -> IMP::ModelObjectsTemp"""
5781  return _IMP_isd.GammaPrior_do_get_inputs(self)
5782 
5783 
5784  def get_version_info(self):
5785  """get_version_info(GammaPrior self) -> VersionInfo"""
5786  return _IMP_isd.GammaPrior_get_version_info(self)
5787 
5788 
5789  def get_probability(self):
5790  """get_probability(GammaPrior self) -> double"""
5791  return _IMP_isd.GammaPrior_get_probability(self)
5792 
5793 
5794  def __str__(self):
5795  """__str__(GammaPrior self) -> std::string"""
5796  return _IMP_isd.GammaPrior___str__(self)
5797 
5798 
5799  def __repr__(self):
5800  """__repr__(GammaPrior self) -> std::string"""
5801  return _IMP_isd.GammaPrior___repr__(self)
5802 
5803 
5804  @staticmethod
5805  def get_from(o):
5806  return _object_cast_to_GammaPrior(o)
5807 
5808 GammaPrior_swigregister = _IMP_isd.GammaPrior_swigregister
5809 GammaPrior_swigregister(GammaPrior)
5810 
5811 
5812 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5813  """
5814  sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5815  sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5816  """
5817  return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5818 
5819 def get_module_version():
5820  """get_module_version() -> std::string const"""
5821  return _IMP_isd.get_module_version()
5822 
5823 def get_example_path(fname):
5824  """get_example_path(std::string fname) -> std::string"""
5825  return _IMP_isd.get_example_path(fname)
5826 
5827 def get_data_path(fname):
5828  """get_data_path(std::string fname) -> std::string"""
5829  return _IMP_isd.get_data_path(fname)
5830 
5831 from . import _version_check
5832 _version_check.check_version(get_module_version())
5833 __version__ = get_module_version()
5834 
5835 
5836 
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:42
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:73
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