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