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