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