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