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