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