IMP  2.3.0
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 def create_model_and_particles():
607  m= IMP.Model()
610  IMP.algebra.Vector3D(10,10,10))
611  for i in range(0,100):
612  p= IMP.Particle(m)
613  sc.add_particle(p)
615  d.set_coordinates_are_optimized(True)
616  return (m, sc)
617 
618 class CrossLinkMSRestraint(IMP.kernel.Restraint):
619  """Proxy of C++ IMP::isd::CrossLinkMSRestraint class"""
620  __swig_setmethods__ = {}
621  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
622  __setattr__ = lambda self, name, value: _swig_setattr(self, CrossLinkMSRestraint, name, value)
623  __swig_getmethods__ = {}
624  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
625  __getattr__ = lambda self, name: _swig_getattr(self, CrossLinkMSRestraint, name)
626  def __init__(self, *args):
627  """
628  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, std::string name="CrossLinkMSRestraint%1%") -> CrossLinkMSRestraint
629  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
630  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, std::string name="CrossLinkMSRestraint%1%") -> CrossLinkMSRestraint
631  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
632  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, std::string name="CrossLinkMSRestraint%1%") -> CrossLinkMSRestraint
633  __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
634  """
635  this = _IMP_isd.new_CrossLinkMSRestraint(*args)
636  try: self.this.append(this)
637  except: self.this = this
638  def add_contribution(self, *args):
639  """
640  add_contribution(CrossLinkMSRestraint self, IMP::kernel::ParticleIndexPair const & pps, IMP::kernel::ParticleIndexPair const & sigmas,
641  IMP::kernel::ParticleIndex const & psi)
642  """
643  return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, *args)
644 
645  def get_probability(self):
646  """get_probability(CrossLinkMSRestraint self) -> double"""
647  return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
648 
649  def get_number_of_contributions(self):
650  """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
651  return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
652 
653  def do_get_inputs(self):
654  """do_get_inputs(CrossLinkMSRestraint self) -> IMP::kernel::ModelObjectsTemp"""
655  return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
656 
657  def get_version_info(self):
658  """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
659  return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
660 
661  def __str__(self):
662  """__str__(CrossLinkMSRestraint self) -> std::string"""
663  return _IMP_isd.CrossLinkMSRestraint___str__(self)
664 
665  def __repr__(self):
666  """__repr__(CrossLinkMSRestraint self) -> std::string"""
667  return _IMP_isd.CrossLinkMSRestraint___repr__(self)
668 
669  def get_from(o):
670  return _object_cast_to_CrossLinkMSRestraint(o)
671  get_from = staticmethod(get_from)
672 
673 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
674 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
675 
676 class LogWrapper(IMP.kernel.Restraint):
677  """Proxy of C++ IMP::isd::LogWrapper class"""
678  __swig_setmethods__ = {}
679  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
680  __setattr__ = lambda self, name, value: _swig_setattr(self, LogWrapper, name, value)
681  __swig_getmethods__ = {}
682  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
683  __getattr__ = lambda self, name: _swig_getattr(self, LogWrapper, name)
684  def __init__(self, *args):
685  """
686  __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name="LogWrapper %1%") -> LogWrapper
687  __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
688  __init__(IMP::isd::LogWrapper self, Model m, std::string const & name="LogWrapper %1%") -> LogWrapper
689  __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
690  __init__(IMP::isd::LogWrapper self, IMP::kernel::RestraintsTemp const & rs, double weight, std::string const & name="LogWrapper %1%") -> LogWrapper
691  __init__(IMP::isd::LogWrapper self, IMP::kernel::RestraintsTemp const & rs, double weight) -> LogWrapper
692  """
693  this = _IMP_isd.new_LogWrapper(*args)
694  try: self.this.append(this)
695  except: self.this = this
696  def do_get_inputs(self):
697  """do_get_inputs(LogWrapper self) -> IMP::kernel::ModelObjectsTemp"""
698  return _IMP_isd.LogWrapper_do_get_inputs(self)
699 
700  def get_version_info(self):
701  """get_version_info(LogWrapper self) -> VersionInfo"""
702  return _IMP_isd.LogWrapper_get_version_info(self)
703 
704  def remove_restraint(self, *args):
705  """remove_restraint(LogWrapper self, Restraint d)"""
706  return _IMP_isd.LogWrapper_remove_restraint(self, *args)
707 
708  def remove_restraints(self, *args):
709  """remove_restraints(LogWrapper self, IMP::kernel::Restraints const & d)"""
710  return _IMP_isd.LogWrapper_remove_restraints(self, *args)
711 
712  def set_restraints(self, *args):
713  """set_restraints(LogWrapper self, IMP::kernel::Restraints const & ps)"""
714  return _IMP_isd.LogWrapper_set_restraints(self, *args)
715 
716  def set_restraints_order(self, *args):
717  """set_restraints_order(LogWrapper self, IMP::kernel::Restraints const & objs)"""
718  return _IMP_isd.LogWrapper_set_restraints_order(self, *args)
719 
720  def add_restraint(self, *args):
721  """add_restraint(LogWrapper self, Restraint obj) -> unsigned int"""
722  return _IMP_isd.LogWrapper_add_restraint(self, *args)
723 
724  def add_restraints(self, *args):
725  """add_restraints(LogWrapper self, IMP::kernel::Restraints const & objs)"""
726  return _IMP_isd.LogWrapper_add_restraints(self, *args)
727 
728  def clear_restraints(self):
729  """clear_restraints(LogWrapper self)"""
730  return _IMP_isd.LogWrapper_clear_restraints(self)
731 
732  def get_number_of_restraints(self):
733  """get_number_of_restraints(LogWrapper self) -> unsigned int"""
734  return _IMP_isd.LogWrapper_get_number_of_restraints(self)
735 
736  def get_has_restraints(self):
737  """get_has_restraints(LogWrapper self) -> bool"""
738  return _IMP_isd.LogWrapper_get_has_restraints(self)
739 
740  def get_restraint(self, *args):
741  """get_restraint(LogWrapper self, unsigned int i) -> Restraint"""
742  return _IMP_isd.LogWrapper_get_restraint(self, *args)
743 
744  def get_restraints(self):
745  """get_restraints(LogWrapper self) -> IMP::kernel::Restraints"""
746  return _IMP_isd.LogWrapper_get_restraints(self)
747 
748  def reserve_restraints(self, *args):
749  """reserve_restraints(LogWrapper self, unsigned int sz)"""
750  return _IMP_isd.LogWrapper_reserve_restraints(self, *args)
751 
752  def __str__(self):
753  """__str__(LogWrapper self) -> std::string"""
754  return _IMP_isd.LogWrapper___str__(self)
755 
756  def __repr__(self):
757  """__repr__(LogWrapper self) -> std::string"""
758  return _IMP_isd.LogWrapper___repr__(self)
759 
760  def get_from(o):
761  return _object_cast_to_LogWrapper(o)
762  get_from = staticmethod(get_from)
763 
764 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
765 LogWrapper_swigregister(LogWrapper)
766 
767 class UniformPrior(IMP.kernel.Restraint):
768  """Proxy of C++ IMP::isd::UniformPrior class"""
769  __swig_setmethods__ = {}
770  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
771  __setattr__ = lambda self, name, value: _swig_setattr(self, UniformPrior, name, value)
772  __swig_getmethods__ = {}
773  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
774  __getattr__ = lambda self, name: _swig_getattr(self, UniformPrior, name)
775  def __init__(self, *args):
776  """
777  __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name="UniformPrior%1%") -> UniformPrior
778  __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
779  """
780  this = _IMP_isd.new_UniformPrior(*args)
781  try: self.this.append(this)
782  except: self.this = this
783  def do_get_inputs(self):
784  """do_get_inputs(UniformPrior self) -> IMP::kernel::ModelObjectsTemp"""
785  return _IMP_isd.UniformPrior_do_get_inputs(self)
786 
787  def get_version_info(self):
788  """get_version_info(UniformPrior self) -> VersionInfo"""
789  return _IMP_isd.UniformPrior_get_version_info(self)
790 
791  def get_probability(self):
792  """get_probability(UniformPrior self) -> double"""
793  return _IMP_isd.UniformPrior_get_probability(self)
794 
795  def __str__(self):
796  """__str__(UniformPrior self) -> std::string"""
797  return _IMP_isd.UniformPrior___str__(self)
798 
799  def __repr__(self):
800  """__repr__(UniformPrior self) -> std::string"""
801  return _IMP_isd.UniformPrior___repr__(self)
802 
803  def get_from(o):
804  return _object_cast_to_UniformPrior(o)
805  get_from = staticmethod(get_from)
806 
807 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
808 UniformPrior_swigregister(UniformPrior)
809 
810 class Nuisance(IMP.kernel.Decorator):
811  """Proxy of C++ IMP::isd::Nuisance class"""
812  __swig_setmethods__ = {}
813  for _s in [IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
814  __setattr__ = lambda self, name, value: _swig_setattr(self, Nuisance, name, value)
815  __swig_getmethods__ = {}
816  for _s in [IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
817  __getattr__ = lambda self, name: _swig_getattr(self, Nuisance, name)
818  def __init__(self, *args):
819  """
820  __init__(IMP::isd::Nuisance self) -> Nuisance
821  __init__(IMP::isd::Nuisance self, Model m, ::IMP::kernel::ParticleIndex id) -> Nuisance
822  __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
823  """
824  this = _IMP_isd.new_Nuisance(*args)
825  try: self.this.append(this)
826  except: self.this = this
827  def show(self, *args):
828  """
829  show(Nuisance self, _ostream out=std::cout)
830  show(Nuisance self)
831  """
832  return _IMP_isd.Nuisance_show(self, *args)
833 
834  def setup_particle(*args):
835  """
836  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Nuisance
837  setup_particle(_ParticleAdaptor decorator) -> Nuisance
838  setup_particle(Model m, IMP::kernel::ParticleIndex pi, double nuisance) -> Nuisance
839  setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
840  """
841  return _IMP_isd.Nuisance_setup_particle(*args)
842 
843  if _newclass:setup_particle = staticmethod(setup_particle)
844  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
845  def get_is_setup(*args):
846  """
847  get_is_setup(_ParticleAdaptor p) -> bool
848  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
849  """
850  return _IMP_isd.Nuisance_get_is_setup(*args)
851 
852  if _newclass:get_is_setup = staticmethod(get_is_setup)
853  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
854  def get_nuisance_key():
855  """get_nuisance_key() -> FloatKey"""
856  return _IMP_isd.Nuisance_get_nuisance_key()
857 
858  if _newclass:get_nuisance_key = staticmethod(get_nuisance_key)
859  __swig_getmethods__["get_nuisance_key"] = lambda x: get_nuisance_key
860  def get_nuisance(self):
861  """get_nuisance(Nuisance self) -> IMP::Float"""
862  return _IMP_isd.Nuisance_get_nuisance(self)
863 
864  def set_nuisance(self, *args):
865  """set_nuisance(Nuisance self, IMP::Float d)"""
866  return _IMP_isd.Nuisance_set_nuisance(self, *args)
867 
868  def get_has_lower(self):
869  """get_has_lower(Nuisance self) -> bool"""
870  return _IMP_isd.Nuisance_get_has_lower(self)
871 
872  def get_lower(self):
873  """get_lower(Nuisance self) -> IMP::Float"""
874  return _IMP_isd.Nuisance_get_lower(self)
875 
876  def get_lower_key():
877  """get_lower_key() -> FloatKey"""
878  return _IMP_isd.Nuisance_get_lower_key()
879 
880  if _newclass:get_lower_key = staticmethod(get_lower_key)
881  __swig_getmethods__["get_lower_key"] = lambda x: get_lower_key
882  def get_lower_particle_key():
883  """get_lower_particle_key() -> ParticleIndexKey"""
884  return _IMP_isd.Nuisance_get_lower_particle_key()
885 
886  if _newclass:get_lower_particle_key = staticmethod(get_lower_particle_key)
887  __swig_getmethods__["get_lower_particle_key"] = lambda x: get_lower_particle_key
888  def set_lower(self, *args):
889  """
890  set_lower(Nuisance self, IMP::Float d)
891  set_lower(Nuisance self, Particle d)
892  """
893  return _IMP_isd.Nuisance_set_lower(self, *args)
894 
895  def remove_lower(self):
896  """remove_lower(Nuisance self)"""
897  return _IMP_isd.Nuisance_remove_lower(self)
898 
899  def get_has_upper(self):
900  """get_has_upper(Nuisance self) -> bool"""
901  return _IMP_isd.Nuisance_get_has_upper(self)
902 
903  def get_upper(self):
904  """get_upper(Nuisance self) -> IMP::Float"""
905  return _IMP_isd.Nuisance_get_upper(self)
906 
907  def get_upper_key():
908  """get_upper_key() -> FloatKey"""
909  return _IMP_isd.Nuisance_get_upper_key()
910 
911  if _newclass:get_upper_key = staticmethod(get_upper_key)
912  __swig_getmethods__["get_upper_key"] = lambda x: get_upper_key
913  def get_upper_particle_key():
914  """get_upper_particle_key() -> ParticleIndexKey"""
915  return _IMP_isd.Nuisance_get_upper_particle_key()
916 
917  if _newclass:get_upper_particle_key = staticmethod(get_upper_particle_key)
918  __swig_getmethods__["get_upper_particle_key"] = lambda x: get_upper_particle_key
919  def set_upper(self, *args):
920  """
921  set_upper(Nuisance self, IMP::Float d)
922  set_upper(Nuisance self, Particle d)
923  """
924  return _IMP_isd.Nuisance_set_upper(self, *args)
925 
926  def remove_upper(self):
927  """remove_upper(Nuisance self)"""
928  return _IMP_isd.Nuisance_remove_upper(self)
929 
930  def get_nuisance_derivative(self):
931  """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
932  return _IMP_isd.Nuisance_get_nuisance_derivative(self)
933 
934  def add_to_nuisance_derivative(self, *args):
935  """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
936  return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, *args)
937 
938  def get_nuisance_is_optimized(self):
939  """get_nuisance_is_optimized(Nuisance self) -> bool"""
940  return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
941 
942  def set_nuisance_is_optimized(self, *args):
943  """set_nuisance_is_optimized(Nuisance self, bool val)"""
944  return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, *args)
945 
946  def add_attribute(self, *args):
947  """
948  add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
949  add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
950  add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
951  add_attribute(Nuisance self, StringKey a0, IMP::String a1)
952  add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
953  add_attribute(Nuisance self, ObjectKey a0, Object a1)
954  """
955  return _IMP_isd.Nuisance_add_attribute(self, *args)
956 
957  def get_value(self, *args):
958  """
959  get_value(Nuisance self, FloatKey a0) -> IMP::Float
960  get_value(Nuisance self, IntKey a0) -> IMP::Int
961  get_value(Nuisance self, StringKey a0) -> IMP::String
962  get_value(Nuisance self, ParticleIndexKey a0) -> Particle
963  get_value(Nuisance self, ObjectKey a0) -> Object
964  """
965  return _IMP_isd.Nuisance_get_value(self, *args)
966 
967  def set_value(self, *args):
968  """
969  set_value(Nuisance self, FloatKey a0, IMP::Float a1)
970  set_value(Nuisance self, IntKey a0, IMP::Int a1)
971  set_value(Nuisance self, StringKey a0, IMP::String a1)
972  set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
973  set_value(Nuisance self, ObjectKey a0, Object a1)
974  """
975  return _IMP_isd.Nuisance_set_value(self, *args)
976 
977  def remove_attribute(self, *args):
978  """
979  remove_attribute(Nuisance self, FloatKey a0)
980  remove_attribute(Nuisance self, IntKey a0)
981  remove_attribute(Nuisance self, StringKey a0)
982  remove_attribute(Nuisance self, ParticleIndexKey a0)
983  remove_attribute(Nuisance self, ObjectKey a0)
984  """
985  return _IMP_isd.Nuisance_remove_attribute(self, *args)
986 
987  def has_attribute(self, *args):
988  """
989  has_attribute(Nuisance self, FloatKey a0) -> bool
990  has_attribute(Nuisance self, IntKey a0) -> bool
991  has_attribute(Nuisance self, StringKey a0) -> bool
992  has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
993  has_attribute(Nuisance self, ObjectKey a0) -> bool
994  """
995  return _IMP_isd.Nuisance_has_attribute(self, *args)
996 
997  def get_derivative(self, *args):
998  """get_derivative(Nuisance self, FloatKey a0) -> double"""
999  return _IMP_isd.Nuisance_get_derivative(self, *args)
1000 
1001  def get_name(self):
1002  """get_name(Nuisance self) -> std::string"""
1003  return _IMP_isd.Nuisance_get_name(self)
1004 
1005  def clear_caches(self):
1006  """clear_caches(Nuisance self)"""
1007  return _IMP_isd.Nuisance_clear_caches(self)
1008 
1009  def set_name(self, *args):
1010  """set_name(Nuisance self, std::string a0)"""
1011  return _IMP_isd.Nuisance_set_name(self, *args)
1012 
1013  def set_check_level(self, *args):
1014  """set_check_level(Nuisance self, IMP::base::CheckLevel a0)"""
1015  return _IMP_isd.Nuisance_set_check_level(self, *args)
1016 
1017  def add_to_derivative(self, *args):
1018  """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1019  return _IMP_isd.Nuisance_add_to_derivative(self, *args)
1020 
1021  def set_is_optimized(self, *args):
1022  """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1023  return _IMP_isd.Nuisance_set_is_optimized(self, *args)
1024 
1025  def get_is_optimized(self, *args):
1026  """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1027  return _IMP_isd.Nuisance_get_is_optimized(self, *args)
1028 
1029  def get_check_level(self):
1030  """get_check_level(Nuisance self) -> IMP::base::CheckLevel"""
1031  return _IMP_isd.Nuisance_get_check_level(self)
1032 
1033  def __eq__(self, *args):
1034  """
1035  __eq__(Nuisance self, Nuisance o) -> bool
1036  __eq__(Nuisance self, Particle d) -> bool
1037  """
1038  return _IMP_isd.Nuisance___eq__(self, *args)
1039 
1040  def __ne__(self, *args):
1041  """
1042  __ne__(Nuisance self, Nuisance o) -> bool
1043  __ne__(Nuisance self, Particle d) -> bool
1044  """
1045  return _IMP_isd.Nuisance___ne__(self, *args)
1046 
1047  def __le__(self, *args):
1048  """
1049  __le__(Nuisance self, Nuisance o) -> bool
1050  __le__(Nuisance self, Particle d) -> bool
1051  """
1052  return _IMP_isd.Nuisance___le__(self, *args)
1053 
1054  def __lt__(self, *args):
1055  """
1056  __lt__(Nuisance self, Nuisance o) -> bool
1057  __lt__(Nuisance self, Particle d) -> bool
1058  """
1059  return _IMP_isd.Nuisance___lt__(self, *args)
1060 
1061  def __ge__(self, *args):
1062  """
1063  __ge__(Nuisance self, Nuisance o) -> bool
1064  __ge__(Nuisance self, Particle d) -> bool
1065  """
1066  return _IMP_isd.Nuisance___ge__(self, *args)
1067 
1068  def __gt__(self, *args):
1069  """
1070  __gt__(Nuisance self, Nuisance o) -> bool
1071  __gt__(Nuisance self, Particle d) -> bool
1072  """
1073  return _IMP_isd.Nuisance___gt__(self, *args)
1074 
1075  def __str__(self):
1076  """__str__(Nuisance self) -> std::string"""
1077  return _IMP_isd.Nuisance___str__(self)
1078 
1079  def __repr__(self):
1080  """__repr__(Nuisance self) -> std::string"""
1081  return _IMP_isd.Nuisance___repr__(self)
1082 
1083  __swig_destroy__ = _IMP_isd.delete_Nuisance
1084  __del__ = lambda self : None;
1085 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1086 Nuisance_swigregister(Nuisance)
1087 
1088 def Nuisance_setup_particle(*args):
1089  """
1090  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Nuisance
1091  setup_particle(_ParticleAdaptor decorator) -> Nuisance
1092  setup_particle(Model m, IMP::kernel::ParticleIndex pi, double nuisance) -> Nuisance
1093  Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1094  """
1095  return _IMP_isd.Nuisance_setup_particle(*args)
1096 
1097 def Nuisance_get_is_setup(*args):
1098  """
1099  get_is_setup(_ParticleAdaptor p) -> bool
1100  Nuisance_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1101  """
1102  return _IMP_isd.Nuisance_get_is_setup(*args)
1103 
1104 def Nuisance_get_nuisance_key():
1105  """Nuisance_get_nuisance_key() -> FloatKey"""
1106  return _IMP_isd.Nuisance_get_nuisance_key()
1107 
1108 def Nuisance_get_lower_key():
1109  """Nuisance_get_lower_key() -> FloatKey"""
1110  return _IMP_isd.Nuisance_get_lower_key()
1111 
1112 def Nuisance_get_lower_particle_key():
1113  """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1114  return _IMP_isd.Nuisance_get_lower_particle_key()
1115 
1116 def Nuisance_get_upper_key():
1117  """Nuisance_get_upper_key() -> FloatKey"""
1118  return _IMP_isd.Nuisance_get_upper_key()
1119 
1120 def Nuisance_get_upper_particle_key():
1121  """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1122  return _IMP_isd.Nuisance_get_upper_particle_key()
1123 
1124 class Scale(Nuisance):
1125  """Proxy of C++ IMP::isd::Scale class"""
1126  __swig_setmethods__ = {}
1127  for _s in [Nuisance]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1128  __setattr__ = lambda self, name, value: _swig_setattr(self, Scale, name, value)
1129  __swig_getmethods__ = {}
1130  for _s in [Nuisance]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1131  __getattr__ = lambda self, name: _swig_getattr(self, Scale, name)
1132  def __init__(self, *args):
1133  """
1134  __init__(IMP::isd::Scale self) -> Scale
1135  __init__(IMP::isd::Scale self, Model m, ::IMP::kernel::ParticleIndex id) -> Scale
1136  __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1137  """
1138  this = _IMP_isd.new_Scale(*args)
1139  try: self.this.append(this)
1140  except: self.this = this
1141  def show(self, *args):
1142  """
1143  show(Scale self, _ostream out=std::cout)
1144  show(Scale self)
1145  """
1146  return _IMP_isd.Scale_show(self, *args)
1147 
1148  def setup_particle(*args):
1149  """
1150  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Scale
1151  setup_particle(_ParticleAdaptor decorator) -> Scale
1152  setup_particle(Model m, IMP::kernel::ParticleIndex pi, double scale) -> Scale
1153  setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1154  """
1155  return _IMP_isd.Scale_setup_particle(*args)
1156 
1157  if _newclass:setup_particle = staticmethod(setup_particle)
1158  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
1159  def get_is_setup(*args):
1160  """
1161  get_is_setup(_ParticleAdaptor p) -> bool
1162  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1163  """
1164  return _IMP_isd.Scale_get_is_setup(*args)
1165 
1166  if _newclass:get_is_setup = staticmethod(get_is_setup)
1167  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
1168  def get_scale(self):
1169  """get_scale(Scale self) -> IMP::Float"""
1170  return _IMP_isd.Scale_get_scale(self)
1171 
1172  def set_scale(self, *args):
1173  """set_scale(Scale self, IMP::Float d)"""
1174  return _IMP_isd.Scale_set_scale(self, *args)
1175 
1176  def add_to_scale_derivative(self, *args):
1177  """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1178  return _IMP_isd.Scale_add_to_scale_derivative(self, *args)
1179 
1180  def get_scale_derivative(self):
1181  """get_scale_derivative(Scale self) -> IMP::Float"""
1182  return _IMP_isd.Scale_get_scale_derivative(self)
1183 
1184  def get_scale_key():
1185  """get_scale_key() -> FloatKey"""
1186  return _IMP_isd.Scale_get_scale_key()
1187 
1188  if _newclass:get_scale_key = staticmethod(get_scale_key)
1189  __swig_getmethods__["get_scale_key"] = lambda x: get_scale_key
1190  def get_scale_is_optimized(self):
1191  """get_scale_is_optimized(Scale self) -> bool"""
1192  return _IMP_isd.Scale_get_scale_is_optimized(self)
1193 
1194  def set_scale_is_optimized(self, *args):
1195  """set_scale_is_optimized(Scale self, bool val)"""
1196  return _IMP_isd.Scale_set_scale_is_optimized(self, *args)
1197 
1198  def add_attribute(self, *args):
1199  """
1200  add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1201  add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1202  add_attribute(Scale self, IntKey a0, IMP::Int a1)
1203  add_attribute(Scale self, StringKey a0, IMP::String a1)
1204  add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1205  add_attribute(Scale self, ObjectKey a0, Object a1)
1206  """
1207  return _IMP_isd.Scale_add_attribute(self, *args)
1208 
1209  def get_value(self, *args):
1210  """
1211  get_value(Scale self, FloatKey a0) -> IMP::Float
1212  get_value(Scale self, IntKey a0) -> IMP::Int
1213  get_value(Scale self, StringKey a0) -> IMP::String
1214  get_value(Scale self, ParticleIndexKey a0) -> Particle
1215  get_value(Scale self, ObjectKey a0) -> Object
1216  """
1217  return _IMP_isd.Scale_get_value(self, *args)
1218 
1219  def set_value(self, *args):
1220  """
1221  set_value(Scale self, FloatKey a0, IMP::Float a1)
1222  set_value(Scale self, IntKey a0, IMP::Int a1)
1223  set_value(Scale self, StringKey a0, IMP::String a1)
1224  set_value(Scale self, ParticleIndexKey a0, Particle a1)
1225  set_value(Scale self, ObjectKey a0, Object a1)
1226  """
1227  return _IMP_isd.Scale_set_value(self, *args)
1228 
1229  def remove_attribute(self, *args):
1230  """
1231  remove_attribute(Scale self, FloatKey a0)
1232  remove_attribute(Scale self, IntKey a0)
1233  remove_attribute(Scale self, StringKey a0)
1234  remove_attribute(Scale self, ParticleIndexKey a0)
1235  remove_attribute(Scale self, ObjectKey a0)
1236  """
1237  return _IMP_isd.Scale_remove_attribute(self, *args)
1238 
1239  def has_attribute(self, *args):
1240  """
1241  has_attribute(Scale self, FloatKey a0) -> bool
1242  has_attribute(Scale self, IntKey a0) -> bool
1243  has_attribute(Scale self, StringKey a0) -> bool
1244  has_attribute(Scale self, ParticleIndexKey a0) -> bool
1245  has_attribute(Scale self, ObjectKey a0) -> bool
1246  """
1247  return _IMP_isd.Scale_has_attribute(self, *args)
1248 
1249  def get_derivative(self, *args):
1250  """get_derivative(Scale self, FloatKey a0) -> double"""
1251  return _IMP_isd.Scale_get_derivative(self, *args)
1252 
1253  def get_name(self):
1254  """get_name(Scale self) -> std::string"""
1255  return _IMP_isd.Scale_get_name(self)
1256 
1257  def clear_caches(self):
1258  """clear_caches(Scale self)"""
1259  return _IMP_isd.Scale_clear_caches(self)
1260 
1261  def set_name(self, *args):
1262  """set_name(Scale self, std::string a0)"""
1263  return _IMP_isd.Scale_set_name(self, *args)
1264 
1265  def set_check_level(self, *args):
1266  """set_check_level(Scale self, IMP::base::CheckLevel a0)"""
1267  return _IMP_isd.Scale_set_check_level(self, *args)
1268 
1269  def add_to_derivative(self, *args):
1270  """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1271  return _IMP_isd.Scale_add_to_derivative(self, *args)
1272 
1273  def set_is_optimized(self, *args):
1274  """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1275  return _IMP_isd.Scale_set_is_optimized(self, *args)
1276 
1277  def get_is_optimized(self, *args):
1278  """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1279  return _IMP_isd.Scale_get_is_optimized(self, *args)
1280 
1281  def get_check_level(self):
1282  """get_check_level(Scale self) -> IMP::base::CheckLevel"""
1283  return _IMP_isd.Scale_get_check_level(self)
1284 
1285  def __eq__(self, *args):
1286  """
1287  __eq__(Scale self, Scale o) -> bool
1288  __eq__(Scale self, Particle d) -> bool
1289  """
1290  return _IMP_isd.Scale___eq__(self, *args)
1291 
1292  def __ne__(self, *args):
1293  """
1294  __ne__(Scale self, Scale o) -> bool
1295  __ne__(Scale self, Particle d) -> bool
1296  """
1297  return _IMP_isd.Scale___ne__(self, *args)
1298 
1299  def __le__(self, *args):
1300  """
1301  __le__(Scale self, Scale o) -> bool
1302  __le__(Scale self, Particle d) -> bool
1303  """
1304  return _IMP_isd.Scale___le__(self, *args)
1305 
1306  def __lt__(self, *args):
1307  """
1308  __lt__(Scale self, Scale o) -> bool
1309  __lt__(Scale self, Particle d) -> bool
1310  """
1311  return _IMP_isd.Scale___lt__(self, *args)
1312 
1313  def __ge__(self, *args):
1314  """
1315  __ge__(Scale self, Scale o) -> bool
1316  __ge__(Scale self, Particle d) -> bool
1317  """
1318  return _IMP_isd.Scale___ge__(self, *args)
1319 
1320  def __gt__(self, *args):
1321  """
1322  __gt__(Scale self, Scale o) -> bool
1323  __gt__(Scale self, Particle d) -> bool
1324  """
1325  return _IMP_isd.Scale___gt__(self, *args)
1326 
1327  def __str__(self):
1328  """__str__(Scale self) -> std::string"""
1329  return _IMP_isd.Scale___str__(self)
1330 
1331  def __repr__(self):
1332  """__repr__(Scale self) -> std::string"""
1333  return _IMP_isd.Scale___repr__(self)
1334 
1335  __swig_destroy__ = _IMP_isd.delete_Scale
1336  __del__ = lambda self : None;
1337 Scale_swigregister = _IMP_isd.Scale_swigregister
1338 Scale_swigregister(Scale)
1339 
1340 def Scale_setup_particle(*args):
1341  """
1342  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Scale
1343  setup_particle(_ParticleAdaptor decorator) -> Scale
1344  setup_particle(Model m, IMP::kernel::ParticleIndex pi, double scale) -> Scale
1345  Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1346  """
1347  return _IMP_isd.Scale_setup_particle(*args)
1348 
1349 def Scale_get_is_setup(*args):
1350  """
1351  get_is_setup(_ParticleAdaptor p) -> bool
1352  Scale_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1353  """
1354  return _IMP_isd.Scale_get_is_setup(*args)
1355 
1356 def Scale_get_scale_key():
1357  """Scale_get_scale_key() -> FloatKey"""
1358  return _IMP_isd.Scale_get_scale_key()
1359 
1360 class Switching(Nuisance):
1361  """Proxy of C++ IMP::isd::Switching class"""
1362  __swig_setmethods__ = {}
1363  for _s in [Nuisance]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1364  __setattr__ = lambda self, name, value: _swig_setattr(self, Switching, name, value)
1365  __swig_getmethods__ = {}
1366  for _s in [Nuisance]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1367  __getattr__ = lambda self, name: _swig_getattr(self, Switching, name)
1368  def __init__(self, *args):
1369  """
1370  __init__(IMP::isd::Switching self) -> Switching
1371  __init__(IMP::isd::Switching self, Model m, ::IMP::kernel::ParticleIndex id) -> Switching
1372  __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1373  """
1374  this = _IMP_isd.new_Switching(*args)
1375  try: self.this.append(this)
1376  except: self.this = this
1377  def show(self, *args):
1378  """
1379  show(Switching self, _ostream out=std::cout)
1380  show(Switching self)
1381  """
1382  return _IMP_isd.Switching_show(self, *args)
1383 
1384  def setup_particle(*args):
1385  """
1386  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Switching
1387  setup_particle(_ParticleAdaptor decorator) -> Switching
1388  setup_particle(Model m, IMP::kernel::ParticleIndex pi, double switching) -> Switching
1389  setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1390  """
1391  return _IMP_isd.Switching_setup_particle(*args)
1392 
1393  if _newclass:setup_particle = staticmethod(setup_particle)
1394  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
1395  def get_is_setup(*args):
1396  """
1397  get_is_setup(_ParticleAdaptor p) -> bool
1398  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1399  """
1400  return _IMP_isd.Switching_get_is_setup(*args)
1401 
1402  if _newclass:get_is_setup = staticmethod(get_is_setup)
1403  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
1404  def get_switching(self):
1405  """get_switching(Switching self) -> IMP::Float"""
1406  return _IMP_isd.Switching_get_switching(self)
1407 
1408  def set_switching(self, *args):
1409  """set_switching(Switching self, IMP::Float d)"""
1410  return _IMP_isd.Switching_set_switching(self, *args)
1411 
1412  def add_to_switching_derivative(self, *args):
1413  """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1414  return _IMP_isd.Switching_add_to_switching_derivative(self, *args)
1415 
1416  def get_switching_derivative(self):
1417  """get_switching_derivative(Switching self) -> IMP::Float"""
1418  return _IMP_isd.Switching_get_switching_derivative(self)
1419 
1420  def get_switching_key():
1421  """get_switching_key() -> FloatKey"""
1422  return _IMP_isd.Switching_get_switching_key()
1423 
1424  if _newclass:get_switching_key = staticmethod(get_switching_key)
1425  __swig_getmethods__["get_switching_key"] = lambda x: get_switching_key
1426  def get_switching_is_optimized(self):
1427  """get_switching_is_optimized(Switching self) -> bool"""
1428  return _IMP_isd.Switching_get_switching_is_optimized(self)
1429 
1430  def set_switching_is_optimized(self, *args):
1431  """set_switching_is_optimized(Switching self, bool val)"""
1432  return _IMP_isd.Switching_set_switching_is_optimized(self, *args)
1433 
1434  def add_attribute(self, *args):
1435  """
1436  add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1437  add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1438  add_attribute(Switching self, IntKey a0, IMP::Int a1)
1439  add_attribute(Switching self, StringKey a0, IMP::String a1)
1440  add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1441  add_attribute(Switching self, ObjectKey a0, Object a1)
1442  """
1443  return _IMP_isd.Switching_add_attribute(self, *args)
1444 
1445  def get_value(self, *args):
1446  """
1447  get_value(Switching self, FloatKey a0) -> IMP::Float
1448  get_value(Switching self, IntKey a0) -> IMP::Int
1449  get_value(Switching self, StringKey a0) -> IMP::String
1450  get_value(Switching self, ParticleIndexKey a0) -> Particle
1451  get_value(Switching self, ObjectKey a0) -> Object
1452  """
1453  return _IMP_isd.Switching_get_value(self, *args)
1454 
1455  def set_value(self, *args):
1456  """
1457  set_value(Switching self, FloatKey a0, IMP::Float a1)
1458  set_value(Switching self, IntKey a0, IMP::Int a1)
1459  set_value(Switching self, StringKey a0, IMP::String a1)
1460  set_value(Switching self, ParticleIndexKey a0, Particle a1)
1461  set_value(Switching self, ObjectKey a0, Object a1)
1462  """
1463  return _IMP_isd.Switching_set_value(self, *args)
1464 
1465  def remove_attribute(self, *args):
1466  """
1467  remove_attribute(Switching self, FloatKey a0)
1468  remove_attribute(Switching self, IntKey a0)
1469  remove_attribute(Switching self, StringKey a0)
1470  remove_attribute(Switching self, ParticleIndexKey a0)
1471  remove_attribute(Switching self, ObjectKey a0)
1472  """
1473  return _IMP_isd.Switching_remove_attribute(self, *args)
1474 
1475  def has_attribute(self, *args):
1476  """
1477  has_attribute(Switching self, FloatKey a0) -> bool
1478  has_attribute(Switching self, IntKey a0) -> bool
1479  has_attribute(Switching self, StringKey a0) -> bool
1480  has_attribute(Switching self, ParticleIndexKey a0) -> bool
1481  has_attribute(Switching self, ObjectKey a0) -> bool
1482  """
1483  return _IMP_isd.Switching_has_attribute(self, *args)
1484 
1485  def get_derivative(self, *args):
1486  """get_derivative(Switching self, FloatKey a0) -> double"""
1487  return _IMP_isd.Switching_get_derivative(self, *args)
1488 
1489  def get_name(self):
1490  """get_name(Switching self) -> std::string"""
1491  return _IMP_isd.Switching_get_name(self)
1492 
1493  def clear_caches(self):
1494  """clear_caches(Switching self)"""
1495  return _IMP_isd.Switching_clear_caches(self)
1496 
1497  def set_name(self, *args):
1498  """set_name(Switching self, std::string a0)"""
1499  return _IMP_isd.Switching_set_name(self, *args)
1500 
1501  def set_check_level(self, *args):
1502  """set_check_level(Switching self, IMP::base::CheckLevel a0)"""
1503  return _IMP_isd.Switching_set_check_level(self, *args)
1504 
1505  def add_to_derivative(self, *args):
1506  """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1507  return _IMP_isd.Switching_add_to_derivative(self, *args)
1508 
1509  def set_is_optimized(self, *args):
1510  """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1511  return _IMP_isd.Switching_set_is_optimized(self, *args)
1512 
1513  def get_is_optimized(self, *args):
1514  """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1515  return _IMP_isd.Switching_get_is_optimized(self, *args)
1516 
1517  def get_check_level(self):
1518  """get_check_level(Switching self) -> IMP::base::CheckLevel"""
1519  return _IMP_isd.Switching_get_check_level(self)
1520 
1521  def __eq__(self, *args):
1522  """
1523  __eq__(Switching self, Switching o) -> bool
1524  __eq__(Switching self, Particle d) -> bool
1525  """
1526  return _IMP_isd.Switching___eq__(self, *args)
1527 
1528  def __ne__(self, *args):
1529  """
1530  __ne__(Switching self, Switching o) -> bool
1531  __ne__(Switching self, Particle d) -> bool
1532  """
1533  return _IMP_isd.Switching___ne__(self, *args)
1534 
1535  def __le__(self, *args):
1536  """
1537  __le__(Switching self, Switching o) -> bool
1538  __le__(Switching self, Particle d) -> bool
1539  """
1540  return _IMP_isd.Switching___le__(self, *args)
1541 
1542  def __lt__(self, *args):
1543  """
1544  __lt__(Switching self, Switching o) -> bool
1545  __lt__(Switching self, Particle d) -> bool
1546  """
1547  return _IMP_isd.Switching___lt__(self, *args)
1548 
1549  def __ge__(self, *args):
1550  """
1551  __ge__(Switching self, Switching o) -> bool
1552  __ge__(Switching self, Particle d) -> bool
1553  """
1554  return _IMP_isd.Switching___ge__(self, *args)
1555 
1556  def __gt__(self, *args):
1557  """
1558  __gt__(Switching self, Switching o) -> bool
1559  __gt__(Switching self, Particle d) -> bool
1560  """
1561  return _IMP_isd.Switching___gt__(self, *args)
1562 
1563  def __str__(self):
1564  """__str__(Switching self) -> std::string"""
1565  return _IMP_isd.Switching___str__(self)
1566 
1567  def __repr__(self):
1568  """__repr__(Switching self) -> std::string"""
1569  return _IMP_isd.Switching___repr__(self)
1570 
1571  __swig_destroy__ = _IMP_isd.delete_Switching
1572  __del__ = lambda self : None;
1573 Switching_swigregister = _IMP_isd.Switching_swigregister
1574 Switching_swigregister(Switching)
1575 
1576 def Switching_setup_particle(*args):
1577  """
1578  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Switching
1579  setup_particle(_ParticleAdaptor decorator) -> Switching
1580  setup_particle(Model m, IMP::kernel::ParticleIndex pi, double switching) -> Switching
1581  Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1582  """
1583  return _IMP_isd.Switching_setup_particle(*args)
1584 
1585 def Switching_get_is_setup(*args):
1586  """
1587  get_is_setup(_ParticleAdaptor p) -> bool
1588  Switching_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1589  """
1590  return _IMP_isd.Switching_get_is_setup(*args)
1591 
1592 def Switching_get_switching_key():
1593  """Switching_get_switching_key() -> FloatKey"""
1594  return _IMP_isd.Switching_get_switching_key()
1595 
1596 
1597 def __lshift__(*args):
1598  """
1599  __lshift__(_ostream out, Nuisance n) -> _ostream
1600  __lshift__(_ostream out, Scale n) -> _ostream
1601  __lshift__(_ostream out, Switching n) -> _ostream
1602  """
1603  return _IMP_isd.__lshift__(*args)
1604 class Weight(IMP.kernel.Decorator):
1605  """Proxy of C++ IMP::isd::Weight class"""
1606  __swig_setmethods__ = {}
1607  for _s in [IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1608  __setattr__ = lambda self, name, value: _swig_setattr(self, Weight, name, value)
1609  __swig_getmethods__ = {}
1610  for _s in [IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1611  __getattr__ = lambda self, name: _swig_getattr(self, Weight, name)
1612  def __init__(self, *args):
1613  """
1614  __init__(IMP::isd::Weight self) -> Weight
1615  __init__(IMP::isd::Weight self, Model m, ::IMP::kernel::ParticleIndex id) -> Weight
1616  __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
1617  """
1618  this = _IMP_isd.new_Weight(*args)
1619  try: self.this.append(this)
1620  except: self.this = this
1621  def show(self, *args):
1622  """
1623  show(Weight self, _ostream out=std::cout)
1624  show(Weight self)
1625  """
1626  return _IMP_isd.Weight_show(self, *args)
1627 
1628  def setup_particle(*args):
1629  """
1630  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Weight
1631  setup_particle(_ParticleAdaptor decorator) -> Weight
1632  """
1633  return _IMP_isd.Weight_setup_particle(*args)
1634 
1635  if _newclass:setup_particle = staticmethod(setup_particle)
1636  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
1637  def get_nstates_key():
1638  """get_nstates_key() -> IntKey"""
1639  return _IMP_isd.Weight_get_nstates_key()
1640 
1641  if _newclass:get_nstates_key = staticmethod(get_nstates_key)
1642  __swig_getmethods__["get_nstates_key"] = lambda x: get_nstates_key
1643  def get_weight_key(*args):
1644  """get_weight_key(int i) -> FloatKey"""
1645  return _IMP_isd.Weight_get_weight_key(*args)
1646 
1647  if _newclass:get_weight_key = staticmethod(get_weight_key)
1648  __swig_getmethods__["get_weight_key"] = lambda x: get_weight_key
1649  def set_weights(self, *args):
1650  """set_weights(Weight self, VectorKD w)"""
1651  return _IMP_isd.Weight_set_weights(self, *args)
1652 
1653  def add_weight(self):
1654  """add_weight(Weight self)"""
1655  return _IMP_isd.Weight_add_weight(self)
1656 
1657  def get_weight(self, *args):
1658  """get_weight(Weight self, int i) -> IMP::Float"""
1659  return _IMP_isd.Weight_get_weight(self, *args)
1660 
1661  def get_weights(self):
1662  """get_weights(Weight self) -> VectorKD"""
1663  return _IMP_isd.Weight_get_weights(self)
1664 
1665  def set_weights_are_optimized(self, *args):
1666  """set_weights_are_optimized(Weight self, bool tf)"""
1667  return _IMP_isd.Weight_set_weights_are_optimized(self, *args)
1668 
1669  def get_number_of_states(self):
1670  """get_number_of_states(Weight self) -> IMP::Int"""
1671  return _IMP_isd.Weight_get_number_of_states(self)
1672 
1673  def get_is_setup(*args):
1674  """
1675  get_is_setup(_ParticleAdaptor p) -> bool
1676  get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1677  """
1678  return _IMP_isd.Weight_get_is_setup(*args)
1679 
1680  if _newclass:get_is_setup = staticmethod(get_is_setup)
1681  __swig_getmethods__["get_is_setup"] = lambda x: get_is_setup
1682  def add_attribute(self, *args):
1683  """
1684  add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
1685  add_attribute(Weight self, FloatKey a0, IMP::Float a1)
1686  add_attribute(Weight self, IntKey a0, IMP::Int a1)
1687  add_attribute(Weight self, StringKey a0, IMP::String a1)
1688  add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
1689  add_attribute(Weight self, ObjectKey a0, Object a1)
1690  """
1691  return _IMP_isd.Weight_add_attribute(self, *args)
1692 
1693  def get_value(self, *args):
1694  """
1695  get_value(Weight self, FloatKey a0) -> IMP::Float
1696  get_value(Weight self, IntKey a0) -> IMP::Int
1697  get_value(Weight self, StringKey a0) -> IMP::String
1698  get_value(Weight self, ParticleIndexKey a0) -> Particle
1699  get_value(Weight self, ObjectKey a0) -> Object
1700  """
1701  return _IMP_isd.Weight_get_value(self, *args)
1702 
1703  def set_value(self, *args):
1704  """
1705  set_value(Weight self, FloatKey a0, IMP::Float a1)
1706  set_value(Weight self, IntKey a0, IMP::Int a1)
1707  set_value(Weight self, StringKey a0, IMP::String a1)
1708  set_value(Weight self, ParticleIndexKey a0, Particle a1)
1709  set_value(Weight self, ObjectKey a0, Object a1)
1710  """
1711  return _IMP_isd.Weight_set_value(self, *args)
1712 
1713  def remove_attribute(self, *args):
1714  """
1715  remove_attribute(Weight self, FloatKey a0)
1716  remove_attribute(Weight self, IntKey a0)
1717  remove_attribute(Weight self, StringKey a0)
1718  remove_attribute(Weight self, ParticleIndexKey a0)
1719  remove_attribute(Weight self, ObjectKey a0)
1720  """
1721  return _IMP_isd.Weight_remove_attribute(self, *args)
1722 
1723  def has_attribute(self, *args):
1724  """
1725  has_attribute(Weight self, FloatKey a0) -> bool
1726  has_attribute(Weight self, IntKey a0) -> bool
1727  has_attribute(Weight self, StringKey a0) -> bool
1728  has_attribute(Weight self, ParticleIndexKey a0) -> bool
1729  has_attribute(Weight self, ObjectKey a0) -> bool
1730  """
1731  return _IMP_isd.Weight_has_attribute(self, *args)
1732 
1733  def get_derivative(self, *args):
1734  """get_derivative(Weight self, FloatKey a0) -> double"""
1735  return _IMP_isd.Weight_get_derivative(self, *args)
1736 
1737  def get_name(self):
1738  """get_name(Weight self) -> std::string"""
1739  return _IMP_isd.Weight_get_name(self)
1740 
1741  def clear_caches(self):
1742  """clear_caches(Weight self)"""
1743  return _IMP_isd.Weight_clear_caches(self)
1744 
1745  def set_name(self, *args):
1746  """set_name(Weight self, std::string a0)"""
1747  return _IMP_isd.Weight_set_name(self, *args)
1748 
1749  def set_check_level(self, *args):
1750  """set_check_level(Weight self, IMP::base::CheckLevel a0)"""
1751  return _IMP_isd.Weight_set_check_level(self, *args)
1752 
1753  def add_to_derivative(self, *args):
1754  """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1755  return _IMP_isd.Weight_add_to_derivative(self, *args)
1756 
1757  def set_is_optimized(self, *args):
1758  """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
1759  return _IMP_isd.Weight_set_is_optimized(self, *args)
1760 
1761  def get_is_optimized(self, *args):
1762  """get_is_optimized(Weight self, FloatKey a0) -> bool"""
1763  return _IMP_isd.Weight_get_is_optimized(self, *args)
1764 
1765  def get_check_level(self):
1766  """get_check_level(Weight self) -> IMP::base::CheckLevel"""
1767  return _IMP_isd.Weight_get_check_level(self)
1768 
1769  def __eq__(self, *args):
1770  """
1771  __eq__(Weight self, Weight o) -> bool
1772  __eq__(Weight self, Particle d) -> bool
1773  """
1774  return _IMP_isd.Weight___eq__(self, *args)
1775 
1776  def __ne__(self, *args):
1777  """
1778  __ne__(Weight self, Weight o) -> bool
1779  __ne__(Weight self, Particle d) -> bool
1780  """
1781  return _IMP_isd.Weight___ne__(self, *args)
1782 
1783  def __le__(self, *args):
1784  """
1785  __le__(Weight self, Weight o) -> bool
1786  __le__(Weight self, Particle d) -> bool
1787  """
1788  return _IMP_isd.Weight___le__(self, *args)
1789 
1790  def __lt__(self, *args):
1791  """
1792  __lt__(Weight self, Weight o) -> bool
1793  __lt__(Weight self, Particle d) -> bool
1794  """
1795  return _IMP_isd.Weight___lt__(self, *args)
1796 
1797  def __ge__(self, *args):
1798  """
1799  __ge__(Weight self, Weight o) -> bool
1800  __ge__(Weight self, Particle d) -> bool
1801  """
1802  return _IMP_isd.Weight___ge__(self, *args)
1803 
1804  def __gt__(self, *args):
1805  """
1806  __gt__(Weight self, Weight o) -> bool
1807  __gt__(Weight self, Particle d) -> bool
1808  """
1809  return _IMP_isd.Weight___gt__(self, *args)
1810 
1811  def __str__(self):
1812  """__str__(Weight self) -> std::string"""
1813  return _IMP_isd.Weight___str__(self)
1814 
1815  def __repr__(self):
1816  """__repr__(Weight self) -> std::string"""
1817  return _IMP_isd.Weight___repr__(self)
1818 
1819  __swig_destroy__ = _IMP_isd.delete_Weight
1820  __del__ = lambda self : None;
1821 Weight_swigregister = _IMP_isd.Weight_swigregister
1822 Weight_swigregister(Weight)
1823 
1824 def Weight_setup_particle(*args):
1825  """
1826  setup_particle(Model m, IMP::kernel::ParticleIndex pi) -> Weight
1827  Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
1828  """
1829  return _IMP_isd.Weight_setup_particle(*args)
1830 
1831 def Weight_get_nstates_key():
1832  """Weight_get_nstates_key() -> IntKey"""
1833  return _IMP_isd.Weight_get_nstates_key()
1834 
1835 def Weight_get_weight_key(*args):
1836  """Weight_get_weight_key(int i) -> FloatKey"""
1837  return _IMP_isd.Weight_get_weight_key(*args)
1838 
1839 def Weight_get_is_setup(*args):
1840  """
1841  get_is_setup(_ParticleAdaptor p) -> bool
1842  Weight_get_is_setup(Model m, IMP::kernel::ParticleIndex pi) -> bool
1843  """
1844  return _IMP_isd.Weight_get_is_setup(*args)
1845 
1846 class JeffreysRestraint(IMP.kernel.Restraint):
1847  """Proxy of C++ IMP::isd::JeffreysRestraint class"""
1848  __swig_setmethods__ = {}
1849  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1850  __setattr__ = lambda self, name, value: _swig_setattr(self, JeffreysRestraint, name, value)
1851  __swig_getmethods__ = {}
1852  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1853  __getattr__ = lambda self, name: _swig_getattr(self, JeffreysRestraint, name)
1854  def __init__(self, *args):
1855  """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
1856  this = _IMP_isd.new_JeffreysRestraint(*args)
1857  try: self.this.append(this)
1858  except: self.this = this
1859  def do_get_inputs(self):
1860  """do_get_inputs(JeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1861  return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
1862 
1863  def get_version_info(self):
1864  """get_version_info(JeffreysRestraint self) -> VersionInfo"""
1865  return _IMP_isd.JeffreysRestraint_get_version_info(self)
1866 
1867  def get_probability(self):
1868  """get_probability(JeffreysRestraint self) -> double"""
1869  return _IMP_isd.JeffreysRestraint_get_probability(self)
1870 
1871  def __str__(self):
1872  """__str__(JeffreysRestraint self) -> std::string"""
1873  return _IMP_isd.JeffreysRestraint___str__(self)
1874 
1875  def __repr__(self):
1876  """__repr__(JeffreysRestraint self) -> std::string"""
1877  return _IMP_isd.JeffreysRestraint___repr__(self)
1878 
1879  def get_from(o):
1880  return _object_cast_to_JeffreysRestraint(o)
1881  get_from = staticmethod(get_from)
1882 
1883 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
1884 JeffreysRestraint_swigregister(JeffreysRestraint)
1885 
1886 class FNormal(IMP.base.Object):
1887  """Proxy of C++ IMP::isd::FNormal class"""
1888  __swig_setmethods__ = {}
1889  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1890  __setattr__ = lambda self, name, value: _swig_setattr(self, FNormal, name, value)
1891  __swig_getmethods__ = {}
1892  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1893  __getattr__ = lambda self, name: _swig_getattr(self, FNormal, name)
1894  def __init__(self, *args):
1895  """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
1896  this = _IMP_isd.new_FNormal(*args)
1897  try: self.this.append(this)
1898  except: self.this = this
1899  def evaluate(self):
1900  """evaluate(FNormal self) -> double"""
1901  return _IMP_isd.FNormal_evaluate(self)
1902 
1903  def evaluate_derivative_FA(self):
1904  """evaluate_derivative_FA(FNormal self) -> double"""
1905  return _IMP_isd.FNormal_evaluate_derivative_FA(self)
1906 
1907  def evaluate_derivative_JA(self):
1908  """evaluate_derivative_JA(FNormal self) -> double"""
1909  return _IMP_isd.FNormal_evaluate_derivative_JA(self)
1910 
1911  def evaluate_derivative_FM(self):
1912  """evaluate_derivative_FM(FNormal self) -> double"""
1913  return _IMP_isd.FNormal_evaluate_derivative_FM(self)
1914 
1915  def evaluate_derivative_sigma(self):
1916  """evaluate_derivative_sigma(FNormal self) -> double"""
1917  return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
1918 
1919  def density(self):
1920  """density(FNormal self) -> double"""
1921  return _IMP_isd.FNormal_density(self)
1922 
1923  def set_FA(self, *args):
1924  """set_FA(FNormal self, double f)"""
1925  return _IMP_isd.FNormal_set_FA(self, *args)
1926 
1927  def set_JA(self, *args):
1928  """set_JA(FNormal self, double f)"""
1929  return _IMP_isd.FNormal_set_JA(self, *args)
1930 
1931  def set_FM(self, *args):
1932  """set_FM(FNormal self, double f)"""
1933  return _IMP_isd.FNormal_set_FM(self, *args)
1934 
1935  def set_sigma(self, *args):
1936  """set_sigma(FNormal self, double f)"""
1937  return _IMP_isd.FNormal_set_sigma(self, *args)
1938 
1939  def get_version_info(self):
1940  """get_version_info(FNormal self) -> VersionInfo"""
1941  return _IMP_isd.FNormal_get_version_info(self)
1942 
1943  def __str__(self):
1944  """__str__(FNormal self) -> std::string"""
1945  return _IMP_isd.FNormal___str__(self)
1946 
1947  def __repr__(self):
1948  """__repr__(FNormal self) -> std::string"""
1949  return _IMP_isd.FNormal___repr__(self)
1950 
1951  def get_from(o):
1952  return _object_cast_to_FNormal(o)
1953  get_from = staticmethod(get_from)
1954 
1955 FNormal_swigregister = _IMP_isd.FNormal_swigregister
1956 FNormal_swigregister(FNormal)
1957 
1958 class vonMises(IMP.base.Object):
1959  """Proxy of C++ IMP::isd::vonMises class"""
1960  __swig_setmethods__ = {}
1961  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1962  __setattr__ = lambda self, name, value: _swig_setattr(self, vonMises, name, value)
1963  __swig_getmethods__ = {}
1964  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1965  __getattr__ = lambda self, name: _swig_getattr(self, vonMises, name)
1966  def __init__(self, *args):
1967  """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
1968  this = _IMP_isd.new_vonMises(*args)
1969  try: self.this.append(this)
1970  except: self.this = this
1971  def evaluate(self):
1972  """evaluate(vonMises self) -> double"""
1973  return _IMP_isd.vonMises_evaluate(self)
1974 
1975  def evaluate_derivative_x(self):
1976  """evaluate_derivative_x(vonMises self) -> double"""
1977  return _IMP_isd.vonMises_evaluate_derivative_x(self)
1978 
1979  def evaluate_derivative_mu(self):
1980  """evaluate_derivative_mu(vonMises self) -> double"""
1981  return _IMP_isd.vonMises_evaluate_derivative_mu(self)
1982 
1983  def evaluate_derivative_kappa(self):
1984  """evaluate_derivative_kappa(vonMises self) -> double"""
1985  return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
1986 
1987  def density(self):
1988  """density(vonMises self) -> double"""
1989  return _IMP_isd.vonMises_density(self)
1990 
1991  def set_x(self, *args):
1992  """set_x(vonMises self, double x)"""
1993  return _IMP_isd.vonMises_set_x(self, *args)
1994 
1995  def set_mu(self, *args):
1996  """set_mu(vonMises self, double mu)"""
1997  return _IMP_isd.vonMises_set_mu(self, *args)
1998 
1999  def set_kappa(self, *args):
2000  """set_kappa(vonMises self, double kappa)"""
2001  return _IMP_isd.vonMises_set_kappa(self, *args)
2002 
2003  def get_version_info(self):
2004  """get_version_info(vonMises self) -> VersionInfo"""
2005  return _IMP_isd.vonMises_get_version_info(self)
2006 
2007  def __str__(self):
2008  """__str__(vonMises self) -> std::string"""
2009  return _IMP_isd.vonMises___str__(self)
2010 
2011  def __repr__(self):
2012  """__repr__(vonMises self) -> std::string"""
2013  return _IMP_isd.vonMises___repr__(self)
2014 
2015  def get_from(o):
2016  return _object_cast_to_vonMises(o)
2017  get_from = staticmethod(get_from)
2018 
2019 vonMises_swigregister = _IMP_isd.vonMises_swigregister
2020 vonMises_swigregister(vonMises)
2021 
2022 class vonMisesSufficient(IMP.base.Object):
2023  """Proxy of C++ IMP::isd::vonMisesSufficient class"""
2024  __swig_setmethods__ = {}
2025  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2026  __setattr__ = lambda self, name, value: _swig_setattr(self, vonMisesSufficient, name, value)
2027  __swig_getmethods__ = {}
2028  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2029  __getattr__ = lambda self, name: _swig_getattr(self, vonMisesSufficient, name)
2030  def __init__(self, *args):
2031  """
2032  __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
2033  __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
2034  """
2035  this = _IMP_isd.new_vonMisesSufficient(*args)
2036  try: self.this.append(this)
2037  except: self.this = this
2038  def evaluate(self):
2039  """evaluate(vonMisesSufficient self) -> double"""
2040  return _IMP_isd.vonMisesSufficient_evaluate(self)
2041 
2042  def evaluate_derivative_x(self):
2043  """evaluate_derivative_x(vonMisesSufficient self) -> double"""
2044  return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
2045 
2046  def evaluate_derivative_kappa(self):
2047  """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
2048  return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
2049 
2050  def density(self):
2051  """density(vonMisesSufficient self) -> double"""
2052  return _IMP_isd.vonMisesSufficient_density(self)
2053 
2054  def get_x(self):
2055  """get_x(vonMisesSufficient self) -> double"""
2056  return _IMP_isd.vonMisesSufficient_get_x(self)
2057 
2058  def get_R0(self):
2059  """get_R0(vonMisesSufficient self) -> double"""
2060  return _IMP_isd.vonMisesSufficient_get_R0(self)
2061 
2062  def get_chiexp(self):
2063  """get_chiexp(vonMisesSufficient self) -> double"""
2064  return _IMP_isd.vonMisesSufficient_get_chiexp(self)
2065 
2066  def get_N(self):
2067  """get_N(vonMisesSufficient self) -> double"""
2068  return _IMP_isd.vonMisesSufficient_get_N(self)
2069 
2070  def get_kappa(self):
2071  """get_kappa(vonMisesSufficient self) -> double"""
2072  return _IMP_isd.vonMisesSufficient_get_kappa(self)
2073 
2074  def set_x(self, *args):
2075  """set_x(vonMisesSufficient self, double x)"""
2076  return _IMP_isd.vonMisesSufficient_set_x(self, *args)
2077 
2078  def set_R0(self, *args):
2079  """set_R0(vonMisesSufficient self, double R0)"""
2080  return _IMP_isd.vonMisesSufficient_set_R0(self, *args)
2081 
2082  def set_chiexp(self, *args):
2083  """set_chiexp(vonMisesSufficient self, double chiexp)"""
2084  return _IMP_isd.vonMisesSufficient_set_chiexp(self, *args)
2085 
2086  def set_N(self, *args):
2087  """set_N(vonMisesSufficient self, unsigned int N)"""
2088  return _IMP_isd.vonMisesSufficient_set_N(self, *args)
2089 
2090  def set_kappa(self, *args):
2091  """set_kappa(vonMisesSufficient self, double kappa)"""
2092  return _IMP_isd.vonMisesSufficient_set_kappa(self, *args)
2093 
2094  def get_sufficient_statistics(*args):
2095  """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2096  return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
2097 
2098  if _newclass:get_sufficient_statistics = staticmethod(get_sufficient_statistics)
2099  __swig_getmethods__["get_sufficient_statistics"] = lambda x: get_sufficient_statistics
2100  def get_version_info(self):
2101  """get_version_info(vonMisesSufficient self) -> VersionInfo"""
2102  return _IMP_isd.vonMisesSufficient_get_version_info(self)
2103 
2104  def __str__(self):
2105  """__str__(vonMisesSufficient self) -> std::string"""
2106  return _IMP_isd.vonMisesSufficient___str__(self)
2107 
2108  def __repr__(self):
2109  """__repr__(vonMisesSufficient self) -> std::string"""
2110  return _IMP_isd.vonMisesSufficient___repr__(self)
2111 
2112  def get_from(o):
2113  return _object_cast_to_vonMisesSufficient(o)
2114  get_from = staticmethod(get_from)
2115 
2116 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
2117 vonMisesSufficient_swigregister(vonMisesSufficient)
2118 
2119 def vonMisesSufficient_get_sufficient_statistics(*args):
2120  """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2121  return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
2122 
2123 class vonMisesKappaJeffreysRestraint(IMP.kernel.Restraint):
2124  """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
2125  __swig_setmethods__ = {}
2126  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2127  __setattr__ = lambda self, name, value: _swig_setattr(self, vonMisesKappaJeffreysRestraint, name, value)
2128  __swig_getmethods__ = {}
2129  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2130  __getattr__ = lambda self, name: _swig_getattr(self, vonMisesKappaJeffreysRestraint, name)
2131  def __init__(self, *args):
2132  """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
2133  this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(*args)
2134  try: self.this.append(this)
2135  except: self.this = this
2136  def do_get_inputs(self):
2137  """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2138  return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
2139 
2140  def get_version_info(self):
2141  """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
2142  return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
2143 
2144  def get_probability(self):
2145  """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
2146  return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
2147 
2148  def __str__(self):
2149  """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2150  return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
2151 
2152  def __repr__(self):
2153  """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2154  return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
2155 
2156  def get_from(o):
2157  return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
2158  get_from = staticmethod(get_from)
2159 
2160 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
2161 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
2162 
2163 class vonMisesKappaConjugateRestraint(IMP.kernel.Restraint):
2164  """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
2165  __swig_setmethods__ = {}
2166  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2167  __setattr__ = lambda self, name, value: _swig_setattr(self, vonMisesKappaConjugateRestraint, name, value)
2168  __swig_getmethods__ = {}
2169  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2170  __getattr__ = lambda self, name: _swig_getattr(self, vonMisesKappaConjugateRestraint, name)
2171  def __init__(self, *args):
2172  """
2173  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
2174  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
2175  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
2176  """
2177  this = _IMP_isd.new_vonMisesKappaConjugateRestraint(*args)
2178  try: self.this.append(this)
2179  except: self.this = this
2180  def do_get_inputs(self):
2181  """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2182  return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
2183 
2184  def get_version_info(self):
2185  """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
2186  return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
2187 
2188  def get_probability(self):
2189  """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
2190  return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
2191 
2192  def __str__(self):
2193  """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
2194  return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
2195 
2196  def __repr__(self):
2197  """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
2198  return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
2199 
2200  def get_from(o):
2201  return _object_cast_to_vonMisesKappaConjugateRestraint(o)
2202  get_from = staticmethod(get_from)
2203 
2204 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
2205 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
2206 
2207 class NOERestraint(IMP.kernel.Restraint):
2208  """Proxy of C++ IMP::isd::NOERestraint class"""
2209  __swig_setmethods__ = {}
2210  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2211  __setattr__ = lambda self, name, value: _swig_setattr(self, NOERestraint, name, value)
2212  __swig_getmethods__ = {}
2213  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2214  __getattr__ = lambda self, name: _swig_getattr(self, NOERestraint, name)
2215  def __init__(self, *args):
2216  """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
2217  this = _IMP_isd.new_NOERestraint(*args)
2218  try: self.this.append(this)
2219  except: self.this = this
2220  def get_probability(self):
2221  """get_probability(NOERestraint self) -> double"""
2222  return _IMP_isd.NOERestraint_get_probability(self)
2223 
2224  def get_chi(self):
2225  """get_chi(NOERestraint self) -> double"""
2226  return _IMP_isd.NOERestraint_get_chi(self)
2227 
2228  def do_get_inputs(self):
2229  """do_get_inputs(NOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2230  return _IMP_isd.NOERestraint_do_get_inputs(self)
2231 
2232  def get_version_info(self):
2233  """get_version_info(NOERestraint self) -> VersionInfo"""
2234  return _IMP_isd.NOERestraint_get_version_info(self)
2235 
2236  def __str__(self):
2237  """__str__(NOERestraint self) -> std::string"""
2238  return _IMP_isd.NOERestraint___str__(self)
2239 
2240  def __repr__(self):
2241  """__repr__(NOERestraint self) -> std::string"""
2242  return _IMP_isd.NOERestraint___repr__(self)
2243 
2244  def get_from(o):
2245  return _object_cast_to_NOERestraint(o)
2246  get_from = staticmethod(get_from)
2247 
2248 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
2249 NOERestraint_swigregister(NOERestraint)
2250 
2251 class GaussianRestraint(IMP.kernel.Restraint):
2252  """Proxy of C++ IMP::isd::GaussianRestraint class"""
2253  __swig_setmethods__ = {}
2254  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2255  __setattr__ = lambda self, name, value: _swig_setattr(self, GaussianRestraint, name, value)
2256  __swig_getmethods__ = {}
2257  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2258  __getattr__ = lambda self, name: _swig_getattr(self, GaussianRestraint, name)
2259  def __init__(self, *args):
2260  """
2261  __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
2262  __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
2263  __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
2264  __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
2265  __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
2266  __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
2267  __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
2268  """
2269  this = _IMP_isd.new_GaussianRestraint(*args)
2270  try: self.this.append(this)
2271  except: self.this = this
2272  def get_probability(self):
2273  """get_probability(GaussianRestraint self) -> double"""
2274  return _IMP_isd.GaussianRestraint_get_probability(self)
2275 
2276  def get_chi(self):
2277  """get_chi(GaussianRestraint self) -> double"""
2278  return _IMP_isd.GaussianRestraint_get_chi(self)
2279 
2280  def do_get_inputs(self):
2281  """do_get_inputs(GaussianRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2282  return _IMP_isd.GaussianRestraint_do_get_inputs(self)
2283 
2284  def get_version_info(self):
2285  """get_version_info(GaussianRestraint self) -> VersionInfo"""
2286  return _IMP_isd.GaussianRestraint_get_version_info(self)
2287 
2288  def __str__(self):
2289  """__str__(GaussianRestraint self) -> std::string"""
2290  return _IMP_isd.GaussianRestraint___str__(self)
2291 
2292  def __repr__(self):
2293  """__repr__(GaussianRestraint self) -> std::string"""
2294  return _IMP_isd.GaussianRestraint___repr__(self)
2295 
2296  def get_from(o):
2297  return _object_cast_to_GaussianRestraint(o)
2298  get_from = staticmethod(get_from)
2299 
2300 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
2301 GaussianRestraint_swigregister(GaussianRestraint)
2302 
2303 class LognormalRestraint(IMP.kernel.Restraint):
2304  """Proxy of C++ IMP::isd::LognormalRestraint class"""
2305  __swig_setmethods__ = {}
2306  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2307  __setattr__ = lambda self, name, value: _swig_setattr(self, LognormalRestraint, name, value)
2308  __swig_getmethods__ = {}
2309  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2310  __getattr__ = lambda self, name: _swig_getattr(self, LognormalRestraint, name)
2311  def __init__(self, *args):
2312  """
2313  __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
2314  __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
2315  __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
2316  __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
2317  __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
2318  __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
2319  __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
2320  """
2321  this = _IMP_isd.new_LognormalRestraint(*args)
2322  try: self.this.append(this)
2323  except: self.this = this
2324  def get_probability(self):
2325  """get_probability(LognormalRestraint self) -> double"""
2326  return _IMP_isd.LognormalRestraint_get_probability(self)
2327 
2328  def get_chi(self):
2329  """get_chi(LognormalRestraint self) -> double"""
2330  return _IMP_isd.LognormalRestraint_get_chi(self)
2331 
2332  def do_get_inputs(self):
2333  """do_get_inputs(LognormalRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2334  return _IMP_isd.LognormalRestraint_do_get_inputs(self)
2335 
2336  def get_version_info(self):
2337  """get_version_info(LognormalRestraint self) -> VersionInfo"""
2338  return _IMP_isd.LognormalRestraint_get_version_info(self)
2339 
2340  def __str__(self):
2341  """__str__(LognormalRestraint self) -> std::string"""
2342  return _IMP_isd.LognormalRestraint___str__(self)
2343 
2344  def __repr__(self):
2345  """__repr__(LognormalRestraint self) -> std::string"""
2346  return _IMP_isd.LognormalRestraint___repr__(self)
2347 
2348  def get_from(o):
2349  return _object_cast_to_LognormalRestraint(o)
2350  get_from = staticmethod(get_from)
2351 
2352 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
2353 LognormalRestraint_swigregister(LognormalRestraint)
2354 
2355 class AmbiguousNOERestraint(IMP.kernel.Restraint):
2356  """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
2357  __swig_setmethods__ = {}
2358  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2359  __setattr__ = lambda self, name, value: _swig_setattr(self, AmbiguousNOERestraint, name, value)
2360  __swig_getmethods__ = {}
2361  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2362  __getattr__ = lambda self, name: _swig_getattr(self, AmbiguousNOERestraint, name)
2363  def __init__(self, *args):
2364  """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, Particle sigma, Particle gamma, double Iexp) -> AmbiguousNOERestraint"""
2365  this = _IMP_isd.new_AmbiguousNOERestraint(*args)
2366  try: self.this.append(this)
2367  except: self.this = this
2368  def get_probability(self):
2369  """get_probability(AmbiguousNOERestraint self) -> double"""
2370  return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
2371 
2372  def get_chi(self):
2373  """get_chi(AmbiguousNOERestraint self) -> double"""
2374  return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
2375 
2376  def do_get_inputs(self):
2377  """do_get_inputs(AmbiguousNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2378  return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
2379 
2380  def get_version_info(self):
2381  """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
2382  return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
2383 
2384  def __str__(self):
2385  """__str__(AmbiguousNOERestraint self) -> std::string"""
2386  return _IMP_isd.AmbiguousNOERestraint___str__(self)
2387 
2388  def __repr__(self):
2389  """__repr__(AmbiguousNOERestraint self) -> std::string"""
2390  return _IMP_isd.AmbiguousNOERestraint___repr__(self)
2391 
2392  def get_from(o):
2393  return _object_cast_to_AmbiguousNOERestraint(o)
2394  get_from = staticmethod(get_from)
2395 
2396 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
2397 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
2398 
2399 class MarginalNOERestraint(IMP.kernel.Restraint):
2400  """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
2401  __swig_setmethods__ = {}
2402  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2403  __setattr__ = lambda self, name, value: _swig_setattr(self, MarginalNOERestraint, name, value)
2404  __swig_getmethods__ = {}
2405  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2406  __getattr__ = lambda self, name: _swig_getattr(self, MarginalNOERestraint, name)
2407  def __init__(self, *args):
2408  """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
2409  this = _IMP_isd.new_MarginalNOERestraint(*args)
2410  try: self.this.append(this)
2411  except: self.this = this
2412  def add_contribution(self, *args):
2413  """
2414  add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
2415  add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
2416  """
2417  return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
2418 
2419  def get_log_gammahat(self):
2420  """get_log_gammahat(MarginalNOERestraint self) -> double"""
2421  return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
2422 
2423  def get_SS(self):
2424  """get_SS(MarginalNOERestraint self) -> double"""
2425  return _IMP_isd.MarginalNOERestraint_get_SS(self)
2426 
2427  def get_number_of_contributions(self):
2428  """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
2429  return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
2430 
2431  def get_probability(self):
2432  """get_probability(MarginalNOERestraint self) -> double"""
2433  return _IMP_isd.MarginalNOERestraint_get_probability(self)
2434 
2435  def do_get_inputs(self):
2436  """do_get_inputs(MarginalNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2437  return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
2438 
2439  def get_version_info(self):
2440  """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
2441  return _IMP_isd.MarginalNOERestraint_get_version_info(self)
2442 
2443  def __str__(self):
2444  """__str__(MarginalNOERestraint self) -> std::string"""
2445  return _IMP_isd.MarginalNOERestraint___str__(self)
2446 
2447  def __repr__(self):
2448  """__repr__(MarginalNOERestraint self) -> std::string"""
2449  return _IMP_isd.MarginalNOERestraint___repr__(self)
2450 
2451  def get_from(o):
2452  return _object_cast_to_MarginalNOERestraint(o)
2453  get_from = staticmethod(get_from)
2454 
2455 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
2456 MarginalNOERestraint_swigregister(MarginalNOERestraint)
2457 
2458 class MarginalHBondRestraint(IMP.kernel.Restraint):
2459  """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
2460  __swig_setmethods__ = {}
2461  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2462  __setattr__ = lambda self, name, value: _swig_setattr(self, MarginalHBondRestraint, name, value)
2463  __swig_getmethods__ = {}
2464  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2465  __getattr__ = lambda self, name: _swig_getattr(self, MarginalHBondRestraint, name)
2466  def __init__(self, *args):
2467  """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
2468  this = _IMP_isd.new_MarginalHBondRestraint(*args)
2469  try: self.this.append(this)
2470  except: self.this = this
2471  def add_contribution(self, *args):
2472  """
2473  add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
2474  add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
2475  """
2476  return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
2477 
2478  def get_logsquares(self):
2479  """get_logsquares(MarginalHBondRestraint self) -> double"""
2480  return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
2481 
2482  def get_number_of_contributions(self):
2483  """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
2484  return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
2485 
2486  def get_probability(self):
2487  """get_probability(MarginalHBondRestraint self) -> double"""
2488  return _IMP_isd.MarginalHBondRestraint_get_probability(self)
2489 
2490  def do_get_inputs(self):
2491  """do_get_inputs(MarginalHBondRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2492  return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
2493 
2494  def get_version_info(self):
2495  """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
2496  return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
2497 
2498  def __str__(self):
2499  """__str__(MarginalHBondRestraint self) -> std::string"""
2500  return _IMP_isd.MarginalHBondRestraint___str__(self)
2501 
2502  def __repr__(self):
2503  """__repr__(MarginalHBondRestraint self) -> std::string"""
2504  return _IMP_isd.MarginalHBondRestraint___repr__(self)
2505 
2506  def get_from(o):
2507  return _object_cast_to_MarginalHBondRestraint(o)
2508  get_from = staticmethod(get_from)
2509 
2510 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
2511 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
2512 
2513 class TALOSRestraint(IMP.kernel.Restraint):
2514  """Proxy of C++ IMP::isd::TALOSRestraint class"""
2515  __swig_setmethods__ = {}
2516  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2517  __setattr__ = lambda self, name, value: _swig_setattr(self, TALOSRestraint, name, value)
2518  __swig_getmethods__ = {}
2519  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2520  __getattr__ = lambda self, name: _swig_getattr(self, TALOSRestraint, name)
2521  def __init__(self, *args):
2522  """
2523  __init__(IMP::isd::TALOSRestraint self, Model m, IMP::kernel::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
2524  __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
2525  __init__(IMP::isd::TALOSRestraint self, Model m, IMP::kernel::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
2526  __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, unsigned int N, double R0,
2527  double chiexp, Particle kappa) -> TALOSRestraint
2528  """
2529  this = _IMP_isd.new_TALOSRestraint(*args)
2530  try: self.this.append(this)
2531  except: self.this = this
2532  def get_probability(self):
2533  """get_probability(TALOSRestraint self) -> double"""
2534  return _IMP_isd.TALOSRestraint_get_probability(self)
2535 
2536  def get_R0(self):
2537  """get_R0(TALOSRestraint self) -> double"""
2538  return _IMP_isd.TALOSRestraint_get_R0(self)
2539 
2540  def get_chiexp(self):
2541  """get_chiexp(TALOSRestraint self) -> double"""
2542  return _IMP_isd.TALOSRestraint_get_chiexp(self)
2543 
2544  def do_get_inputs(self):
2545  """do_get_inputs(TALOSRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2546  return _IMP_isd.TALOSRestraint_do_get_inputs(self)
2547 
2548  def get_version_info(self):
2549  """get_version_info(TALOSRestraint self) -> VersionInfo"""
2550  return _IMP_isd.TALOSRestraint_get_version_info(self)
2551 
2552  def __str__(self):
2553  """__str__(TALOSRestraint self) -> std::string"""
2554  return _IMP_isd.TALOSRestraint___str__(self)
2555 
2556  def __repr__(self):
2557  """__repr__(TALOSRestraint self) -> std::string"""
2558  return _IMP_isd.TALOSRestraint___repr__(self)
2559 
2560  def get_from(o):
2561  return _object_cast_to_TALOSRestraint(o)
2562  get_from = staticmethod(get_from)
2563 
2564 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
2565 TALOSRestraint_swigregister(TALOSRestraint)
2566 
2567 class RepulsiveDistancePairScore(IMP.kernel.PairScore):
2568  """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
2569  __swig_setmethods__ = {}
2570  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2571  __setattr__ = lambda self, name, value: _swig_setattr(self, RepulsiveDistancePairScore, name, value)
2572  __swig_getmethods__ = {}
2573  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2574  __getattr__ = lambda self, name: _swig_getattr(self, RepulsiveDistancePairScore, name)
2575  def __init__(self, *args):
2576  """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
2577  this = _IMP_isd.new_RepulsiveDistancePairScore(*args)
2578  try: self.this.append(this)
2579  except: self.this = this
2580  def get_rest_length(self):
2581  """get_rest_length(RepulsiveDistancePairScore self) -> double"""
2582  return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
2583 
2584  def get_stiffness(self):
2585  """get_stiffness(RepulsiveDistancePairScore self) -> double"""
2586  return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
2587 
2588  def do_get_inputs(self, *args):
2589  """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::kernel::ParticleIndexes const & pis) -> IMP::kernel::ModelObjectsTemp"""
2590  return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, *args)
2591 
2592  def get_version_info(self):
2593  """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
2594  return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
2595 
2596  def __str__(self):
2597  """__str__(RepulsiveDistancePairScore self) -> std::string"""
2598  return _IMP_isd.RepulsiveDistancePairScore___str__(self)
2599 
2600  def __repr__(self):
2601  """__repr__(RepulsiveDistancePairScore self) -> std::string"""
2602  return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
2603 
2604  def get_from(o):
2605  return _object_cast_to_RepulsiveDistancePairScore(o)
2606  get_from = staticmethod(get_from)
2607 
2608 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
2609 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
2610 
2611 class AmbiguousRestraint(IMP.kernel.Restraint):
2612  """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
2613  __swig_setmethods__ = {}
2614  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2615  __setattr__ = lambda self, name, value: _swig_setattr(self, AmbiguousRestraint, name, value)
2616  __swig_getmethods__ = {}
2617  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2618  __getattr__ = lambda self, name: _swig_getattr(self, AmbiguousRestraint, name)
2619  def __init__(self, *args):
2620  """
2621  __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
2622  __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::kernel::Restraints rs) -> AmbiguousRestraint
2623  """
2624  this = _IMP_isd.new_AmbiguousRestraint(*args)
2625  try: self.this.append(this)
2626  except: self.this = this
2627  def get_probability(self):
2628  """get_probability(AmbiguousRestraint self) -> double"""
2629  return _IMP_isd.AmbiguousRestraint_get_probability(self)
2630 
2631  def do_get_inputs(self):
2632  """do_get_inputs(AmbiguousRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2633  return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
2634 
2635  def get_version_info(self):
2636  """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
2637  return _IMP_isd.AmbiguousRestraint_get_version_info(self)
2638 
2639  def __str__(self):
2640  """__str__(AmbiguousRestraint self) -> std::string"""
2641  return _IMP_isd.AmbiguousRestraint___str__(self)
2642 
2643  def __repr__(self):
2644  """__repr__(AmbiguousRestraint self) -> std::string"""
2645  return _IMP_isd.AmbiguousRestraint___repr__(self)
2646 
2647  def get_from(o):
2648  return _object_cast_to_AmbiguousRestraint(o)
2649  get_from = staticmethod(get_from)
2650 
2651 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
2652 AmbiguousRestraint_swigregister(AmbiguousRestraint)
2653 
2654 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
2655 class UnivariateFunction(IMP.base.Object):
2656  """Proxy of C++ IMP::isd::UnivariateFunction class"""
2657  __swig_setmethods__ = {}
2658  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2659  __setattr__ = lambda self, name, value: _swig_setattr(self, UnivariateFunction, name, value)
2660  __swig_getmethods__ = {}
2661  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2662  __getattr__ = lambda self, name: _swig_getattr(self, UnivariateFunction, name)
2663  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
2664  def __call__(self, *args):
2665  """
2666  __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
2667  __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2668  __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2669  """
2670  return _IMP_isd.UnivariateFunction___call__(self, *args)
2671 
2672  def has_changed(self):
2673  """has_changed(UnivariateFunction self) -> bool"""
2674  return _IMP_isd.UnivariateFunction_has_changed(self)
2675 
2676  def update(self):
2677  """update(UnivariateFunction self)"""
2678  return _IMP_isd.UnivariateFunction_update(self)
2679 
2680  def add_to_derivatives(self, *args):
2681  """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
2682  return _IMP_isd.UnivariateFunction_add_to_derivatives(self, *args)
2683 
2684  def add_to_particle_derivative(self, *args):
2685  """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2686  return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, *args)
2687 
2688  def get_derivative_vector(self, *args):
2689  """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd"""
2690  return _IMP_isd.UnivariateFunction_get_derivative_vector(self, *args)
2691 
2692  def get_derivative_matrix(self, *args):
2693  """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
2694  return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, *args)
2695 
2696  def get_second_derivative_vector(self, *args):
2697  """
2698  get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2699  get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2700  bool stupid) -> IMP::FloatsList
2701  """
2702  return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
2703 
2704  def get_ndims_x(self):
2705  """get_ndims_x(UnivariateFunction self) -> unsigned int"""
2706  return _IMP_isd.UnivariateFunction_get_ndims_x(self)
2707 
2708  def get_ndims_y(self):
2709  """get_ndims_y(UnivariateFunction self) -> unsigned int"""
2710  return _IMP_isd.UnivariateFunction_get_ndims_y(self)
2711 
2712  def get_number_of_particles(self):
2713  """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
2714  return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
2715 
2716  def get_particle_is_optimized(self, *args):
2717  """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
2718  return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, *args)
2719 
2720  def get_number_of_optimized_particles(self):
2721  """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
2722  return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
2723 
2724  def get_input_particles(self):
2725  """get_input_particles(UnivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2726  return _IMP_isd.UnivariateFunction_get_input_particles(self)
2727 
2728  def get_input_containers(self):
2729  """get_input_containers(UnivariateFunction self) -> IMP::kernel::ContainersTemp"""
2730  return _IMP_isd.UnivariateFunction_get_input_containers(self)
2731 
2732  __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
2733  __del__ = lambda self : None;
2734  def __str__(self):
2735  """__str__(UnivariateFunction self) -> std::string"""
2736  return _IMP_isd.UnivariateFunction___str__(self)
2737 
2738  def __repr__(self):
2739  """__repr__(UnivariateFunction self) -> std::string"""
2740  return _IMP_isd.UnivariateFunction___repr__(self)
2741 
2742  def get_from(o):
2743  return _object_cast_to_UnivariateFunction(o)
2744  get_from = staticmethod(get_from)
2745 
2746 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
2747 UnivariateFunction_swigregister(UnivariateFunction)
2748 
2749 class Linear1DFunction(UnivariateFunction):
2750  """Proxy of C++ IMP::isd::Linear1DFunction class"""
2751  __swig_setmethods__ = {}
2752  for _s in [UnivariateFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2753  __setattr__ = lambda self, name, value: _swig_setattr(self, Linear1DFunction, name, value)
2754  __swig_getmethods__ = {}
2755  for _s in [UnivariateFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2756  __getattr__ = lambda self, name: _swig_getattr(self, Linear1DFunction, name)
2757  def __init__(self, *args):
2758  """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
2759  this = _IMP_isd.new_Linear1DFunction(*args)
2760  try: self.this.append(this)
2761  except: self.this = this
2762  def __call__(self, *args):
2763  """
2764  __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
2765  __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2766  __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2767  """
2768  return _IMP_isd.Linear1DFunction___call__(self, *args)
2769 
2770  def get_second_derivative_vector(self, *args):
2771  """
2772  get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2773  get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2774  bool arg5) -> IMP::FloatsList
2775  """
2776  return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
2777 
2778  def get_version_info(self):
2779  """get_version_info(Linear1DFunction self) -> VersionInfo"""
2780  return _IMP_isd.Linear1DFunction_get_version_info(self)
2781 
2782  def __str__(self):
2783  """__str__(Linear1DFunction self) -> std::string"""
2784  return _IMP_isd.Linear1DFunction___str__(self)
2785 
2786  def __repr__(self):
2787  """__repr__(Linear1DFunction self) -> std::string"""
2788  return _IMP_isd.Linear1DFunction___repr__(self)
2789 
2790  def get_from(o):
2791  return _object_cast_to_Linear1DFunction(o)
2792  get_from = staticmethod(get_from)
2793 
2794 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
2795 Linear1DFunction_swigregister(Linear1DFunction)
2796 
2797 class GeneralizedGuinierPorodFunction(UnivariateFunction):
2798  """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
2799  __swig_setmethods__ = {}
2800  for _s in [UnivariateFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2801  __setattr__ = lambda self, name, value: _swig_setattr(self, GeneralizedGuinierPorodFunction, name, value)
2802  __swig_getmethods__ = {}
2803  for _s in [UnivariateFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2804  __getattr__ = lambda self, name: _swig_getattr(self, GeneralizedGuinierPorodFunction, name)
2805  def __init__(self, *args):
2806  """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
2807  this = _IMP_isd.new_GeneralizedGuinierPorodFunction(*args)
2808  try: self.this.append(this)
2809  except: self.this = this
2810  def __call__(self, *args):
2811  """
2812  __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
2813  __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2814  __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2815  """
2816  return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
2817 
2818  def get_second_derivative_vector(self, *args):
2819  """
2820  get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
2821  get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2822  bool arg5) -> IMP::FloatsList
2823  """
2824  return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
2825 
2826  def get_version_info(self):
2827  """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
2828  return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
2829 
2830  def __str__(self):
2831  """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
2832  return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
2833 
2834  def __repr__(self):
2835  """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
2836  return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
2837 
2838  def get_from(o):
2839  return _object_cast_to_GeneralizedGuinierPorodFunction(o)
2840  get_from = staticmethod(get_from)
2841 
2842 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
2843 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
2844 
2845 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
2846 class BivariateFunction(IMP.base.Object):
2847  """Proxy of C++ IMP::isd::BivariateFunction class"""
2848  __swig_setmethods__ = {}
2849  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2850  __setattr__ = lambda self, name, value: _swig_setattr(self, BivariateFunction, name, value)
2851  __swig_getmethods__ = {}
2852  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2853  __getattr__ = lambda self, name: _swig_getattr(self, BivariateFunction, name)
2854  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
2855  def __call__(self, *args):
2856  """
2857  __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2858  __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2859  __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2860  """
2861  return _IMP_isd.BivariateFunction___call__(self, *args)
2862 
2863  def has_changed(self):
2864  """has_changed(BivariateFunction self) -> bool"""
2865  return _IMP_isd.BivariateFunction_has_changed(self)
2866 
2867  def update(self):
2868  """update(BivariateFunction self)"""
2869  return _IMP_isd.BivariateFunction_update(self)
2870 
2871  def add_to_derivatives(self, *args):
2872  """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
2873  return _IMP_isd.BivariateFunction_add_to_derivatives(self, *args)
2874 
2875  def add_to_particle_derivative(self, *args):
2876  """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2877  return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, *args)
2878 
2879  def get_derivative_matrix(self, *args):
2880  """
2881  get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2882  get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2883  """
2884  return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
2885 
2886  def get_second_derivative_matrix(self, *args):
2887  """
2888  get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2889  get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2890  bool stupid) -> IMP::FloatsList
2891  """
2892  return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
2893 
2894  def get_ndims_x1(self):
2895  """get_ndims_x1(BivariateFunction self) -> unsigned int"""
2896  return _IMP_isd.BivariateFunction_get_ndims_x1(self)
2897 
2898  def get_ndims_x2(self):
2899  """get_ndims_x2(BivariateFunction self) -> unsigned int"""
2900  return _IMP_isd.BivariateFunction_get_ndims_x2(self)
2901 
2902  def get_ndims_y(self):
2903  """get_ndims_y(BivariateFunction self) -> unsigned int"""
2904  return _IMP_isd.BivariateFunction_get_ndims_y(self)
2905 
2906  def get_number_of_particles(self):
2907  """get_number_of_particles(BivariateFunction self) -> unsigned int"""
2908  return _IMP_isd.BivariateFunction_get_number_of_particles(self)
2909 
2910  def get_particle_is_optimized(self, *args):
2911  """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
2912  return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, *args)
2913 
2914  def get_number_of_optimized_particles(self):
2915  """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
2916  return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
2917 
2918  def get_input_particles(self):
2919  """get_input_particles(BivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2920  return _IMP_isd.BivariateFunction_get_input_particles(self)
2921 
2922  def get_input_containers(self):
2923  """get_input_containers(BivariateFunction self) -> IMP::kernel::ContainersTemp"""
2924  return _IMP_isd.BivariateFunction_get_input_containers(self)
2925 
2926  __swig_destroy__ = _IMP_isd.delete_BivariateFunction
2927  __del__ = lambda self : None;
2928  def __str__(self):
2929  """__str__(BivariateFunction self) -> std::string"""
2930  return _IMP_isd.BivariateFunction___str__(self)
2931 
2932  def __repr__(self):
2933  """__repr__(BivariateFunction self) -> std::string"""
2934  return _IMP_isd.BivariateFunction___repr__(self)
2935 
2936  def get_from(o):
2937  return _object_cast_to_BivariateFunction(o)
2938  get_from = staticmethod(get_from)
2939 
2940 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
2941 BivariateFunction_swigregister(BivariateFunction)
2942 
2943 class Covariance1DFunction(BivariateFunction):
2944  """Proxy of C++ IMP::isd::Covariance1DFunction class"""
2945  __swig_setmethods__ = {}
2946  for _s in [BivariateFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2947  __setattr__ = lambda self, name, value: _swig_setattr(self, Covariance1DFunction, name, value)
2948  __swig_getmethods__ = {}
2949  for _s in [BivariateFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2950  __getattr__ = lambda self, name: _swig_getattr(self, Covariance1DFunction, name)
2951  def __init__(self, *args):
2952  """
2953  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
2954  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
2955  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
2956  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
2957  """
2958  this = _IMP_isd.new_Covariance1DFunction(*args)
2959  try: self.this.append(this)
2960  except: self.this = this
2961  def __call__(self, *args):
2962  """
2963  __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2964  __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2965  __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2966  """
2967  return _IMP_isd.Covariance1DFunction___call__(self, *args)
2968 
2969  def get_derivative_matrix(self, *args):
2970  """
2971  get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2972  get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
2973  """
2974  return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
2975 
2976  def get_second_derivative_matrix(self, *args):
2977  """
2978  get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
2979  get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2980  bool arg5) -> IMP::FloatsList
2981  """
2982  return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
2983 
2984  def get_version_info(self):
2985  """get_version_info(Covariance1DFunction self) -> VersionInfo"""
2986  return _IMP_isd.Covariance1DFunction_get_version_info(self)
2987 
2988  def __str__(self):
2989  """__str__(Covariance1DFunction self) -> std::string"""
2990  return _IMP_isd.Covariance1DFunction___str__(self)
2991 
2992  def __repr__(self):
2993  """__repr__(Covariance1DFunction self) -> std::string"""
2994  return _IMP_isd.Covariance1DFunction___repr__(self)
2995 
2996  def get_from(o):
2997  return _object_cast_to_Covariance1DFunction(o)
2998  get_from = staticmethod(get_from)
2999 
3000 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
3001 Covariance1DFunction_swigregister(Covariance1DFunction)
3002 
3003 class GaussianProcessInterpolation(IMP.base.Object):
3004  """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
3005  __swig_setmethods__ = {}
3006  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3007  __setattr__ = lambda self, name, value: _swig_setattr(self, GaussianProcessInterpolation, name, value)
3008  __swig_getmethods__ = {}
3009  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3010  __getattr__ = lambda self, name: _swig_getattr(self, GaussianProcessInterpolation, name)
3011  def __init__(self, *args):
3012  """
3013  __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
3014  UnivariateFunction mean_function, BivariateFunction covariance_function,
3015  Particle sigma, double sparse_cutoff=1e-7) -> GaussianProcessInterpolation
3016  __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
3017  UnivariateFunction mean_function, BivariateFunction covariance_function,
3018  Particle sigma) -> GaussianProcessInterpolation
3019  """
3020  this = _IMP_isd.new_GaussianProcessInterpolation(*args)
3021  try: self.this.append(this)
3022  except: self.this = this
3023  def get_posterior_mean(self, *args):
3024  """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
3025  return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, *args)
3026 
3027  def get_posterior_covariance(self, *args):
3028  """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
3029  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, *args)
3030 
3031  def get_posterior_covariance_matrix(self, *args):
3032  """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
3033  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, *args)
3034 
3035  def get_posterior_covariance_derivative(self, *args):
3036  """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
3037  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, *args)
3038 
3039  def get_posterior_covariance_hessian(self, *args):
3040  """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
3041  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, *args)
3042 
3043  def get_input_particles(self):
3044  """get_input_particles(GaussianProcessInterpolation self) -> IMP::kernel::ParticlesTemp"""
3045  return _IMP_isd.GaussianProcessInterpolation_get_input_particles(self)
3046 
3047  def get_input_containers(self):
3048  """get_input_containers(GaussianProcessInterpolation self) -> IMP::kernel::ContainersTemp"""
3049  return _IMP_isd.GaussianProcessInterpolation_get_input_containers(self)
3050 
3051  def force_mean_update(self):
3052  """force_mean_update(GaussianProcessInterpolation self)"""
3053  return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
3054 
3055  def force_covariance_update(self):
3056  """force_covariance_update(GaussianProcessInterpolation self)"""
3057  return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
3058 
3059  def get_number_of_m_particles(self):
3060  """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
3061  return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
3062 
3063  def get_m_particle_is_optimized(self, *args):
3064  """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3065  return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, *args)
3066 
3067  def get_number_of_Omega_particles(self):
3068  """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
3069  return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
3070 
3071  def get_Omega_particle_is_optimized(self, *args):
3072  """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3073  return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, *args)
3074 
3075  def get_data_abscissa(self):
3076  """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3077  return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
3078 
3079  def get_data_mean(self):
3080  """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
3081  return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
3082 
3083  def get_data_variance(self):
3084  """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3085  return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
3086 
3087  def get_version_info(self):
3088  """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
3089  return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
3090 
3091  def __str__(self):
3092  """__str__(GaussianProcessInterpolation self) -> std::string"""
3093  return _IMP_isd.GaussianProcessInterpolation___str__(self)
3094 
3095  def __repr__(self):
3096  """__repr__(GaussianProcessInterpolation self) -> std::string"""
3097  return _IMP_isd.GaussianProcessInterpolation___repr__(self)
3098 
3099  def get_from(o):
3100  return _object_cast_to_GaussianProcessInterpolation(o)
3101  get_from = staticmethod(get_from)
3102 
3103 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
3104 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
3105 
3106 class GaussianProcessInterpolationRestraint(IMP.kernel.Restraint):
3107  """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
3108  __swig_setmethods__ = {}
3109  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3110  __setattr__ = lambda self, name, value: _swig_setattr(self, GaussianProcessInterpolationRestraint, name, value)
3111  __swig_getmethods__ = {}
3112  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3113  __getattr__ = lambda self, name: _swig_getattr(self, GaussianProcessInterpolationRestraint, name)
3114  def __init__(self, *args):
3115  """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
3116  this = _IMP_isd.new_GaussianProcessInterpolationRestraint(*args)
3117  try: self.this.append(this)
3118  except: self.this = this
3119  def get_probability(self):
3120  """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
3121  return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
3122 
3123  def stats(self):
3124  """stats(GaussianProcessInterpolationRestraint self)"""
3125  return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
3126 
3127  def set_use_cg(self, *args):
3128  """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
3129  return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, *args)
3130 
3131  def get_minus_log_normalization(self):
3132  """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
3133  return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
3134 
3135  def get_minus_exponent(self):
3136  """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
3137  return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
3138 
3139  def get_logdet_hessian(self):
3140  """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
3141  return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
3142 
3143  def get_hessian(self, *args):
3144  """
3145  get_hessian(GaussianProcessInterpolationRestraint self) -> IMP_Eigen::MatrixXd
3146  get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
3147  """
3148  return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
3149 
3150  def do_get_inputs(self):
3151  """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3152  return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
3153 
3154  def get_version_info(self):
3155  """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
3156  return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
3157 
3158  def __str__(self):
3159  """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
3160  return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
3161 
3162  def __repr__(self):
3163  """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
3164  return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
3165 
3166  def get_from(o):
3167  return _object_cast_to_GaussianProcessInterpolationRestraint(o)
3168  get_from = staticmethod(get_from)
3169 
3170 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
3171 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
3172 
3173 class MolecularDynamics(IMP.atom.MolecularDynamics):
3174  """Proxy of C++ IMP::isd::MolecularDynamics class"""
3175  __swig_setmethods__ = {}
3176  for _s in [IMP.atom.MolecularDynamics]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3177  __setattr__ = lambda self, name, value: _swig_setattr(self, MolecularDynamics, name, value)
3178  __swig_getmethods__ = {}
3179  for _s in [IMP.atom.MolecularDynamics]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3180  __getattr__ = lambda self, name: _swig_getattr(self, MolecularDynamics, name)
3181  def __init__(self, m=None):
3182  """
3183  __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
3184  __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
3185  """
3186  this = _IMP_isd.new_MolecularDynamics(m)
3187  try: self.this.append(this)
3188  except: self.this = this
3189  def __str__(self):
3190  """__str__(MolecularDynamics self) -> std::string"""
3191  return _IMP_isd.MolecularDynamics___str__(self)
3192 
3193  def __repr__(self):
3194  """__repr__(MolecularDynamics self) -> std::string"""
3195  return _IMP_isd.MolecularDynamics___repr__(self)
3196 
3197  def get_from(o):
3198  return _object_cast_to_MolecularDynamics(o)
3199  get_from = staticmethod(get_from)
3200 
3201  __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
3202  __del__ = lambda self : None;
3203 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
3204 MolecularDynamics_swigregister(MolecularDynamics)
3205 
3206 class MolecularDynamicsMover(IMP.core.MonteCarloMover):
3207  """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
3208  __swig_setmethods__ = {}
3209  for _s in [IMP.core.MonteCarloMover]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3210  __setattr__ = lambda self, name, value: _swig_setattr(self, MolecularDynamicsMover, name, value)
3211  __swig_getmethods__ = {}
3212  for _s in [IMP.core.MonteCarloMover]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3213  __getattr__ = lambda self, name: _swig_getattr(self, MolecularDynamicsMover, name)
3214  def __init__(self, *args):
3215  """
3216  __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
3217  __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
3218  __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
3219  """
3220  this = _IMP_isd.new_MolecularDynamicsMover(*args)
3221  try: self.this.append(this)
3222  except: self.this = this
3223  def get_md(self):
3224  """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
3225  return _IMP_isd.MolecularDynamicsMover_get_md(self)
3226 
3227  def get_number_of_md_steps(self):
3228  """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
3229  return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
3230 
3231  def set_number_of_md_steps(self, *args):
3232  """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
3233  return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, *args)
3234 
3235  def get_version_info(self):
3236  """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
3237  return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
3238 
3239  def __str__(self):
3240  """__str__(MolecularDynamicsMover self) -> std::string"""
3241  return _IMP_isd.MolecularDynamicsMover___str__(self)
3242 
3243  def __repr__(self):
3244  """__repr__(MolecularDynamicsMover self) -> std::string"""
3245  return _IMP_isd.MolecularDynamicsMover___repr__(self)
3246 
3247  def get_from(o):
3248  return _object_cast_to_MolecularDynamicsMover(o)
3249  get_from = staticmethod(get_from)
3250 
3251 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
3252 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
3253 
3254 class HybridMonteCarlo(IMP.core.MonteCarlo):
3255  """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
3256  __swig_setmethods__ = {}
3257  for _s in [IMP.core.MonteCarlo]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3258  __setattr__ = lambda self, name, value: _swig_setattr(self, HybridMonteCarlo, name, value)
3259  __swig_getmethods__ = {}
3260  for _s in [IMP.core.MonteCarlo]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3261  __getattr__ = lambda self, name: _swig_getattr(self, HybridMonteCarlo, name)
3262  def __init__(self, *args):
3263  """
3264  __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
3265  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
3266  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
3267  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
3268  __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
3269  """
3270  this = _IMP_isd.new_HybridMonteCarlo(*args)
3271  try: self.this.append(this)
3272  except: self.this = this
3273  def get_kinetic_energy(self):
3274  """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
3275  return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
3276 
3277  def get_potential_energy(self):
3278  """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
3279  return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
3280 
3281  def get_total_energy(self):
3282  """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
3283  return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
3284 
3285  def set_timestep(self, *args):
3286  """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
3287  return _IMP_isd.HybridMonteCarlo_set_timestep(self, *args)
3288 
3289  def get_timestep(self):
3290  """get_timestep(HybridMonteCarlo self) -> double"""
3291  return _IMP_isd.HybridMonteCarlo_get_timestep(self)
3292 
3293  def set_number_of_md_steps(self, *args):
3294  """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
3295  return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, *args)
3296 
3297  def get_number_of_md_steps(self):
3298  """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
3299  return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
3300 
3301  def set_persistence(self, persistence=1):
3302  """
3303  set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
3304  set_persistence(HybridMonteCarlo self)
3305  """
3306  return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
3307 
3308  def get_persistence(self):
3309  """get_persistence(HybridMonteCarlo self) -> unsigned int"""
3310  return _IMP_isd.HybridMonteCarlo_get_persistence(self)
3311 
3312  def get_md(self):
3313  """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
3314  return _IMP_isd.HybridMonteCarlo_get_md(self)
3315 
3316  def do_evaluate(self, *args):
3317  """do_evaluate(HybridMonteCarlo self, IMP::kernel::ParticleIndexes const & arg2) -> double"""
3318  return _IMP_isd.HybridMonteCarlo_do_evaluate(self, *args)
3319 
3320  def do_step(self):
3321  """do_step(HybridMonteCarlo self)"""
3322  return _IMP_isd.HybridMonteCarlo_do_step(self)
3323 
3324  def __str__(self):
3325  """__str__(HybridMonteCarlo self) -> std::string"""
3326  return _IMP_isd.HybridMonteCarlo___str__(self)
3327 
3328  def __repr__(self):
3329  """__repr__(HybridMonteCarlo self) -> std::string"""
3330  return _IMP_isd.HybridMonteCarlo___repr__(self)
3331 
3332  def get_from(o):
3333  return _object_cast_to_HybridMonteCarlo(o)
3334  get_from = staticmethod(get_from)
3335 
3336 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
3337 HybridMonteCarlo_swigregister(HybridMonteCarlo)
3338 
3339 class FretData(IMP.base.Object):
3340  """Proxy of C++ IMP::isd::FretData class"""
3341  __swig_setmethods__ = {}
3342  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3343  __setattr__ = lambda self, name, value: _swig_setattr(self, FretData, name, value)
3344  __swig_getmethods__ = {}
3345  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3346  __getattr__ = lambda self, name: _swig_getattr(self, FretData, name)
3347  def __init__(self, *args):
3348  """
3349  __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid,
3350  IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax, bool do_limit=True) -> FretData
3351  __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid,
3352  IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax) -> FretData
3353  """
3354  this = _IMP_isd.new_FretData(*args)
3355  try: self.this.append(this)
3356  except: self.this = this
3357  def get_closest(self, *args):
3358  """get_closest(FretData self, DistBase vec, double value) -> int"""
3359  return _IMP_isd.FretData_get_closest(self, *args)
3360 
3361  def get_probability(self, *args):
3362  """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
3363  return _IMP_isd.FretData_get_probability(self, *args)
3364 
3365  def get_kernel(self, *args):
3366  """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
3367  return _IMP_isd.FretData_get_kernel(self, *args)
3368 
3369  def get_marginal_element(self, *args):
3370  """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
3371  return _IMP_isd.FretData_get_marginal_element(self, *args)
3372 
3373  def get_version_info(self):
3374  """get_version_info(FretData self) -> VersionInfo"""
3375  return _IMP_isd.FretData_get_version_info(self)
3376 
3377  def __str__(self):
3378  """__str__(FretData self) -> std::string"""
3379  return _IMP_isd.FretData___str__(self)
3380 
3381  def __repr__(self):
3382  """__repr__(FretData self) -> std::string"""
3383  return _IMP_isd.FretData___repr__(self)
3384 
3385  def get_from(o):
3386  return _object_cast_to_FretData(o)
3387  get_from = staticmethod(get_from)
3388 
3389 FretData_swigregister = _IMP_isd.FretData_swigregister
3390 FretData_swigregister(FretData)
3391 
3392 class FretRestraint(IMP.kernel.Restraint):
3393  """Proxy of C++ IMP::isd::FretRestraint class"""
3394  __swig_setmethods__ = {}
3395  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3396  __setattr__ = lambda self, name, value: _swig_setattr(self, FretRestraint, name, value)
3397  __swig_getmethods__ = {}
3398  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3399  __getattr__ = lambda self, name: _swig_getattr(self, FretRestraint, name)
3400  def __init__(self, *args):
3401  """
3402  __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3403  Particle R0, Particle sigma0, Particle Pbl, double fexp, double m_d=1.0, double m_a=1.0) -> FretRestraint
3404  __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3405  Particle R0, Particle sigma0, Particle Pbl, double fexp, double m_d=1.0) -> FretRestraint
3406  __init__(IMP::isd::FretRestraint self, IMP::kernel::Particles pd, IMP::kernel::Particles pa, Particle kda, Particle Ida,
3407  Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
3408  __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
3409  __init__(IMP::isd::FretRestraint self, Particle prd, Vector3D GMMterd, IMP::algebra::Vector3Ds GMMctrd, IMP::Floats GMMwd,
3410  IMP::Floats GMMsigd, Particle pra, Vector3D GMMtera, IMP::algebra::Vector3Ds GMMctra,
3411  IMP::Floats GMMwa, IMP::Floats GMMsiga, Particle kda, Particle Ida,
3412  Particle sigma0, Particle Pbl, FretData data, double fexp) -> FretRestraint
3413  """
3414  this = _IMP_isd.new_FretRestraint(*args)
3415  try: self.this.append(this)
3416  except: self.this = this
3417  def get_sumFi(self):
3418  """get_sumFi(FretRestraint self) -> double"""
3419  return _IMP_isd.FretRestraint_get_sumFi(self)
3420 
3421  def get_average_sigma(self, *args):
3422  """get_average_sigma(FretRestraint self, double fmod) -> double"""
3423  return _IMP_isd.FretRestraint_get_average_sigma(self, *args)
3424 
3425  def get_standard_error(self):
3426  """get_standard_error(FretRestraint self) -> double"""
3427  return _IMP_isd.FretRestraint_get_standard_error(self)
3428 
3429  def get_model_fretr(self):
3430  """get_model_fretr(FretRestraint self) -> double"""
3431  return _IMP_isd.FretRestraint_get_model_fretr(self)
3432 
3433  def get_probability(self):
3434  """get_probability(FretRestraint self) -> double"""
3435  return _IMP_isd.FretRestraint_get_probability(self)
3436 
3437  def get_experimental_value(self):
3438  """get_experimental_value(FretRestraint self) -> double"""
3439  return _IMP_isd.FretRestraint_get_experimental_value(self)
3440 
3441  def set_experimental_value(self, *args):
3442  """set_experimental_value(FretRestraint self, double fexp)"""
3443  return _IMP_isd.FretRestraint_set_experimental_value(self, *args)
3444 
3445  def do_get_inputs(self):
3446  """do_get_inputs(FretRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3447  return _IMP_isd.FretRestraint_do_get_inputs(self)
3448 
3449  def get_version_info(self):
3450  """get_version_info(FretRestraint self) -> VersionInfo"""
3451  return _IMP_isd.FretRestraint_get_version_info(self)
3452 
3453  def __str__(self):
3454  """__str__(FretRestraint self) -> std::string"""
3455  return _IMP_isd.FretRestraint___str__(self)
3456 
3457  def __repr__(self):
3458  """__repr__(FretRestraint self) -> std::string"""
3459  return _IMP_isd.FretRestraint___repr__(self)
3460 
3461  def get_from(o):
3462  return _object_cast_to_FretRestraint(o)
3463  get_from = staticmethod(get_from)
3464 
3465 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
3466 FretRestraint_swigregister(FretRestraint)
3467 
3468 class CysteineCrossLinkData(IMP.base.Object):
3469  """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
3470  __swig_setmethods__ = {}
3471  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3472  __setattr__ = lambda self, name, value: _swig_setattr(self, CysteineCrossLinkData, name, value)
3473  __swig_getmethods__ = {}
3474  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3475  __getattr__ = lambda self, name: _swig_getattr(self, CysteineCrossLinkData, name)
3476  def __init__(self, *args):
3477  """
3478  __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid,
3479  int prior_type=3) -> CysteineCrossLinkData
3480  __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
3481  """
3482  this = _IMP_isd.new_CysteineCrossLinkData(*args)
3483  try: self.this.append(this)
3484  except: self.this = this
3485  def get_closest(self, *args):
3486  """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
3487  return _IMP_isd.CysteineCrossLinkData_get_closest(self, *args)
3488 
3489  def get_omegas(self, *args):
3490  """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
3491  return _IMP_isd.CysteineCrossLinkData_get_omegas(self, *args)
3492 
3493  def get_nonmarginal_elements(self, *args):
3494  """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
3495  return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, *args)
3496 
3497  def get_marginal_elements(self, *args):
3498  """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
3499  return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, *args)
3500 
3501  def get_omega(self, *args):
3502  """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3503  return _IMP_isd.CysteineCrossLinkData_get_omega(self, *args)
3504 
3505  def get_standard_deviation(self, *args):
3506  """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3507  return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, *args)
3508 
3509  def get_nonmarginal_element(self, *args):
3510  """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
3511  return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, *args)
3512 
3513  def get_marginal_element(self, *args):
3514  """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
3515  return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, *args)
3516 
3517  def get_version_info(self):
3518  """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
3519  return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
3520 
3521  def __str__(self):
3522  """__str__(CysteineCrossLinkData self) -> std::string"""
3523  return _IMP_isd.CysteineCrossLinkData___str__(self)
3524 
3525  def __repr__(self):
3526  """__repr__(CysteineCrossLinkData self) -> std::string"""
3527  return _IMP_isd.CysteineCrossLinkData___repr__(self)
3528 
3529  def get_from(o):
3530  return _object_cast_to_CysteineCrossLinkData(o)
3531  get_from = staticmethod(get_from)
3532 
3533 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
3534 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
3535 
3536 class CrossLinkData(IMP.base.Object):
3537  """Proxy of C++ IMP::isd::CrossLinkData class"""
3538  __swig_setmethods__ = {}
3539  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3540  __setattr__ = lambda self, name, value: _swig_setattr(self, CrossLinkData, name, value)
3541  __swig_getmethods__ = {}
3542  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3543  __getattr__ = lambda self, name: _swig_getattr(self, CrossLinkData, name)
3544  def __init__(self, *args):
3545  """
3546  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3547  double don=std::numeric_limits< double >::max(), double doff=std::numeric_limits< double >::max(),
3548  int prior_type=0) -> CrossLinkData
3549  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3550  double don=std::numeric_limits< double >::max(), double doff=std::numeric_limits< double >::max()) -> CrossLinkData
3551  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_,
3552  double don=std::numeric_limits< double >::max()) -> CrossLinkData
3553  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
3554  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3555  IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max(),
3556  double doff=std::numeric_limits< double >::max(), int prior_type=0) -> CrossLinkData
3557  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3558  IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max(),
3559  double doff=std::numeric_limits< double >::max()) -> CrossLinkData
3560  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3561  IMP::Floats pot_value_grid, double don=std::numeric_limits< double >::max()) -> CrossLinkData
3562  __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid,
3563  IMP::Floats pot_value_grid) -> CrossLinkData
3564  """
3565  this = _IMP_isd.new_CrossLinkData(*args)
3566  try: self.this.append(this)
3567  except: self.this = this
3568  def get_closest(self, *args):
3569  """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
3570  return _IMP_isd.CrossLinkData_get_closest(self, *args)
3571 
3572  def get_omegas(self, *args):
3573  """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
3574  return _IMP_isd.CrossLinkData_get_omegas(self, *args)
3575 
3576  def get_omega_prior(self, *args):
3577  """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
3578  return _IMP_isd.CrossLinkData_get_omega_prior(self, *args)
3579 
3580  def get_nonmarginal_elements(self, *args):
3581  """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
3582  return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, *args)
3583 
3584  def get_marginal_elements(self, *args):
3585  """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
3586  return _IMP_isd.CrossLinkData_get_marginal_elements(self, *args)
3587 
3588  def get_marginal_maximum(self, *args):
3589  """
3590  get_marginal_maximum(CrossLinkData self, double sigma) -> double
3591  get_marginal_maximum(CrossLinkData self) -> double
3592  """
3593  return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
3594 
3595  def get_version_info(self):
3596  """get_version_info(CrossLinkData self) -> VersionInfo"""
3597  return _IMP_isd.CrossLinkData_get_version_info(self)
3598 
3599  def __str__(self):
3600  """__str__(CrossLinkData self) -> std::string"""
3601  return _IMP_isd.CrossLinkData___str__(self)
3602 
3603  def __repr__(self):
3604  """__repr__(CrossLinkData self) -> std::string"""
3605  return _IMP_isd.CrossLinkData___repr__(self)
3606 
3607  def get_from(o):
3608  return _object_cast_to_CrossLinkData(o)
3609  get_from = staticmethod(get_from)
3610 
3611 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
3612 CrossLinkData_swigregister(CrossLinkData)
3613 
3614 class CysteineCrossLinkRestraint(IMP.kernel.Restraint):
3615  """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
3616  __swig_setmethods__ = {}
3617  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3618  __setattr__ = lambda self, name, value: _swig_setattr(self, CysteineCrossLinkRestraint, name, value)
3619  __swig_getmethods__ = {}
3620  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3621  __getattr__ = lambda self, name: _swig_getattr(self, CysteineCrossLinkRestraint, name)
3622  def __init__(self, *args):
3623  """
3624  __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data,
3625  double fexp) -> CysteineCrossLinkRestraint
3626  __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data,
3627  CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
3628  """
3629  this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
3630  try: self.this.append(this)
3631  except: self.this = this
3632  def get_probability(self):
3633  """get_probability(CysteineCrossLinkRestraint self) -> double"""
3634  return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
3635 
3636  def get_standard_error(self):
3637  """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
3638  return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
3639 
3640  def get_frequencies(self):
3641  """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
3642  return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
3643 
3644  def get_model_frequency(self):
3645  """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
3646  return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
3647 
3648  def get_distances(self):
3649  """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
3650  return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
3651 
3652  def get_truncated_normalization(self, *args):
3653  """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
3654  return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, *args)
3655 
3656  def get_normal_pdf(self, *args):
3657  """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
3658  return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, *args)
3659 
3660  def add_contribution(self, *args):
3661  """
3662  add_contribution(CysteineCrossLinkRestraint self, Particle p1, Particle p2)
3663  add_contribution(CysteineCrossLinkRestraint self, IMP::kernel::Particles p1, IMP::kernel::Particles p2)
3664  """
3665  return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
3666 
3667  def get_CB_coordinates(self, *args):
3668  """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::kernel::Particles const & ps) -> Vector3D"""
3669  return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, *args)
3670 
3671  def get_number_of_contributions(self):
3672  """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
3673  return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
3674 
3675  def do_get_inputs(self):
3676  """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3677  return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
3678 
3679  def get_version_info(self):
3680  """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
3681  return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
3682 
3683  def __str__(self):
3684  """__str__(CysteineCrossLinkRestraint self) -> std::string"""
3685  return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
3686 
3687  def __repr__(self):
3688  """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
3689  return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
3690 
3691  def get_from(o):
3692  return _object_cast_to_CysteineCrossLinkRestraint(o)
3693  get_from = staticmethod(get_from)
3694 
3695 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
3696 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
3697 
3698 class WeightMover(IMP.core.MonteCarloMover):
3699  """Proxy of C++ IMP::isd::WeightMover class"""
3700  __swig_setmethods__ = {}
3701  for _s in [IMP.core.MonteCarloMover]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3702  __setattr__ = lambda self, name, value: _swig_setattr(self, WeightMover, name, value)
3703  __swig_getmethods__ = {}
3704  for _s in [IMP.core.MonteCarloMover]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3705  __getattr__ = lambda self, name: _swig_getattr(self, WeightMover, name)
3706  def __init__(self, *args):
3707  """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
3708  this = _IMP_isd.new_WeightMover(*args)
3709  try: self.this.append(this)
3710  except: self.this = this
3711  def set_radius(self, *args):
3712  """set_radius(WeightMover self, IMP::Float radius)"""
3713  return _IMP_isd.WeightMover_set_radius(self, *args)
3714 
3715  def get_radius(self):
3716  """get_radius(WeightMover self) -> IMP::Float"""
3717  return _IMP_isd.WeightMover_get_radius(self)
3718 
3719  def get_version_info(self):
3720  """get_version_info(WeightMover self) -> VersionInfo"""
3721  return _IMP_isd.WeightMover_get_version_info(self)
3722 
3723  def __str__(self):
3724  """__str__(WeightMover self) -> std::string"""
3725  return _IMP_isd.WeightMover___str__(self)
3726 
3727  def __repr__(self):
3728  """__repr__(WeightMover self) -> std::string"""
3729  return _IMP_isd.WeightMover___repr__(self)
3730 
3731  def get_from(o):
3732  return _object_cast_to_WeightMover(o)
3733  get_from = staticmethod(get_from)
3734 
3735 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
3736 WeightMover_swigregister(WeightMover)
3737 
3738 class WeightRestraint(IMP.kernel.Restraint):
3739  """Proxy of C++ IMP::isd::WeightRestraint class"""
3740  __swig_setmethods__ = {}
3741  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3742  __setattr__ = lambda self, name, value: _swig_setattr(self, WeightRestraint, name, value)
3743  __swig_getmethods__ = {}
3744  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3745  __getattr__ = lambda self, name: _swig_getattr(self, WeightRestraint, name)
3746  def __init__(self, *args):
3747  """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
3748  this = _IMP_isd.new_WeightRestraint(*args)
3749  try: self.this.append(this)
3750  except: self.this = this
3751  def do_get_inputs(self):
3752  """do_get_inputs(WeightRestraint self) -> IMP::kernel::ModelObjectsTemp"""
3753  return _IMP_isd.WeightRestraint_do_get_inputs(self)
3754 
3755  def get_version_info(self):
3756  """get_version_info(WeightRestraint self) -> VersionInfo"""
3757  return _IMP_isd.WeightRestraint_get_version_info(self)
3758 
3759  def __str__(self):
3760  """__str__(WeightRestraint self) -> std::string"""
3761  return _IMP_isd.WeightRestraint___str__(self)
3762 
3763  def __repr__(self):
3764  """__repr__(WeightRestraint self) -> std::string"""
3765  return _IMP_isd.WeightRestraint___repr__(self)
3766 
3767  def get_from(o):
3768  return _object_cast_to_WeightRestraint(o)
3769  get_from = staticmethod(get_from)
3770 
3771 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
3772 WeightRestraint_swigregister(WeightRestraint)
3773 
3774 
3775 def get_module_version():
3776  """get_module_version() -> std::string const"""
3777  return _IMP_isd.get_module_version()
3778 
3779 def get_example_path(*args):
3780  """get_example_path(std::string fname) -> std::string"""
3781  return _IMP_isd.get_example_path(*args)
3782 
3783 def get_data_path(*args):
3784  """get_data_path(std::string fname) -> std::string"""
3785  return _IMP_isd.get_data_path(*args)
3786 import _version_check
3787 _version_check.check_version(get_module_version())
3788 
3789 # This file is compatible with both classic and new-style classes.
3790 
3791 
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