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