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