IMP  2.0.1
The Integrative Modeling Platform
isd/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 2.0.8
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 from sys import version_info
10 if version_info >= (2,6,0):
11  def swig_import_helper():
12  from os.path import dirname
13  import imp
14  fp = None
15  try:
16  fp, pathname, description = imp.find_module('_IMP_isd', [dirname(__file__)])
17  except ImportError:
18  import _IMP_isd
19  return _IMP_isd
20  if fp is not None:
21  try:
22  _mod = imp.load_module('_IMP_isd', fp, pathname, description)
23  finally:
24  fp.close()
25  return _mod
26  _IMP_isd = swig_import_helper()
27  del swig_import_helper
28 else:
29  import _IMP_isd
30 del version_info
31 try:
32  _swig_property = property
33 except NameError:
34  pass # Python < 2.2 doesn't have 'property'.
35 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
36  if (name == "thisown"): return self.this.own(value)
37  if (name == "this"):
38  if type(value).__name__ == 'SwigPyObject':
39  self.__dict__[name] = value
40  return
41  method = class_type.__swig_setmethods__.get(name,None)
42  if method: return method(self,value)
43  if (not static):
44  self.__dict__[name] = value
45  else:
46  raise AttributeError("You cannot add attributes to %s" % self)
47 
48 def _swig_setattr(self,class_type,name,value):
49  return _swig_setattr_nondynamic(self,class_type,name,value,0)
50 
51 def _swig_getattr(self,class_type,name):
52  if (name == "thisown"): return self.this.own()
53  method = class_type.__swig_getmethods__.get(name,None)
54  if method: return method(self)
55  raise AttributeError(name)
56 
57 def _swig_repr(self):
58  try: strthis = "proxy of " + self.this.__repr__()
59  except: strthis = ""
60  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
61 
62 try:
63  _object = object
64  _newclass = 1
65 except AttributeError:
66  class _object : pass
67  _newclass = 0
68 
69 
70 try:
71  import weakref
72  weakref_proxy = weakref.proxy
73 except:
74  weakref_proxy = lambda x: x
75 
76 
77 class IMP_ISD_SwigPyIterator(_object):
78  """Proxy of C++ swig::IMP_ISD_SwigPyIterator class"""
79  __swig_setmethods__ = {}
80  __setattr__ = lambda self, name, value: _swig_setattr(self, IMP_ISD_SwigPyIterator, name, value)
81  __swig_getmethods__ = {}
82  __getattr__ = lambda self, name: _swig_getattr(self, IMP_ISD_SwigPyIterator, name)
83  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
84  __repr__ = _swig_repr
85  __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
86  __del__ = lambda self : None;
87  def value(self):
88  """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
89  return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
90 
91  def incr(self, n=1):
92  """
93  incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
94  incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
95  """
96  return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
97 
98  def decr(self, n=1):
99  """
100  decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
101  decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
102  """
103  return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
104 
105  def distance(self, *args):
106  """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
107  return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, *args)
108 
109  def equal(self, *args):
110  """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
111  return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, *args)
112 
113  def copy(self):
114  """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
115  return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
116 
117  def next(self):
118  """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
119  return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
120 
121  def __next__(self):
122  """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
123  return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
124 
125  def previous(self):
126  """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
127  return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
128 
129  def advance(self, *args):
130  """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
131  return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, *args)
132 
133  def __eq__(self, *args):
134  """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
135  return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, *args)
136 
137  def __ne__(self, *args):
138  """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
139  return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, *args)
140 
141  def __iadd__(self, *args):
142  """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
143  return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, *args)
144 
145  def __isub__(self, *args):
146  """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
147  return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, *args)
148 
149  def __add__(self, *args):
150  """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
151  return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, *args)
152 
153  def __sub__(self, *args):
154  """
155  __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
156  __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
157  """
158  return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
159 
160  def __iter__(self): return self
161 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
162 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
163 
164 _value_types=[]
165 _object_types=[]
166 _raii_types=[]
167 _plural_types=[]
168 
169 IMP_HAS_DEPRECATED = _IMP_isd.IMP_HAS_DEPRECATED
170 IMP_DEBUG = _IMP_isd.IMP_DEBUG
171 IMP_RELEASE = _IMP_isd.IMP_RELEASE
172 IMP_SILENT = _IMP_isd.IMP_SILENT
173 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
174 IMP_TERSE = _IMP_isd.IMP_TERSE
175 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
176 IMP_NONE = _IMP_isd.IMP_NONE
177 IMP_USAGE = _IMP_isd.IMP_USAGE
178 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
179 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
180 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
181 IMP_COMPILER_HAS_NULLPTR = _IMP_isd.IMP_COMPILER_HAS_NULLPTR
182 IMP_BASE_HAS_BOOST_RANDOM = _IMP_isd.IMP_BASE_HAS_BOOST_RANDOM
183 IMP_BASE_HAS_GPERFTOOLS = _IMP_isd.IMP_BASE_HAS_GPERFTOOLS
184 IMP_BASE_HAS_LOG4CXX = _IMP_isd.IMP_BASE_HAS_LOG4CXX
185 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
186 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
187 import sys
188 class _DirectorObjects(object):
189  """@internal Simple class to keep references to director objects
190  to prevent premature deletion."""
191  def __init__(self):
192  self._objects = []
193  def register(self, obj):
194  """Take a reference to a director object; will only work for
195  refcounted C++ classes"""
196  if hasattr(obj, 'get_ref_count'):
197  self._objects.append(obj)
198  def cleanup(self):
199  """Only drop our reference and allow cleanup by Python if no other
200  Python references exist (we hold 3 references: one in self._objects,
201  one in x, and one in the argument list for getrefcount) *and* no
202  other C++ references exist (the Python object always holds one)"""
203  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
204  or x.get_ref_count() > 1]
205 
206 
207  self._objects = objs
208  def get_object_count(self):
209  """Get number of director objects (useful for testing only)"""
210  return len(self._objects)
211 _director_objects = _DirectorObjects()
212 
213 DEFAULT_CHECK = _IMP_isd.DEFAULT_CHECK
214 NONE = _IMP_isd.NONE
215 USAGE = _IMP_isd.USAGE
216 USAGE_AND_INTERNAL = _IMP_isd.USAGE_AND_INTERNAL
217 
218 def set_check_level(*args):
219  """set_check_level(IMP::base::CheckLevel tf)"""
220  return _IMP_isd.set_check_level(*args)
221 
222 def get_check_level():
223  """get_check_level() -> IMP::base::CheckLevel"""
224  return _IMP_isd.get_check_level()
225 class _ostream(_object):
226  """Proxy of C++ std::ostream class"""
227  __swig_setmethods__ = {}
228  __setattr__ = lambda self, name, value: _swig_setattr(self, _ostream, name, value)
229  __swig_getmethods__ = {}
230  __getattr__ = lambda self, name: _swig_getattr(self, _ostream, name)
231  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
232  __repr__ = _swig_repr
233  def write(self, *args):
234  """write(_ostream self, char const * osa_buf)"""
235  return _IMP_isd._ostream_write(self, *args)
236 
237 _ostream_swigregister = _IMP_isd._ostream_swigregister
238 _ostream_swigregister(_ostream)
239 
240 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
241 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
242 import IMP.base
243 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
244 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
247 import IMP.cgal
248 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
249 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
250 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
251 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
252 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
253 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
254 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
255 import IMP.algebra
256 IMP_KERNEL_HAS_IMP_CGAL = _IMP_isd.IMP_KERNEL_HAS_IMP_CGAL
257 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
258 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
259 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_KERNEL_HAS_BOOST_SYSTEM
260 IMP_KERNEL_HAS_CGAL = _IMP_isd.IMP_KERNEL_HAS_CGAL
261 import IMP.kernel
262 IMP_DISPLAY_HAS_IMP_BASE = _IMP_isd.IMP_DISPLAY_HAS_IMP_BASE
263 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
264 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
265 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
266 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
267 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
268 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
269 import IMP.display
270 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
271 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
272 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
273 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
274 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
275 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
276 import IMP.score_functor
277 IMP_STATISTICS_HAS_IMP_BASE = _IMP_isd.IMP_STATISTICS_HAS_IMP_BASE
278 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
279 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
280 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
281 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
282 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
283 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
284 import IMP.statistics
285 IMP_CORE_HAS_IMP_BASE = _IMP_isd.IMP_CORE_HAS_IMP_BASE
286 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
287 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
288 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
289 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
290 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
291 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
292 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
293 import IMP.core
294 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
295 IMP_CONTAINER_HAS_IMP_BASE = _IMP_isd.IMP_CONTAINER_HAS_IMP_BASE
296 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
297 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
298 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
299 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
300 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
301 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
302 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
303 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
304 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
305 import IMP.container
306 IMP_ATOM_HAS_IMP_BASE = _IMP_isd.IMP_ATOM_HAS_IMP_BASE
307 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
308 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
309 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
310 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
311 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
312 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
313 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
314 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
315 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
316 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
317 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
318 import IMP.atom
319 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
320 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
321 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
322 IMP_EM_HAS_IMP_KERNEL = _IMP_isd.IMP_EM_HAS_IMP_KERNEL
323 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
324 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
325 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
326 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
327 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
328 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
329 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
330 import IMP.em
331 IMP_SAXS_HAS_IMP_BASE = _IMP_isd.IMP_SAXS_HAS_IMP_BASE
332 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
333 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
334 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
335 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
336 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
337 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
338 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
339 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
340 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
341 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
342 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
343 import IMP.saxs
344 IMP_ISD_HAS_IMP_ALGEBRA = _IMP_isd.IMP_ISD_HAS_IMP_ALGEBRA
345 IMP_ISD_HAS_IMP_BASE = _IMP_isd.IMP_ISD_HAS_IMP_BASE
346 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
347 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
348 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
349 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
350 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
351 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
352 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
353 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
354 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
355 IMP_ISD_HAS_CHOLMOD = _IMP_isd.IMP_ISD_HAS_CHOLMOD
356 _object_types.append("ISDRestraint")
357 
358 
359 def _object_cast_to_ISDRestraint(*args):
360  """_object_cast_to_ISDRestraint(Object o) -> ISDRestraint"""
361  return _IMP_isd._object_cast_to_ISDRestraint(*args)
362 _object_types.append("JeffreysRestraint")
363 
364 
365 def _object_cast_to_JeffreysRestraint(*args):
366  """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
367  return _IMP_isd._object_cast_to_JeffreysRestraint(*args)
368 _object_types.append("SlidingPriorRestraint")
369 
370 
371 def _object_cast_to_SlidingPriorRestraint(*args):
372  """_object_cast_to_SlidingPriorRestraint(Object o) -> SlidingPriorRestraint"""
373  return _IMP_isd._object_cast_to_SlidingPriorRestraint(*args)
374 _object_types.append("vonMisesKappaJeffreysRestraint")
375 
376 
377 def _object_cast_to_vonMisesKappaJeffreysRestraint(*args):
378  """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
379  return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(*args)
380 _object_types.append("vonMisesKappaConjugateRestraint")
381 
382 
383 def _object_cast_to_vonMisesKappaConjugateRestraint(*args):
384  """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
385  return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(*args)
386 _object_types.append("FNormal")
387 
388 
389 def _object_cast_to_FNormal(*args):
390  """_object_cast_to_FNormal(Object o) -> FNormal"""
391  return _IMP_isd._object_cast_to_FNormal(*args)
392 _object_types.append("vonMises")
393 
394 
395 def _object_cast_to_vonMises(*args):
396  """_object_cast_to_vonMises(Object o) -> vonMises"""
397  return _IMP_isd._object_cast_to_vonMises(*args)
398 _object_types.append("vonMisesSufficient")
399 
400 
401 def _object_cast_to_vonMisesSufficient(*args):
402  """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
403  return _IMP_isd._object_cast_to_vonMisesSufficient(*args)
404 def Nuisances(l=[]):
405  return [Nuisance(x) for x in l]
406 _plural_types.append("Nuisances")
407 
408 _value_types.append("Nuisance")
409 
410 def Scales(l=[]):
411  return [Scale(x) for x in l]
412 _plural_types.append("Scales")
413 
414 _value_types.append("Scale")
415 
416 def Switchings(l=[]):
417  return [Switching(x) for x in l]
418 _plural_types.append("Switchings")
419 
420 _value_types.append("Switching")
421 
422 _object_types.append("NOERestraint")
423 
424 
425 def _object_cast_to_NOERestraint(*args):
426  """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
427  return _IMP_isd._object_cast_to_NOERestraint(*args)
428 _object_types.append("GaussianRestraint")
429 
430 
431 def _object_cast_to_GaussianRestraint(*args):
432  """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
433  return _IMP_isd._object_cast_to_GaussianRestraint(*args)
434 _object_types.append("LognormalRestraint")
435 
436 
437 def _object_cast_to_LognormalRestraint(*args):
438  """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
439  return _IMP_isd._object_cast_to_LognormalRestraint(*args)
440 _object_types.append("AmbiguousNOERestraint")
441 
442 
443 def _object_cast_to_AmbiguousNOERestraint(*args):
444  """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
445  return _IMP_isd._object_cast_to_AmbiguousNOERestraint(*args)
446 _object_types.append("MarginalNOERestraint")
447 
448 
449 def _object_cast_to_MarginalNOERestraint(*args):
450  """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
451  return _IMP_isd._object_cast_to_MarginalNOERestraint(*args)
452 _object_types.append("MarginalHBondRestraint")
453 
454 
455 def _object_cast_to_MarginalHBondRestraint(*args):
456  """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
457  return _IMP_isd._object_cast_to_MarginalHBondRestraint(*args)
458 _object_types.append("TALOSRestraint")
459 
460 
461 def _object_cast_to_TALOSRestraint(*args):
462  """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
463  return _IMP_isd._object_cast_to_TALOSRestraint(*args)
464 _object_types.append("LogicalORRestraint")
465 
466 
467 def _object_cast_to_LogicalORRestraint(*args):
468  """_object_cast_to_LogicalORRestraint(Object o) -> LogicalORRestraint"""
469  return _IMP_isd._object_cast_to_LogicalORRestraint(*args)
470 _object_types.append("NuisanceRangeModifier")
471 
472 
473 def _object_cast_to_NuisanceRangeModifier(*args):
474  """_object_cast_to_NuisanceRangeModifier(Object o) -> NuisanceRangeModifier"""
475  return _IMP_isd._object_cast_to_NuisanceRangeModifier(*args)
476 _object_types.append("MaintainScaleOrderConstraint")
477 
478 
479 def _object_cast_to_MaintainScaleOrderConstraint(*args):
480  """_object_cast_to_MaintainScaleOrderConstraint(Object o) -> MaintainScaleOrderConstraint"""
481  return _IMP_isd._object_cast_to_MaintainScaleOrderConstraint(*args)
482 _object_types.append("RepulsiveDistancePairScore")
483 
484 
485 def _object_cast_to_RepulsiveDistancePairScore(*args):
486  """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
487  return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(*args)
488 _object_types.append("AmbiguousRestraint")
489 
490 
491 def _object_cast_to_AmbiguousRestraint(*args):
492  """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
493  return _IMP_isd._object_cast_to_AmbiguousRestraint(*args)
494 _object_types.append("UnivariateFunction")
495 
496 
497 def _object_cast_to_UnivariateFunction(*args):
498  """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
499  return _IMP_isd._object_cast_to_UnivariateFunction(*args)
500 _object_types.append("Linear1DFunction")
501 
502 
503 def _object_cast_to_Linear1DFunction(*args):
504  """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
505  return _IMP_isd._object_cast_to_Linear1DFunction(*args)
506 _object_types.append("GeneralizedGuinierPorodFunction")
507 
508 
509 def _object_cast_to_GeneralizedGuinierPorodFunction(*args):
510  """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
511  return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(*args)
512 _object_types.append("BivariateFunction")
513 
514 
515 def _object_cast_to_BivariateFunction(*args):
516  """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
517  return _IMP_isd._object_cast_to_BivariateFunction(*args)
518 _object_types.append("Covariance1DFunction")
519 
520 
521 def _object_cast_to_Covariance1DFunction(*args):
522  """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
523  return _IMP_isd._object_cast_to_Covariance1DFunction(*args)
524 _object_types.append("GaussianProcessInterpolation")
525 
526 
527 def _object_cast_to_GaussianProcessInterpolation(*args):
528  """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
529  return _IMP_isd._object_cast_to_GaussianProcessInterpolation(*args)
530 _object_types.append("GaussianProcessInterpolationRestraint")
531 
532 
533 def _object_cast_to_GaussianProcessInterpolationRestraint(*args):
534  """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
535  return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(*args)
536 _object_types.append("MolecularDynamics")
537 
538 _object_types.append("MolecularDynamicsMover")
539 
540 
541 def _object_cast_to_MolecularDynamicsMover(*args):
542  """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
543  return _IMP_isd._object_cast_to_MolecularDynamicsMover(*args)
544 _object_types.append("HybridMonteCarlo")
545 
546 
547 def _object_cast_to_HybridMonteCarlo(*args):
548  """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
549  return _IMP_isd._object_cast_to_HybridMonteCarlo(*args)
550 def create_model_and_particles():
551  m= IMP.Model()
554  IMP.algebra.Vector3D(10,10,10))
555  for i in range(0,100):
556  p= IMP.Particle(m)
557  sc.add_particle(p)
559  d.set_coordinates_are_optimized(True)
560  return (m, sc)
561 
562 class ISDRestraint(IMP.kernel.Restraint):
563  """Proxy of C++ IMP::isd::ISDRestraint class"""
564  __swig_setmethods__ = {}
565  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
566  __setattr__ = lambda self, name, value: _swig_setattr(self, ISDRestraint, name, value)
567  __swig_getmethods__ = {}
568  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
569  __getattr__ = lambda self, name: _swig_getattr(self, ISDRestraint, name)
570  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
571  def get_probability(self):
572  """get_probability(ISDRestraint self) -> double"""
573  return _IMP_isd.ISDRestraint_get_probability(self)
574 
575  def __str__(self):
576  """__str__(ISDRestraint self) -> std::string"""
577  return _IMP_isd.ISDRestraint___str__(self)
578 
579  def __repr__(self):
580  """__repr__(ISDRestraint self) -> std::string"""
581  return _IMP_isd.ISDRestraint___repr__(self)
582 
583  def get_from(o):
584  return _object_cast_to_ISDRestraint(o)
585  get_from = staticmethod(get_from)
586 
587  __swig_destroy__ = _IMP_isd.delete_ISDRestraint
588  __del__ = lambda self : None;
589 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
590 ISDRestraint_swigregister(ISDRestraint)
591 
592 class Nuisance(IMP.kernel.Decorator):
593  """Proxy of C++ IMP::isd::Nuisance class"""
594  __swig_setmethods__ = {}
595  for _s in [IMP.kernel.Decorator]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
596  __setattr__ = lambda self, name, value: _swig_setattr(self, Nuisance, name, value)
597  __swig_getmethods__ = {}
598  for _s in [IMP.kernel.Decorator]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
599  __getattr__ = lambda self, name: _swig_getattr(self, Nuisance, name)
600  def __init__(self, *args):
601  """
602  __init__(IMP::isd::Nuisance self) -> Nuisance
603  __init__(IMP::isd::Nuisance self, Model m, IMP::kernel::ParticleIndex id) -> Nuisance
604  __init__(IMP::isd::Nuisance self, Particle p) -> Nuisance
605  """
606  this = _IMP_isd.new_Nuisance(*args)
607  try: self.this.append(this)
608  except: self.this = this
609  def decorate_particle(*args):
610  """decorate_particle(Particle p) -> Nuisance"""
611  return _IMP_isd.Nuisance_decorate_particle(*args)
612 
613  if _newclass:decorate_particle = staticmethod(decorate_particle)
614  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
615  def show(self, *args):
616  """
617  show(Nuisance self, _ostream out=std::cout)
618  show(Nuisance self)
619  """
620  return _IMP_isd.Nuisance_show(self, *args)
621 
622  def setup_particle(*args):
623  """
624  setup_particle(Particle p, double nuisance=1.0) -> Nuisance
625  setup_particle(Particle p) -> Nuisance
626  """
627  return _IMP_isd.Nuisance_setup_particle(*args)
628 
629  if _newclass:setup_particle = staticmethod(setup_particle)
630  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
631  def particle_is_instance(*args):
632  """particle_is_instance(Particle p) -> bool"""
633  return _IMP_isd.Nuisance_particle_is_instance(*args)
634 
635  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
636  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
637  def has_lower(self):
638  """has_lower(Nuisance self) -> bool"""
639  return _IMP_isd.Nuisance_has_lower(self)
640 
641  def has_upper(self):
642  """has_upper(Nuisance self) -> bool"""
643  return _IMP_isd.Nuisance_has_upper(self)
644 
645  def get_nuisance(self):
646  """get_nuisance(Nuisance self) -> IMP::Float"""
647  return _IMP_isd.Nuisance_get_nuisance(self)
648 
649  def get_lower(self):
650  """get_lower(Nuisance self) -> IMP::Float"""
651  return _IMP_isd.Nuisance_get_lower(self)
652 
653  def get_upper(self):
654  """get_upper(Nuisance self) -> IMP::Float"""
655  return _IMP_isd.Nuisance_get_upper(self)
656 
657  def set_nuisance(self, *args):
658  """set_nuisance(Nuisance self, IMP::Float d)"""
659  return _IMP_isd.Nuisance_set_nuisance(self, *args)
660 
661  def set_lower(self, *args):
662  """
663  set_lower(Nuisance self, IMP::Float d)
664  set_lower(Nuisance self, Particle d)
665  """
666  return _IMP_isd.Nuisance_set_lower(self, *args)
667 
668  def set_upper(self, *args):
669  """
670  set_upper(Nuisance self, IMP::Float d)
671  set_upper(Nuisance self, Particle d)
672  """
673  return _IMP_isd.Nuisance_set_upper(self, *args)
674 
675  def get_nuisance_derivative(self):
676  """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
677  return _IMP_isd.Nuisance_get_nuisance_derivative(self)
678 
679  def add_to_nuisance_derivative(self, *args):
680  """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
681  return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, *args)
682 
683  def get_nuisance_key():
684  """get_nuisance_key() -> FloatKey"""
685  return _IMP_isd.Nuisance_get_nuisance_key()
686 
687  if _newclass:get_nuisance_key = staticmethod(get_nuisance_key)
688  __swig_getmethods__["get_nuisance_key"] = lambda x: get_nuisance_key
689  def get_lower_key():
690  """get_lower_key() -> FloatKey"""
691  return _IMP_isd.Nuisance_get_lower_key()
692 
693  if _newclass:get_lower_key = staticmethod(get_lower_key)
694  __swig_getmethods__["get_lower_key"] = lambda x: get_lower_key
695  def get_upper_key():
696  """get_upper_key() -> FloatKey"""
697  return _IMP_isd.Nuisance_get_upper_key()
698 
699  if _newclass:get_upper_key = staticmethod(get_upper_key)
700  __swig_getmethods__["get_upper_key"] = lambda x: get_upper_key
701  def get_lower_particle_key():
702  """get_lower_particle_key() -> ParticleIndexKey"""
703  return _IMP_isd.Nuisance_get_lower_particle_key()
704 
705  if _newclass:get_lower_particle_key = staticmethod(get_lower_particle_key)
706  __swig_getmethods__["get_lower_particle_key"] = lambda x: get_lower_particle_key
707  def get_upper_particle_key():
708  """get_upper_particle_key() -> ParticleIndexKey"""
709  return _IMP_isd.Nuisance_get_upper_particle_key()
710 
711  if _newclass:get_upper_particle_key = staticmethod(get_upper_particle_key)
712  __swig_getmethods__["get_upper_particle_key"] = lambda x: get_upper_particle_key
713  def get_nuisance_is_optimized(self):
714  """get_nuisance_is_optimized(Nuisance self) -> bool"""
715  return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
716 
717  def set_nuisance_is_optimized(self, *args):
718  """set_nuisance_is_optimized(Nuisance self, bool val)"""
719  return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, *args)
720 
721  def add_attribute(self, *args):
722  """
723  add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
724  add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
725  add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
726  add_attribute(Nuisance self, StringKey a0, IMP::String a1)
727  add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
728  add_attribute(Nuisance self, ObjectKey a0, IMP::Object * a1)
729  """
730  return _IMP_isd.Nuisance_add_attribute(self, *args)
731 
732  def get_value(self, *args):
733  """
734  get_value(Nuisance self, FloatKey a0) -> IMP::Float
735  get_value(Nuisance self, IntKey a0) -> IMP::Int
736  get_value(Nuisance self, StringKey a0) -> IMP::String
737  get_value(Nuisance self, ParticleIndexKey a0) -> Particle
738  get_value(Nuisance self, ObjectKey a0) -> IMP::Object *
739  """
740  return _IMP_isd.Nuisance_get_value(self, *args)
741 
742  def set_value(self, *args):
743  """
744  set_value(Nuisance self, FloatKey a0, IMP::Float a1)
745  set_value(Nuisance self, IntKey a0, IMP::Int a1)
746  set_value(Nuisance self, StringKey a0, IMP::String a1)
747  set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
748  set_value(Nuisance self, ObjectKey a0, IMP::Object * a1)
749  """
750  return _IMP_isd.Nuisance_set_value(self, *args)
751 
752  def remove_attribute(self, *args):
753  """
754  remove_attribute(Nuisance self, FloatKey a0)
755  remove_attribute(Nuisance self, IntKey a0)
756  remove_attribute(Nuisance self, StringKey a0)
757  remove_attribute(Nuisance self, ParticleIndexKey a0)
758  remove_attribute(Nuisance self, ObjectKey a0)
759  """
760  return _IMP_isd.Nuisance_remove_attribute(self, *args)
761 
762  def has_attribute(self, *args):
763  """
764  has_attribute(Nuisance self, FloatKey a0) -> bool
765  has_attribute(Nuisance self, IntKey a0) -> bool
766  has_attribute(Nuisance self, StringKey a0) -> bool
767  has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
768  has_attribute(Nuisance self, ObjectKey a0) -> bool
769  """
770  return _IMP_isd.Nuisance_has_attribute(self, *args)
771 
772  def get_derivative(self, *args):
773  """get_derivative(Nuisance self, FloatKey a0) -> double"""
774  return _IMP_isd.Nuisance_get_derivative(self, *args)
775 
776  def get_name(self):
777  """get_name(Nuisance self) -> std::string"""
778  return _IMP_isd.Nuisance_get_name(self)
779 
780  def clear_caches(self):
781  """clear_caches(Nuisance self)"""
782  return _IMP_isd.Nuisance_clear_caches(self)
783 
784  def set_name(self, *args):
785  """set_name(Nuisance self, std::string a0)"""
786  return _IMP_isd.Nuisance_set_name(self, *args)
787 
788  def set_check_level(self, *args):
789  """set_check_level(Nuisance self, IMP::base::CheckLevel a0)"""
790  return _IMP_isd.Nuisance_set_check_level(self, *args)
791 
792  def add_to_derivative(self, *args):
793  """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
794  return _IMP_isd.Nuisance_add_to_derivative(self, *args)
795 
796  def set_is_optimized(self, *args):
797  """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
798  return _IMP_isd.Nuisance_set_is_optimized(self, *args)
799 
800  def get_is_optimized(self, *args):
801  """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
802  return _IMP_isd.Nuisance_get_is_optimized(self, *args)
803 
804  def get_check_level(self):
805  """get_check_level(Nuisance self) -> IMP::base::CheckLevel"""
806  return _IMP_isd.Nuisance_get_check_level(self)
807 
808  def __eq__(self, *args):
809  """
810  __eq__(Nuisance self, Nuisance o) -> bool
811  __eq__(Nuisance self, Particle d) -> bool
812  """
813  return _IMP_isd.Nuisance___eq__(self, *args)
814 
815  def __ne__(self, *args):
816  """
817  __ne__(Nuisance self, Nuisance o) -> bool
818  __ne__(Nuisance self, Particle d) -> bool
819  """
820  return _IMP_isd.Nuisance___ne__(self, *args)
821 
822  def __le__(self, *args):
823  """
824  __le__(Nuisance self, Nuisance o) -> bool
825  __le__(Nuisance self, Particle d) -> bool
826  """
827  return _IMP_isd.Nuisance___le__(self, *args)
828 
829  def __lt__(self, *args):
830  """
831  __lt__(Nuisance self, Nuisance o) -> bool
832  __lt__(Nuisance self, Particle d) -> bool
833  """
834  return _IMP_isd.Nuisance___lt__(self, *args)
835 
836  def __ge__(self, *args):
837  """
838  __ge__(Nuisance self, Nuisance o) -> bool
839  __ge__(Nuisance self, Particle d) -> bool
840  """
841  return _IMP_isd.Nuisance___ge__(self, *args)
842 
843  def __gt__(self, *args):
844  """
845  __gt__(Nuisance self, Nuisance o) -> bool
846  __gt__(Nuisance self, Particle d) -> bool
847  """
848  return _IMP_isd.Nuisance___gt__(self, *args)
849 
850  def __str__(self):
851  """__str__(Nuisance self) -> std::string"""
852  return _IMP_isd.Nuisance___str__(self)
853 
854  def __repr__(self):
855  """__repr__(Nuisance self) -> std::string"""
856  return _IMP_isd.Nuisance___repr__(self)
857 
858  __swig_destroy__ = _IMP_isd.delete_Nuisance
859  __del__ = lambda self : None;
860 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
861 Nuisance_swigregister(Nuisance)
862 
863 def Nuisance_decorate_particle(*args):
864  """Nuisance_decorate_particle(Particle p) -> Nuisance"""
865  return _IMP_isd.Nuisance_decorate_particle(*args)
866 
867 def Nuisance_setup_particle(*args):
868  """
869  setup_particle(Particle p, double nuisance=1.0) -> Nuisance
870  Nuisance_setup_particle(Particle p) -> Nuisance
871  """
872  return _IMP_isd.Nuisance_setup_particle(*args)
873 
874 def Nuisance_particle_is_instance(*args):
875  """Nuisance_particle_is_instance(Particle p) -> bool"""
876  return _IMP_isd.Nuisance_particle_is_instance(*args)
877 
878 def Nuisance_get_nuisance_key():
879  """Nuisance_get_nuisance_key() -> FloatKey"""
880  return _IMP_isd.Nuisance_get_nuisance_key()
881 
882 def Nuisance_get_lower_key():
883  """Nuisance_get_lower_key() -> FloatKey"""
884  return _IMP_isd.Nuisance_get_lower_key()
885 
886 def Nuisance_get_upper_key():
887  """Nuisance_get_upper_key() -> FloatKey"""
888  return _IMP_isd.Nuisance_get_upper_key()
889 
890 def Nuisance_get_lower_particle_key():
891  """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
892  return _IMP_isd.Nuisance_get_lower_particle_key()
893 
894 def Nuisance_get_upper_particle_key():
895  """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
896  return _IMP_isd.Nuisance_get_upper_particle_key()
897 
898 class Scale(Nuisance):
899  """Proxy of C++ IMP::isd::Scale class"""
900  __swig_setmethods__ = {}
901  for _s in [Nuisance]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
902  __setattr__ = lambda self, name, value: _swig_setattr(self, Scale, name, value)
903  __swig_getmethods__ = {}
904  for _s in [Nuisance]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
905  __getattr__ = lambda self, name: _swig_getattr(self, Scale, name)
906  def __init__(self, *args):
907  """
908  __init__(IMP::isd::Scale self) -> Scale
909  __init__(IMP::isd::Scale self, Model m, IMP::kernel::ParticleIndex id) -> Scale
910  __init__(IMP::isd::Scale self, Particle p) -> Scale
911  """
912  this = _IMP_isd.new_Scale(*args)
913  try: self.this.append(this)
914  except: self.this = this
915  def decorate_particle(*args):
916  """decorate_particle(Particle p) -> Scale"""
917  return _IMP_isd.Scale_decorate_particle(*args)
918 
919  if _newclass:decorate_particle = staticmethod(decorate_particle)
920  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
921  def show(self, *args):
922  """
923  show(Scale self, _ostream out=std::cout)
924  show(Scale self)
925  """
926  return _IMP_isd.Scale_show(self, *args)
927 
928  def setup_particle(*args):
929  """
930  setup_particle(Particle p, double scale=1.0) -> Scale
931  setup_particle(Particle p) -> Scale
932  """
933  return _IMP_isd.Scale_setup_particle(*args)
934 
935  if _newclass:setup_particle = staticmethod(setup_particle)
936  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
937  def particle_is_instance(*args):
938  """particle_is_instance(Particle p) -> bool"""
939  return _IMP_isd.Scale_particle_is_instance(*args)
940 
941  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
942  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
943  def get_scale(self):
944  """get_scale(Scale self) -> IMP::Float"""
945  return _IMP_isd.Scale_get_scale(self)
946 
947  def set_scale(self, *args):
948  """set_scale(Scale self, IMP::Float d)"""
949  return _IMP_isd.Scale_set_scale(self, *args)
950 
951  def add_to_scale_derivative(self, *args):
952  """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
953  return _IMP_isd.Scale_add_to_scale_derivative(self, *args)
954 
955  def get_scale_derivative(self):
956  """get_scale_derivative(Scale self) -> IMP::Float"""
957  return _IMP_isd.Scale_get_scale_derivative(self)
958 
959  def get_scale_key():
960  """get_scale_key() -> FloatKey"""
961  return _IMP_isd.Scale_get_scale_key()
962 
963  if _newclass:get_scale_key = staticmethod(get_scale_key)
964  __swig_getmethods__["get_scale_key"] = lambda x: get_scale_key
965  def get_scale_is_optimized(self):
966  """get_scale_is_optimized(Scale self) -> bool"""
967  return _IMP_isd.Scale_get_scale_is_optimized(self)
968 
969  def set_scale_is_optimized(self, *args):
970  """set_scale_is_optimized(Scale self, bool val)"""
971  return _IMP_isd.Scale_set_scale_is_optimized(self, *args)
972 
973  def add_attribute(self, *args):
974  """
975  add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
976  add_attribute(Scale self, FloatKey a0, IMP::Float a1)
977  add_attribute(Scale self, IntKey a0, IMP::Int a1)
978  add_attribute(Scale self, StringKey a0, IMP::String a1)
979  add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
980  add_attribute(Scale self, ObjectKey a0, IMP::Object * a1)
981  """
982  return _IMP_isd.Scale_add_attribute(self, *args)
983 
984  def get_value(self, *args):
985  """
986  get_value(Scale self, FloatKey a0) -> IMP::Float
987  get_value(Scale self, IntKey a0) -> IMP::Int
988  get_value(Scale self, StringKey a0) -> IMP::String
989  get_value(Scale self, ParticleIndexKey a0) -> Particle
990  get_value(Scale self, ObjectKey a0) -> IMP::Object *
991  """
992  return _IMP_isd.Scale_get_value(self, *args)
993 
994  def set_value(self, *args):
995  """
996  set_value(Scale self, FloatKey a0, IMP::Float a1)
997  set_value(Scale self, IntKey a0, IMP::Int a1)
998  set_value(Scale self, StringKey a0, IMP::String a1)
999  set_value(Scale self, ParticleIndexKey a0, Particle a1)
1000  set_value(Scale self, ObjectKey a0, IMP::Object * a1)
1001  """
1002  return _IMP_isd.Scale_set_value(self, *args)
1003 
1004  def remove_attribute(self, *args):
1005  """
1006  remove_attribute(Scale self, FloatKey a0)
1007  remove_attribute(Scale self, IntKey a0)
1008  remove_attribute(Scale self, StringKey a0)
1009  remove_attribute(Scale self, ParticleIndexKey a0)
1010  remove_attribute(Scale self, ObjectKey a0)
1011  """
1012  return _IMP_isd.Scale_remove_attribute(self, *args)
1013 
1014  def has_attribute(self, *args):
1015  """
1016  has_attribute(Scale self, FloatKey a0) -> bool
1017  has_attribute(Scale self, IntKey a0) -> bool
1018  has_attribute(Scale self, StringKey a0) -> bool
1019  has_attribute(Scale self, ParticleIndexKey a0) -> bool
1020  has_attribute(Scale self, ObjectKey a0) -> bool
1021  """
1022  return _IMP_isd.Scale_has_attribute(self, *args)
1023 
1024  def get_derivative(self, *args):
1025  """get_derivative(Scale self, FloatKey a0) -> double"""
1026  return _IMP_isd.Scale_get_derivative(self, *args)
1027 
1028  def get_name(self):
1029  """get_name(Scale self) -> std::string"""
1030  return _IMP_isd.Scale_get_name(self)
1031 
1032  def clear_caches(self):
1033  """clear_caches(Scale self)"""
1034  return _IMP_isd.Scale_clear_caches(self)
1035 
1036  def set_name(self, *args):
1037  """set_name(Scale self, std::string a0)"""
1038  return _IMP_isd.Scale_set_name(self, *args)
1039 
1040  def set_check_level(self, *args):
1041  """set_check_level(Scale self, IMP::base::CheckLevel a0)"""
1042  return _IMP_isd.Scale_set_check_level(self, *args)
1043 
1044  def add_to_derivative(self, *args):
1045  """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1046  return _IMP_isd.Scale_add_to_derivative(self, *args)
1047 
1048  def set_is_optimized(self, *args):
1049  """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1050  return _IMP_isd.Scale_set_is_optimized(self, *args)
1051 
1052  def get_is_optimized(self, *args):
1053  """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1054  return _IMP_isd.Scale_get_is_optimized(self, *args)
1055 
1056  def get_check_level(self):
1057  """get_check_level(Scale self) -> IMP::base::CheckLevel"""
1058  return _IMP_isd.Scale_get_check_level(self)
1059 
1060  def __eq__(self, *args):
1061  """
1062  __eq__(Scale self, Scale o) -> bool
1063  __eq__(Scale self, Particle d) -> bool
1064  """
1065  return _IMP_isd.Scale___eq__(self, *args)
1066 
1067  def __ne__(self, *args):
1068  """
1069  __ne__(Scale self, Scale o) -> bool
1070  __ne__(Scale self, Particle d) -> bool
1071  """
1072  return _IMP_isd.Scale___ne__(self, *args)
1073 
1074  def __le__(self, *args):
1075  """
1076  __le__(Scale self, Scale o) -> bool
1077  __le__(Scale self, Particle d) -> bool
1078  """
1079  return _IMP_isd.Scale___le__(self, *args)
1080 
1081  def __lt__(self, *args):
1082  """
1083  __lt__(Scale self, Scale o) -> bool
1084  __lt__(Scale self, Particle d) -> bool
1085  """
1086  return _IMP_isd.Scale___lt__(self, *args)
1087 
1088  def __ge__(self, *args):
1089  """
1090  __ge__(Scale self, Scale o) -> bool
1091  __ge__(Scale self, Particle d) -> bool
1092  """
1093  return _IMP_isd.Scale___ge__(self, *args)
1094 
1095  def __gt__(self, *args):
1096  """
1097  __gt__(Scale self, Scale o) -> bool
1098  __gt__(Scale self, Particle d) -> bool
1099  """
1100  return _IMP_isd.Scale___gt__(self, *args)
1101 
1102  def __str__(self):
1103  """__str__(Scale self) -> std::string"""
1104  return _IMP_isd.Scale___str__(self)
1105 
1106  def __repr__(self):
1107  """__repr__(Scale self) -> std::string"""
1108  return _IMP_isd.Scale___repr__(self)
1109 
1110  __swig_destroy__ = _IMP_isd.delete_Scale
1111  __del__ = lambda self : None;
1112 Scale_swigregister = _IMP_isd.Scale_swigregister
1113 Scale_swigregister(Scale)
1114 
1115 def Scale_decorate_particle(*args):
1116  """Scale_decorate_particle(Particle p) -> Scale"""
1117  return _IMP_isd.Scale_decorate_particle(*args)
1118 
1119 def Scale_setup_particle(*args):
1120  """
1121  setup_particle(Particle p, double scale=1.0) -> Scale
1122  Scale_setup_particle(Particle p) -> Scale
1123  """
1124  return _IMP_isd.Scale_setup_particle(*args)
1125 
1126 def Scale_particle_is_instance(*args):
1127  """Scale_particle_is_instance(Particle p) -> bool"""
1128  return _IMP_isd.Scale_particle_is_instance(*args)
1129 
1130 def Scale_get_scale_key():
1131  """Scale_get_scale_key() -> FloatKey"""
1132  return _IMP_isd.Scale_get_scale_key()
1133 
1134 class Switching(Nuisance):
1135  """Proxy of C++ IMP::isd::Switching class"""
1136  __swig_setmethods__ = {}
1137  for _s in [Nuisance]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1138  __setattr__ = lambda self, name, value: _swig_setattr(self, Switching, name, value)
1139  __swig_getmethods__ = {}
1140  for _s in [Nuisance]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1141  __getattr__ = lambda self, name: _swig_getattr(self, Switching, name)
1142  def __init__(self, *args):
1143  """
1144  __init__(IMP::isd::Switching self) -> Switching
1145  __init__(IMP::isd::Switching self, Model m, IMP::kernel::ParticleIndex id) -> Switching
1146  __init__(IMP::isd::Switching self, Particle p) -> Switching
1147  """
1148  this = _IMP_isd.new_Switching(*args)
1149  try: self.this.append(this)
1150  except: self.this = this
1151  def decorate_particle(*args):
1152  """decorate_particle(Particle p) -> Switching"""
1153  return _IMP_isd.Switching_decorate_particle(*args)
1154 
1155  if _newclass:decorate_particle = staticmethod(decorate_particle)
1156  __swig_getmethods__["decorate_particle"] = lambda x: decorate_particle
1157  def show(self, *args):
1158  """
1159  show(Switching self, _ostream out=std::cout)
1160  show(Switching self)
1161  """
1162  return _IMP_isd.Switching_show(self, *args)
1163 
1164  def setup_particle(*args):
1165  """
1166  setup_particle(Particle p, double switching=0.5) -> Switching
1167  setup_particle(Particle p) -> Switching
1168  """
1169  return _IMP_isd.Switching_setup_particle(*args)
1170 
1171  if _newclass:setup_particle = staticmethod(setup_particle)
1172  __swig_getmethods__["setup_particle"] = lambda x: setup_particle
1173  def particle_is_instance(*args):
1174  """particle_is_instance(Particle p) -> bool"""
1175  return _IMP_isd.Switching_particle_is_instance(*args)
1176 
1177  if _newclass:particle_is_instance = staticmethod(particle_is_instance)
1178  __swig_getmethods__["particle_is_instance"] = lambda x: particle_is_instance
1179  def get_switching(self):
1180  """get_switching(Switching self) -> IMP::Float"""
1181  return _IMP_isd.Switching_get_switching(self)
1182 
1183  def set_switching(self, *args):
1184  """set_switching(Switching self, IMP::Float d)"""
1185  return _IMP_isd.Switching_set_switching(self, *args)
1186 
1187  def add_to_switching_derivative(self, *args):
1188  """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1189  return _IMP_isd.Switching_add_to_switching_derivative(self, *args)
1190 
1191  def get_switching_derivative(self):
1192  """get_switching_derivative(Switching self) -> IMP::Float"""
1193  return _IMP_isd.Switching_get_switching_derivative(self)
1194 
1195  def get_switching_key():
1196  """get_switching_key() -> FloatKey"""
1197  return _IMP_isd.Switching_get_switching_key()
1198 
1199  if _newclass:get_switching_key = staticmethod(get_switching_key)
1200  __swig_getmethods__["get_switching_key"] = lambda x: get_switching_key
1201  def get_switching_is_optimized(self):
1202  """get_switching_is_optimized(Switching self) -> bool"""
1203  return _IMP_isd.Switching_get_switching_is_optimized(self)
1204 
1205  def set_switching_is_optimized(self, *args):
1206  """set_switching_is_optimized(Switching self, bool val)"""
1207  return _IMP_isd.Switching_set_switching_is_optimized(self, *args)
1208 
1209  def add_attribute(self, *args):
1210  """
1211  add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1212  add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1213  add_attribute(Switching self, IntKey a0, IMP::Int a1)
1214  add_attribute(Switching self, StringKey a0, IMP::String a1)
1215  add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1216  add_attribute(Switching self, ObjectKey a0, IMP::Object * a1)
1217  """
1218  return _IMP_isd.Switching_add_attribute(self, *args)
1219 
1220  def get_value(self, *args):
1221  """
1222  get_value(Switching self, FloatKey a0) -> IMP::Float
1223  get_value(Switching self, IntKey a0) -> IMP::Int
1224  get_value(Switching self, StringKey a0) -> IMP::String
1225  get_value(Switching self, ParticleIndexKey a0) -> Particle
1226  get_value(Switching self, ObjectKey a0) -> IMP::Object *
1227  """
1228  return _IMP_isd.Switching_get_value(self, *args)
1229 
1230  def set_value(self, *args):
1231  """
1232  set_value(Switching self, FloatKey a0, IMP::Float a1)
1233  set_value(Switching self, IntKey a0, IMP::Int a1)
1234  set_value(Switching self, StringKey a0, IMP::String a1)
1235  set_value(Switching self, ParticleIndexKey a0, Particle a1)
1236  set_value(Switching self, ObjectKey a0, IMP::Object * a1)
1237  """
1238  return _IMP_isd.Switching_set_value(self, *args)
1239 
1240  def remove_attribute(self, *args):
1241  """
1242  remove_attribute(Switching self, FloatKey a0)
1243  remove_attribute(Switching self, IntKey a0)
1244  remove_attribute(Switching self, StringKey a0)
1245  remove_attribute(Switching self, ParticleIndexKey a0)
1246  remove_attribute(Switching self, ObjectKey a0)
1247  """
1248  return _IMP_isd.Switching_remove_attribute(self, *args)
1249 
1250  def has_attribute(self, *args):
1251  """
1252  has_attribute(Switching self, FloatKey a0) -> bool
1253  has_attribute(Switching self, IntKey a0) -> bool
1254  has_attribute(Switching self, StringKey a0) -> bool
1255  has_attribute(Switching self, ParticleIndexKey a0) -> bool
1256  has_attribute(Switching self, ObjectKey a0) -> bool
1257  """
1258  return _IMP_isd.Switching_has_attribute(self, *args)
1259 
1260  def get_derivative(self, *args):
1261  """get_derivative(Switching self, FloatKey a0) -> double"""
1262  return _IMP_isd.Switching_get_derivative(self, *args)
1263 
1264  def get_name(self):
1265  """get_name(Switching self) -> std::string"""
1266  return _IMP_isd.Switching_get_name(self)
1267 
1268  def clear_caches(self):
1269  """clear_caches(Switching self)"""
1270  return _IMP_isd.Switching_clear_caches(self)
1271 
1272  def set_name(self, *args):
1273  """set_name(Switching self, std::string a0)"""
1274  return _IMP_isd.Switching_set_name(self, *args)
1275 
1276  def set_check_level(self, *args):
1277  """set_check_level(Switching self, IMP::base::CheckLevel a0)"""
1278  return _IMP_isd.Switching_set_check_level(self, *args)
1279 
1280  def add_to_derivative(self, *args):
1281  """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1282  return _IMP_isd.Switching_add_to_derivative(self, *args)
1283 
1284  def set_is_optimized(self, *args):
1285  """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1286  return _IMP_isd.Switching_set_is_optimized(self, *args)
1287 
1288  def get_is_optimized(self, *args):
1289  """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1290  return _IMP_isd.Switching_get_is_optimized(self, *args)
1291 
1292  def get_check_level(self):
1293  """get_check_level(Switching self) -> IMP::base::CheckLevel"""
1294  return _IMP_isd.Switching_get_check_level(self)
1295 
1296  def __eq__(self, *args):
1297  """
1298  __eq__(Switching self, Switching o) -> bool
1299  __eq__(Switching self, Particle d) -> bool
1300  """
1301  return _IMP_isd.Switching___eq__(self, *args)
1302 
1303  def __ne__(self, *args):
1304  """
1305  __ne__(Switching self, Switching o) -> bool
1306  __ne__(Switching self, Particle d) -> bool
1307  """
1308  return _IMP_isd.Switching___ne__(self, *args)
1309 
1310  def __le__(self, *args):
1311  """
1312  __le__(Switching self, Switching o) -> bool
1313  __le__(Switching self, Particle d) -> bool
1314  """
1315  return _IMP_isd.Switching___le__(self, *args)
1316 
1317  def __lt__(self, *args):
1318  """
1319  __lt__(Switching self, Switching o) -> bool
1320  __lt__(Switching self, Particle d) -> bool
1321  """
1322  return _IMP_isd.Switching___lt__(self, *args)
1323 
1324  def __ge__(self, *args):
1325  """
1326  __ge__(Switching self, Switching o) -> bool
1327  __ge__(Switching self, Particle d) -> bool
1328  """
1329  return _IMP_isd.Switching___ge__(self, *args)
1330 
1331  def __gt__(self, *args):
1332  """
1333  __gt__(Switching self, Switching o) -> bool
1334  __gt__(Switching self, Particle d) -> bool
1335  """
1336  return _IMP_isd.Switching___gt__(self, *args)
1337 
1338  def __str__(self):
1339  """__str__(Switching self) -> std::string"""
1340  return _IMP_isd.Switching___str__(self)
1341 
1342  def __repr__(self):
1343  """__repr__(Switching self) -> std::string"""
1344  return _IMP_isd.Switching___repr__(self)
1345 
1346  __swig_destroy__ = _IMP_isd.delete_Switching
1347  __del__ = lambda self : None;
1348 Switching_swigregister = _IMP_isd.Switching_swigregister
1349 Switching_swigregister(Switching)
1350 
1351 def Switching_decorate_particle(*args):
1352  """Switching_decorate_particle(Particle p) -> Switching"""
1353  return _IMP_isd.Switching_decorate_particle(*args)
1354 
1355 def Switching_setup_particle(*args):
1356  """
1357  setup_particle(Particle p, double switching=0.5) -> Switching
1358  Switching_setup_particle(Particle p) -> Switching
1359  """
1360  return _IMP_isd.Switching_setup_particle(*args)
1361 
1362 def Switching_particle_is_instance(*args):
1363  """Switching_particle_is_instance(Particle p) -> bool"""
1364  return _IMP_isd.Switching_particle_is_instance(*args)
1365 
1366 def Switching_get_switching_key():
1367  """Switching_get_switching_key() -> FloatKey"""
1368  return _IMP_isd.Switching_get_switching_key()
1369 
1370 
1371 def __lshift__(*args):
1372  """
1373  __lshift__(_ostream out, Nuisance n) -> _ostream
1374  __lshift__(_ostream out, Scale n) -> _ostream
1375  __lshift__(_ostream out, Switching n) -> _ostream
1376  """
1377  return _IMP_isd.__lshift__(*args)
1378 class NuisanceRangeModifier(IMP.kernel.SingletonModifier):
1379  """Proxy of C++ IMP::isd::NuisanceRangeModifier class"""
1380  __swig_setmethods__ = {}
1381  for _s in [IMP.kernel.SingletonModifier]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1382  __setattr__ = lambda self, name, value: _swig_setattr(self, NuisanceRangeModifier, name, value)
1383  __swig_getmethods__ = {}
1384  for _s in [IMP.kernel.SingletonModifier]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1385  __getattr__ = lambda self, name: _swig_getattr(self, NuisanceRangeModifier, name)
1386  def __init__(self):
1387  """__init__(IMP::isd::NuisanceRangeModifier self) -> NuisanceRangeModifier"""
1388  this = _IMP_isd.new_NuisanceRangeModifier()
1389  try: self.this.append(this)
1390  except: self.this = this
1391  def get_input_particles(self, *args):
1392  """get_input_particles(NuisanceRangeModifier self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
1393  return _IMP_isd.NuisanceRangeModifier_get_input_particles(self, *args)
1394 
1395  def get_input_containers(self, *args):
1396  """get_input_containers(NuisanceRangeModifier self, Particle arg2) -> IMP::kernel::ContainersTemp"""
1397  return _IMP_isd.NuisanceRangeModifier_get_input_containers(self, *args)
1398 
1399  def get_output_particles(self, *args):
1400  """get_output_particles(NuisanceRangeModifier self, Particle arg2) -> IMP::kernel::ParticlesTemp"""
1401  return _IMP_isd.NuisanceRangeModifier_get_output_particles(self, *args)
1402 
1403  def get_output_containers(self, *args):
1404  """get_output_containers(NuisanceRangeModifier self, Particle arg2) -> IMP::kernel::ContainersTemp"""
1405  return _IMP_isd.NuisanceRangeModifier_get_output_containers(self, *args)
1406 
1407  def get_version_info(self):
1408  """get_version_info(NuisanceRangeModifier self) -> VersionInfo"""
1409  return _IMP_isd.NuisanceRangeModifier_get_version_info(self)
1410 
1411  def do_show(self, *args):
1412  """do_show(NuisanceRangeModifier self, _ostream out)"""
1413  return _IMP_isd.NuisanceRangeModifier_do_show(self, *args)
1414 
1415  __swig_destroy__ = _IMP_isd.delete_NuisanceRangeModifier
1416  __del__ = lambda self : None;
1417  def __str__(self):
1418  """__str__(NuisanceRangeModifier self) -> std::string"""
1419  return _IMP_isd.NuisanceRangeModifier___str__(self)
1420 
1421  def __repr__(self):
1422  """__repr__(NuisanceRangeModifier self) -> std::string"""
1423  return _IMP_isd.NuisanceRangeModifier___repr__(self)
1424 
1425  def get_from(o):
1426  return _object_cast_to_NuisanceRangeModifier(o)
1427  get_from = staticmethod(get_from)
1428 
1429 NuisanceRangeModifier_swigregister = _IMP_isd.NuisanceRangeModifier_swigregister
1430 NuisanceRangeModifier_swigregister(NuisanceRangeModifier)
1431 
1432 class MaintainScaleOrderConstraint(IMP.kernel.Constraint):
1433  """Proxy of C++ IMP::isd::MaintainScaleOrderConstraint class"""
1434  __swig_setmethods__ = {}
1435  for _s in [IMP.kernel.Constraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1436  __setattr__ = lambda self, name, value: _swig_setattr(self, MaintainScaleOrderConstraint, name, value)
1437  __swig_getmethods__ = {}
1438  for _s in [IMP.kernel.Constraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1439  __getattr__ = lambda self, name: _swig_getattr(self, MaintainScaleOrderConstraint, name)
1440  def __init__(self, *args):
1441  """
1442  __init__(IMP::isd::MaintainScaleOrderConstraint self, IMP::kernel::Particles const & p, std::string name="MaintainScaleOrderConstraint %1%") -> MaintainScaleOrderConstraint
1443  __init__(IMP::isd::MaintainScaleOrderConstraint self, IMP::kernel::Particles const & p) -> MaintainScaleOrderConstraint
1444  """
1445  this = _IMP_isd.new_MaintainScaleOrderConstraint(*args)
1446  try: self.this.append(this)
1447  except: self.this = this
1448  def get_input_particles(self):
1449  """get_input_particles(MaintainScaleOrderConstraint self) -> IMP::kernel::ParticlesTemp"""
1450  return _IMP_isd.MaintainScaleOrderConstraint_get_input_particles(self)
1451 
1452  def get_input_containers(self):
1453  """get_input_containers(MaintainScaleOrderConstraint self) -> IMP::kernel::ContainersTemp"""
1454  return _IMP_isd.MaintainScaleOrderConstraint_get_input_containers(self)
1455 
1456  def do_get_inputs(self):
1457  """do_get_inputs(MaintainScaleOrderConstraint self) -> IMP::kernel::ModelObjectsTemp"""
1458  return _IMP_isd.MaintainScaleOrderConstraint_do_get_inputs(self)
1459 
1460  def get_output_particles(self):
1461  """get_output_particles(MaintainScaleOrderConstraint self) -> IMP::kernel::ParticlesTemp"""
1462  return _IMP_isd.MaintainScaleOrderConstraint_get_output_particles(self)
1463 
1464  def get_output_containers(self):
1465  """get_output_containers(MaintainScaleOrderConstraint self) -> IMP::kernel::ContainersTemp"""
1466  return _IMP_isd.MaintainScaleOrderConstraint_get_output_containers(self)
1467 
1468  def do_get_outputs(self):
1469  """do_get_outputs(MaintainScaleOrderConstraint self) -> IMP::kernel::ModelObjectsTemp"""
1470  return _IMP_isd.MaintainScaleOrderConstraint_do_get_outputs(self)
1471 
1472  def get_version_info(self):
1473  """get_version_info(MaintainScaleOrderConstraint self) -> VersionInfo"""
1474  return _IMP_isd.MaintainScaleOrderConstraint_get_version_info(self)
1475 
1476  def do_show(self, *args):
1477  """do_show(MaintainScaleOrderConstraint self, _ostream out)"""
1478  return _IMP_isd.MaintainScaleOrderConstraint_do_show(self, *args)
1479 
1480  __swig_destroy__ = _IMP_isd.delete_MaintainScaleOrderConstraint
1481  __del__ = lambda self : None;
1482  def __str__(self):
1483  """__str__(MaintainScaleOrderConstraint self) -> std::string"""
1484  return _IMP_isd.MaintainScaleOrderConstraint___str__(self)
1485 
1486  def __repr__(self):
1487  """__repr__(MaintainScaleOrderConstraint self) -> std::string"""
1488  return _IMP_isd.MaintainScaleOrderConstraint___repr__(self)
1489 
1490  def get_from(o):
1491  return _object_cast_to_MaintainScaleOrderConstraint(o)
1492  get_from = staticmethod(get_from)
1493 
1494 MaintainScaleOrderConstraint_swigregister = _IMP_isd.MaintainScaleOrderConstraint_swigregister
1495 MaintainScaleOrderConstraint_swigregister(MaintainScaleOrderConstraint)
1496 
1497 class JeffreysRestraint(ISDRestraint):
1498  """Proxy of C++ IMP::isd::JeffreysRestraint class"""
1499  __swig_setmethods__ = {}
1500  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1501  __setattr__ = lambda self, name, value: _swig_setattr(self, JeffreysRestraint, name, value)
1502  __swig_getmethods__ = {}
1503  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1504  __getattr__ = lambda self, name: _swig_getattr(self, JeffreysRestraint, name)
1505  def __init__(self, *args):
1506  """__init__(IMP::isd::JeffreysRestraint self, Particle p) -> JeffreysRestraint"""
1507  this = _IMP_isd.new_JeffreysRestraint(*args)
1508  try: self.this.append(this)
1509  except: self.this = this
1510  def get_input_particles(self):
1511  """get_input_particles(JeffreysRestraint self) -> IMP::kernel::ParticlesTemp"""
1512  return _IMP_isd.JeffreysRestraint_get_input_particles(self)
1513 
1514  def get_input_containers(self):
1515  """get_input_containers(JeffreysRestraint self) -> IMP::kernel::ContainersTemp"""
1516  return _IMP_isd.JeffreysRestraint_get_input_containers(self)
1517 
1518  def do_get_inputs(self):
1519  """do_get_inputs(JeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1520  return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
1521 
1522  def get_version_info(self):
1523  """get_version_info(JeffreysRestraint self) -> VersionInfo"""
1524  return _IMP_isd.JeffreysRestraint_get_version_info(self)
1525 
1526  def do_show(self, *args):
1527  """do_show(JeffreysRestraint self, _ostream out)"""
1528  return _IMP_isd.JeffreysRestraint_do_show(self, *args)
1529 
1530  __swig_destroy__ = _IMP_isd.delete_JeffreysRestraint
1531  __del__ = lambda self : None;
1532  def __str__(self):
1533  """__str__(JeffreysRestraint self) -> std::string"""
1534  return _IMP_isd.JeffreysRestraint___str__(self)
1535 
1536  def __repr__(self):
1537  """__repr__(JeffreysRestraint self) -> std::string"""
1538  return _IMP_isd.JeffreysRestraint___repr__(self)
1539 
1540  def get_from(o):
1541  return _object_cast_to_JeffreysRestraint(o)
1542  get_from = staticmethod(get_from)
1543 
1544 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
1545 JeffreysRestraint_swigregister(JeffreysRestraint)
1546 
1547 class SlidingPriorRestraint(ISDRestraint):
1548  """Proxy of C++ IMP::isd::SlidingPriorRestraint class"""
1549  __swig_setmethods__ = {}
1550  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1551  __setattr__ = lambda self, name, value: _swig_setattr(self, SlidingPriorRestraint, name, value)
1552  __swig_getmethods__ = {}
1553  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1554  __getattr__ = lambda self, name: _swig_getattr(self, SlidingPriorRestraint, name)
1555  def __init__(self, *args):
1556  """__init__(IMP::isd::SlidingPriorRestraint self, Particle p, double qmin, double qmax, double sq) -> SlidingPriorRestraint"""
1557  this = _IMP_isd.new_SlidingPriorRestraint(*args)
1558  try: self.this.append(this)
1559  except: self.this = this
1560  def get_input_particles(self):
1561  """get_input_particles(SlidingPriorRestraint self) -> IMP::kernel::ParticlesTemp"""
1562  return _IMP_isd.SlidingPriorRestraint_get_input_particles(self)
1563 
1564  def get_input_containers(self):
1565  """get_input_containers(SlidingPriorRestraint self) -> IMP::kernel::ContainersTemp"""
1566  return _IMP_isd.SlidingPriorRestraint_get_input_containers(self)
1567 
1568  def do_get_inputs(self):
1569  """do_get_inputs(SlidingPriorRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1570  return _IMP_isd.SlidingPriorRestraint_do_get_inputs(self)
1571 
1572  def get_version_info(self):
1573  """get_version_info(SlidingPriorRestraint self) -> VersionInfo"""
1574  return _IMP_isd.SlidingPriorRestraint_get_version_info(self)
1575 
1576  def do_show(self, *args):
1577  """do_show(SlidingPriorRestraint self, _ostream out)"""
1578  return _IMP_isd.SlidingPriorRestraint_do_show(self, *args)
1579 
1580  __swig_destroy__ = _IMP_isd.delete_SlidingPriorRestraint
1581  __del__ = lambda self : None;
1582  def __str__(self):
1583  """__str__(SlidingPriorRestraint self) -> std::string"""
1584  return _IMP_isd.SlidingPriorRestraint___str__(self)
1585 
1586  def __repr__(self):
1587  """__repr__(SlidingPriorRestraint self) -> std::string"""
1588  return _IMP_isd.SlidingPriorRestraint___repr__(self)
1589 
1590  def get_from(o):
1591  return _object_cast_to_SlidingPriorRestraint(o)
1592  get_from = staticmethod(get_from)
1593 
1594 SlidingPriorRestraint_swigregister = _IMP_isd.SlidingPriorRestraint_swigregister
1595 SlidingPriorRestraint_swigregister(SlidingPriorRestraint)
1596 
1597 class FNormal(IMP.base.Object):
1598  """Proxy of C++ IMP::isd::FNormal class"""
1599  __swig_setmethods__ = {}
1600  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1601  __setattr__ = lambda self, name, value: _swig_setattr(self, FNormal, name, value)
1602  __swig_getmethods__ = {}
1603  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1604  __getattr__ = lambda self, name: _swig_getattr(self, FNormal, name)
1605  def __init__(self, *args):
1606  """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
1607  this = _IMP_isd.new_FNormal(*args)
1608  try: self.this.append(this)
1609  except: self.this = this
1610  def evaluate(self):
1611  """evaluate(FNormal self) -> double"""
1612  return _IMP_isd.FNormal_evaluate(self)
1613 
1614  def evaluate_derivative_FA(self):
1615  """evaluate_derivative_FA(FNormal self) -> double"""
1616  return _IMP_isd.FNormal_evaluate_derivative_FA(self)
1617 
1618  def evaluate_derivative_JA(self):
1619  """evaluate_derivative_JA(FNormal self) -> double"""
1620  return _IMP_isd.FNormal_evaluate_derivative_JA(self)
1621 
1622  def evaluate_derivative_FM(self):
1623  """evaluate_derivative_FM(FNormal self) -> double"""
1624  return _IMP_isd.FNormal_evaluate_derivative_FM(self)
1625 
1626  def evaluate_derivative_sigma(self):
1627  """evaluate_derivative_sigma(FNormal self) -> double"""
1628  return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
1629 
1630  def density(self):
1631  """density(FNormal self) -> double"""
1632  return _IMP_isd.FNormal_density(self)
1633 
1634  def set_FA(self, *args):
1635  """set_FA(FNormal self, double f)"""
1636  return _IMP_isd.FNormal_set_FA(self, *args)
1637 
1638  def set_JA(self, *args):
1639  """set_JA(FNormal self, double f)"""
1640  return _IMP_isd.FNormal_set_JA(self, *args)
1641 
1642  def set_FM(self, *args):
1643  """set_FM(FNormal self, double f)"""
1644  return _IMP_isd.FNormal_set_FM(self, *args)
1645 
1646  def set_sigma(self, *args):
1647  """set_sigma(FNormal self, double f)"""
1648  return _IMP_isd.FNormal_set_sigma(self, *args)
1649 
1650  def get_version_info(self):
1651  """get_version_info(FNormal self) -> VersionInfo"""
1652  return _IMP_isd.FNormal_get_version_info(self)
1653 
1654  __swig_destroy__ = _IMP_isd.delete_FNormal
1655  __del__ = lambda self : None;
1656  def __str__(self):
1657  """__str__(FNormal self) -> std::string"""
1658  return _IMP_isd.FNormal___str__(self)
1659 
1660  def __repr__(self):
1661  """__repr__(FNormal self) -> std::string"""
1662  return _IMP_isd.FNormal___repr__(self)
1663 
1664  def get_from(o):
1665  return _object_cast_to_FNormal(o)
1666  get_from = staticmethod(get_from)
1667 
1668 FNormal_swigregister = _IMP_isd.FNormal_swigregister
1669 FNormal_swigregister(FNormal)
1670 
1671 class vonMises(IMP.base.Object):
1672  """Proxy of C++ IMP::isd::vonMises class"""
1673  __swig_setmethods__ = {}
1674  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1675  __setattr__ = lambda self, name, value: _swig_setattr(self, vonMises, name, value)
1676  __swig_getmethods__ = {}
1677  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1678  __getattr__ = lambda self, name: _swig_getattr(self, vonMises, name)
1679  def __init__(self, *args):
1680  """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
1681  this = _IMP_isd.new_vonMises(*args)
1682  try: self.this.append(this)
1683  except: self.this = this
1684  def evaluate(self):
1685  """evaluate(vonMises self) -> double"""
1686  return _IMP_isd.vonMises_evaluate(self)
1687 
1688  def evaluate_derivative_x(self):
1689  """evaluate_derivative_x(vonMises self) -> double"""
1690  return _IMP_isd.vonMises_evaluate_derivative_x(self)
1691 
1692  def evaluate_derivative_mu(self):
1693  """evaluate_derivative_mu(vonMises self) -> double"""
1694  return _IMP_isd.vonMises_evaluate_derivative_mu(self)
1695 
1696  def evaluate_derivative_kappa(self):
1697  """evaluate_derivative_kappa(vonMises self) -> double"""
1698  return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
1699 
1700  def density(self):
1701  """density(vonMises self) -> double"""
1702  return _IMP_isd.vonMises_density(self)
1703 
1704  def set_x(self, *args):
1705  """set_x(vonMises self, double x)"""
1706  return _IMP_isd.vonMises_set_x(self, *args)
1707 
1708  def set_mu(self, *args):
1709  """set_mu(vonMises self, double mu)"""
1710  return _IMP_isd.vonMises_set_mu(self, *args)
1711 
1712  def set_kappa(self, *args):
1713  """set_kappa(vonMises self, double kappa)"""
1714  return _IMP_isd.vonMises_set_kappa(self, *args)
1715 
1716  def get_version_info(self):
1717  """get_version_info(vonMises self) -> VersionInfo"""
1718  return _IMP_isd.vonMises_get_version_info(self)
1719 
1720  __swig_destroy__ = _IMP_isd.delete_vonMises
1721  __del__ = lambda self : None;
1722  def __str__(self):
1723  """__str__(vonMises self) -> std::string"""
1724  return _IMP_isd.vonMises___str__(self)
1725 
1726  def __repr__(self):
1727  """__repr__(vonMises self) -> std::string"""
1728  return _IMP_isd.vonMises___repr__(self)
1729 
1730  def get_from(o):
1731  return _object_cast_to_vonMises(o)
1732  get_from = staticmethod(get_from)
1733 
1734 vonMises_swigregister = _IMP_isd.vonMises_swigregister
1735 vonMises_swigregister(vonMises)
1736 
1737 class vonMisesSufficient(IMP.base.Object):
1738  """Proxy of C++ IMP::isd::vonMisesSufficient class"""
1739  __swig_setmethods__ = {}
1740  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1741  __setattr__ = lambda self, name, value: _swig_setattr(self, vonMisesSufficient, name, value)
1742  __swig_getmethods__ = {}
1743  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1744  __getattr__ = lambda self, name: _swig_getattr(self, vonMisesSufficient, name)
1745  def __init__(self, *args):
1746  """
1747  __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
1748  __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
1749  """
1750  this = _IMP_isd.new_vonMisesSufficient(*args)
1751  try: self.this.append(this)
1752  except: self.this = this
1753  def evaluate(self):
1754  """evaluate(vonMisesSufficient self) -> double"""
1755  return _IMP_isd.vonMisesSufficient_evaluate(self)
1756 
1757  def evaluate_derivative_x(self):
1758  """evaluate_derivative_x(vonMisesSufficient self) -> double"""
1759  return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
1760 
1761  def evaluate_derivative_kappa(self):
1762  """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
1763  return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
1764 
1765  def density(self):
1766  """density(vonMisesSufficient self) -> double"""
1767  return _IMP_isd.vonMisesSufficient_density(self)
1768 
1769  def get_x(self):
1770  """get_x(vonMisesSufficient self) -> double"""
1771  return _IMP_isd.vonMisesSufficient_get_x(self)
1772 
1773  def get_R0(self):
1774  """get_R0(vonMisesSufficient self) -> double"""
1775  return _IMP_isd.vonMisesSufficient_get_R0(self)
1776 
1777  def get_chiexp(self):
1778  """get_chiexp(vonMisesSufficient self) -> double"""
1779  return _IMP_isd.vonMisesSufficient_get_chiexp(self)
1780 
1781  def get_N(self):
1782  """get_N(vonMisesSufficient self) -> double"""
1783  return _IMP_isd.vonMisesSufficient_get_N(self)
1784 
1785  def get_kappa(self):
1786  """get_kappa(vonMisesSufficient self) -> double"""
1787  return _IMP_isd.vonMisesSufficient_get_kappa(self)
1788 
1789  def set_x(self, *args):
1790  """set_x(vonMisesSufficient self, double x)"""
1791  return _IMP_isd.vonMisesSufficient_set_x(self, *args)
1792 
1793  def set_R0(self, *args):
1794  """set_R0(vonMisesSufficient self, double R0)"""
1795  return _IMP_isd.vonMisesSufficient_set_R0(self, *args)
1796 
1797  def set_chiexp(self, *args):
1798  """set_chiexp(vonMisesSufficient self, double chiexp)"""
1799  return _IMP_isd.vonMisesSufficient_set_chiexp(self, *args)
1800 
1801  def set_N(self, *args):
1802  """set_N(vonMisesSufficient self, unsigned int N)"""
1803  return _IMP_isd.vonMisesSufficient_set_N(self, *args)
1804 
1805  def set_kappa(self, *args):
1806  """set_kappa(vonMisesSufficient self, double kappa)"""
1807  return _IMP_isd.vonMisesSufficient_set_kappa(self, *args)
1808 
1809  def get_sufficient_statistics(*args):
1810  """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
1811  return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
1812 
1813  if _newclass:get_sufficient_statistics = staticmethod(get_sufficient_statistics)
1814  __swig_getmethods__["get_sufficient_statistics"] = lambda x: get_sufficient_statistics
1815  def get_version_info(self):
1816  """get_version_info(vonMisesSufficient self) -> VersionInfo"""
1817  return _IMP_isd.vonMisesSufficient_get_version_info(self)
1818 
1819  __swig_destroy__ = _IMP_isd.delete_vonMisesSufficient
1820  __del__ = lambda self : None;
1821  def __str__(self):
1822  """__str__(vonMisesSufficient self) -> std::string"""
1823  return _IMP_isd.vonMisesSufficient___str__(self)
1824 
1825  def __repr__(self):
1826  """__repr__(vonMisesSufficient self) -> std::string"""
1827  return _IMP_isd.vonMisesSufficient___repr__(self)
1828 
1829  def get_from(o):
1830  return _object_cast_to_vonMisesSufficient(o)
1831  get_from = staticmethod(get_from)
1832 
1833 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
1834 vonMisesSufficient_swigregister(vonMisesSufficient)
1835 
1836 def vonMisesSufficient_get_sufficient_statistics(*args):
1837  """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
1838  return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(*args)
1839 
1840 class vonMisesKappaJeffreysRestraint(ISDRestraint):
1841  """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
1842  __swig_setmethods__ = {}
1843  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1844  __setattr__ = lambda self, name, value: _swig_setattr(self, vonMisesKappaJeffreysRestraint, name, value)
1845  __swig_getmethods__ = {}
1846  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1847  __getattr__ = lambda self, name: _swig_getattr(self, vonMisesKappaJeffreysRestraint, name)
1848  def __init__(self, *args):
1849  """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
1850  this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(*args)
1851  try: self.this.append(this)
1852  except: self.this = this
1853  def get_input_particles(self):
1854  """get_input_particles(vonMisesKappaJeffreysRestraint self) -> IMP::kernel::ParticlesTemp"""
1855  return _IMP_isd.vonMisesKappaJeffreysRestraint_get_input_particles(self)
1856 
1857  def get_input_containers(self):
1858  """get_input_containers(vonMisesKappaJeffreysRestraint self) -> IMP::kernel::ContainersTemp"""
1859  return _IMP_isd.vonMisesKappaJeffreysRestraint_get_input_containers(self)
1860 
1861  def do_get_inputs(self):
1862  """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1863  return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
1864 
1865  def get_version_info(self):
1866  """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
1867  return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
1868 
1869  def do_show(self, *args):
1870  """do_show(vonMisesKappaJeffreysRestraint self, _ostream out)"""
1871  return _IMP_isd.vonMisesKappaJeffreysRestraint_do_show(self, *args)
1872 
1873  __swig_destroy__ = _IMP_isd.delete_vonMisesKappaJeffreysRestraint
1874  __del__ = lambda self : None;
1875  def __str__(self):
1876  """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
1877  return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
1878 
1879  def __repr__(self):
1880  """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
1881  return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
1882 
1883  def get_from(o):
1884  return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
1885  get_from = staticmethod(get_from)
1886 
1887 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
1888 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
1889 
1890 class vonMisesKappaConjugateRestraint(ISDRestraint):
1891  """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
1892  __swig_setmethods__ = {}
1893  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1894  __setattr__ = lambda self, name, value: _swig_setattr(self, vonMisesKappaConjugateRestraint, name, value)
1895  __swig_getmethods__ = {}
1896  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1897  __getattr__ = lambda self, name: _swig_getattr(self, vonMisesKappaConjugateRestraint, name)
1898  def __init__(self, *args):
1899  """
1900  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
1901  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
1902  __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Particle kappa) -> vonMisesKappaConjugateRestraint
1903  """
1904  this = _IMP_isd.new_vonMisesKappaConjugateRestraint(*args)
1905  try: self.this.append(this)
1906  except: self.this = this
1907  def get_input_particles(self):
1908  """get_input_particles(vonMisesKappaConjugateRestraint self) -> IMP::kernel::ParticlesTemp"""
1909  return _IMP_isd.vonMisesKappaConjugateRestraint_get_input_particles(self)
1910 
1911  def get_input_containers(self):
1912  """get_input_containers(vonMisesKappaConjugateRestraint self) -> IMP::kernel::ContainersTemp"""
1913  return _IMP_isd.vonMisesKappaConjugateRestraint_get_input_containers(self)
1914 
1915  def do_get_inputs(self):
1916  """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1917  return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
1918 
1919  def get_version_info(self):
1920  """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
1921  return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
1922 
1923  def do_show(self, *args):
1924  """do_show(vonMisesKappaConjugateRestraint self, _ostream out)"""
1925  return _IMP_isd.vonMisesKappaConjugateRestraint_do_show(self, *args)
1926 
1927  __swig_destroy__ = _IMP_isd.delete_vonMisesKappaConjugateRestraint
1928  __del__ = lambda self : None;
1929  def __str__(self):
1930  """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
1931  return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
1932 
1933  def __repr__(self):
1934  """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
1935  return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
1936 
1937  def get_from(o):
1938  return _object_cast_to_vonMisesKappaConjugateRestraint(o)
1939  get_from = staticmethod(get_from)
1940 
1941 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
1942 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
1943 
1944 class NOERestraint(ISDRestraint):
1945  """Proxy of C++ IMP::isd::NOERestraint class"""
1946  __swig_setmethods__ = {}
1947  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
1948  __setattr__ = lambda self, name, value: _swig_setattr(self, NOERestraint, name, value)
1949  __swig_getmethods__ = {}
1950  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
1951  __getattr__ = lambda self, name: _swig_getattr(self, NOERestraint, name)
1952  def __init__(self, *args):
1953  """__init__(IMP::isd::NOERestraint self, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
1954  this = _IMP_isd.new_NOERestraint(*args)
1955  try: self.this.append(this)
1956  except: self.this = this
1957  def get_chi(self):
1958  """get_chi(NOERestraint self) -> double"""
1959  return _IMP_isd.NOERestraint_get_chi(self)
1960 
1961  def get_input_particles(self):
1962  """get_input_particles(NOERestraint self) -> IMP::kernel::ParticlesTemp"""
1963  return _IMP_isd.NOERestraint_get_input_particles(self)
1964 
1965  def get_input_containers(self):
1966  """get_input_containers(NOERestraint self) -> IMP::kernel::ContainersTemp"""
1967  return _IMP_isd.NOERestraint_get_input_containers(self)
1968 
1969  def do_get_inputs(self):
1970  """do_get_inputs(NOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
1971  return _IMP_isd.NOERestraint_do_get_inputs(self)
1972 
1973  def get_version_info(self):
1974  """get_version_info(NOERestraint self) -> VersionInfo"""
1975  return _IMP_isd.NOERestraint_get_version_info(self)
1976 
1977  def do_show(self, *args):
1978  """do_show(NOERestraint self, _ostream out)"""
1979  return _IMP_isd.NOERestraint_do_show(self, *args)
1980 
1981  __swig_destroy__ = _IMP_isd.delete_NOERestraint
1982  __del__ = lambda self : None;
1983  def __str__(self):
1984  """__str__(NOERestraint self) -> std::string"""
1985  return _IMP_isd.NOERestraint___str__(self)
1986 
1987  def __repr__(self):
1988  """__repr__(NOERestraint self) -> std::string"""
1989  return _IMP_isd.NOERestraint___repr__(self)
1990 
1991  def get_from(o):
1992  return _object_cast_to_NOERestraint(o)
1993  get_from = staticmethod(get_from)
1994 
1995 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
1996 NOERestraint_swigregister(NOERestraint)
1997 
1998 class GaussianRestraint(ISDRestraint):
1999  """Proxy of C++ IMP::isd::GaussianRestraint class"""
2000  __swig_setmethods__ = {}
2001  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2002  __setattr__ = lambda self, name, value: _swig_setattr(self, GaussianRestraint, name, value)
2003  __swig_getmethods__ = {}
2004  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2005  __getattr__ = lambda self, name: _swig_getattr(self, GaussianRestraint, name)
2006  def __init__(self, *args):
2007  """
2008  __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
2009  __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
2010  __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
2011  __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
2012  __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
2013  __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
2014  __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
2015  """
2016  this = _IMP_isd.new_GaussianRestraint(*args)
2017  try: self.this.append(this)
2018  except: self.this = this
2019  def get_chi(self):
2020  """get_chi(GaussianRestraint self) -> double"""
2021  return _IMP_isd.GaussianRestraint_get_chi(self)
2022 
2023  def get_input_particles(self):
2024  """get_input_particles(GaussianRestraint self) -> IMP::kernel::ParticlesTemp"""
2025  return _IMP_isd.GaussianRestraint_get_input_particles(self)
2026 
2027  def get_input_containers(self):
2028  """get_input_containers(GaussianRestraint self) -> IMP::kernel::ContainersTemp"""
2029  return _IMP_isd.GaussianRestraint_get_input_containers(self)
2030 
2031  def do_get_inputs(self):
2032  """do_get_inputs(GaussianRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2033  return _IMP_isd.GaussianRestraint_do_get_inputs(self)
2034 
2035  def get_version_info(self):
2036  """get_version_info(GaussianRestraint self) -> VersionInfo"""
2037  return _IMP_isd.GaussianRestraint_get_version_info(self)
2038 
2039  def do_show(self, *args):
2040  """do_show(GaussianRestraint self, _ostream out)"""
2041  return _IMP_isd.GaussianRestraint_do_show(self, *args)
2042 
2043  __swig_destroy__ = _IMP_isd.delete_GaussianRestraint
2044  __del__ = lambda self : None;
2045  def __str__(self):
2046  """__str__(GaussianRestraint self) -> std::string"""
2047  return _IMP_isd.GaussianRestraint___str__(self)
2048 
2049  def __repr__(self):
2050  """__repr__(GaussianRestraint self) -> std::string"""
2051  return _IMP_isd.GaussianRestraint___repr__(self)
2052 
2053  def get_from(o):
2054  return _object_cast_to_GaussianRestraint(o)
2055  get_from = staticmethod(get_from)
2056 
2057 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
2058 GaussianRestraint_swigregister(GaussianRestraint)
2059 
2060 class LognormalRestraint(ISDRestraint):
2061  """Proxy of C++ IMP::isd::LognormalRestraint class"""
2062  __swig_setmethods__ = {}
2063  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2064  __setattr__ = lambda self, name, value: _swig_setattr(self, LognormalRestraint, name, value)
2065  __swig_getmethods__ = {}
2066  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2067  __getattr__ = lambda self, name: _swig_getattr(self, LognormalRestraint, name)
2068  def __init__(self, *args):
2069  """
2070  __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
2071  __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
2072  __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
2073  __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
2074  __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
2075  __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
2076  __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
2077  """
2078  this = _IMP_isd.new_LognormalRestraint(*args)
2079  try: self.this.append(this)
2080  except: self.this = this
2081  def get_chi(self):
2082  """get_chi(LognormalRestraint self) -> double"""
2083  return _IMP_isd.LognormalRestraint_get_chi(self)
2084 
2085  def get_input_particles(self):
2086  """get_input_particles(LognormalRestraint self) -> IMP::kernel::ParticlesTemp"""
2087  return _IMP_isd.LognormalRestraint_get_input_particles(self)
2088 
2089  def get_input_containers(self):
2090  """get_input_containers(LognormalRestraint self) -> IMP::kernel::ContainersTemp"""
2091  return _IMP_isd.LognormalRestraint_get_input_containers(self)
2092 
2093  def do_get_inputs(self):
2094  """do_get_inputs(LognormalRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2095  return _IMP_isd.LognormalRestraint_do_get_inputs(self)
2096 
2097  def get_version_info(self):
2098  """get_version_info(LognormalRestraint self) -> VersionInfo"""
2099  return _IMP_isd.LognormalRestraint_get_version_info(self)
2100 
2101  def do_show(self, *args):
2102  """do_show(LognormalRestraint self, _ostream out)"""
2103  return _IMP_isd.LognormalRestraint_do_show(self, *args)
2104 
2105  __swig_destroy__ = _IMP_isd.delete_LognormalRestraint
2106  __del__ = lambda self : None;
2107  def __str__(self):
2108  """__str__(LognormalRestraint self) -> std::string"""
2109  return _IMP_isd.LognormalRestraint___str__(self)
2110 
2111  def __repr__(self):
2112  """__repr__(LognormalRestraint self) -> std::string"""
2113  return _IMP_isd.LognormalRestraint___repr__(self)
2114 
2115  def get_from(o):
2116  return _object_cast_to_LognormalRestraint(o)
2117  get_from = staticmethod(get_from)
2118 
2119 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
2120 LognormalRestraint_swigregister(LognormalRestraint)
2121 
2122 class AmbiguousNOERestraint(ISDRestraint):
2123  """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
2124  __swig_setmethods__ = {}
2125  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2126  __setattr__ = lambda self, name, value: _swig_setattr(self, AmbiguousNOERestraint, name, value)
2127  __swig_getmethods__ = {}
2128  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2129  __getattr__ = lambda self, name: _swig_getattr(self, AmbiguousNOERestraint, name)
2130  def __init__(self, *args):
2131  """__init__(IMP::isd::AmbiguousNOERestraint self, PairContainer pc, Particle sigma, Particle gamma, double Iexp) -> AmbiguousNOERestraint"""
2132  this = _IMP_isd.new_AmbiguousNOERestraint(*args)
2133  try: self.this.append(this)
2134  except: self.this = this
2135  def get_chi(self):
2136  """get_chi(AmbiguousNOERestraint self) -> double"""
2137  return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
2138 
2139  def do_get_inputs(self):
2140  """do_get_inputs(AmbiguousNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2141  return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
2142 
2143  def get_version_info(self):
2144  """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
2145  return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
2146 
2147  def do_show(self, *args):
2148  """do_show(AmbiguousNOERestraint self, _ostream out)"""
2149  return _IMP_isd.AmbiguousNOERestraint_do_show(self, *args)
2150 
2151  __swig_destroy__ = _IMP_isd.delete_AmbiguousNOERestraint
2152  __del__ = lambda self : None;
2153  def __str__(self):
2154  """__str__(AmbiguousNOERestraint self) -> std::string"""
2155  return _IMP_isd.AmbiguousNOERestraint___str__(self)
2156 
2157  def __repr__(self):
2158  """__repr__(AmbiguousNOERestraint self) -> std::string"""
2159  return _IMP_isd.AmbiguousNOERestraint___repr__(self)
2160 
2161  def get_from(o):
2162  return _object_cast_to_AmbiguousNOERestraint(o)
2163  get_from = staticmethod(get_from)
2164 
2165 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
2166 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
2167 
2168 class MarginalNOERestraint(ISDRestraint):
2169  """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
2170  __swig_setmethods__ = {}
2171  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2172  __setattr__ = lambda self, name, value: _swig_setattr(self, MarginalNOERestraint, name, value)
2173  __swig_getmethods__ = {}
2174  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2175  __getattr__ = lambda self, name: _swig_getattr(self, MarginalNOERestraint, name)
2176  def __init__(self):
2177  """__init__(IMP::isd::MarginalNOERestraint self) -> MarginalNOERestraint"""
2178  this = _IMP_isd.new_MarginalNOERestraint()
2179  try: self.this.append(this)
2180  except: self.this = this
2181  def add_contribution(self, *args):
2182  """
2183  add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
2184  add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
2185  """
2186  return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
2187 
2188  def get_log_gammahat(self):
2189  """get_log_gammahat(MarginalNOERestraint self) -> double"""
2190  return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
2191 
2192  def get_SS(self):
2193  """get_SS(MarginalNOERestraint self) -> double"""
2194  return _IMP_isd.MarginalNOERestraint_get_SS(self)
2195 
2196  def get_number_of_contributions(self):
2197  """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
2198  return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
2199 
2200  def do_get_inputs(self):
2201  """do_get_inputs(MarginalNOERestraint self) -> IMP::kernel::ModelObjectsTemp"""
2202  return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
2203 
2204  def get_version_info(self):
2205  """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
2206  return _IMP_isd.MarginalNOERestraint_get_version_info(self)
2207 
2208  def do_show(self, *args):
2209  """do_show(MarginalNOERestraint self, _ostream out)"""
2210  return _IMP_isd.MarginalNOERestraint_do_show(self, *args)
2211 
2212  __swig_destroy__ = _IMP_isd.delete_MarginalNOERestraint
2213  __del__ = lambda self : None;
2214  def __str__(self):
2215  """__str__(MarginalNOERestraint self) -> std::string"""
2216  return _IMP_isd.MarginalNOERestraint___str__(self)
2217 
2218  def __repr__(self):
2219  """__repr__(MarginalNOERestraint self) -> std::string"""
2220  return _IMP_isd.MarginalNOERestraint___repr__(self)
2221 
2222  def get_from(o):
2223  return _object_cast_to_MarginalNOERestraint(o)
2224  get_from = staticmethod(get_from)
2225 
2226 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
2227 MarginalNOERestraint_swigregister(MarginalNOERestraint)
2228 
2229 class MarginalHBondRestraint(ISDRestraint):
2230  """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
2231  __swig_setmethods__ = {}
2232  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2233  __setattr__ = lambda self, name, value: _swig_setattr(self, MarginalHBondRestraint, name, value)
2234  __swig_getmethods__ = {}
2235  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2236  __getattr__ = lambda self, name: _swig_getattr(self, MarginalHBondRestraint, name)
2237  def __init__(self):
2238  """__init__(IMP::isd::MarginalHBondRestraint self) -> MarginalHBondRestraint"""
2239  this = _IMP_isd.new_MarginalHBondRestraint()
2240  try: self.this.append(this)
2241  except: self.this = this
2242  def add_contribution(self, *args):
2243  """
2244  add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
2245  add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
2246  """
2247  return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
2248 
2249  def get_logsquares(self):
2250  """get_logsquares(MarginalHBondRestraint self) -> double"""
2251  return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
2252 
2253  def get_number_of_contributions(self):
2254  """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
2255  return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
2256 
2257  def do_get_inputs(self):
2258  """do_get_inputs(MarginalHBondRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2259  return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
2260 
2261  def get_version_info(self):
2262  """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
2263  return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
2264 
2265  def do_show(self, *args):
2266  """do_show(MarginalHBondRestraint self, _ostream out)"""
2267  return _IMP_isd.MarginalHBondRestraint_do_show(self, *args)
2268 
2269  __swig_destroy__ = _IMP_isd.delete_MarginalHBondRestraint
2270  __del__ = lambda self : None;
2271  def __str__(self):
2272  """__str__(MarginalHBondRestraint self) -> std::string"""
2273  return _IMP_isd.MarginalHBondRestraint___str__(self)
2274 
2275  def __repr__(self):
2276  """__repr__(MarginalHBondRestraint self) -> std::string"""
2277  return _IMP_isd.MarginalHBondRestraint___repr__(self)
2278 
2279  def get_from(o):
2280  return _object_cast_to_MarginalHBondRestraint(o)
2281  get_from = staticmethod(get_from)
2282 
2283 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
2284 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
2285 
2286 class TALOSRestraint(IMP.kernel.Restraint):
2287  """Proxy of C++ IMP::isd::TALOSRestraint class"""
2288  __swig_setmethods__ = {}
2289  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2290  __setattr__ = lambda self, name, value: _swig_setattr(self, TALOSRestraint, name, value)
2291  __swig_getmethods__ = {}
2292  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2293  __getattr__ = lambda self, name: _swig_getattr(self, TALOSRestraint, name)
2294  def __init__(self, *args):
2295  """
2296  __init__(IMP::isd::TALOSRestraint self, IMP::kernel::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
2297  __init__(IMP::isd::TALOSRestraint self, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
2298  __init__(IMP::isd::TALOSRestraint self, IMP::kernel::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
2299  __init__(IMP::isd::TALOSRestraint self, Particle p1, Particle p2, Particle p3, Particle p4, unsigned int N, double R0, double chiexp,
2300  Particle kappa) -> TALOSRestraint
2301  """
2302  this = _IMP_isd.new_TALOSRestraint(*args)
2303  try: self.this.append(this)
2304  except: self.this = this
2305  def get_probability(self):
2306  """get_probability(TALOSRestraint self) -> double"""
2307  return _IMP_isd.TALOSRestraint_get_probability(self)
2308 
2309  def get_R0(self):
2310  """get_R0(TALOSRestraint self) -> double"""
2311  return _IMP_isd.TALOSRestraint_get_R0(self)
2312 
2313  def get_chiexp(self):
2314  """get_chiexp(TALOSRestraint self) -> double"""
2315  return _IMP_isd.TALOSRestraint_get_chiexp(self)
2316 
2317  def get_input_particles(self):
2318  """get_input_particles(TALOSRestraint self) -> IMP::kernel::ParticlesTemp"""
2319  return _IMP_isd.TALOSRestraint_get_input_particles(self)
2320 
2321  def get_input_containers(self):
2322  """get_input_containers(TALOSRestraint self) -> IMP::kernel::ContainersTemp"""
2323  return _IMP_isd.TALOSRestraint_get_input_containers(self)
2324 
2325  def do_get_inputs(self):
2326  """do_get_inputs(TALOSRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2327  return _IMP_isd.TALOSRestraint_do_get_inputs(self)
2328 
2329  def get_version_info(self):
2330  """get_version_info(TALOSRestraint self) -> VersionInfo"""
2331  return _IMP_isd.TALOSRestraint_get_version_info(self)
2332 
2333  def do_show(self, *args):
2334  """do_show(TALOSRestraint self, _ostream out)"""
2335  return _IMP_isd.TALOSRestraint_do_show(self, *args)
2336 
2337  __swig_destroy__ = _IMP_isd.delete_TALOSRestraint
2338  __del__ = lambda self : None;
2339  def __str__(self):
2340  """__str__(TALOSRestraint self) -> std::string"""
2341  return _IMP_isd.TALOSRestraint___str__(self)
2342 
2343  def __repr__(self):
2344  """__repr__(TALOSRestraint self) -> std::string"""
2345  return _IMP_isd.TALOSRestraint___repr__(self)
2346 
2347  def get_from(o):
2348  return _object_cast_to_TALOSRestraint(o)
2349  get_from = staticmethod(get_from)
2350 
2351 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
2352 TALOSRestraint_swigregister(TALOSRestraint)
2353 
2354 class LogicalORRestraint(IMP.kernel.Restraint):
2355  """Proxy of C++ IMP::isd::LogicalORRestraint class"""
2356  __swig_setmethods__ = {}
2357  for _s in [IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2358  __setattr__ = lambda self, name, value: _swig_setattr(self, LogicalORRestraint, name, value)
2359  __swig_getmethods__ = {}
2360  for _s in [IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2361  __getattr__ = lambda self, name: _swig_getattr(self, LogicalORRestraint, name)
2362  def __init__(self, *args):
2363  """__init__(IMP::isd::LogicalORRestraint self, ISDRestraint r0, ISDRestraint r1) -> LogicalORRestraint"""
2364  this = _IMP_isd.new_LogicalORRestraint(*args)
2365  try: self.this.append(this)
2366  except: self.this = this
2367  def get_probability(self):
2368  """get_probability(LogicalORRestraint self) -> double"""
2369  return _IMP_isd.LogicalORRestraint_get_probability(self)
2370 
2371  def do_get_inputs(self):
2372  """do_get_inputs(LogicalORRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2373  return _IMP_isd.LogicalORRestraint_do_get_inputs(self)
2374 
2375  def get_version_info(self):
2376  """get_version_info(LogicalORRestraint self) -> VersionInfo"""
2377  return _IMP_isd.LogicalORRestraint_get_version_info(self)
2378 
2379  def do_show(self, *args):
2380  """do_show(LogicalORRestraint self, _ostream out)"""
2381  return _IMP_isd.LogicalORRestraint_do_show(self, *args)
2382 
2383  __swig_destroy__ = _IMP_isd.delete_LogicalORRestraint
2384  __del__ = lambda self : None;
2385  def __str__(self):
2386  """__str__(LogicalORRestraint self) -> std::string"""
2387  return _IMP_isd.LogicalORRestraint___str__(self)
2388 
2389  def __repr__(self):
2390  """__repr__(LogicalORRestraint self) -> std::string"""
2391  return _IMP_isd.LogicalORRestraint___repr__(self)
2392 
2393  def get_from(o):
2394  return _object_cast_to_LogicalORRestraint(o)
2395  get_from = staticmethod(get_from)
2396 
2397 LogicalORRestraint_swigregister = _IMP_isd.LogicalORRestraint_swigregister
2398 LogicalORRestraint_swigregister(LogicalORRestraint)
2399 
2400 class RepulsiveDistancePairScore(IMP.kernel.PairScore):
2401  """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
2402  __swig_setmethods__ = {}
2403  for _s in [IMP.kernel.PairScore]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2404  __setattr__ = lambda self, name, value: _swig_setattr(self, RepulsiveDistancePairScore, name, value)
2405  __swig_getmethods__ = {}
2406  for _s in [IMP.kernel.PairScore]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2407  __getattr__ = lambda self, name: _swig_getattr(self, RepulsiveDistancePairScore, name)
2408  def __init__(self, *args):
2409  """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
2410  this = _IMP_isd.new_RepulsiveDistancePairScore(*args)
2411  try: self.this.append(this)
2412  except: self.this = this
2413  def get_rest_length(self):
2414  """get_rest_length(RepulsiveDistancePairScore self) -> double"""
2415  return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
2416 
2417  def get_stiffness(self):
2418  """get_stiffness(RepulsiveDistancePairScore self) -> double"""
2419  return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
2420 
2421  def do_create_current_decomposition(self, *args):
2422  """do_create_current_decomposition(RepulsiveDistancePairScore self, Model m, IMP::kernel::ParticleIndexPair const & vt) -> IMP::kernel::Restraints"""
2423  return _IMP_isd.RepulsiveDistancePairScore_do_create_current_decomposition(self, *args)
2424 
2425  def get_version_info(self):
2426  """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
2427  return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
2428 
2429  def do_show(self, *args):
2430  """do_show(RepulsiveDistancePairScore self, _ostream out)"""
2431  return _IMP_isd.RepulsiveDistancePairScore_do_show(self, *args)
2432 
2433  __swig_destroy__ = _IMP_isd.delete_RepulsiveDistancePairScore
2434  __del__ = lambda self : None;
2435  def __str__(self):
2436  """__str__(RepulsiveDistancePairScore self) -> std::string"""
2437  return _IMP_isd.RepulsiveDistancePairScore___str__(self)
2438 
2439  def __repr__(self):
2440  """__repr__(RepulsiveDistancePairScore self) -> std::string"""
2441  return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
2442 
2443  def get_from(o):
2444  return _object_cast_to_RepulsiveDistancePairScore(o)
2445  get_from = staticmethod(get_from)
2446 
2447 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
2448 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
2449 
2450 class AmbiguousRestraint(ISDRestraint):
2451  """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
2452  __swig_setmethods__ = {}
2453  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2454  __setattr__ = lambda self, name, value: _swig_setattr(self, AmbiguousRestraint, name, value)
2455  __swig_getmethods__ = {}
2456  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2457  __getattr__ = lambda self, name: _swig_getattr(self, AmbiguousRestraint, name)
2458  def __init__(self, *args):
2459  """
2460  __init__(IMP::isd::AmbiguousRestraint self, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
2461  __init__(IMP::isd::AmbiguousRestraint self, int d, IMP::kernel::Restraints rs) -> AmbiguousRestraint
2462  """
2463  this = _IMP_isd.new_AmbiguousRestraint(*args)
2464  try: self.this.append(this)
2465  except: self.this = this
2466  def do_get_inputs(self):
2467  """do_get_inputs(AmbiguousRestraint self) -> IMP::kernel::ModelObjectsTemp"""
2468  return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
2469 
2470  def get_version_info(self):
2471  """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
2472  return _IMP_isd.AmbiguousRestraint_get_version_info(self)
2473 
2474  def do_show(self, *args):
2475  """do_show(AmbiguousRestraint self, _ostream out)"""
2476  return _IMP_isd.AmbiguousRestraint_do_show(self, *args)
2477 
2478  __swig_destroy__ = _IMP_isd.delete_AmbiguousRestraint
2479  __del__ = lambda self : None;
2480  def __str__(self):
2481  """__str__(AmbiguousRestraint self) -> std::string"""
2482  return _IMP_isd.AmbiguousRestraint___str__(self)
2483 
2484  def __repr__(self):
2485  """__repr__(AmbiguousRestraint self) -> std::string"""
2486  return _IMP_isd.AmbiguousRestraint___repr__(self)
2487 
2488  def get_from(o):
2489  return _object_cast_to_AmbiguousRestraint(o)
2490  get_from = staticmethod(get_from)
2491 
2492 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
2493 AmbiguousRestraint_swigregister(AmbiguousRestraint)
2494 
2495 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
2496 class UnivariateFunction(IMP.base.Object):
2497  """Proxy of C++ IMP::isd::UnivariateFunction class"""
2498  __swig_setmethods__ = {}
2499  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2500  __setattr__ = lambda self, name, value: _swig_setattr(self, UnivariateFunction, name, value)
2501  __swig_getmethods__ = {}
2502  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2503  __getattr__ = lambda self, name: _swig_getattr(self, UnivariateFunction, name)
2504  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
2505  def __call__(self, *args):
2506  """
2507  __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
2508  __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2509  __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2510  """
2511  return _IMP_isd.UnivariateFunction___call__(self, *args)
2512 
2513  def has_changed(self):
2514  """has_changed(UnivariateFunction self) -> bool"""
2515  return _IMP_isd.UnivariateFunction_has_changed(self)
2516 
2517  def update(self):
2518  """update(UnivariateFunction self)"""
2519  return _IMP_isd.UnivariateFunction_update(self)
2520 
2521  def add_to_derivatives(self, *args):
2522  """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
2523  return _IMP_isd.UnivariateFunction_add_to_derivatives(self, *args)
2524 
2525  def add_to_particle_derivative(self, *args):
2526  """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2527  return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, *args)
2528 
2529  def get_derivative_vector(self, *args):
2530  """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
2531  return _IMP_isd.UnivariateFunction_get_derivative_vector(self, *args)
2532 
2533  def get_derivative_matrix(self, *args):
2534  """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
2535  return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, *args)
2536 
2537  def get_second_derivative_vector(self, *args):
2538  """
2539  get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2540  get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2541  bool stupid) -> IMP::FloatsList
2542  """
2543  return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
2544 
2545  def get_ndims_x(self):
2546  """get_ndims_x(UnivariateFunction self) -> unsigned int"""
2547  return _IMP_isd.UnivariateFunction_get_ndims_x(self)
2548 
2549  def get_ndims_y(self):
2550  """get_ndims_y(UnivariateFunction self) -> unsigned int"""
2551  return _IMP_isd.UnivariateFunction_get_ndims_y(self)
2552 
2553  def get_number_of_particles(self):
2554  """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
2555  return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
2556 
2557  def get_particle_is_optimized(self, *args):
2558  """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
2559  return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, *args)
2560 
2561  def get_number_of_optimized_particles(self):
2562  """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
2563  return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
2564 
2565  def get_input_particles(self):
2566  """get_input_particles(UnivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2567  return _IMP_isd.UnivariateFunction_get_input_particles(self)
2568 
2569  def get_input_containers(self):
2570  """get_input_containers(UnivariateFunction self) -> IMP::kernel::ContainersTemp"""
2571  return _IMP_isd.UnivariateFunction_get_input_containers(self)
2572 
2573  __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
2574  __del__ = lambda self : None;
2575  def __str__(self):
2576  """__str__(UnivariateFunction self) -> std::string"""
2577  return _IMP_isd.UnivariateFunction___str__(self)
2578 
2579  def __repr__(self):
2580  """__repr__(UnivariateFunction self) -> std::string"""
2581  return _IMP_isd.UnivariateFunction___repr__(self)
2582 
2583  def get_from(o):
2584  return _object_cast_to_UnivariateFunction(o)
2585  get_from = staticmethod(get_from)
2586 
2587 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
2588 UnivariateFunction_swigregister(UnivariateFunction)
2589 
2590 class Linear1DFunction(UnivariateFunction):
2591  """Proxy of C++ IMP::isd::Linear1DFunction class"""
2592  __swig_setmethods__ = {}
2593  for _s in [UnivariateFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2594  __setattr__ = lambda self, name, value: _swig_setattr(self, Linear1DFunction, name, value)
2595  __swig_getmethods__ = {}
2596  for _s in [UnivariateFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2597  __getattr__ = lambda self, name: _swig_getattr(self, Linear1DFunction, name)
2598  def __init__(self, *args):
2599  """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
2600  this = _IMP_isd.new_Linear1DFunction(*args)
2601  try: self.this.append(this)
2602  except: self.this = this
2603  def __call__(self, *args):
2604  """
2605  __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
2606  __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2607  __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2608  """
2609  return _IMP_isd.Linear1DFunction___call__(self, *args)
2610 
2611  def get_second_derivative_vector(self, *args):
2612  """
2613  get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2614  get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2615  bool arg5) -> IMP::FloatsList
2616  """
2617  return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
2618 
2619  def get_version_info(self):
2620  """get_version_info(Linear1DFunction self) -> VersionInfo"""
2621  return _IMP_isd.Linear1DFunction_get_version_info(self)
2622 
2623  __swig_destroy__ = _IMP_isd.delete_Linear1DFunction
2624  __del__ = lambda self : None;
2625  def __str__(self):
2626  """__str__(Linear1DFunction self) -> std::string"""
2627  return _IMP_isd.Linear1DFunction___str__(self)
2628 
2629  def __repr__(self):
2630  """__repr__(Linear1DFunction self) -> std::string"""
2631  return _IMP_isd.Linear1DFunction___repr__(self)
2632 
2633  def get_from(o):
2634  return _object_cast_to_Linear1DFunction(o)
2635  get_from = staticmethod(get_from)
2636 
2637 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
2638 Linear1DFunction_swigregister(Linear1DFunction)
2639 
2640 class GeneralizedGuinierPorodFunction(UnivariateFunction):
2641  """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
2642  __swig_setmethods__ = {}
2643  for _s in [UnivariateFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2644  __setattr__ = lambda self, name, value: _swig_setattr(self, GeneralizedGuinierPorodFunction, name, value)
2645  __swig_getmethods__ = {}
2646  for _s in [UnivariateFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2647  __getattr__ = lambda self, name: _swig_getattr(self, GeneralizedGuinierPorodFunction, name)
2648  def __init__(self, *args):
2649  """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
2650  this = _IMP_isd.new_GeneralizedGuinierPorodFunction(*args)
2651  try: self.this.append(this)
2652  except: self.this = this
2653  def __call__(self, *args):
2654  """
2655  __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
2656  __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2657  __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2658  """
2659  return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
2660 
2661  def get_second_derivative_vector(self, *args):
2662  """
2663  get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
2664  get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2665  bool arg5) -> IMP::FloatsList
2666  """
2667  return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
2668 
2669  def get_version_info(self):
2670  """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
2671  return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
2672 
2673  __swig_destroy__ = _IMP_isd.delete_GeneralizedGuinierPorodFunction
2674  __del__ = lambda self : None;
2675  def __str__(self):
2676  """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
2677  return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
2678 
2679  def __repr__(self):
2680  """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
2681  return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
2682 
2683  def get_from(o):
2684  return _object_cast_to_GeneralizedGuinierPorodFunction(o)
2685  get_from = staticmethod(get_from)
2686 
2687 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
2688 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
2689 
2690 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
2691 class BivariateFunction(IMP.base.Object):
2692  """Proxy of C++ IMP::isd::BivariateFunction class"""
2693  __swig_setmethods__ = {}
2694  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2695  __setattr__ = lambda self, name, value: _swig_setattr(self, BivariateFunction, name, value)
2696  __swig_getmethods__ = {}
2697  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2698  __getattr__ = lambda self, name: _swig_getattr(self, BivariateFunction, name)
2699  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
2700  def __call__(self, *args):
2701  """
2702  __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2703  __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2704  __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2705  """
2706  return _IMP_isd.BivariateFunction___call__(self, *args)
2707 
2708  def has_changed(self):
2709  """has_changed(BivariateFunction self) -> bool"""
2710  return _IMP_isd.BivariateFunction_has_changed(self)
2711 
2712  def update(self):
2713  """update(BivariateFunction self)"""
2714  return _IMP_isd.BivariateFunction_update(self)
2715 
2716  def add_to_derivatives(self, *args):
2717  """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
2718  return _IMP_isd.BivariateFunction_add_to_derivatives(self, *args)
2719 
2720  def add_to_particle_derivative(self, *args):
2721  """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
2722  return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, *args)
2723 
2724  def get_derivative_matrix(self, *args):
2725  """
2726  get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2727  get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
2728  """
2729  return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
2730 
2731  def get_second_derivative_matrix(self, *args):
2732  """
2733  get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2734  get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2735  bool stupid) -> IMP::FloatsList
2736  """
2737  return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
2738 
2739  def get_ndims_x1(self):
2740  """get_ndims_x1(BivariateFunction self) -> unsigned int"""
2741  return _IMP_isd.BivariateFunction_get_ndims_x1(self)
2742 
2743  def get_ndims_x2(self):
2744  """get_ndims_x2(BivariateFunction self) -> unsigned int"""
2745  return _IMP_isd.BivariateFunction_get_ndims_x2(self)
2746 
2747  def get_ndims_y(self):
2748  """get_ndims_y(BivariateFunction self) -> unsigned int"""
2749  return _IMP_isd.BivariateFunction_get_ndims_y(self)
2750 
2751  def get_number_of_particles(self):
2752  """get_number_of_particles(BivariateFunction self) -> unsigned int"""
2753  return _IMP_isd.BivariateFunction_get_number_of_particles(self)
2754 
2755  def get_particle_is_optimized(self, *args):
2756  """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
2757  return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, *args)
2758 
2759  def get_number_of_optimized_particles(self):
2760  """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
2761  return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
2762 
2763  def get_input_particles(self):
2764  """get_input_particles(BivariateFunction self) -> IMP::kernel::ParticlesTemp"""
2765  return _IMP_isd.BivariateFunction_get_input_particles(self)
2766 
2767  def get_input_containers(self):
2768  """get_input_containers(BivariateFunction self) -> IMP::kernel::ContainersTemp"""
2769  return _IMP_isd.BivariateFunction_get_input_containers(self)
2770 
2771  __swig_destroy__ = _IMP_isd.delete_BivariateFunction
2772  __del__ = lambda self : None;
2773  def __str__(self):
2774  """__str__(BivariateFunction self) -> std::string"""
2775  return _IMP_isd.BivariateFunction___str__(self)
2776 
2777  def __repr__(self):
2778  """__repr__(BivariateFunction self) -> std::string"""
2779  return _IMP_isd.BivariateFunction___repr__(self)
2780 
2781  def get_from(o):
2782  return _object_cast_to_BivariateFunction(o)
2783  get_from = staticmethod(get_from)
2784 
2785 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
2786 BivariateFunction_swigregister(BivariateFunction)
2787 
2788 class Covariance1DFunction(BivariateFunction):
2789  """Proxy of C++ IMP::isd::Covariance1DFunction class"""
2790  __swig_setmethods__ = {}
2791  for _s in [BivariateFunction]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2792  __setattr__ = lambda self, name, value: _swig_setattr(self, Covariance1DFunction, name, value)
2793  __swig_getmethods__ = {}
2794  for _s in [BivariateFunction]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2795  __getattr__ = lambda self, name: _swig_getattr(self, Covariance1DFunction, name)
2796  def __init__(self, *args):
2797  """
2798  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
2799  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
2800  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
2801  __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
2802  """
2803  this = _IMP_isd.new_Covariance1DFunction(*args)
2804  try: self.this.append(this)
2805  except: self.this = this
2806  def __call__(self, *args):
2807  """
2808  __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
2809  __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2810  __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
2811  """
2812  return _IMP_isd.Covariance1DFunction___call__(self, *args)
2813 
2814  def get_derivative_matrix(self, *args):
2815  """
2816  get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2817  get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
2818  """
2819  return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
2820 
2821  def get_second_derivative_matrix(self, *args):
2822  """
2823  get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
2824  get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist,
2825  bool arg5) -> IMP::FloatsList
2826  """
2827  return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
2828 
2829  def get_version_info(self):
2830  """get_version_info(Covariance1DFunction self) -> VersionInfo"""
2831  return _IMP_isd.Covariance1DFunction_get_version_info(self)
2832 
2833  __swig_destroy__ = _IMP_isd.delete_Covariance1DFunction
2834  __del__ = lambda self : None;
2835  def __str__(self):
2836  """__str__(Covariance1DFunction self) -> std::string"""
2837  return _IMP_isd.Covariance1DFunction___str__(self)
2838 
2839  def __repr__(self):
2840  """__repr__(Covariance1DFunction self) -> std::string"""
2841  return _IMP_isd.Covariance1DFunction___repr__(self)
2842 
2843  def get_from(o):
2844  return _object_cast_to_Covariance1DFunction(o)
2845  get_from = staticmethod(get_from)
2846 
2847 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
2848 Covariance1DFunction_swigregister(Covariance1DFunction)
2849 
2850 class GaussianProcessInterpolation(IMP.base.Object):
2851  """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
2852  __swig_setmethods__ = {}
2853  for _s in [IMP.base.Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2854  __setattr__ = lambda self, name, value: _swig_setattr(self, GaussianProcessInterpolation, name, value)
2855  __swig_getmethods__ = {}
2856  for _s in [IMP.base.Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2857  __getattr__ = lambda self, name: _swig_getattr(self, GaussianProcessInterpolation, name)
2858  def __init__(self, *args):
2859  """
2860  __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
2861  UnivariateFunction mean_function, BivariateFunction covariance_function,
2862  Particle sigma, double sparse_cutoff=1e-7) -> GaussianProcessInterpolation
2863  __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs,
2864  UnivariateFunction mean_function, BivariateFunction covariance_function,
2865  Particle sigma) -> GaussianProcessInterpolation
2866  """
2867  this = _IMP_isd.new_GaussianProcessInterpolation(*args)
2868  try: self.this.append(this)
2869  except: self.this = this
2870  def get_posterior_mean(self, *args):
2871  """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
2872  return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, *args)
2873 
2874  def get_posterior_covariance(self, *args):
2875  """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
2876  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, *args)
2877 
2878  def get_posterior_covariance_matrix(self, *args):
2879  """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
2880  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, *args)
2881 
2882  def get_posterior_covariance_derivative(self, *args):
2883  """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
2884  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, *args)
2885 
2886  def get_posterior_covariance_hessian(self, *args):
2887  """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
2888  return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, *args)
2889 
2890  def get_input_particles(self):
2891  """get_input_particles(GaussianProcessInterpolation self) -> IMP::kernel::ParticlesTemp"""
2892  return _IMP_isd.GaussianProcessInterpolation_get_input_particles(self)
2893 
2894  def get_input_containers(self):
2895  """get_input_containers(GaussianProcessInterpolation self) -> IMP::kernel::ContainersTemp"""
2896  return _IMP_isd.GaussianProcessInterpolation_get_input_containers(self)
2897 
2898  def force_mean_update(self):
2899  """force_mean_update(GaussianProcessInterpolation self)"""
2900  return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
2901 
2902  def force_covariance_update(self):
2903  """force_covariance_update(GaussianProcessInterpolation self)"""
2904  return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
2905 
2906  def get_number_of_m_particles(self):
2907  """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
2908  return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
2909 
2910  def get_m_particle_is_optimized(self, *args):
2911  """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
2912  return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, *args)
2913 
2914  def get_number_of_Omega_particles(self):
2915  """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
2916  return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
2917 
2918  def get_Omega_particle_is_optimized(self, *args):
2919  """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
2920  return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, *args)
2921 
2922  def get_data_abscissa(self):
2923  """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
2924  return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
2925 
2926  def get_data_mean(self):
2927  """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
2928  return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
2929 
2930  def get_data_variance(self):
2931  """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
2932  return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
2933 
2934  def get_version_info(self):
2935  """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
2936  return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
2937 
2938  def do_show(self, *args):
2939  """do_show(GaussianProcessInterpolation self, _ostream out)"""
2940  return _IMP_isd.GaussianProcessInterpolation_do_show(self, *args)
2941 
2942  __swig_destroy__ = _IMP_isd.delete_GaussianProcessInterpolation
2943  __del__ = lambda self : None;
2944  def __str__(self):
2945  """__str__(GaussianProcessInterpolation self) -> std::string"""
2946  return _IMP_isd.GaussianProcessInterpolation___str__(self)
2947 
2948  def __repr__(self):
2949  """__repr__(GaussianProcessInterpolation self) -> std::string"""
2950  return _IMP_isd.GaussianProcessInterpolation___repr__(self)
2951 
2952  def get_from(o):
2953  return _object_cast_to_GaussianProcessInterpolation(o)
2954  get_from = staticmethod(get_from)
2955 
2956 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
2957 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
2958 
2959 class GaussianProcessInterpolationRestraint(ISDRestraint):
2960  """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
2961  __swig_setmethods__ = {}
2962  for _s in [ISDRestraint]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
2963  __setattr__ = lambda self, name, value: _swig_setattr(self, GaussianProcessInterpolationRestraint, name, value)
2964  __swig_getmethods__ = {}
2965  for _s in [ISDRestraint]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
2966  __getattr__ = lambda self, name: _swig_getattr(self, GaussianProcessInterpolationRestraint, name)
2967  def __init__(self, *args):
2968  """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
2969  this = _IMP_isd.new_GaussianProcessInterpolationRestraint(*args)
2970  try: self.this.append(this)
2971  except: self.this = this
2972  def stats(self):
2973  """stats(GaussianProcessInterpolationRestraint self)"""
2974  return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
2975 
2976  def set_use_cg(self, *args):
2977  """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
2978  return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, *args)
2979 
2980  def get_minus_log_normalization(self):
2981  """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
2982  return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
2983 
2984  def get_minus_exponent(self):
2985  """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
2986  return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
2987 
2988  def get_logdet_hessian(self):
2989  """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
2990  return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
2991 
2992  def get_hessian(self, *args):
2993  """
2994  get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
2995  get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
2996  """
2997  return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
2998 
2999  def do_get_inputs(self):
3000  """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
3001  return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
3002 
3003  def get_version_info(self):
3004  """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
3005  return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
3006 
3007  __swig_destroy__ = _IMP_isd.delete_GaussianProcessInterpolationRestraint
3008  __del__ = lambda self : None;
3009  def __str__(self):
3010  """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
3011  return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
3012 
3013  def __repr__(self):
3014  """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
3015  return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
3016 
3017  def get_from(o):
3018  return _object_cast_to_GaussianProcessInterpolationRestraint(o)
3019  get_from = staticmethod(get_from)
3020 
3021 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
3022 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
3023 
3024 class MolecularDynamics(IMP.atom.MolecularDynamics):
3025  """Proxy of C++ IMP::isd::MolecularDynamics class"""
3026  __swig_setmethods__ = {}
3027  for _s in [IMP.atom.MolecularDynamics]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3028  __setattr__ = lambda self, name, value: _swig_setattr(self, MolecularDynamics, name, value)
3029  __swig_getmethods__ = {}
3030  for _s in [IMP.atom.MolecularDynamics]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3031  __getattr__ = lambda self, name: _swig_getattr(self, MolecularDynamics, name)
3032  def __init__(self, *args):
3033  """
3034  __init__(IMP::isd::MolecularDynamics self, Model m=nullptr) -> MolecularDynamics
3035  __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
3036  """
3037  this = _IMP_isd.new_MolecularDynamics(*args)
3038  try: self.this.append(this)
3039  except: self.this = this
3040  def __str__(self):
3041  """__str__(MolecularDynamics self) -> std::string"""
3042  return _IMP_isd.MolecularDynamics___str__(self)
3043 
3044  def __repr__(self):
3045  """__repr__(MolecularDynamics self) -> std::string"""
3046  return _IMP_isd.MolecularDynamics___repr__(self)
3047 
3048  def get_from(o):
3049  return _object_cast_to_MolecularDynamics(o)
3050  get_from = staticmethod(get_from)
3051 
3052  __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
3053  __del__ = lambda self : None;
3054 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
3055 MolecularDynamics_swigregister(MolecularDynamics)
3056 
3057 class MolecularDynamicsMover(IMP.core.Mover):
3058  """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
3059  __swig_setmethods__ = {}
3060  for _s in [IMP.core.Mover]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3061  __setattr__ = lambda self, name, value: _swig_setattr(self, MolecularDynamicsMover, name, value)
3062  __swig_getmethods__ = {}
3063  for _s in [IMP.core.Mover]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3064  __getattr__ = lambda self, name: _swig_getattr(self, MolecularDynamicsMover, name)
3065  def __init__(self, *args):
3066  """
3067  __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
3068  __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
3069  __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
3070  """
3071  this = _IMP_isd.new_MolecularDynamicsMover(*args)
3072  try: self.this.append(this)
3073  except: self.this = this
3074  def get_md(self):
3075  """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
3076  return _IMP_isd.MolecularDynamicsMover_get_md(self)
3077 
3078  def get_number_of_md_steps(self):
3079  """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
3080  return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
3081 
3082  def set_number_of_md_steps(self, *args):
3083  """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
3084  return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, *args)
3085 
3086  def get_version_info(self):
3087  """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
3088  return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
3089 
3090  def do_show(self, *args):
3091  """do_show(MolecularDynamicsMover self, _ostream out)"""
3092  return _IMP_isd.MolecularDynamicsMover_do_show(self, *args)
3093 
3094  __swig_destroy__ = _IMP_isd.delete_MolecularDynamicsMover
3095  __del__ = lambda self : None;
3096  def __str__(self):
3097  """__str__(MolecularDynamicsMover self) -> std::string"""
3098  return _IMP_isd.MolecularDynamicsMover___str__(self)
3099 
3100  def __repr__(self):
3101  """__repr__(MolecularDynamicsMover self) -> std::string"""
3102  return _IMP_isd.MolecularDynamicsMover___repr__(self)
3103 
3104  def get_from(o):
3105  return _object_cast_to_MolecularDynamicsMover(o)
3106  get_from = staticmethod(get_from)
3107 
3108 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
3109 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
3110 
3111 class HybridMonteCarlo(IMP.core.MonteCarlo):
3112  """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
3113  __swig_setmethods__ = {}
3114  for _s in [IMP.core.MonteCarlo]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
3115  __setattr__ = lambda self, name, value: _swig_setattr(self, HybridMonteCarlo, name, value)
3116  __swig_getmethods__ = {}
3117  for _s in [IMP.core.MonteCarlo]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
3118  __getattr__ = lambda self, name: _swig_getattr(self, HybridMonteCarlo, name)
3119  def __init__(self, *args):
3120  """
3121  __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
3122  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
3123  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
3124  __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
3125  __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
3126  """
3127  this = _IMP_isd.new_HybridMonteCarlo(*args)
3128  try: self.this.append(this)
3129  except: self.this = this
3130  def get_kinetic_energy(self):
3131  """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
3132  return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
3133 
3134  def get_potential_energy(self):
3135  """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
3136  return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
3137 
3138  def get_total_energy(self):
3139  """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
3140  return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
3141 
3142  def set_timestep(self, *args):
3143  """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
3144  return _IMP_isd.HybridMonteCarlo_set_timestep(self, *args)
3145 
3146  def get_timestep(self):
3147  """get_timestep(HybridMonteCarlo self) -> double"""
3148  return _IMP_isd.HybridMonteCarlo_get_timestep(self)
3149 
3150  def set_number_of_md_steps(self, *args):
3151  """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
3152  return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, *args)
3153 
3154  def get_number_of_md_steps(self):
3155  """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
3156  return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
3157 
3158  def set_persistence(self, persistence=1):
3159  """
3160  set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
3161  set_persistence(HybridMonteCarlo self)
3162  """
3163  return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
3164 
3165  def get_persistence(self):
3166  """get_persistence(HybridMonteCarlo self) -> unsigned int"""
3167  return _IMP_isd.HybridMonteCarlo_get_persistence(self)
3168 
3169  def get_md(self):
3170  """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
3171  return _IMP_isd.HybridMonteCarlo_get_md(self)
3172 
3173  def do_evaluate(self, *args):
3174  """do_evaluate(HybridMonteCarlo self, IMP::kernel::ParticleIndexes const & arg2) -> double"""
3175  return _IMP_isd.HybridMonteCarlo_do_evaluate(self, *args)
3176 
3177  def do_step(self):
3178  """do_step(HybridMonteCarlo self)"""
3179  return _IMP_isd.HybridMonteCarlo_do_step(self)
3180 
3181  __swig_destroy__ = _IMP_isd.delete_HybridMonteCarlo
3182  __del__ = lambda self : None;
3183  def __str__(self):
3184  """__str__(HybridMonteCarlo self) -> std::string"""
3185  return _IMP_isd.HybridMonteCarlo___str__(self)
3186 
3187  def __repr__(self):
3188  """__repr__(HybridMonteCarlo self) -> std::string"""
3189  return _IMP_isd.HybridMonteCarlo___repr__(self)
3190 
3191  def get_from(o):
3192  return _object_cast_to_HybridMonteCarlo(o)
3193  get_from = staticmethod(get_from)
3194 
3195 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
3196 HybridMonteCarlo_swigregister(HybridMonteCarlo)
3197 
3198 
3199 def get_module_version():
3200  """get_module_version() -> std::string const"""
3201  return _IMP_isd.get_module_version()
3202 
3203 def get_example_path(*args):
3204  """get_example_path(std::string fname) -> std::string"""
3205  return _IMP_isd.get_example_path(*args)
3206 
3207 def get_data_path(*args):
3208  """get_data_path(std::string fname) -> std::string"""
3209  return _IMP_isd.get_data_path(*args)
3210 import _version_check
3211 _version_check.check_version(get_module_version())
3212 
3213 # This file is compatible with both classic and new-style classes.
3214 
3215