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