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