IMP logo
IMP Reference Guide  2.8.0
The Integrative Modeling Platform
spb/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.10
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 # This wrapper is part of IMP,
8 # Copyright 2007-2017 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17  def swig_import_helper():
18  import importlib
19  pkg = __name__.rpartition('.')[0]
20  mname = '.'.join((pkg, '_IMP_spb')).lstrip('.')
21  try:
22  return importlib.import_module(mname)
23  except ImportError:
24  return importlib.import_module('_IMP_spb')
25  _IMP_spb = swig_import_helper()
26  del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28  def swig_import_helper():
29  from os.path import dirname
30  import imp
31  fp = None
32  try:
33  fp, pathname, description = imp.find_module('_IMP_spb', [dirname(__file__)])
34  except ImportError:
35  import _IMP_spb
36  return _IMP_spb
37  if fp is not None:
38  try:
39  _mod = imp.load_module('_IMP_spb', fp, pathname, description)
40  finally:
41  fp.close()
42  return _mod
43  _IMP_spb = swig_import_helper()
44  del swig_import_helper
45 else:
46  import _IMP_spb
47 del _swig_python_version_info
48 try:
49  _swig_property = property
50 except NameError:
51  pass # Python < 2.2 doesn't have 'property'.
52 
53 try:
54  import builtins as __builtin__
55 except ImportError:
56  import __builtin__
57 
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59  if (name == "thisown"):
60  return self.this.own(value)
61  if (name == "this"):
62  if type(value).__name__ == 'SwigPyObject':
63  self.__dict__[name] = value
64  return
65  method = class_type.__swig_setmethods__.get(name, None)
66  if method:
67  return method(self, value)
68  if (not static):
69  object.__setattr__(self, name, value)
70  else:
71  raise AttributeError("You cannot add attributes to %s" % self)
72 
73 
74 def _swig_setattr(self, class_type, name, value):
75  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
76 
77 
78 def _swig_getattr(self, class_type, name):
79  if (name == "thisown"):
80  return self.this.own()
81  method = class_type.__swig_getmethods__.get(name, None)
82  if method:
83  return method(self)
84  raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 
86 
87 def _swig_repr(self):
88  try:
89  strthis = "proxy of " + self.this.__repr__()
90  except __builtin__.Exception:
91  strthis = ""
92  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_SPB_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_SPB_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
118  def __init__(self, *args, **kwargs):
119  raise AttributeError("No constructor defined - class is abstract")
120  __repr__ = _swig_repr
121  __swig_destroy__ = _IMP_spb.delete_IMP_SPB_SwigPyIterator
122  __del__ = lambda self: None
123 
124  def value(self):
125  """value(IMP_SPB_SwigPyIterator self) -> PyObject *"""
126  return _IMP_spb.IMP_SPB_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_SPB_SwigPyIterator self, size_t n=1) -> IMP_SPB_SwigPyIterator
132  incr(IMP_SPB_SwigPyIterator self) -> IMP_SPB_SwigPyIterator
133  """
134  return _IMP_spb.IMP_SPB_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_SPB_SwigPyIterator self, size_t n=1) -> IMP_SPB_SwigPyIterator
140  decr(IMP_SPB_SwigPyIterator self) -> IMP_SPB_SwigPyIterator
141  """
142  return _IMP_spb.IMP_SPB_SwigPyIterator_decr(self, n)
143 
144 
145  def distance(self, x):
146  """distance(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> ptrdiff_t"""
147  return _IMP_spb.IMP_SPB_SwigPyIterator_distance(self, x)
148 
149 
150  def equal(self, x):
151  """equal(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> bool"""
152  return _IMP_spb.IMP_SPB_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_SPB_SwigPyIterator self) -> IMP_SPB_SwigPyIterator"""
157  return _IMP_spb.IMP_SPB_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_SPB_SwigPyIterator self) -> PyObject *"""
162  return _IMP_spb.IMP_SPB_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_SPB_SwigPyIterator self) -> PyObject *"""
167  return _IMP_spb.IMP_SPB_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_SPB_SwigPyIterator self) -> PyObject *"""
172  return _IMP_spb.IMP_SPB_SwigPyIterator_previous(self)
173 
174 
175  def advance(self, n):
176  """advance(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator"""
177  return _IMP_spb.IMP_SPB_SwigPyIterator_advance(self, n)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> bool"""
182  return _IMP_spb.IMP_SPB_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> bool"""
187  return _IMP_spb.IMP_SPB_SwigPyIterator___ne__(self, x)
188 
189 
190  def __iadd__(self, n):
191  """__iadd__(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator"""
192  return _IMP_spb.IMP_SPB_SwigPyIterator___iadd__(self, n)
193 
194 
195  def __isub__(self, n):
196  """__isub__(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator"""
197  return _IMP_spb.IMP_SPB_SwigPyIterator___isub__(self, n)
198 
199 
200  def __add__(self, n):
201  """__add__(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator"""
202  return _IMP_spb.IMP_SPB_SwigPyIterator___add__(self, n)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator
208  __sub__(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_spb.IMP_SPB_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_SPB_SwigPyIterator_swigregister = _IMP_spb.IMP_SPB_SwigPyIterator_swigregister
215 IMP_SPB_SwigPyIterator_swigregister(IMP_SPB_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
223 IMP_DEBUG = _IMP_spb.IMP_DEBUG
224 IMP_RELEASE = _IMP_spb.IMP_RELEASE
225 IMP_SILENT = _IMP_spb.IMP_SILENT
226 IMP_PROGRESS = _IMP_spb.IMP_PROGRESS
227 IMP_TERSE = _IMP_spb.IMP_TERSE
228 IMP_VERBOSE = _IMP_spb.IMP_VERBOSE
229 IMP_MEMORY = _IMP_spb.IMP_MEMORY
230 IMP_NONE = _IMP_spb.IMP_NONE
231 IMP_USAGE = _IMP_spb.IMP_USAGE
232 IMP_INTERNAL = _IMP_spb.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_spb.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_spb.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_spb.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_spb.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_spb.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_spb.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_spb.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_spb.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_spb.IMPKERNEL_SHOW_WARNINGS
242 
243 import sys
244 class _DirectorObjects(object):
245  """@internal Simple class to keep references to director objects
246  to prevent premature deletion."""
247  def __init__(self):
248  self._objects = []
249  def register(self, obj):
250  """Take a reference to a director object; will only work for
251  refcounted C++ classes"""
252  if hasattr(obj, 'get_ref_count'):
253  self._objects.append(obj)
254  def cleanup(self):
255  """Only drop our reference and allow cleanup by Python if no other
256  Python references exist (we hold 3 references: one in self._objects,
257  one in x, and one in the argument list for getrefcount) *and* no
258  other C++ references exist (the Python object always holds one)"""
259  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
260  or x.get_ref_count() > 1]
261 # Do in two steps so the references are kept until the end of the
262 # function (deleting references may trigger a fresh call to this method)
263  self._objects = objs
264  def get_object_count(self):
265  """Get number of director objects (useful for testing only)"""
266  return len(self._objects)
267 _director_objects = _DirectorObjects()
268 
269 class _ostream(object):
270  """Proxy of C++ std::ostream class."""
271 
272  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
273 
274  def __init__(self, *args, **kwargs):
275  raise AttributeError("No constructor defined")
276  __repr__ = _swig_repr
277 
278  def write(self, osa_buf):
279  """write(_ostream self, char const * osa_buf)"""
280  return _IMP_spb._ostream_write(self, osa_buf)
281 
282 _ostream_swigregister = _IMP_spb._ostream_swigregister
283 _ostream_swigregister(_ostream)
284 
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_spb.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_spb.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_spb.IMP_HAS_NOEXCEPT
288 import IMP
289 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_CGAL_HAS_BOOST_FILESYSTEM
290 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_spb.IMP_CGAL_HAS_BOOST_RANDOM
292 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_spb.IMP_CGAL_HAS_BOOST_SYSTEM
293 IMPCGAL_SHOW_WARNINGS = _IMP_spb.IMPCGAL_SHOW_WARNINGS
294 import IMP.cgal
295 IMP_MPI_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_MPI_HAS_BOOST_FILESYSTEM
296 IMP_MPI_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_MPI_HAS_BOOST_PROGRAMOPTIONS
297 IMP_MPI_HAS_BOOST_RANDOM = _IMP_spb.IMP_MPI_HAS_BOOST_RANDOM
298 IMP_MPI_HAS_BOOST_SYSTEM = _IMP_spb.IMP_MPI_HAS_BOOST_SYSTEM
299 IMPMPI_SHOW_WARNINGS = _IMP_spb.IMPMPI_SHOW_WARNINGS
300 import IMP.mpi
301 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_spb.IMP_ALGEBRA_HAS_IMP_CGAL
302 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
303 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
304 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_RANDOM
305 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_SYSTEM
306 IMP_ALGEBRA_HAS_CGAL = _IMP_spb.IMP_ALGEBRA_HAS_CGAL
307 IMP_ALGEBRA_HAS_ANN = _IMP_spb.IMP_ALGEBRA_HAS_ANN
308 IMPALGEBRA_SHOW_WARNINGS = _IMP_spb.IMPALGEBRA_SHOW_WARNINGS
309 import IMP.algebra
310 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_spb.IMP_DISPLAY_HAS_IMP_CGAL
311 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
312 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
313 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_spb.IMP_DISPLAY_HAS_BOOST_RANDOM
314 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_spb.IMP_DISPLAY_HAS_BOOST_SYSTEM
315 IMP_DISPLAY_HAS_CGAL = _IMP_spb.IMP_DISPLAY_HAS_CGAL
316 IMPDISPLAY_SHOW_WARNINGS = _IMP_spb.IMPDISPLAY_SHOW_WARNINGS
317 import IMP.display
318 IMP_GSL_HAS_IMP_CGAL = _IMP_spb.IMP_GSL_HAS_IMP_CGAL
319 IMP_GSL_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_GSL_HAS_BOOST_FILESYSTEM
320 IMP_GSL_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_GSL_HAS_BOOST_PROGRAMOPTIONS
321 IMP_GSL_HAS_BOOST_RANDOM = _IMP_spb.IMP_GSL_HAS_BOOST_RANDOM
322 IMP_GSL_HAS_BOOST_SYSTEM = _IMP_spb.IMP_GSL_HAS_BOOST_SYSTEM
323 IMP_GSL_HAS_CGAL = _IMP_spb.IMP_GSL_HAS_CGAL
324 IMPGSL_SHOW_WARNINGS = _IMP_spb.IMPGSL_SHOW_WARNINGS
325 import IMP.gsl
326 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
327 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
328 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
329 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
330 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
331 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_CGAL
332 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_HDF5
333 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_spb.IMPSCOREFUNCTOR_SHOW_WARNINGS
334 import IMP.score_functor
335 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_spb.IMP_STATISTICS_HAS_IMP_CGAL
336 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
337 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
338 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_spb.IMP_STATISTICS_HAS_BOOST_RANDOM
339 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_spb.IMP_STATISTICS_HAS_BOOST_SYSTEM
340 IMP_STATISTICS_HAS_CGAL = _IMP_spb.IMP_STATISTICS_HAS_CGAL
341 IMPSTATISTICS_SHOW_WARNINGS = _IMP_spb.IMPSTATISTICS_SHOW_WARNINGS
342 import IMP.statistics
343 IMP_CORE_HAS_IMP_CGAL = _IMP_spb.IMP_CORE_HAS_IMP_CGAL
344 IMP_CORE_HAS_IMP_KERNEL = _IMP_spb.IMP_CORE_HAS_IMP_KERNEL
345 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_CORE_HAS_BOOST_FILESYSTEM
346 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
347 IMP_CORE_HAS_BOOST_RANDOM = _IMP_spb.IMP_CORE_HAS_BOOST_RANDOM
348 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_spb.IMP_CORE_HAS_BOOST_SYSTEM
349 IMP_CORE_HAS_CGAL = _IMP_spb.IMP_CORE_HAS_CGAL
350 IMP_CORE_HAS_HDF5 = _IMP_spb.IMP_CORE_HAS_HDF5
351 IMPCORE_SHOW_WARNINGS = _IMP_spb.IMPCORE_SHOW_WARNINGS
352 import IMP.core
353 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_spb.IMP_CONTAINER_HAS_IMP_ALGEBRA
354 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_spb.IMP_CONTAINER_HAS_IMP_CGAL
355 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_spb.IMP_CONTAINER_HAS_IMP_DISPLAY
356 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_spb.IMP_CONTAINER_HAS_IMP_KERNEL
357 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
358 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
359 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
360 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_spb.IMP_CONTAINER_HAS_BOOST_RANDOM
361 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_spb.IMP_CONTAINER_HAS_BOOST_SYSTEM
362 IMP_CONTAINER_HAS_CGAL = _IMP_spb.IMP_CONTAINER_HAS_CGAL
363 IMP_CONTAINER_HAS_HDF5 = _IMP_spb.IMP_CONTAINER_HAS_HDF5
364 IMPCONTAINER_SHOW_WARNINGS = _IMP_spb.IMPCONTAINER_SHOW_WARNINGS
365 import IMP.container
366 IMP_SYMMETRY_HAS_IMP_CGAL = _IMP_spb.IMP_SYMMETRY_HAS_IMP_CGAL
367 IMP_SYMMETRY_HAS_IMP_DISPLAY = _IMP_spb.IMP_SYMMETRY_HAS_IMP_DISPLAY
368 IMP_SYMMETRY_HAS_IMP_KERNEL = _IMP_spb.IMP_SYMMETRY_HAS_IMP_KERNEL
369 IMP_SYMMETRY_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_SYMMETRY_HAS_IMP_SCORE_FUNCTOR
370 IMP_SYMMETRY_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_FILESYSTEM
371 IMP_SYMMETRY_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_PROGRAMOPTIONS
372 IMP_SYMMETRY_HAS_BOOST_RANDOM = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_RANDOM
373 IMP_SYMMETRY_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_SYSTEM
374 IMP_SYMMETRY_HAS_CGAL = _IMP_spb.IMP_SYMMETRY_HAS_CGAL
375 IMP_SYMMETRY_HAS_HDF5 = _IMP_spb.IMP_SYMMETRY_HAS_HDF5
376 IMPSYMMETRY_SHOW_WARNINGS = _IMP_spb.IMPSYMMETRY_SHOW_WARNINGS
377 import IMP.symmetry
378 IMP_ATOM_HAS_IMP_CGAL = _IMP_spb.IMP_ATOM_HAS_IMP_CGAL
379 IMP_ATOM_HAS_IMP_KERNEL = _IMP_spb.IMP_ATOM_HAS_IMP_KERNEL
380 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
381 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
382 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_spb.IMP_ATOM_HAS_BOOST_RANDOM
383 IMP_ATOM_HAS_BOOST_REGEX = _IMP_spb.IMP_ATOM_HAS_BOOST_REGEX
384 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_spb.IMP_ATOM_HAS_BOOST_SYSTEM
385 IMP_ATOM_HAS_CGAL = _IMP_spb.IMP_ATOM_HAS_CGAL
386 IMP_ATOM_HAS_HDF5 = _IMP_spb.IMP_ATOM_HAS_HDF5
387 IMPATOM_SHOW_WARNINGS = _IMP_spb.IMPATOM_SHOW_WARNINGS
388 IMP_ATOM_TYPE_INDEX = _IMP_spb.IMP_ATOM_TYPE_INDEX
389 IMP_RESIDUE_TYPE_INDEX = _IMP_spb.IMP_RESIDUE_TYPE_INDEX
390 IMP_HIERARCHY_TYPE_INDEX = _IMP_spb.IMP_HIERARCHY_TYPE_INDEX
391 import IMP.atom
392 IMP_EM_HAS_IMP_CGAL = _IMP_spb.IMP_EM_HAS_IMP_CGAL
393 IMP_EM_HAS_IMP_CONTAINER = _IMP_spb.IMP_EM_HAS_IMP_CONTAINER
394 IMP_EM_HAS_IMP_DISPLAY = _IMP_spb.IMP_EM_HAS_IMP_DISPLAY
395 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_EM_HAS_IMP_SCORE_FUNCTOR
396 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_EM_HAS_BOOST_FILESYSTEM
397 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
398 IMP_EM_HAS_BOOST_RANDOM = _IMP_spb.IMP_EM_HAS_BOOST_RANDOM
399 IMP_EM_HAS_BOOST_REGEX = _IMP_spb.IMP_EM_HAS_BOOST_REGEX
400 IMP_EM_HAS_BOOST_SYSTEM = _IMP_spb.IMP_EM_HAS_BOOST_SYSTEM
401 IMP_EM_HAS_CGAL = _IMP_spb.IMP_EM_HAS_CGAL
402 IMP_EM_HAS_HDF5 = _IMP_spb.IMP_EM_HAS_HDF5
403 IMPEM_SHOW_WARNINGS = _IMP_spb.IMPEM_SHOW_WARNINGS
404 import IMP.em
405 IMP_RMF_HAS_IMP_CGAL = _IMP_spb.IMP_RMF_HAS_IMP_CGAL
406 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
407 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_RMF_HAS_BOOST_FILESYSTEM
408 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
409 IMP_RMF_HAS_BOOST_RANDOM = _IMP_spb.IMP_RMF_HAS_BOOST_RANDOM
410 IMP_RMF_HAS_BOOST_REGEX = _IMP_spb.IMP_RMF_HAS_BOOST_REGEX
411 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_spb.IMP_RMF_HAS_BOOST_SYSTEM
412 IMP_RMF_HAS_CGAL = _IMP_spb.IMP_RMF_HAS_CGAL
413 IMP_RMF_HAS_HDF5 = _IMP_spb.IMP_RMF_HAS_HDF5
414 IMPRMF_SHOW_WARNINGS = _IMP_spb.IMPRMF_SHOW_WARNINGS
415 import IMP.rmf
416 import RMF
417 IMP_SAXS_HAS_IMP_CGAL = _IMP_spb.IMP_SAXS_HAS_IMP_CGAL
418 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_spb.IMP_SAXS_HAS_IMP_CONTAINER
419 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_spb.IMP_SAXS_HAS_IMP_DISPLAY
420 IMP_SAXS_HAS_IMP_KERNEL = _IMP_spb.IMP_SAXS_HAS_IMP_KERNEL
421 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
422 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SAXS_HAS_BOOST_FILESYSTEM
423 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
424 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_spb.IMP_SAXS_HAS_BOOST_RANDOM
425 IMP_SAXS_HAS_BOOST_REGEX = _IMP_spb.IMP_SAXS_HAS_BOOST_REGEX
426 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SAXS_HAS_BOOST_SYSTEM
427 IMP_SAXS_HAS_CGAL = _IMP_spb.IMP_SAXS_HAS_CGAL
428 IMP_SAXS_HAS_HDF5 = _IMP_spb.IMP_SAXS_HAS_HDF5
429 IMPSAXS_SHOW_WARNINGS = _IMP_spb.IMPSAXS_SHOW_WARNINGS
430 import IMP.saxs
431 IMP_DOMINO_HAS_IMP_ATOM = _IMP_spb.IMP_DOMINO_HAS_IMP_ATOM
432 IMP_DOMINO_HAS_IMP_CGAL = _IMP_spb.IMP_DOMINO_HAS_IMP_CGAL
433 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_spb.IMP_DOMINO_HAS_IMP_KERNEL
434 IMP_DOMINO_HAS_IMP_RMF = _IMP_spb.IMP_DOMINO_HAS_IMP_RMF
435 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
436 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_DOMINO_HAS_BOOST_FILESYSTEM
437 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
438 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_spb.IMP_DOMINO_HAS_BOOST_RANDOM
439 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_spb.IMP_DOMINO_HAS_BOOST_REGEX
440 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_spb.IMP_DOMINO_HAS_BOOST_SYSTEM
441 IMP_DOMINO_HAS_CGAL = _IMP_spb.IMP_DOMINO_HAS_CGAL
442 IMP_DOMINO_HAS_HDF5 = _IMP_spb.IMP_DOMINO_HAS_HDF5
443 IMP_DOMINO_HAS_RMF = _IMP_spb.IMP_DOMINO_HAS_RMF
444 IMPDOMINO_SHOW_WARNINGS = _IMP_spb.IMPDOMINO_SHOW_WARNINGS
445 import RMF_HDF5
446 import IMP.domino
447 IMP_ISD_HAS_IMP_CGAL = _IMP_spb.IMP_ISD_HAS_IMP_CGAL
448 IMP_ISD_HAS_IMP_DISPLAY = _IMP_spb.IMP_ISD_HAS_IMP_DISPLAY
449 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
450 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_ISD_HAS_BOOST_FILESYSTEM
451 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
452 IMP_ISD_HAS_BOOST_RANDOM = _IMP_spb.IMP_ISD_HAS_BOOST_RANDOM
453 IMP_ISD_HAS_BOOST_REGEX = _IMP_spb.IMP_ISD_HAS_BOOST_REGEX
454 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_spb.IMP_ISD_HAS_BOOST_SYSTEM
455 IMP_ISD_HAS_CGAL = _IMP_spb.IMP_ISD_HAS_CGAL
456 IMP_ISD_HAS_HDF5 = _IMP_spb.IMP_ISD_HAS_HDF5
457 IMPISD_SHOW_WARNINGS = _IMP_spb.IMPISD_SHOW_WARNINGS
458 import IMP.isd
459 IMP_EM2D_HAS_IMP_CGAL = _IMP_spb.IMP_EM2D_HAS_IMP_CGAL
460 IMP_EM2D_HAS_IMP_KERNEL = _IMP_spb.IMP_EM2D_HAS_IMP_KERNEL
461 IMP_EM2D_HAS_IMP_RMF = _IMP_spb.IMP_EM2D_HAS_IMP_RMF
462 IMP_EM2D_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_EM2D_HAS_IMP_SCORE_FUNCTOR
463 IMP_EM2D_HAS_IMP_STATISTICS = _IMP_spb.IMP_EM2D_HAS_IMP_STATISTICS
464 IMP_EM2D_HAS_BOOST_GRAPH = _IMP_spb.IMP_EM2D_HAS_BOOST_GRAPH
465 IMP_EM2D_HAS_BOOST_RANDOM = _IMP_spb.IMP_EM2D_HAS_BOOST_RANDOM
466 IMP_EM2D_HAS_BOOST_REGEX = _IMP_spb.IMP_EM2D_HAS_BOOST_REGEX
467 IMP_EM2D_HAS_BOOST_SYSTEM = _IMP_spb.IMP_EM2D_HAS_BOOST_SYSTEM
468 IMP_EM2D_HAS_CGAL = _IMP_spb.IMP_EM2D_HAS_CGAL
469 IMP_EM2D_HAS_GSL = _IMP_spb.IMP_EM2D_HAS_GSL
470 IMP_EM2D_HAS_HDF5 = _IMP_spb.IMP_EM2D_HAS_HDF5
471 IMP_EM2D_HAS_OPENCV22 = _IMP_spb.IMP_EM2D_HAS_OPENCV22
472 IMP_EM2D_HAS_RMF = _IMP_spb.IMP_EM2D_HAS_RMF
473 IMP_EM2D_HAS_OPENCV21 = _IMP_spb.IMP_EM2D_HAS_OPENCV21
474 IMP_EM2D_HAS_OPENCV3 = _IMP_spb.IMP_EM2D_HAS_OPENCV3
475 IMPEM2D_SHOW_WARNINGS = _IMP_spb.IMPEM2D_SHOW_WARNINGS
476 import IMP.em2d
477 IMP_SPB_HAS_IMP_ALGEBRA = _IMP_spb.IMP_SPB_HAS_IMP_ALGEBRA
478 IMP_SPB_HAS_IMP_CGAL = _IMP_spb.IMP_SPB_HAS_IMP_CGAL
479 IMP_SPB_HAS_IMP_DISPLAY = _IMP_spb.IMP_SPB_HAS_IMP_DISPLAY
480 IMP_SPB_HAS_IMP_DOMINO = _IMP_spb.IMP_SPB_HAS_IMP_DOMINO
481 IMP_SPB_HAS_IMP_EM = _IMP_spb.IMP_SPB_HAS_IMP_EM
482 IMP_SPB_HAS_IMP_GSL = _IMP_spb.IMP_SPB_HAS_IMP_GSL
483 IMP_SPB_HAS_IMP_KERNEL = _IMP_spb.IMP_SPB_HAS_IMP_KERNEL
484 IMP_SPB_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_SPB_HAS_IMP_SCORE_FUNCTOR
485 IMP_SPB_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SPB_HAS_BOOST_FILESYSTEM
486 IMP_SPB_HAS_BOOST_GRAPH = _IMP_spb.IMP_SPB_HAS_BOOST_GRAPH
487 IMP_SPB_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SPB_HAS_BOOST_PROGRAMOPTIONS
488 IMP_SPB_HAS_BOOST_RANDOM = _IMP_spb.IMP_SPB_HAS_BOOST_RANDOM
489 IMP_SPB_HAS_BOOST_REGEX = _IMP_spb.IMP_SPB_HAS_BOOST_REGEX
490 IMP_SPB_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SPB_HAS_BOOST_SYSTEM
491 IMP_SPB_HAS_CGAL = _IMP_spb.IMP_SPB_HAS_CGAL
492 IMP_SPB_HAS_FFTW3 = _IMP_spb.IMP_SPB_HAS_FFTW3
493 IMP_SPB_HAS_GSL = _IMP_spb.IMP_SPB_HAS_GSL
494 IMP_SPB_HAS_HDF5 = _IMP_spb.IMP_SPB_HAS_HDF5
495 IMP_SPB_HAS_MPI = _IMP_spb.IMP_SPB_HAS_MPI
496 IMP_SPB_HAS_OPENCV22 = _IMP_spb.IMP_SPB_HAS_OPENCV22
497 IMP_SPB_HAS_RMF = _IMP_spb.IMP_SPB_HAS_RMF
498 IMPSPB_SHOW_WARNINGS = _IMP_spb.IMPSPB_SHOW_WARNINGS
499 
500 def HelixDecorators(l=[]):
501  return [HelixDecorator(x) for x in l]
502 _plural_types.append("HelixDecorators")
503 
504 
505 _value_types.append("HelixDecorator")
506 
507 
508 _object_types.append("AttributeDistancePairScore")
509 
510 
511 def _object_cast_to_AttributeDistancePairScore(o):
512  """_object_cast_to_AttributeDistancePairScore(Object o) -> AttributeDistancePairScore"""
513  return _IMP_spb._object_cast_to_AttributeDistancePairScore(o)
514 
515 _object_types.append("BoxedMover")
516 
517 
518 def _object_cast_to_BoxedMover(o):
519  """_object_cast_to_BoxedMover(Object o) -> BoxedMover"""
520  return _IMP_spb._object_cast_to_BoxedMover(o)
521 
522 _object_types.append("CellMover")
523 
524 
525 def _object_cast_to_CellMover(o):
526  """_object_cast_to_CellMover(Object o) -> CellMover"""
527  return _IMP_spb._object_cast_to_CellMover(o)
528 
529 _object_types.append("ChiSquareMetric")
530 
531 
532 _object_types.append("ContactMapMetric")
533 
534 
535 def _object_cast_to_ContactMapMetric(o):
536  """_object_cast_to_ContactMapMetric(Object o) -> ContactMapMetric"""
537  return _IMP_spb._object_cast_to_ContactMapMetric(o)
538 
539 _object_types.append("DiameterRgyrRestraint")
540 
541 
542 def _object_cast_to_DiameterRgyrRestraint(o):
543  """_object_cast_to_DiameterRgyrRestraint(Object o) -> DiameterRgyrRestraint"""
544  return _IMP_spb._object_cast_to_DiameterRgyrRestraint(o)
545 
546 _object_types.append("DistanceRMSDMetric")
547 
548 
549 def _object_cast_to_DistanceRMSDMetric(o):
550  """_object_cast_to_DistanceRMSDMetric(Object o) -> DistanceRMSDMetric"""
551  return _IMP_spb._object_cast_to_DistanceRMSDMetric(o)
552 
553 _object_types.append("Gaussian")
554 
555 
556 def _object_cast_to_Gaussian(o):
557  """_object_cast_to_Gaussian(Object o) -> Gaussian"""
558  return _IMP_spb._object_cast_to_Gaussian(o)
559 
560 _object_types.append("ISDRestraint")
561 
562 
563 _object_types.append("KinkPairScore")
564 
565 
566 def _object_cast_to_KinkPairScore(o):
567  """_object_cast_to_KinkPairScore(Object o) -> KinkPairScore"""
568  return _IMP_spb._object_cast_to_KinkPairScore(o)
569 
570 _object_types.append("MolecularDynamicsWithWte")
571 
572 
573 def _object_cast_to_MolecularDynamicsWithWte(o):
574  """_object_cast_to_MolecularDynamicsWithWte(Object o) -> MolecularDynamicsWithWte"""
575  return _IMP_spb._object_cast_to_MolecularDynamicsWithWte(o)
576 
577 _object_types.append("MonteCarloWithWte")
578 
579 
580 def _object_cast_to_MonteCarloWithWte(o):
581  """_object_cast_to_MonteCarloWithWte(Object o) -> MonteCarloWithWte"""
582  return _IMP_spb._object_cast_to_MonteCarloWithWte(o)
583 
584 _object_types.append("NuisanceRangeModifier")
585 
586 
587 def _object_cast_to_NuisanceRangeModifier(o):
588  """_object_cast_to_NuisanceRangeModifier(Object o) -> NuisanceRangeModifier"""
589  return _IMP_spb._object_cast_to_NuisanceRangeModifier(o)
590 
591 _object_types.append("PbcBoxedMover")
592 
593 
594 def _object_cast_to_PbcBoxedMover(o):
595  """_object_cast_to_PbcBoxedMover(Object o) -> PbcBoxedMover"""
596  return _IMP_spb._object_cast_to_PbcBoxedMover(o)
597 
598 _object_types.append("PbcBoxedRigidBodyMover")
599 
600 
601 def _object_cast_to_PbcBoxedRigidBodyMover(o):
602  """_object_cast_to_PbcBoxedRigidBodyMover(Object o) -> PbcBoxedRigidBodyMover"""
603  return _IMP_spb._object_cast_to_PbcBoxedRigidBodyMover(o)
604 
605 _object_types.append("RigidBodyNewMover")
606 
607 
608 def _object_cast_to_RigidBodyNewMover(o):
609  """_object_cast_to_RigidBodyNewMover(Object o) -> RigidBodyNewMover"""
610  return _IMP_spb._object_cast_to_RigidBodyNewMover(o)
611 
612 _object_types.append("RigidBodyPackingScore")
613 
614 
615 def _object_cast_to_RigidBodyPackingScore(o):
616  """_object_cast_to_RigidBodyPackingScore(Object o) -> RigidBodyPackingScore"""
617  return _IMP_spb._object_cast_to_RigidBodyPackingScore(o)
618 
619 _object_types.append("RMSDMetric")
620 
621 
622 def _object_cast_to_RMSDMetric(o):
623  """_object_cast_to_RMSDMetric(Object o) -> RMSDMetric"""
624  return _IMP_spb._object_cast_to_RMSDMetric(o)
625 
626 _object_types.append("SameParticlePairFilter")
627 
628 
629 def _object_cast_to_SameParticlePairFilter(o):
630  """_object_cast_to_SameParticlePairFilter(Object o) -> SameParticlePairFilter"""
631  return _IMP_spb._object_cast_to_SameParticlePairFilter(o)
632 
633 _object_types.append("SameRigidBodyPairFilter")
634 
635 
636 def _object_cast_to_SameRigidBodyPairFilter(o):
637  """_object_cast_to_SameRigidBodyPairFilter(Object o) -> SameRigidBodyPairFilter"""
638  return _IMP_spb._object_cast_to_SameRigidBodyPairFilter(o)
639 
640 _object_types.append("TiltSingletonScore")
641 
642 
643 def _object_cast_to_TiltSingletonScore(o):
644  """_object_cast_to_TiltSingletonScore(Object o) -> TiltSingletonScore"""
645  return _IMP_spb._object_cast_to_TiltSingletonScore(o)
646 
647 _object_types.append("TransformationSymmetry")
648 
649 
650 _object_types.append("TwoStateGoModelRestraint")
651 
652 
653 def _object_cast_to_TwoStateGoModelRestraint(o):
654  """_object_cast_to_TwoStateGoModelRestraint(Object o) -> TwoStateGoModelRestraint"""
655  return _IMP_spb._object_cast_to_TwoStateGoModelRestraint(o)
656 
657 _object_types.append("UniformBoundedRestraint")
658 
659 
660 def _object_cast_to_UniformBoundedRestraint(o):
661  """_object_cast_to_UniformBoundedRestraint(Object o) -> UniformBoundedRestraint"""
662  return _IMP_spb._object_cast_to_UniformBoundedRestraint(o)
663 class AttributeDistancePairScore(IMP.PairScore):
664  """Proxy of C++ IMP::spb::AttributeDistancePairScore class."""
665 
666  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
667 
668  def __init__(self, f, k):
669  """__init__(IMP::spb::AttributeDistancePairScore self, UnaryFunction f, FloatKey k) -> AttributeDistancePairScore"""
670  this = _IMP_spb.new_AttributeDistancePairScore(f, k)
671  try:
672  self.this.append(this)
673  except __builtin__.Exception:
674  self.this = this
675 
676  def do_get_inputs(self, m, pis):
677  """do_get_inputs(AttributeDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
678  return _IMP_spb.AttributeDistancePairScore_do_get_inputs(self, m, pis)
679 
680 
681  def get_version_info(self):
682  """get_version_info(AttributeDistancePairScore self) -> VersionInfo"""
683  return _IMP_spb.AttributeDistancePairScore_get_version_info(self)
684 
685 
686  def show(self, *args):
687  """
688  show(AttributeDistancePairScore self, _ostream out)
689  show(AttributeDistancePairScore self)
690  """
691  return _IMP_spb.AttributeDistancePairScore_show(self, *args)
692 
693 
694  def __str__(self):
695  """__str__(AttributeDistancePairScore self) -> std::string"""
696  return _IMP_spb.AttributeDistancePairScore___str__(self)
697 
698 
699  def __repr__(self):
700  """__repr__(AttributeDistancePairScore self) -> std::string"""
701  return _IMP_spb.AttributeDistancePairScore___repr__(self)
702 
703 
704  @staticmethod
705  def get_from(o):
706  return _object_cast_to_AttributeDistancePairScore(o)
707 
708 AttributeDistancePairScore_swigregister = _IMP_spb.AttributeDistancePairScore_swigregister
709 AttributeDistancePairScore_swigregister(AttributeDistancePairScore)
710 
711 class BoxedMover(IMP.core.MonteCarloMover):
712  """Proxy of C++ IMP::spb::BoxedMover class."""
713 
714  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
715 
716  def __init__(self, p, max_tr, centers):
717  """__init__(IMP::spb::BoxedMover self, Particle p, IMP::Float max_tr, IMP::algebra::Vector3Ds centers) -> BoxedMover"""
718  this = _IMP_spb.new_BoxedMover(p, max_tr, centers)
719  try:
720  self.this.append(this)
721  except __builtin__.Exception:
722  self.this = this
723 
724  def get_version_info(self):
725  """get_version_info(BoxedMover self) -> VersionInfo"""
726  return _IMP_spb.BoxedMover_get_version_info(self)
727 
728 
729  def show(self, *args):
730  """
731  show(BoxedMover self, _ostream out)
732  show(BoxedMover self)
733  """
734  return _IMP_spb.BoxedMover_show(self, *args)
735 
736 
737  def __str__(self):
738  """__str__(BoxedMover self) -> std::string"""
739  return _IMP_spb.BoxedMover___str__(self)
740 
741 
742  def __repr__(self):
743  """__repr__(BoxedMover self) -> std::string"""
744  return _IMP_spb.BoxedMover___repr__(self)
745 
746 
747  @staticmethod
748  def get_from(o):
749  return _object_cast_to_BoxedMover(o)
750 
751 BoxedMover_swigregister = _IMP_spb.BoxedMover_swigregister
752 BoxedMover_swigregister(BoxedMover)
753 
754 class CellMover(IMP.core.MonteCarloMover):
755  """Proxy of C++ IMP::spb::CellMover class."""
756 
757  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
758 
759  def __init__(self, p, ps, max_translation):
760  """__init__(IMP::spb::CellMover self, Particle p, IMP::Particles ps, IMP::Float max_translation) -> CellMover"""
761  this = _IMP_spb.new_CellMover(p, ps, max_translation)
762  try:
763  self.this.append(this)
764  except __builtin__.Exception:
765  self.this = this
766 
767  def get_version_info(self):
768  """get_version_info(CellMover self) -> VersionInfo"""
769  return _IMP_spb.CellMover_get_version_info(self)
770 
771 
772  def show(self, *args):
773  """
774  show(CellMover self, _ostream out)
775  show(CellMover self)
776  """
777  return _IMP_spb.CellMover_show(self, *args)
778 
779 
780  def __str__(self):
781  """__str__(CellMover self) -> std::string"""
782  return _IMP_spb.CellMover___str__(self)
783 
784 
785  def __repr__(self):
786  """__repr__(CellMover self) -> std::string"""
787  return _IMP_spb.CellMover___repr__(self)
788 
789 
790  @staticmethod
791  def get_from(o):
792  return _object_cast_to_CellMover(o)
793 
794 CellMover_swigregister = _IMP_spb.CellMover_swigregister
795 CellMover_swigregister(CellMover)
796 
797 class ChiSquareMetric(IMP.statistics.Metric):
798  """Proxy of C++ IMP::spb::ChiSquareMetric class."""
799 
800  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
801 
802  def __init__(self, nu_exp, constr_type=0):
803  """
804  __init__(IMP::spb::ChiSquareMetric self, IMP::Floats nu_exp, int constr_type=0) -> ChiSquareMetric
805  __init__(IMP::spb::ChiSquareMetric self, IMP::Floats nu_exp) -> ChiSquareMetric
806  """
807  this = _IMP_spb.new_ChiSquareMetric(nu_exp, constr_type)
808  try:
809  self.this.append(this)
810  except __builtin__.Exception:
811  self.this = this
812 
813  def add_configuration(self, nu, stddev, weight=1.0):
814  """
815  add_configuration(ChiSquareMetric self, IMP::Floats nu, IMP::Floats stddev, double weight=1.0)
816  add_configuration(ChiSquareMetric self, IMP::Floats nu, IMP::Floats stddev)
817  """
818  return _IMP_spb.ChiSquareMetric_add_configuration(self, nu, stddev, weight)
819 
820 
821  def get_nu(self, i):
822  """get_nu(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
823  return _IMP_spb.ChiSquareMetric_get_nu(self, i)
824 
825 
826  def get_stddev(self, i):
827  """get_stddev(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
828  return _IMP_spb.ChiSquareMetric_get_stddev(self, i)
829 
830 
831  def get_weight(self, i):
832  """get_weight(ChiSquareMetric self, unsigned int i) -> IMP::Float"""
833  return _IMP_spb.ChiSquareMetric_get_weight(self, i)
834 
835 
836  def get_chisquare_exp(self, i):
837  """get_chisquare_exp(ChiSquareMetric self, unsigned int i) -> double"""
838  return _IMP_spb.ChiSquareMetric_get_chisquare_exp(self, i)
839 
840 
841  def get_version_info(self):
842  """get_version_info(ChiSquareMetric self) -> VersionInfo"""
843  return _IMP_spb.ChiSquareMetric_get_version_info(self)
844 
845 
846  def __str__(self):
847  """__str__(ChiSquareMetric self) -> std::string"""
848  return _IMP_spb.ChiSquareMetric___str__(self)
849 
850 
851  def __repr__(self):
852  """__repr__(ChiSquareMetric self) -> std::string"""
853  return _IMP_spb.ChiSquareMetric___repr__(self)
854 
855 
856  @staticmethod
857  def get_from(o):
858  return _object_cast_to_ChiSquareMetric(o)
859 
860 ChiSquareMetric_swigregister = _IMP_spb.ChiSquareMetric_swigregister
861 ChiSquareMetric_swigregister(ChiSquareMetric)
862 
863 class ContactMapMetric(IMP.statistics.Metric):
864  """Proxy of C++ IMP::spb::ContactMapMetric class."""
865 
866  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
867 
868  def __init__(self, ps, r0, nn, mm):
869  """__init__(IMP::spb::ContactMapMetric self, IMP::Particles ps, double r0, int nn, int mm) -> ContactMapMetric"""
870  this = _IMP_spb.new_ContactMapMetric(ps, r0, nn, mm)
871  try:
872  self.this.append(this)
873  except __builtin__.Exception:
874  self.this = this
875 
876  def add_configuration(self, weight=1.0):
877  """
878  add_configuration(ContactMapMetric self, double weight=1.0)
879  add_configuration(ContactMapMetric self)
880  """
881  return _IMP_spb.ContactMapMetric_add_configuration(self, weight)
882 
883 
884  def add_map(self, matrix, weight=1.0):
885  """
886  add_map(ContactMapMetric self, IMP::Floats matrix, double weight=1.0)
887  add_map(ContactMapMetric self, IMP::Floats matrix)
888  """
889  return _IMP_spb.ContactMapMetric_add_map(self, matrix, weight)
890 
891 
892  def get_weight(self, i):
893  """get_weight(ContactMapMetric self, unsigned int i) -> IMP::Float"""
894  return _IMP_spb.ContactMapMetric_get_weight(self, i)
895 
896 
897  def get_item(self, i):
898  """get_item(ContactMapMetric self, unsigned int i) -> IMP::Floats"""
899  return _IMP_spb.ContactMapMetric_get_item(self, i)
900 
901 
902  def get_version_info(self):
903  """get_version_info(ContactMapMetric self) -> VersionInfo"""
904  return _IMP_spb.ContactMapMetric_get_version_info(self)
905 
906 
907  def __str__(self):
908  """__str__(ContactMapMetric self) -> std::string"""
909  return _IMP_spb.ContactMapMetric___str__(self)
910 
911 
912  def __repr__(self):
913  """__repr__(ContactMapMetric self) -> std::string"""
914  return _IMP_spb.ContactMapMetric___repr__(self)
915 
916 
917  @staticmethod
918  def get_from(o):
919  return _object_cast_to_ContactMapMetric(o)
920 
921 ContactMapMetric_swigregister = _IMP_spb.ContactMapMetric_swigregister
922 ContactMapMetric_swigregister(ContactMapMetric)
923 
924 class DiameterRgyrRestraint(IMP.Restraint):
925  """Proxy of C++ IMP::spb::DiameterRgyrRestraint class."""
926 
927  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
928 
929  def __init__(self, ps, diameter, rgyr, kappa):
930  """__init__(IMP::spb::DiameterRgyrRestraint self, IMP::Particles ps, IMP::Float diameter, IMP::Float rgyr, IMP::Float kappa) -> DiameterRgyrRestraint"""
931  this = _IMP_spb.new_DiameterRgyrRestraint(ps, diameter, rgyr, kappa)
932  try:
933  self.this.append(this)
934  except __builtin__.Exception:
935  self.this = this
936 
937  def do_get_inputs(self):
938  """do_get_inputs(DiameterRgyrRestraint self) -> IMP::ModelObjectsTemp"""
939  return _IMP_spb.DiameterRgyrRestraint_do_get_inputs(self)
940 
941 
942  def get_version_info(self):
943  """get_version_info(DiameterRgyrRestraint self) -> VersionInfo"""
944  return _IMP_spb.DiameterRgyrRestraint_get_version_info(self)
945 
946 
947  def __str__(self):
948  """__str__(DiameterRgyrRestraint self) -> std::string"""
949  return _IMP_spb.DiameterRgyrRestraint___str__(self)
950 
951 
952  def __repr__(self):
953  """__repr__(DiameterRgyrRestraint self) -> std::string"""
954  return _IMP_spb.DiameterRgyrRestraint___repr__(self)
955 
956 
957  @staticmethod
958  def get_from(o):
959  return _object_cast_to_DiameterRgyrRestraint(o)
960 
961 DiameterRgyrRestraint_swigregister = _IMP_spb.DiameterRgyrRestraint_swigregister
962 DiameterRgyrRestraint_swigregister(DiameterRgyrRestraint)
963 
964 class DistanceRMSDMetric(IMP.statistics.Metric):
965  """Proxy of C++ IMP::spb::DistanceRMSDMetric class."""
966 
967  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
968 
969  def __init__(self, ps, align, tr, px, py, pz):
970  """__init__(IMP::spb::DistanceRMSDMetric self, IMP::Particles ps, IMP::Ints align, IMP::algebra::Transformation3Ds tr, Particle px, Particle py, Particle pz) -> DistanceRMSDMetric"""
971  this = _IMP_spb.new_DistanceRMSDMetric(ps, align, tr, px, py, pz)
972  try:
973  self.this.append(this)
974  except __builtin__.Exception:
975  self.this = this
976 
977  def add_configuration(self, weight=1.0):
978  """
979  add_configuration(DistanceRMSDMetric self, double weight=1.0)
980  add_configuration(DistanceRMSDMetric self)
981  """
982  return _IMP_spb.DistanceRMSDMetric_add_configuration(self, weight)
983 
984 
985  def get_weight(self, i):
986  """get_weight(DistanceRMSDMetric self, unsigned int i) -> IMP::Float"""
987  return _IMP_spb.DistanceRMSDMetric_get_weight(self, i)
988 
989 
990  def get_version_info(self):
991  """get_version_info(DistanceRMSDMetric self) -> VersionInfo"""
992  return _IMP_spb.DistanceRMSDMetric_get_version_info(self)
993 
994 
995  def __str__(self):
996  """__str__(DistanceRMSDMetric self) -> std::string"""
997  return _IMP_spb.DistanceRMSDMetric___str__(self)
998 
999 
1000  def __repr__(self):
1001  """__repr__(DistanceRMSDMetric self) -> std::string"""
1002  return _IMP_spb.DistanceRMSDMetric___repr__(self)
1003 
1004 
1005  @staticmethod
1006  def get_from(o):
1007  return _object_cast_to_DistanceRMSDMetric(o)
1008 
1009 DistanceRMSDMetric_swigregister = _IMP_spb.DistanceRMSDMetric_swigregister
1010 DistanceRMSDMetric_swigregister(DistanceRMSDMetric)
1011 
1012 
1013 def create_gromos_clustering(d, cutoff):
1014  """create_gromos_clustering(Metric d, double cutoff) -> PartitionalClustering"""
1015  return _IMP_spb.create_gromos_clustering(d, cutoff)
1016 class Gaussian(IMP.UnaryFunction):
1017  """Proxy of C++ IMP::spb::Gaussian class."""
1018 
1019  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1020 
1021  def __init__(self, Emin, Zmin, sigma):
1022  """__init__(IMP::spb::Gaussian self, IMP::Float Emin, IMP::Float Zmin, IMP::Float sigma) -> Gaussian"""
1023  this = _IMP_spb.new_Gaussian(Emin, Zmin, sigma)
1024  try:
1025  self.this.append(this)
1026  except __builtin__.Exception:
1027  self.this = this
1028 
1029  def get_version_info(self):
1030  """get_version_info(Gaussian self) -> VersionInfo"""
1031  return _IMP_spb.Gaussian_get_version_info(self)
1032 
1033 
1034  def __str__(self):
1035  """__str__(Gaussian self) -> std::string"""
1036  return _IMP_spb.Gaussian___str__(self)
1037 
1038 
1039  def __repr__(self):
1040  """__repr__(Gaussian self) -> std::string"""
1041  return _IMP_spb.Gaussian___repr__(self)
1042 
1043 
1044  @staticmethod
1045  def get_from(o):
1046  return _object_cast_to_Gaussian(o)
1047 
1048 Gaussian_swigregister = _IMP_spb.Gaussian_swigregister
1049 Gaussian_swigregister(Gaussian)
1050 
1051 class HelixDecorator(IMP.Decorator):
1052  """Proxy of C++ IMP::spb::HelixDecorator class."""
1053 
1054  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1055 
1056  def __init__(self, *args):
1057  """
1058  __init__(IMP::spb::HelixDecorator self) -> HelixDecorator
1059  __init__(IMP::spb::HelixDecorator self, Model m, ParticleIndex id) -> HelixDecorator
1060  __init__(IMP::spb::HelixDecorator self, _ParticleAdaptor d) -> HelixDecorator
1061  """
1062  this = _IMP_spb.new_HelixDecorator(*args)
1063  try:
1064  self.this.append(this)
1065  except __builtin__.Exception:
1066  self.this = this
1067 
1068  def show(self, *args):
1069  """
1070  show(HelixDecorator self, _ostream out)
1071  show(HelixDecorator self)
1072  """
1073  return _IMP_spb.HelixDecorator_show(self, *args)
1074 
1075 
1076  def setup_particle(p, b, e):
1077  """setup_particle(Particle p, IMP::Float b, IMP::Float e) -> HelixDecorator"""
1078  return _IMP_spb.HelixDecorator_setup_particle(p, b, e)
1079 
1080  setup_particle = staticmethod(setup_particle)
1081 
1082  def get_begin(self):
1083  """get_begin(HelixDecorator self) -> IMP::Float"""
1084  return _IMP_spb.HelixDecorator_get_begin(self)
1085 
1086 
1087  def get_end(self):
1088  """get_end(HelixDecorator self) -> IMP::Float"""
1089  return _IMP_spb.HelixDecorator_get_end(self)
1090 
1091 
1092  def get_is_setup(*args):
1093  """
1094  get_is_setup(_ParticleAdaptor p) -> bool
1095  get_is_setup(Model m, ParticleIndex id) -> bool
1096  """
1097  return _IMP_spb.HelixDecorator_get_is_setup(*args)
1098 
1099  get_is_setup = staticmethod(get_is_setup)
1100 
1101  def set_begin(self, v):
1102  """set_begin(HelixDecorator self, IMP::Float v)"""
1103  return _IMP_spb.HelixDecorator_set_begin(self, v)
1104 
1105 
1106  def set_end(self, v):
1107  """set_end(HelixDecorator self, IMP::Float v)"""
1108  return _IMP_spb.HelixDecorator_set_end(self, v)
1109 
1110 
1111  def add_attribute(self, *args):
1112  """
1113  add_attribute(HelixDecorator self, FloatKey k, IMP::Float v, bool opt)
1114  add_attribute(HelixDecorator self, FloatKey a0, IMP::Float a1)
1115  add_attribute(HelixDecorator self, IntKey a0, IMP::Int a1)
1116  add_attribute(HelixDecorator self, StringKey a0, IMP::String a1)
1117  add_attribute(HelixDecorator self, ParticleIndexKey a0, Particle a1)
1118  add_attribute(HelixDecorator self, ObjectKey a0, Object a1)
1119  """
1120  return _IMP_spb.HelixDecorator_add_attribute(self, *args)
1121 
1122 
1123  def get_value(self, *args):
1124  """
1125  get_value(HelixDecorator self, FloatKey a0) -> IMP::Float
1126  get_value(HelixDecorator self, IntKey a0) -> IMP::Int
1127  get_value(HelixDecorator self, StringKey a0) -> IMP::String
1128  get_value(HelixDecorator self, ParticleIndexKey a0) -> Particle
1129  get_value(HelixDecorator self, ObjectKey a0) -> Object
1130  """
1131  return _IMP_spb.HelixDecorator_get_value(self, *args)
1132 
1133 
1134  def set_value(self, *args):
1135  """
1136  set_value(HelixDecorator self, FloatKey a0, IMP::Float a1)
1137  set_value(HelixDecorator self, IntKey a0, IMP::Int a1)
1138  set_value(HelixDecorator self, StringKey a0, IMP::String a1)
1139  set_value(HelixDecorator self, ParticleIndexKey a0, Particle a1)
1140  set_value(HelixDecorator self, ObjectKey a0, Object a1)
1141  """
1142  return _IMP_spb.HelixDecorator_set_value(self, *args)
1143 
1144 
1145  def remove_attribute(self, *args):
1146  """
1147  remove_attribute(HelixDecorator self, FloatKey a0)
1148  remove_attribute(HelixDecorator self, IntKey a0)
1149  remove_attribute(HelixDecorator self, StringKey a0)
1150  remove_attribute(HelixDecorator self, ParticleIndexKey a0)
1151  remove_attribute(HelixDecorator self, ObjectKey a0)
1152  """
1153  return _IMP_spb.HelixDecorator_remove_attribute(self, *args)
1154 
1155 
1156  def has_attribute(self, *args):
1157  """
1158  has_attribute(HelixDecorator self, FloatKey a0) -> bool
1159  has_attribute(HelixDecorator self, IntKey a0) -> bool
1160  has_attribute(HelixDecorator self, StringKey a0) -> bool
1161  has_attribute(HelixDecorator self, ParticleIndexKey a0) -> bool
1162  has_attribute(HelixDecorator self, ObjectKey a0) -> bool
1163  """
1164  return _IMP_spb.HelixDecorator_has_attribute(self, *args)
1165 
1166 
1167  def get_derivative(self, a0):
1168  """get_derivative(HelixDecorator self, FloatKey a0) -> double"""
1169  return _IMP_spb.HelixDecorator_get_derivative(self, a0)
1170 
1171 
1172  def get_name(self):
1173  """get_name(HelixDecorator self) -> std::string"""
1174  return _IMP_spb.HelixDecorator_get_name(self)
1175 
1176 
1177  def clear_caches(self):
1178  """clear_caches(HelixDecorator self)"""
1179  return _IMP_spb.HelixDecorator_clear_caches(self)
1180 
1181 
1182  def set_name(self, a0):
1183  """set_name(HelixDecorator self, std::string a0)"""
1184  return _IMP_spb.HelixDecorator_set_name(self, a0)
1185 
1186 
1187  def set_check_level(self, a0):
1188  """set_check_level(HelixDecorator self, IMP::CheckLevel a0)"""
1189  return _IMP_spb.HelixDecorator_set_check_level(self, a0)
1190 
1191 
1192  def add_to_derivative(self, a0, a1, a2):
1193  """add_to_derivative(HelixDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1194  return _IMP_spb.HelixDecorator_add_to_derivative(self, a0, a1, a2)
1195 
1196 
1197  def set_is_optimized(self, a0, a1):
1198  """set_is_optimized(HelixDecorator self, FloatKey a0, bool a1)"""
1199  return _IMP_spb.HelixDecorator_set_is_optimized(self, a0, a1)
1200 
1201 
1202  def get_is_optimized(self, a0):
1203  """get_is_optimized(HelixDecorator self, FloatKey a0) -> bool"""
1204  return _IMP_spb.HelixDecorator_get_is_optimized(self, a0)
1205 
1206 
1207  def get_check_level(self):
1208  """get_check_level(HelixDecorator self) -> IMP::CheckLevel"""
1209  return _IMP_spb.HelixDecorator_get_check_level(self)
1210 
1211 
1212  def __eq__(self, *args):
1213  """
1214  __eq__(HelixDecorator self, HelixDecorator o) -> bool
1215  __eq__(HelixDecorator self, Particle d) -> bool
1216  """
1217  return _IMP_spb.HelixDecorator___eq__(self, *args)
1218 
1219 
1220  def __ne__(self, *args):
1221  """
1222  __ne__(HelixDecorator self, HelixDecorator o) -> bool
1223  __ne__(HelixDecorator self, Particle d) -> bool
1224  """
1225  return _IMP_spb.HelixDecorator___ne__(self, *args)
1226 
1227 
1228  def __le__(self, *args):
1229  """
1230  __le__(HelixDecorator self, HelixDecorator o) -> bool
1231  __le__(HelixDecorator self, Particle d) -> bool
1232  """
1233  return _IMP_spb.HelixDecorator___le__(self, *args)
1234 
1235 
1236  def __lt__(self, *args):
1237  """
1238  __lt__(HelixDecorator self, HelixDecorator o) -> bool
1239  __lt__(HelixDecorator self, Particle d) -> bool
1240  """
1241  return _IMP_spb.HelixDecorator___lt__(self, *args)
1242 
1243 
1244  def __ge__(self, *args):
1245  """
1246  __ge__(HelixDecorator self, HelixDecorator o) -> bool
1247  __ge__(HelixDecorator self, Particle d) -> bool
1248  """
1249  return _IMP_spb.HelixDecorator___ge__(self, *args)
1250 
1251 
1252  def __gt__(self, *args):
1253  """
1254  __gt__(HelixDecorator self, HelixDecorator o) -> bool
1255  __gt__(HelixDecorator self, Particle d) -> bool
1256  """
1257  return _IMP_spb.HelixDecorator___gt__(self, *args)
1258 
1259 
1260  def __hash__(self):
1261  """__hash__(HelixDecorator self) -> std::size_t"""
1262  return _IMP_spb.HelixDecorator___hash__(self)
1263 
1264 
1265  def __str__(self):
1266  """__str__(HelixDecorator self) -> std::string"""
1267  return _IMP_spb.HelixDecorator___str__(self)
1268 
1269 
1270  def __repr__(self):
1271  """__repr__(HelixDecorator self) -> std::string"""
1272  return _IMP_spb.HelixDecorator___repr__(self)
1273 
1274  __swig_destroy__ = _IMP_spb.delete_HelixDecorator
1275  __del__ = lambda self: None
1276 HelixDecorator_swigregister = _IMP_spb.HelixDecorator_swigregister
1277 HelixDecorator_swigregister(HelixDecorator)
1278 
1279 def HelixDecorator_setup_particle(p, b, e):
1280  """HelixDecorator_setup_particle(Particle p, IMP::Float b, IMP::Float e) -> HelixDecorator"""
1281  return _IMP_spb.HelixDecorator_setup_particle(p, b, e)
1282 
1283 def HelixDecorator_get_is_setup(*args):
1284  """
1285  get_is_setup(_ParticleAdaptor p) -> bool
1286  HelixDecorator_get_is_setup(Model m, ParticleIndex id) -> bool
1287  """
1288  return _IMP_spb.HelixDecorator_get_is_setup(*args)
1289 
1290 class ISDRestraint(IMP.Restraint):
1291  """Proxy of C++ IMP::spb::ISDRestraint class."""
1292 
1293  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1294 
1295  def __init__(self, *args, **kwargs):
1296  raise AttributeError("No constructor defined - class is abstract")
1297 
1298  def get_probability(self):
1299  """get_probability(ISDRestraint self) -> double"""
1300  return _IMP_spb.ISDRestraint_get_probability(self)
1301 
1302 
1303  def __str__(self):
1304  """__str__(ISDRestraint self) -> std::string"""
1305  return _IMP_spb.ISDRestraint___str__(self)
1306 
1307 
1308  def __repr__(self):
1309  """__repr__(ISDRestraint self) -> std::string"""
1310  return _IMP_spb.ISDRestraint___repr__(self)
1311 
1312 
1313  @staticmethod
1314  def get_from(o):
1315  return _object_cast_to_ISDRestraint(o)
1316 
1317  __swig_destroy__ = _IMP_spb.delete_ISDRestraint
1318  __del__ = lambda self: None
1319 ISDRestraint_swigregister = _IMP_spb.ISDRestraint_swigregister
1320 ISDRestraint_swigregister(ISDRestraint)
1321 
1322 class KinkPairScore(IMP.PairScore):
1323  """Proxy of C++ IMP::spb::KinkPairScore class."""
1324 
1325  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1326 
1327  def __init__(self, f):
1328  """__init__(IMP::spb::KinkPairScore self, UnaryFunction f) -> KinkPairScore"""
1329  this = _IMP_spb.new_KinkPairScore(f)
1330  try:
1331  self.this.append(this)
1332  except __builtin__.Exception:
1333  self.this = this
1334 
1335  def do_get_inputs(self, m, pis):
1336  """do_get_inputs(KinkPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1337  return _IMP_spb.KinkPairScore_do_get_inputs(self, m, pis)
1338 
1339 
1340  def get_version_info(self):
1341  """get_version_info(KinkPairScore self) -> VersionInfo"""
1342  return _IMP_spb.KinkPairScore_get_version_info(self)
1343 
1344 
1345  def show(self, *args):
1346  """
1347  show(KinkPairScore self, _ostream out)
1348  show(KinkPairScore self)
1349  """
1350  return _IMP_spb.KinkPairScore_show(self, *args)
1351 
1352 
1353  def __str__(self):
1354  """__str__(KinkPairScore self) -> std::string"""
1355  return _IMP_spb.KinkPairScore___str__(self)
1356 
1357 
1358  def __repr__(self):
1359  """__repr__(KinkPairScore self) -> std::string"""
1360  return _IMP_spb.KinkPairScore___repr__(self)
1361 
1362 
1363  @staticmethod
1364  def get_from(o):
1365  return _object_cast_to_KinkPairScore(o)
1366 
1367 KinkPairScore_swigregister = _IMP_spb.KinkPairScore_swigregister
1368 KinkPairScore_swigregister(KinkPairScore)
1369 
1370 class MolecularDynamicsWithWte(IMP.atom.Simulator):
1371  """Proxy of C++ IMP::spb::MolecularDynamicsWithWte class."""
1372 
1373  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1374 
1375  def __init__(self, m, emin, emax, sigma, gamma, w0):
1376  """__init__(IMP::spb::MolecularDynamicsWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0) -> MolecularDynamicsWithWte"""
1377  this = _IMP_spb.new_MolecularDynamicsWithWte(m, emin, emax, sigma, gamma, w0)
1378  try:
1379  self.this.append(this)
1380  except __builtin__.Exception:
1381  self.this = this
1382 
1383  def get_bias(self, score):
1384  """get_bias(MolecularDynamicsWithWte self, double score) -> double"""
1385  return _IMP_spb.MolecularDynamicsWithWte_get_bias(self, score)
1386 
1387 
1388  def get_bias_buffer(self):
1389  """get_bias_buffer(MolecularDynamicsWithWte self) -> IMP::Floats"""
1390  return _IMP_spb.MolecularDynamicsWithWte_get_bias_buffer(self)
1391 
1392 
1393  def get_nbin(self):
1394  """get_nbin(MolecularDynamicsWithWte self) -> int"""
1395  return _IMP_spb.MolecularDynamicsWithWte_get_nbin(self)
1396 
1397 
1398  def set_w0(self, w0):
1399  """set_w0(MolecularDynamicsWithWte self, double w0)"""
1400  return _IMP_spb.MolecularDynamicsWithWte_set_w0(self, w0)
1401 
1402 
1403  def set_bias(self, bias):
1404  """set_bias(MolecularDynamicsWithWte self, IMP::Floats const & bias)"""
1405  return _IMP_spb.MolecularDynamicsWithWte_set_bias(self, bias)
1406 
1407 
1408  def get_kinetic_energy(self):
1409  """get_kinetic_energy(MolecularDynamicsWithWte self) -> IMP::Float"""
1410  return _IMP_spb.MolecularDynamicsWithWte_get_kinetic_energy(self)
1411 
1412 
1413  def get_kinetic_temperature(self, ekinetic):
1414  """get_kinetic_temperature(MolecularDynamicsWithWte self, IMP::Float ekinetic) -> IMP::Float"""
1415  return _IMP_spb.MolecularDynamicsWithWte_get_kinetic_temperature(self, ekinetic)
1416 
1417 
1418  def set_velocity_cap(self, velocity_cap):
1419  """set_velocity_cap(MolecularDynamicsWithWte self, IMP::Float velocity_cap)"""
1420  return _IMP_spb.MolecularDynamicsWithWte_set_velocity_cap(self, velocity_cap)
1421 
1422 
1423  def assign_velocities(self, temperature):
1424  """assign_velocities(MolecularDynamicsWithWte self, IMP::Float temperature)"""
1425  return _IMP_spb.MolecularDynamicsWithWte_assign_velocities(self, temperature)
1426 
1427 
1428  def rescale_velocities(self, rescale):
1429  """rescale_velocities(MolecularDynamicsWithWte self, IMP::Float rescale)"""
1430  return _IMP_spb.MolecularDynamicsWithWte_rescale_velocities(self, rescale)
1431 
1432 
1433  def setup(self, ps):
1434  """setup(MolecularDynamicsWithWte self, IMP::ParticleIndexes const & ps)"""
1435  return _IMP_spb.MolecularDynamicsWithWte_setup(self, ps)
1436 
1437 
1438  def do_step(self, sc, dt):
1439  """do_step(MolecularDynamicsWithWte self, IMP::ParticleIndexes const & sc, double dt) -> double"""
1440  return _IMP_spb.MolecularDynamicsWithWte_do_step(self, sc, dt)
1441 
1442 
1443  def get_is_simulation_particle(self, p):
1444  """get_is_simulation_particle(MolecularDynamicsWithWte self, ParticleIndex p) -> bool"""
1445  return _IMP_spb.MolecularDynamicsWithWte_get_is_simulation_particle(self, p)
1446 
1447 
1448  def __str__(self):
1449  """__str__(MolecularDynamicsWithWte self) -> std::string"""
1450  return _IMP_spb.MolecularDynamicsWithWte___str__(self)
1451 
1452 
1453  def __repr__(self):
1454  """__repr__(MolecularDynamicsWithWte self) -> std::string"""
1455  return _IMP_spb.MolecularDynamicsWithWte___repr__(self)
1456 
1457 
1458  @staticmethod
1459  def get_from(o):
1460  return _object_cast_to_MolecularDynamicsWithWte(o)
1461 
1462  __swig_destroy__ = _IMP_spb.delete_MolecularDynamicsWithWte
1463  __del__ = lambda self: None
1464 MolecularDynamicsWithWte_swigregister = _IMP_spb.MolecularDynamicsWithWte_swigregister
1465 MolecularDynamicsWithWte_swigregister(MolecularDynamicsWithWte)
1466 
1467 class MonteCarloWithWte(IMP.core.MonteCarlo):
1468  """Proxy of C++ IMP::spb::MonteCarloWithWte class."""
1469 
1470  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1471 
1472  def __init__(self, *args):
1473  """
1474  __init__(IMP::spb::MonteCarloWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0) -> MonteCarloWithWte
1475  __init__(IMP::spb::MonteCarloWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0, RestraintSet rset) -> MonteCarloWithWte
1476  """
1477  this = _IMP_spb.new_MonteCarloWithWte(*args)
1478  try:
1479  self.this.append(this)
1480  except __builtin__.Exception:
1481  self.this = this
1482 
1483  def get_bias(self, score):
1484  """get_bias(MonteCarloWithWte self, double score) -> double"""
1485  return _IMP_spb.MonteCarloWithWte_get_bias(self, score)
1486 
1487 
1488  def get_bias_asfloats(self):
1489  """get_bias_asfloats(MonteCarloWithWte self) -> IMP::Floats"""
1490  return _IMP_spb.MonteCarloWithWte_get_bias_asfloats(self)
1491 
1492 
1493  def get_nbin(self):
1494  """get_nbin(MonteCarloWithWte self) -> int"""
1495  return _IMP_spb.MonteCarloWithWte_get_nbin(self)
1496 
1497 
1498  def set_w0(self, w0):
1499  """set_w0(MonteCarloWithWte self, double w0)"""
1500  return _IMP_spb.MonteCarloWithWte_set_w0(self, w0)
1501 
1502 
1503  def set_bias(self, bias):
1504  """set_bias(MonteCarloWithWte self, IMP::Floats const & bias)"""
1505  return _IMP_spb.MonteCarloWithWte_set_bias(self, bias)
1506 
1507 
1508  def do_step(self):
1509  """do_step(MonteCarloWithWte self)"""
1510  return _IMP_spb.MonteCarloWithWte_do_step(self)
1511 
1512 
1513  def __str__(self):
1514  """__str__(MonteCarloWithWte self) -> std::string"""
1515  return _IMP_spb.MonteCarloWithWte___str__(self)
1516 
1517 
1518  def __repr__(self):
1519  """__repr__(MonteCarloWithWte self) -> std::string"""
1520  return _IMP_spb.MonteCarloWithWte___repr__(self)
1521 
1522 
1523  @staticmethod
1524  def get_from(o):
1525  return _object_cast_to_MonteCarloWithWte(o)
1526 
1527 MonteCarloWithWte_swigregister = _IMP_spb.MonteCarloWithWte_swigregister
1528 MonteCarloWithWte_swigregister(MonteCarloWithWte)
1529 
1530 class NuisanceRangeModifier(IMP.SingletonModifier):
1531  """Proxy of C++ IMP::spb::NuisanceRangeModifier class."""
1532 
1533  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1534 
1535  def __init__(self):
1536  """__init__(IMP::spb::NuisanceRangeModifier self) -> NuisanceRangeModifier"""
1537  this = _IMP_spb.new_NuisanceRangeModifier()
1538  try:
1539  self.this.append(this)
1540  except __builtin__.Exception:
1541  self.this = this
1542 
1543  def do_get_inputs(self, m, pis):
1544  """do_get_inputs(NuisanceRangeModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1545  return _IMP_spb.NuisanceRangeModifier_do_get_inputs(self, m, pis)
1546 
1547 
1548  def do_get_outputs(self, m, pis):
1549  """do_get_outputs(NuisanceRangeModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1550  return _IMP_spb.NuisanceRangeModifier_do_get_outputs(self, m, pis)
1551 
1552 
1553  def get_version_info(self):
1554  """get_version_info(NuisanceRangeModifier self) -> VersionInfo"""
1555  return _IMP_spb.NuisanceRangeModifier_get_version_info(self)
1556 
1557 
1558  def show(self, *args):
1559  """
1560  show(NuisanceRangeModifier self, _ostream out)
1561  show(NuisanceRangeModifier self)
1562  """
1563  return _IMP_spb.NuisanceRangeModifier_show(self, *args)
1564 
1565 
1566  def __str__(self):
1567  """__str__(NuisanceRangeModifier self) -> std::string"""
1568  return _IMP_spb.NuisanceRangeModifier___str__(self)
1569 
1570 
1571  def __repr__(self):
1572  """__repr__(NuisanceRangeModifier self) -> std::string"""
1573  return _IMP_spb.NuisanceRangeModifier___repr__(self)
1574 
1575 
1576  @staticmethod
1577  def get_from(o):
1578  return _object_cast_to_NuisanceRangeModifier(o)
1579 
1580 NuisanceRangeModifier_swigregister = _IMP_spb.NuisanceRangeModifier_swigregister
1581 NuisanceRangeModifier_swigregister(NuisanceRangeModifier)
1582 
1583 class PbcBoxedMover(IMP.core.MonteCarloMover):
1584  """Proxy of C++ IMP::spb::PbcBoxedMover class."""
1585 
1586  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1587 
1588  def __init__(self, p, ps, max_tr, centers, transformations, px, py, pz):
1589  """__init__(IMP::spb::PbcBoxedMover self, Particle p, IMP::Particles ps, IMP::Float max_tr, IMP::algebra::Vector3Ds centers, IMP::algebra::Transformation3Ds transformations, Particle px, Particle py, Particle pz) -> PbcBoxedMover"""
1590  this = _IMP_spb.new_PbcBoxedMover(p, ps, max_tr, centers, transformations, px, py, pz)
1591  try:
1592  self.this.append(this)
1593  except __builtin__.Exception:
1594  self.this = this
1595 
1596  def get_version_info(self):
1597  """get_version_info(PbcBoxedMover self) -> VersionInfo"""
1598  return _IMP_spb.PbcBoxedMover_get_version_info(self)
1599 
1600 
1601  def show(self, *args):
1602  """
1603  show(PbcBoxedMover self, _ostream out)
1604  show(PbcBoxedMover self)
1605  """
1606  return _IMP_spb.PbcBoxedMover_show(self, *args)
1607 
1608 
1609  def __str__(self):
1610  """__str__(PbcBoxedMover self) -> std::string"""
1611  return _IMP_spb.PbcBoxedMover___str__(self)
1612 
1613 
1614  def __repr__(self):
1615  """__repr__(PbcBoxedMover self) -> std::string"""
1616  return _IMP_spb.PbcBoxedMover___repr__(self)
1617 
1618 
1619  @staticmethod
1620  def get_from(o):
1621  return _object_cast_to_PbcBoxedMover(o)
1622 
1623 PbcBoxedMover_swigregister = _IMP_spb.PbcBoxedMover_swigregister
1624 PbcBoxedMover_swigregister(PbcBoxedMover)
1625 
1626 class PbcBoxedRigidBodyMover(IMP.core.MonteCarloMover):
1627  """Proxy of C++ IMP::spb::PbcBoxedRigidBodyMover class."""
1628 
1629  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1630 
1631  def __init__(self, d, ps, max_translation, max_rotation, centers, transformations, px, py, pz):
1632  """__init__(IMP::spb::PbcBoxedRigidBodyMover self, RigidBody d, IMP::Particles ps, IMP::Float max_translation, IMP::Float max_rotation, IMP::algebra::Vector3Ds centers, IMP::algebra::Transformation3Ds transformations, Particle px, Particle py, Particle pz) -> PbcBoxedRigidBodyMover"""
1633  this = _IMP_spb.new_PbcBoxedRigidBodyMover(d, ps, max_translation, max_rotation, centers, transformations, px, py, pz)
1634  try:
1635  self.this.append(this)
1636  except __builtin__.Exception:
1637  self.this = this
1638 
1639  def get_version_info(self):
1640  """get_version_info(PbcBoxedRigidBodyMover self) -> VersionInfo"""
1641  return _IMP_spb.PbcBoxedRigidBodyMover_get_version_info(self)
1642 
1643 
1644  def show(self, *args):
1645  """
1646  show(PbcBoxedRigidBodyMover self, _ostream out)
1647  show(PbcBoxedRigidBodyMover self)
1648  """
1649  return _IMP_spb.PbcBoxedRigidBodyMover_show(self, *args)
1650 
1651 
1652  def __str__(self):
1653  """__str__(PbcBoxedRigidBodyMover self) -> std::string"""
1654  return _IMP_spb.PbcBoxedRigidBodyMover___str__(self)
1655 
1656 
1657  def __repr__(self):
1658  """__repr__(PbcBoxedRigidBodyMover self) -> std::string"""
1659  return _IMP_spb.PbcBoxedRigidBodyMover___repr__(self)
1660 
1661 
1662  @staticmethod
1663  def get_from(o):
1664  return _object_cast_to_PbcBoxedRigidBodyMover(o)
1665 
1666 PbcBoxedRigidBodyMover_swigregister = _IMP_spb.PbcBoxedRigidBodyMover_swigregister
1667 PbcBoxedRigidBodyMover_swigregister(PbcBoxedRigidBodyMover)
1668 
1669 class RigidBodyNewMover(IMP.core.MonteCarloMover):
1670  """Proxy of C++ IMP::spb::RigidBodyNewMover class."""
1671 
1672  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1673 
1674  def __init__(self, d, max_x_translation, max_y_translation, max_z_translation, max_rot):
1675  """__init__(IMP::spb::RigidBodyNewMover self, RigidBody d, IMP::Float max_x_translation, IMP::Float max_y_translation, IMP::Float max_z_translation, IMP::Float max_rot) -> RigidBodyNewMover"""
1676  this = _IMP_spb.new_RigidBodyNewMover(d, max_x_translation, max_y_translation, max_z_translation, max_rot)
1677  try:
1678  self.this.append(this)
1679  except __builtin__.Exception:
1680  self.this = this
1681 
1682  def get_version_info(self):
1683  """get_version_info(RigidBodyNewMover self) -> VersionInfo"""
1684  return _IMP_spb.RigidBodyNewMover_get_version_info(self)
1685 
1686 
1687  def show(self, *args):
1688  """
1689  show(RigidBodyNewMover self, _ostream out)
1690  show(RigidBodyNewMover self)
1691  """
1692  return _IMP_spb.RigidBodyNewMover_show(self, *args)
1693 
1694 
1695  def __str__(self):
1696  """__str__(RigidBodyNewMover self) -> std::string"""
1697  return _IMP_spb.RigidBodyNewMover___str__(self)
1698 
1699 
1700  def __repr__(self):
1701  """__repr__(RigidBodyNewMover self) -> std::string"""
1702  return _IMP_spb.RigidBodyNewMover___repr__(self)
1703 
1704 
1705  @staticmethod
1706  def get_from(o):
1707  return _object_cast_to_RigidBodyNewMover(o)
1708 
1709 RigidBodyNewMover_swigregister = _IMP_spb.RigidBodyNewMover_swigregister
1710 RigidBodyNewMover_swigregister(RigidBodyNewMover)
1711 
1712 class RigidBodyPackingScore(IMP.PairScore):
1713  """Proxy of C++ IMP::spb::RigidBodyPackingScore class."""
1714 
1715  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1716 
1717  def __init__(self, tbr, omb, ome, ddb, dde, kappa):
1718  """__init__(IMP::spb::RigidBodyPackingScore self, TableRefiner tbr, IMP::Floats omb, IMP::Floats ome, IMP::Floats ddb, IMP::Floats dde, double kappa) -> RigidBodyPackingScore"""
1719  this = _IMP_spb.new_RigidBodyPackingScore(tbr, omb, ome, ddb, dde, kappa)
1720  try:
1721  self.this.append(this)
1722  except __builtin__.Exception:
1723  self.this = this
1724 
1725  def do_get_inputs(self, m, pis):
1726  """do_get_inputs(RigidBodyPackingScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1727  return _IMP_spb.RigidBodyPackingScore_do_get_inputs(self, m, pis)
1728 
1729 
1730  def show(self, *args):
1731  """
1732  show(RigidBodyPackingScore self, _ostream out)
1733  show(RigidBodyPackingScore self)
1734  """
1735  return _IMP_spb.RigidBodyPackingScore_show(self, *args)
1736 
1737 
1738  def __str__(self):
1739  """__str__(RigidBodyPackingScore self) -> std::string"""
1740  return _IMP_spb.RigidBodyPackingScore___str__(self)
1741 
1742 
1743  def __repr__(self):
1744  """__repr__(RigidBodyPackingScore self) -> std::string"""
1745  return _IMP_spb.RigidBodyPackingScore___repr__(self)
1746 
1747 
1748  @staticmethod
1749  def get_from(o):
1750  return _object_cast_to_RigidBodyPackingScore(o)
1751 
1752  __swig_destroy__ = _IMP_spb.delete_RigidBodyPackingScore
1753  __del__ = lambda self: None
1754 RigidBodyPackingScore_swigregister = _IMP_spb.RigidBodyPackingScore_swigregister
1755 RigidBodyPackingScore_swigregister(RigidBodyPackingScore)
1756 
1757 class RMSDMetric(IMP.statistics.Metric):
1758  """Proxy of C++ IMP::spb::RMSDMetric class."""
1759 
1760  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1761 
1762  def __init__(self, ps):
1763  """__init__(IMP::spb::RMSDMetric self, IMP::Particles ps) -> RMSDMetric"""
1764  this = _IMP_spb.new_RMSDMetric(ps)
1765  try:
1766  self.this.append(this)
1767  except __builtin__.Exception:
1768  self.this = this
1769 
1770  def add_configuration(self, weight=1.0):
1771  """
1772  add_configuration(RMSDMetric self, double weight=1.0)
1773  add_configuration(RMSDMetric self)
1774  """
1775  return _IMP_spb.RMSDMetric_add_configuration(self, weight)
1776 
1777 
1778  def get_weight(self, i):
1779  """get_weight(RMSDMetric self, unsigned int i) -> IMP::Float"""
1780  return _IMP_spb.RMSDMetric_get_weight(self, i)
1781 
1782 
1783  def get_version_info(self):
1784  """get_version_info(RMSDMetric self) -> VersionInfo"""
1785  return _IMP_spb.RMSDMetric_get_version_info(self)
1786 
1787 
1788  def __str__(self):
1789  """__str__(RMSDMetric self) -> std::string"""
1790  return _IMP_spb.RMSDMetric___str__(self)
1791 
1792 
1793  def __repr__(self):
1794  """__repr__(RMSDMetric self) -> std::string"""
1795  return _IMP_spb.RMSDMetric___repr__(self)
1796 
1797 
1798  @staticmethod
1799  def get_from(o):
1800  return _object_cast_to_RMSDMetric(o)
1801 
1802 RMSDMetric_swigregister = _IMP_spb.RMSDMetric_swigregister
1803 RMSDMetric_swigregister(RMSDMetric)
1804 
1805 class SameParticlePairFilter(IMP.PairPredicate):
1806  """Proxy of C++ IMP::spb::SameParticlePairFilter class."""
1807 
1808  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1809 
1810  def __init__(self):
1811  """__init__(IMP::spb::SameParticlePairFilter self) -> SameParticlePairFilter"""
1812  this = _IMP_spb.new_SameParticlePairFilter()
1813  try:
1814  self.this.append(this)
1815  except __builtin__.Exception:
1816  self.this = this
1817 
1818  def do_get_inputs(self, m, pis):
1819  """do_get_inputs(SameParticlePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1820  return _IMP_spb.SameParticlePairFilter_do_get_inputs(self, m, pis)
1821 
1822 
1823  def get_value(self, *args):
1824  """
1825  get_value(SameParticlePairFilter self, IMP::ParticlePair const & a) -> int
1826  get_value(SameParticlePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1827  """
1828  return _IMP_spb.SameParticlePairFilter_get_value(self, *args)
1829 
1830 
1831  def get_value_index(self, *args):
1832  """
1833  get_value_index(SameParticlePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
1834  get_value_index(SameParticlePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1835  """
1836  return _IMP_spb.SameParticlePairFilter_get_value_index(self, *args)
1837 
1838 
1839  def get_version_info(self):
1840  """get_version_info(SameParticlePairFilter self) -> VersionInfo"""
1841  return _IMP_spb.SameParticlePairFilter_get_version_info(self)
1842 
1843 
1844  def __str__(self):
1845  """__str__(SameParticlePairFilter self) -> std::string"""
1846  return _IMP_spb.SameParticlePairFilter___str__(self)
1847 
1848 
1849  def __repr__(self):
1850  """__repr__(SameParticlePairFilter self) -> std::string"""
1851  return _IMP_spb.SameParticlePairFilter___repr__(self)
1852 
1853 
1854  @staticmethod
1855  def get_from(o):
1856  return _object_cast_to_SameParticlePairFilter(o)
1857 
1858 SameParticlePairFilter_swigregister = _IMP_spb.SameParticlePairFilter_swigregister
1859 SameParticlePairFilter_swigregister(SameParticlePairFilter)
1860 
1861 class SameRigidBodyPairFilter(IMP.PairPredicate):
1862  """Proxy of C++ IMP::spb::SameRigidBodyPairFilter class."""
1863 
1864  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1865 
1866  def __init__(self):
1867  """__init__(IMP::spb::SameRigidBodyPairFilter self) -> SameRigidBodyPairFilter"""
1868  this = _IMP_spb.new_SameRigidBodyPairFilter()
1869  try:
1870  self.this.append(this)
1871  except __builtin__.Exception:
1872  self.this = this
1873 
1874  def do_get_inputs(self, m, pis):
1875  """do_get_inputs(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1876  return _IMP_spb.SameRigidBodyPairFilter_do_get_inputs(self, m, pis)
1877 
1878 
1879  def get_value(self, *args):
1880  """
1881  get_value(SameRigidBodyPairFilter self, IMP::ParticlePair const & a) -> int
1882  get_value(SameRigidBodyPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1883  """
1884  return _IMP_spb.SameRigidBodyPairFilter_get_value(self, *args)
1885 
1886 
1887  def get_value_index(self, *args):
1888  """
1889  get_value_index(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
1890  get_value_index(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1891  """
1892  return _IMP_spb.SameRigidBodyPairFilter_get_value_index(self, *args)
1893 
1894 
1895  def get_version_info(self):
1896  """get_version_info(SameRigidBodyPairFilter self) -> VersionInfo"""
1897  return _IMP_spb.SameRigidBodyPairFilter_get_version_info(self)
1898 
1899 
1900  def __str__(self):
1901  """__str__(SameRigidBodyPairFilter self) -> std::string"""
1902  return _IMP_spb.SameRigidBodyPairFilter___str__(self)
1903 
1904 
1905  def __repr__(self):
1906  """__repr__(SameRigidBodyPairFilter self) -> std::string"""
1907  return _IMP_spb.SameRigidBodyPairFilter___repr__(self)
1908 
1909 
1910  @staticmethod
1911  def get_from(o):
1912  return _object_cast_to_SameRigidBodyPairFilter(o)
1913 
1914 SameRigidBodyPairFilter_swigregister = _IMP_spb.SameRigidBodyPairFilter_swigregister
1915 SameRigidBodyPairFilter_swigregister(SameRigidBodyPairFilter)
1916 
1917 class TiltSingletonScore(IMP.SingletonScore):
1918  """Proxy of C++ IMP::spb::TiltSingletonScore class."""
1919 
1920  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1921 
1922  def __init__(self, *args, **kwargs):
1923  raise AttributeError("No constructor defined - class is abstract")
1924 
1925  def evaluate_index(self, m, p, da):
1926  """evaluate_index(TiltSingletonScore self, Model m, ParticleIndex p, DerivativeAccumulator da) -> double"""
1927  return _IMP_spb.TiltSingletonScore_evaluate_index(self, m, p, da)
1928 
1929 
1930  def do_get_inputs(self, m, pis):
1931  """do_get_inputs(TiltSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1932  return _IMP_spb.TiltSingletonScore_do_get_inputs(self, m, pis)
1933 
1934 
1935  def get_version_info(self):
1936  """get_version_info(TiltSingletonScore self) -> VersionInfo"""
1937  return _IMP_spb.TiltSingletonScore_get_version_info(self)
1938 
1939 
1940  def show(self, *args):
1941  """
1942  show(TiltSingletonScore self, _ostream out)
1943  show(TiltSingletonScore self)
1944  """
1945  return _IMP_spb.TiltSingletonScore_show(self, *args)
1946 
1947 
1948  def __str__(self):
1949  """__str__(TiltSingletonScore self) -> std::string"""
1950  return _IMP_spb.TiltSingletonScore___str__(self)
1951 
1952 
1953  def __repr__(self):
1954  """__repr__(TiltSingletonScore self) -> std::string"""
1955  return _IMP_spb.TiltSingletonScore___repr__(self)
1956 
1957 
1958  @staticmethod
1959  def get_from(o):
1960  return _object_cast_to_TiltSingletonScore(o)
1961 
1962 TiltSingletonScore_swigregister = _IMP_spb.TiltSingletonScore_swigregister
1963 TiltSingletonScore_swigregister(TiltSingletonScore)
1964 
1965 class TransformationSymmetry(IMP.SingletonModifier):
1966  """Proxy of C++ IMP::spb::TransformationSymmetry class."""
1967 
1968  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1969 
1970  def __init__(self, t, px, py, pz):
1971  """__init__(IMP::spb::TransformationSymmetry self, Transformation3D t, Particle px, Particle py, Particle pz) -> TransformationSymmetry"""
1972  this = _IMP_spb.new_TransformationSymmetry(t, px, py, pz)
1973  try:
1974  self.this.append(this)
1975  except __builtin__.Exception:
1976  self.this = this
1977 
1978  def do_get_inputs(self, m, pis):
1979  """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1980  return _IMP_spb.TransformationSymmetry_do_get_inputs(self, m, pis)
1981 
1982 
1983  def do_get_outputs(self, m, pis):
1984  """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1985  return _IMP_spb.TransformationSymmetry_do_get_outputs(self, m, pis)
1986 
1987 
1988  def get_version_info(self):
1989  """get_version_info(TransformationSymmetry self) -> VersionInfo"""
1990  return _IMP_spb.TransformationSymmetry_get_version_info(self)
1991 
1992 
1993  def show(self, *args):
1994  """
1995  show(TransformationSymmetry self, _ostream out)
1996  show(TransformationSymmetry self)
1997  """
1998  return _IMP_spb.TransformationSymmetry_show(self, *args)
1999 
2000 
2001  def __str__(self):
2002  """__str__(TransformationSymmetry self) -> std::string"""
2003  return _IMP_spb.TransformationSymmetry___str__(self)
2004 
2005 
2006  def __repr__(self):
2007  """__repr__(TransformationSymmetry self) -> std::string"""
2008  return _IMP_spb.TransformationSymmetry___repr__(self)
2009 
2010 
2011  @staticmethod
2012  def get_from(o):
2013  return _object_cast_to_TransformationSymmetry(o)
2014 
2015 TransformationSymmetry_swigregister = _IMP_spb.TransformationSymmetry_swigregister
2016 TransformationSymmetry_swigregister(TransformationSymmetry)
2017 
2018 class TwoStateGoModelRestraint(IMP.Restraint):
2019  """Proxy of C++ IMP::spb::TwoStateGoModelRestraint class."""
2020 
2021  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2022 
2023  def __init__(self, ps, psA, psB, Beta, Delta, Cutoff):
2024  """__init__(IMP::spb::TwoStateGoModelRestraint self, IMP::Particles ps, IMP::Particles psA, IMP::Particles psB, IMP::Float Beta, IMP::Float Delta, IMP::Float Cutoff) -> TwoStateGoModelRestraint"""
2025  this = _IMP_spb.new_TwoStateGoModelRestraint(ps, psA, psB, Beta, Delta, Cutoff)
2026  try:
2027  self.this.append(this)
2028  except __builtin__.Exception:
2029  self.this = this
2030 
2031  def do_get_inputs(self):
2032  """do_get_inputs(TwoStateGoModelRestraint self) -> IMP::ModelObjectsTemp"""
2033  return _IMP_spb.TwoStateGoModelRestraint_do_get_inputs(self)
2034 
2035 
2036  def get_version_info(self):
2037  """get_version_info(TwoStateGoModelRestraint self) -> VersionInfo"""
2038  return _IMP_spb.TwoStateGoModelRestraint_get_version_info(self)
2039 
2040 
2041  def __str__(self):
2042  """__str__(TwoStateGoModelRestraint self) -> std::string"""
2043  return _IMP_spb.TwoStateGoModelRestraint___str__(self)
2044 
2045 
2046  def __repr__(self):
2047  """__repr__(TwoStateGoModelRestraint self) -> std::string"""
2048  return _IMP_spb.TwoStateGoModelRestraint___repr__(self)
2049 
2050 
2051  @staticmethod
2052  def get_from(o):
2053  return _object_cast_to_TwoStateGoModelRestraint(o)
2054 
2055 TwoStateGoModelRestraint_swigregister = _IMP_spb.TwoStateGoModelRestraint_swigregister
2056 TwoStateGoModelRestraint_swigregister(TwoStateGoModelRestraint)
2057 
2058 class UniformBoundedRestraint(ISDRestraint):
2059  """Proxy of C++ IMP::spb::UniformBoundedRestraint class."""
2060 
2061  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2062 
2063  def __init__(self, p, fk, a, b):
2064  """__init__(IMP::spb::UniformBoundedRestraint self, Particle p, FloatKey fk, Particle a, Particle b) -> UniformBoundedRestraint"""
2065  this = _IMP_spb.new_UniformBoundedRestraint(p, fk, a, b)
2066  try:
2067  self.this.append(this)
2068  except __builtin__.Exception:
2069  self.this = this
2070 
2071  def do_get_inputs(self):
2072  """do_get_inputs(UniformBoundedRestraint self) -> IMP::ModelObjectsTemp"""
2073  return _IMP_spb.UniformBoundedRestraint_do_get_inputs(self)
2074 
2075 
2076  def get_version_info(self):
2077  """get_version_info(UniformBoundedRestraint self) -> VersionInfo"""
2078  return _IMP_spb.UniformBoundedRestraint_get_version_info(self)
2079 
2080 
2081  def __str__(self):
2082  """__str__(UniformBoundedRestraint self) -> std::string"""
2083  return _IMP_spb.UniformBoundedRestraint___str__(self)
2084 
2085 
2086  def __repr__(self):
2087  """__repr__(UniformBoundedRestraint self) -> std::string"""
2088  return _IMP_spb.UniformBoundedRestraint___repr__(self)
2089 
2090 
2091  @staticmethod
2092  def get_from(o):
2093  return _object_cast_to_UniformBoundedRestraint(o)
2094 
2095 UniformBoundedRestraint_swigregister = _IMP_spb.UniformBoundedRestraint_swigregister
2096 UniformBoundedRestraint_swigregister(UniformBoundedRestraint)
2097 
2098 
2099 def get_module_version():
2100  """get_module_version() -> std::string const"""
2101  return _IMP_spb.get_module_version()
2102 
2103 def get_example_path(fname):
2104  """get_example_path(std::string fname) -> std::string"""
2105  return _IMP_spb.get_example_path(fname)
2106 
2107 def get_data_path(fname):
2108  """get_data_path(std::string fname) -> std::string"""
2109  return _IMP_spb.get_data_path(fname)
2110 
2111 from . import _version_check
2112 _version_check.check_version(get_module_version())
2113 __version__ = get_module_version()
2114 
2115 
2116 
A base class for modifiers of ParticlesTemp.
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:37
The base class for simulators.
Definition: Simulator.h:34
A Monte Carlo optimizer.
Definition: MonteCarlo.h:45
Support for basic symmetry, such as periodic boundary conditions (PBC).
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:81
setup
Definition: setup.py:1
Restraints using electron microscopy 2D images (class averages).
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Several general purpose optimizers from the GNU Scientific Library (GSL).
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
Abstract class for scoring object(s) of type ParticleIndex.
Code that uses the MPI parallel library.
A base class for classes which perturb particles.
Basic utilities for handling cryo-electron microscopy 3D density maps.
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Basic functionality that is expected to be used by a wide variety of IMP users.
Abstract predicate function.
Definition: PairPredicate.h:31
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
IMP::Vector< HelixDecorator > HelixDecorators
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
Support for the RMF file format for storing hierarchical molecular data and markup.
Abstract single variable functor class for score functions.
Definition: UnaryFunction.h:25
Divide-and-conquer inferential optimization in discrete space.
Support for small angle X-ray scattering (SAXS) data.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Definition: exception.h:73
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:52
Store data to be clustered for distance metric based algorithms.
Definition: Metric.h:25