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