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