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