IMP logo
IMP Reference Guide  2.10.1
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-2018 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 IMP_C_OPEN_BINARY = _IMP_spb.IMP_C_OPEN_BINARY
289 import IMP
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_spb.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_spb.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_spb.IMPCGAL_SHOW_WARNINGS
295 import IMP.cgal
296 IMP_MPI_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_MPI_HAS_BOOST_FILESYSTEM
297 IMP_MPI_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_MPI_HAS_BOOST_PROGRAMOPTIONS
298 IMP_MPI_HAS_BOOST_RANDOM = _IMP_spb.IMP_MPI_HAS_BOOST_RANDOM
299 IMP_MPI_HAS_BOOST_SYSTEM = _IMP_spb.IMP_MPI_HAS_BOOST_SYSTEM
300 IMPMPI_SHOW_WARNINGS = _IMP_spb.IMPMPI_SHOW_WARNINGS
301 import IMP.mpi
302 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_spb.IMP_ALGEBRA_HAS_IMP_CGAL
303 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
304 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
305 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_RANDOM
306 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_SYSTEM
307 IMP_ALGEBRA_HAS_CGAL = _IMP_spb.IMP_ALGEBRA_HAS_CGAL
308 IMP_ALGEBRA_HAS_ANN = _IMP_spb.IMP_ALGEBRA_HAS_ANN
309 IMPALGEBRA_SHOW_WARNINGS = _IMP_spb.IMPALGEBRA_SHOW_WARNINGS
310 import IMP.algebra
311 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_spb.IMP_DISPLAY_HAS_IMP_CGAL
312 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
313 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
314 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_spb.IMP_DISPLAY_HAS_BOOST_RANDOM
315 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_spb.IMP_DISPLAY_HAS_BOOST_SYSTEM
316 IMP_DISPLAY_HAS_CGAL = _IMP_spb.IMP_DISPLAY_HAS_CGAL
317 IMPDISPLAY_SHOW_WARNINGS = _IMP_spb.IMPDISPLAY_SHOW_WARNINGS
318 import IMP.display
319 IMP_GSL_HAS_IMP_CGAL = _IMP_spb.IMP_GSL_HAS_IMP_CGAL
320 IMP_GSL_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_GSL_HAS_BOOST_FILESYSTEM
321 IMP_GSL_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_GSL_HAS_BOOST_PROGRAMOPTIONS
322 IMP_GSL_HAS_BOOST_RANDOM = _IMP_spb.IMP_GSL_HAS_BOOST_RANDOM
323 IMP_GSL_HAS_BOOST_SYSTEM = _IMP_spb.IMP_GSL_HAS_BOOST_SYSTEM
324 IMP_GSL_HAS_CGAL = _IMP_spb.IMP_GSL_HAS_CGAL
325 IMPGSL_SHOW_WARNINGS = _IMP_spb.IMPGSL_SHOW_WARNINGS
326 import IMP.gsl
327 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
328 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
329 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
330 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
331 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
332 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_CGAL
333 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_HDF5
334 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_spb.IMPSCOREFUNCTOR_SHOW_WARNINGS
335 import IMP.score_functor
336 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_spb.IMP_STATISTICS_HAS_IMP_CGAL
337 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
338 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
339 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_spb.IMP_STATISTICS_HAS_BOOST_RANDOM
340 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_spb.IMP_STATISTICS_HAS_BOOST_SYSTEM
341 IMP_STATISTICS_HAS_CGAL = _IMP_spb.IMP_STATISTICS_HAS_CGAL
342 IMPSTATISTICS_SHOW_WARNINGS = _IMP_spb.IMPSTATISTICS_SHOW_WARNINGS
343 import IMP.statistics
344 IMP_CORE_HAS_IMP_CGAL = _IMP_spb.IMP_CORE_HAS_IMP_CGAL
345 IMP_CORE_HAS_IMP_KERNEL = _IMP_spb.IMP_CORE_HAS_IMP_KERNEL
346 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_CORE_HAS_BOOST_FILESYSTEM
347 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
348 IMP_CORE_HAS_BOOST_RANDOM = _IMP_spb.IMP_CORE_HAS_BOOST_RANDOM
349 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_spb.IMP_CORE_HAS_BOOST_SYSTEM
350 IMP_CORE_HAS_CGAL = _IMP_spb.IMP_CORE_HAS_CGAL
351 IMP_CORE_HAS_HDF5 = _IMP_spb.IMP_CORE_HAS_HDF5
352 IMPCORE_SHOW_WARNINGS = _IMP_spb.IMPCORE_SHOW_WARNINGS
353 import IMP.core
354 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_spb.IMP_CONTAINER_HAS_IMP_ALGEBRA
355 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_spb.IMP_CONTAINER_HAS_IMP_CGAL
356 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_spb.IMP_CONTAINER_HAS_IMP_DISPLAY
357 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_spb.IMP_CONTAINER_HAS_IMP_KERNEL
358 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
359 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
360 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
361 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_spb.IMP_CONTAINER_HAS_BOOST_RANDOM
362 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_spb.IMP_CONTAINER_HAS_BOOST_SYSTEM
363 IMP_CONTAINER_HAS_CGAL = _IMP_spb.IMP_CONTAINER_HAS_CGAL
364 IMP_CONTAINER_HAS_HDF5 = _IMP_spb.IMP_CONTAINER_HAS_HDF5
365 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_spb.IMP_CONTAINER_HAS_PYTHON_IHM
366 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_spb.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
367 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_spb.IMP_CONTAINER_HAS_ROBIN_MAP
368 IMPCONTAINER_SHOW_WARNINGS = _IMP_spb.IMPCONTAINER_SHOW_WARNINGS
369 import IMP.container
370 IMP_SYMMETRY_HAS_IMP_CGAL = _IMP_spb.IMP_SYMMETRY_HAS_IMP_CGAL
371 IMP_SYMMETRY_HAS_IMP_DISPLAY = _IMP_spb.IMP_SYMMETRY_HAS_IMP_DISPLAY
372 IMP_SYMMETRY_HAS_IMP_KERNEL = _IMP_spb.IMP_SYMMETRY_HAS_IMP_KERNEL
373 IMP_SYMMETRY_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_SYMMETRY_HAS_IMP_SCORE_FUNCTOR
374 IMP_SYMMETRY_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_FILESYSTEM
375 IMP_SYMMETRY_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_PROGRAMOPTIONS
376 IMP_SYMMETRY_HAS_BOOST_RANDOM = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_RANDOM
377 IMP_SYMMETRY_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_SYSTEM
378 IMP_SYMMETRY_HAS_CGAL = _IMP_spb.IMP_SYMMETRY_HAS_CGAL
379 IMP_SYMMETRY_HAS_HDF5 = _IMP_spb.IMP_SYMMETRY_HAS_HDF5
380 IMP_SYMMETRY_HAS_PYTHON_IHM = _IMP_spb.IMP_SYMMETRY_HAS_PYTHON_IHM
381 IMPSYMMETRY_SHOW_WARNINGS = _IMP_spb.IMPSYMMETRY_SHOW_WARNINGS
382 import IMP.symmetry
383 IMP_ATOM_HAS_IMP_CGAL = _IMP_spb.IMP_ATOM_HAS_IMP_CGAL
384 IMP_ATOM_HAS_IMP_KERNEL = _IMP_spb.IMP_ATOM_HAS_IMP_KERNEL
385 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
386 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
387 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_spb.IMP_ATOM_HAS_BOOST_RANDOM
388 IMP_ATOM_HAS_BOOST_REGEX = _IMP_spb.IMP_ATOM_HAS_BOOST_REGEX
389 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_spb.IMP_ATOM_HAS_BOOST_SYSTEM
390 IMP_ATOM_HAS_CGAL = _IMP_spb.IMP_ATOM_HAS_CGAL
391 IMP_ATOM_HAS_HDF5 = _IMP_spb.IMP_ATOM_HAS_HDF5
392 IMP_ATOM_HAS_PYTHON_IHM = _IMP_spb.IMP_ATOM_HAS_PYTHON_IHM
393 IMPATOM_SHOW_WARNINGS = _IMP_spb.IMPATOM_SHOW_WARNINGS
394 IMP_ATOM_TYPE_INDEX = _IMP_spb.IMP_ATOM_TYPE_INDEX
395 IMP_RESIDUE_TYPE_INDEX = _IMP_spb.IMP_RESIDUE_TYPE_INDEX
396 IMP_HIERARCHY_TYPE_INDEX = _IMP_spb.IMP_HIERARCHY_TYPE_INDEX
397 IMP_CHAIN_TYPE_INDEX = _IMP_spb.IMP_CHAIN_TYPE_INDEX
398 import IMP.atom
399 IMP_EM_HAS_IMP_CGAL = _IMP_spb.IMP_EM_HAS_IMP_CGAL
400 IMP_EM_HAS_IMP_CONTAINER = _IMP_spb.IMP_EM_HAS_IMP_CONTAINER
401 IMP_EM_HAS_IMP_DISPLAY = _IMP_spb.IMP_EM_HAS_IMP_DISPLAY
402 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_EM_HAS_IMP_SCORE_FUNCTOR
403 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_EM_HAS_BOOST_FILESYSTEM
404 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
405 IMP_EM_HAS_BOOST_RANDOM = _IMP_spb.IMP_EM_HAS_BOOST_RANDOM
406 IMP_EM_HAS_BOOST_REGEX = _IMP_spb.IMP_EM_HAS_BOOST_REGEX
407 IMP_EM_HAS_BOOST_SYSTEM = _IMP_spb.IMP_EM_HAS_BOOST_SYSTEM
408 IMP_EM_HAS_CGAL = _IMP_spb.IMP_EM_HAS_CGAL
409 IMP_EM_HAS_HDF5 = _IMP_spb.IMP_EM_HAS_HDF5
410 IMP_EM_HAS_PYTHON_IHM = _IMP_spb.IMP_EM_HAS_PYTHON_IHM
411 IMPEM_SHOW_WARNINGS = _IMP_spb.IMPEM_SHOW_WARNINGS
412 import IMP.em
413 IMP_RMF_HAS_IMP_CGAL = _IMP_spb.IMP_RMF_HAS_IMP_CGAL
414 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
415 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_RMF_HAS_BOOST_FILESYSTEM
416 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
417 IMP_RMF_HAS_BOOST_RANDOM = _IMP_spb.IMP_RMF_HAS_BOOST_RANDOM
418 IMP_RMF_HAS_BOOST_REGEX = _IMP_spb.IMP_RMF_HAS_BOOST_REGEX
419 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_spb.IMP_RMF_HAS_BOOST_SYSTEM
420 IMP_RMF_HAS_CGAL = _IMP_spb.IMP_RMF_HAS_CGAL
421 IMP_RMF_HAS_HDF5 = _IMP_spb.IMP_RMF_HAS_HDF5
422 IMP_RMF_HAS_PYTHON_IHM = _IMP_spb.IMP_RMF_HAS_PYTHON_IHM
423 IMPRMF_SHOW_WARNINGS = _IMP_spb.IMPRMF_SHOW_WARNINGS
424 import IMP.rmf
425 import RMF
426 IMP_SAXS_HAS_IMP_CGAL = _IMP_spb.IMP_SAXS_HAS_IMP_CGAL
427 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_spb.IMP_SAXS_HAS_IMP_CONTAINER
428 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_spb.IMP_SAXS_HAS_IMP_DISPLAY
429 IMP_SAXS_HAS_IMP_KERNEL = _IMP_spb.IMP_SAXS_HAS_IMP_KERNEL
430 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
431 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SAXS_HAS_BOOST_FILESYSTEM
432 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
433 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_spb.IMP_SAXS_HAS_BOOST_RANDOM
434 IMP_SAXS_HAS_BOOST_REGEX = _IMP_spb.IMP_SAXS_HAS_BOOST_REGEX
435 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SAXS_HAS_BOOST_SYSTEM
436 IMP_SAXS_HAS_CGAL = _IMP_spb.IMP_SAXS_HAS_CGAL
437 IMP_SAXS_HAS_HDF5 = _IMP_spb.IMP_SAXS_HAS_HDF5
438 IMP_SAXS_HAS_PYTHON_IHM = _IMP_spb.IMP_SAXS_HAS_PYTHON_IHM
439 IMPSAXS_SHOW_WARNINGS = _IMP_spb.IMPSAXS_SHOW_WARNINGS
440 import IMP.saxs
441 IMP_DOMINO_HAS_IMP_ATOM = _IMP_spb.IMP_DOMINO_HAS_IMP_ATOM
442 IMP_DOMINO_HAS_IMP_CGAL = _IMP_spb.IMP_DOMINO_HAS_IMP_CGAL
443 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_spb.IMP_DOMINO_HAS_IMP_KERNEL
444 IMP_DOMINO_HAS_IMP_RMF = _IMP_spb.IMP_DOMINO_HAS_IMP_RMF
445 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
446 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_DOMINO_HAS_BOOST_FILESYSTEM
447 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
448 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_spb.IMP_DOMINO_HAS_BOOST_RANDOM
449 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_spb.IMP_DOMINO_HAS_BOOST_REGEX
450 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_spb.IMP_DOMINO_HAS_BOOST_SYSTEM
451 IMP_DOMINO_HAS_CGAL = _IMP_spb.IMP_DOMINO_HAS_CGAL
452 IMP_DOMINO_HAS_HDF5 = _IMP_spb.IMP_DOMINO_HAS_HDF5
453 IMP_DOMINO_HAS_RMF = _IMP_spb.IMP_DOMINO_HAS_RMF
454 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_spb.IMP_DOMINO_HAS_PYTHON_IHM
455 IMPDOMINO_SHOW_WARNINGS = _IMP_spb.IMPDOMINO_SHOW_WARNINGS
456 import RMF_HDF5
457 import IMP.domino
458 IMP_ISD_HAS_IMP_CGAL = _IMP_spb.IMP_ISD_HAS_IMP_CGAL
459 IMP_ISD_HAS_IMP_DISPLAY = _IMP_spb.IMP_ISD_HAS_IMP_DISPLAY
460 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
461 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_ISD_HAS_BOOST_FILESYSTEM
462 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
463 IMP_ISD_HAS_BOOST_RANDOM = _IMP_spb.IMP_ISD_HAS_BOOST_RANDOM
464 IMP_ISD_HAS_BOOST_REGEX = _IMP_spb.IMP_ISD_HAS_BOOST_REGEX
465 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_spb.IMP_ISD_HAS_BOOST_SYSTEM
466 IMP_ISD_HAS_CGAL = _IMP_spb.IMP_ISD_HAS_CGAL
467 IMP_ISD_HAS_HDF5 = _IMP_spb.IMP_ISD_HAS_HDF5
468 IMP_ISD_HAS_PYTHON_IHM = _IMP_spb.IMP_ISD_HAS_PYTHON_IHM
469 IMPISD_SHOW_WARNINGS = _IMP_spb.IMPISD_SHOW_WARNINGS
470 import IMP.isd
471 IMP_EM2D_HAS_IMP_CGAL = _IMP_spb.IMP_EM2D_HAS_IMP_CGAL
472 IMP_EM2D_HAS_IMP_KERNEL = _IMP_spb.IMP_EM2D_HAS_IMP_KERNEL
473 IMP_EM2D_HAS_IMP_RMF = _IMP_spb.IMP_EM2D_HAS_IMP_RMF
474 IMP_EM2D_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_EM2D_HAS_IMP_SCORE_FUNCTOR
475 IMP_EM2D_HAS_IMP_STATISTICS = _IMP_spb.IMP_EM2D_HAS_IMP_STATISTICS
476 IMP_EM2D_HAS_BOOST_GRAPH = _IMP_spb.IMP_EM2D_HAS_BOOST_GRAPH
477 IMP_EM2D_HAS_BOOST_RANDOM = _IMP_spb.IMP_EM2D_HAS_BOOST_RANDOM
478 IMP_EM2D_HAS_BOOST_REGEX = _IMP_spb.IMP_EM2D_HAS_BOOST_REGEX
479 IMP_EM2D_HAS_BOOST_SYSTEM = _IMP_spb.IMP_EM2D_HAS_BOOST_SYSTEM
480 IMP_EM2D_HAS_CGAL = _IMP_spb.IMP_EM2D_HAS_CGAL
481 IMP_EM2D_HAS_GSL = _IMP_spb.IMP_EM2D_HAS_GSL
482 IMP_EM2D_HAS_HDF5 = _IMP_spb.IMP_EM2D_HAS_HDF5
483 IMP_EM2D_HAS_OPENCV22 = _IMP_spb.IMP_EM2D_HAS_OPENCV22
484 IMP_EM2D_HAS_RMF = _IMP_spb.IMP_EM2D_HAS_RMF
485 IMP_EM2D_HAS_PYTHON_IHM = _IMP_spb.IMP_EM2D_HAS_PYTHON_IHM
486 IMP_EM2D_HAS_OPENCV21 = _IMP_spb.IMP_EM2D_HAS_OPENCV21
487 IMP_EM2D_HAS_OPENCV3 = _IMP_spb.IMP_EM2D_HAS_OPENCV3
488 IMPEM2D_SHOW_WARNINGS = _IMP_spb.IMPEM2D_SHOW_WARNINGS
489 import IMP.em2d
490 IMP_SPB_HAS_IMP_ALGEBRA = _IMP_spb.IMP_SPB_HAS_IMP_ALGEBRA
491 IMP_SPB_HAS_IMP_CGAL = _IMP_spb.IMP_SPB_HAS_IMP_CGAL
492 IMP_SPB_HAS_IMP_DISPLAY = _IMP_spb.IMP_SPB_HAS_IMP_DISPLAY
493 IMP_SPB_HAS_IMP_DOMINO = _IMP_spb.IMP_SPB_HAS_IMP_DOMINO
494 IMP_SPB_HAS_IMP_EM = _IMP_spb.IMP_SPB_HAS_IMP_EM
495 IMP_SPB_HAS_IMP_GSL = _IMP_spb.IMP_SPB_HAS_IMP_GSL
496 IMP_SPB_HAS_IMP_KERNEL = _IMP_spb.IMP_SPB_HAS_IMP_KERNEL
497 IMP_SPB_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_SPB_HAS_IMP_SCORE_FUNCTOR
498 IMP_SPB_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SPB_HAS_BOOST_FILESYSTEM
499 IMP_SPB_HAS_BOOST_GRAPH = _IMP_spb.IMP_SPB_HAS_BOOST_GRAPH
500 IMP_SPB_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SPB_HAS_BOOST_PROGRAMOPTIONS
501 IMP_SPB_HAS_BOOST_RANDOM = _IMP_spb.IMP_SPB_HAS_BOOST_RANDOM
502 IMP_SPB_HAS_BOOST_REGEX = _IMP_spb.IMP_SPB_HAS_BOOST_REGEX
503 IMP_SPB_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SPB_HAS_BOOST_SYSTEM
504 IMP_SPB_HAS_CGAL = _IMP_spb.IMP_SPB_HAS_CGAL
505 IMP_SPB_HAS_FFTW3 = _IMP_spb.IMP_SPB_HAS_FFTW3
506 IMP_SPB_HAS_GSL = _IMP_spb.IMP_SPB_HAS_GSL
507 IMP_SPB_HAS_HDF5 = _IMP_spb.IMP_SPB_HAS_HDF5
508 IMP_SPB_HAS_MPI = _IMP_spb.IMP_SPB_HAS_MPI
509 IMP_SPB_HAS_OPENCV22 = _IMP_spb.IMP_SPB_HAS_OPENCV22
510 IMP_SPB_HAS_RMF = _IMP_spb.IMP_SPB_HAS_RMF
511 IMP_SPB_HAS_PYTHON_IHM = _IMP_spb.IMP_SPB_HAS_PYTHON_IHM
512 IMPSPB_SHOW_WARNINGS = _IMP_spb.IMPSPB_SHOW_WARNINGS
513 
514 def HelixDecorators(l=[]):
515  return [HelixDecorator(x) for x in l]
516 _plural_types.append("HelixDecorators")
517 
518 
519 _value_types.append("HelixDecorator")
520 
521 
522 _object_types.append("AttributeDistancePairScore")
523 
524 
525 def _object_cast_to_AttributeDistancePairScore(o):
526  """_object_cast_to_AttributeDistancePairScore(Object o) -> AttributeDistancePairScore"""
527  return _IMP_spb._object_cast_to_AttributeDistancePairScore(o)
528 
529 _object_types.append("BoxedMover")
530 
531 
532 def _object_cast_to_BoxedMover(o):
533  """_object_cast_to_BoxedMover(Object o) -> BoxedMover"""
534  return _IMP_spb._object_cast_to_BoxedMover(o)
535 
536 _object_types.append("CellMover")
537 
538 
539 def _object_cast_to_CellMover(o):
540  """_object_cast_to_CellMover(Object o) -> CellMover"""
541  return _IMP_spb._object_cast_to_CellMover(o)
542 
543 _object_types.append("ChiSquareMetric")
544 
545 
546 _object_types.append("ContactMapMetric")
547 
548 
549 def _object_cast_to_ContactMapMetric(o):
550  """_object_cast_to_ContactMapMetric(Object o) -> ContactMapMetric"""
551  return _IMP_spb._object_cast_to_ContactMapMetric(o)
552 
553 _object_types.append("DiameterRgyrRestraint")
554 
555 
556 def _object_cast_to_DiameterRgyrRestraint(o):
557  """_object_cast_to_DiameterRgyrRestraint(Object o) -> DiameterRgyrRestraint"""
558  return _IMP_spb._object_cast_to_DiameterRgyrRestraint(o)
559 
560 _object_types.append("DistanceRMSDMetric")
561 
562 
563 def _object_cast_to_DistanceRMSDMetric(o):
564  """_object_cast_to_DistanceRMSDMetric(Object o) -> DistanceRMSDMetric"""
565  return _IMP_spb._object_cast_to_DistanceRMSDMetric(o)
566 
567 _object_types.append("Gaussian")
568 
569 
570 def _object_cast_to_Gaussian(o):
571  """_object_cast_to_Gaussian(Object o) -> Gaussian"""
572  return _IMP_spb._object_cast_to_Gaussian(o)
573 
574 _object_types.append("ISDRestraint")
575 
576 
577 _object_types.append("KinkPairScore")
578 
579 
580 def _object_cast_to_KinkPairScore(o):
581  """_object_cast_to_KinkPairScore(Object o) -> KinkPairScore"""
582  return _IMP_spb._object_cast_to_KinkPairScore(o)
583 
584 _object_types.append("MolecularDynamicsWithWte")
585 
586 
587 def _object_cast_to_MolecularDynamicsWithWte(o):
588  """_object_cast_to_MolecularDynamicsWithWte(Object o) -> MolecularDynamicsWithWte"""
589  return _IMP_spb._object_cast_to_MolecularDynamicsWithWte(o)
590 
591 _object_types.append("MonteCarloWithWte")
592 
593 
594 def _object_cast_to_MonteCarloWithWte(o):
595  """_object_cast_to_MonteCarloWithWte(Object o) -> MonteCarloWithWte"""
596  return _IMP_spb._object_cast_to_MonteCarloWithWte(o)
597 
598 _object_types.append("NuisanceRangeModifier")
599 
600 
601 def _object_cast_to_NuisanceRangeModifier(o):
602  """_object_cast_to_NuisanceRangeModifier(Object o) -> NuisanceRangeModifier"""
603  return _IMP_spb._object_cast_to_NuisanceRangeModifier(o)
604 
605 _object_types.append("PbcBoxedMover")
606 
607 
608 def _object_cast_to_PbcBoxedMover(o):
609  """_object_cast_to_PbcBoxedMover(Object o) -> PbcBoxedMover"""
610  return _IMP_spb._object_cast_to_PbcBoxedMover(o)
611 
612 _object_types.append("PbcBoxedRigidBodyMover")
613 
614 
615 def _object_cast_to_PbcBoxedRigidBodyMover(o):
616  """_object_cast_to_PbcBoxedRigidBodyMover(Object o) -> PbcBoxedRigidBodyMover"""
617  return _IMP_spb._object_cast_to_PbcBoxedRigidBodyMover(o)
618 
619 _object_types.append("RigidBodyNewMover")
620 
621 
622 def _object_cast_to_RigidBodyNewMover(o):
623  """_object_cast_to_RigidBodyNewMover(Object o) -> RigidBodyNewMover"""
624  return _IMP_spb._object_cast_to_RigidBodyNewMover(o)
625 
626 _object_types.append("RigidBodyPackingScore")
627 
628 
629 def _object_cast_to_RigidBodyPackingScore(o):
630  """_object_cast_to_RigidBodyPackingScore(Object o) -> RigidBodyPackingScore"""
631  return _IMP_spb._object_cast_to_RigidBodyPackingScore(o)
632 
633 _object_types.append("RMSDMetric")
634 
635 
636 def _object_cast_to_RMSDMetric(o):
637  """_object_cast_to_RMSDMetric(Object o) -> RMSDMetric"""
638  return _IMP_spb._object_cast_to_RMSDMetric(o)
639 
640 _object_types.append("SameParticlePairFilter")
641 
642 
643 def _object_cast_to_SameParticlePairFilter(o):
644  """_object_cast_to_SameParticlePairFilter(Object o) -> SameParticlePairFilter"""
645  return _IMP_spb._object_cast_to_SameParticlePairFilter(o)
646 
647 _object_types.append("SameRigidBodyPairFilter")
648 
649 
650 def _object_cast_to_SameRigidBodyPairFilter(o):
651  """_object_cast_to_SameRigidBodyPairFilter(Object o) -> SameRigidBodyPairFilter"""
652  return _IMP_spb._object_cast_to_SameRigidBodyPairFilter(o)
653 
654 _object_types.append("TiltSingletonScore")
655 
656 
657 def _object_cast_to_TiltSingletonScore(o):
658  """_object_cast_to_TiltSingletonScore(Object o) -> TiltSingletonScore"""
659  return _IMP_spb._object_cast_to_TiltSingletonScore(o)
660 
661 _object_types.append("TransformationSymmetry")
662 
663 
664 _object_types.append("TwoStateGoModelRestraint")
665 
666 
667 def _object_cast_to_TwoStateGoModelRestraint(o):
668  """_object_cast_to_TwoStateGoModelRestraint(Object o) -> TwoStateGoModelRestraint"""
669  return _IMP_spb._object_cast_to_TwoStateGoModelRestraint(o)
670 
671 _object_types.append("UniformBoundedRestraint")
672 
673 
674 def _object_cast_to_UniformBoundedRestraint(o):
675  """_object_cast_to_UniformBoundedRestraint(Object o) -> UniformBoundedRestraint"""
676  return _IMP_spb._object_cast_to_UniformBoundedRestraint(o)
677 class AttributeDistancePairScore(IMP.PairScore):
678  """Proxy of C++ IMP::spb::AttributeDistancePairScore class."""
679 
680  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
681 
682  def __init__(self, f, k):
683  """__init__(IMP::spb::AttributeDistancePairScore self, UnaryFunction f, FloatKey k) -> AttributeDistancePairScore"""
684  this = _IMP_spb.new_AttributeDistancePairScore(f, k)
685  try:
686  self.this.append(this)
687  except __builtin__.Exception:
688  self.this = this
689 
690  def do_get_inputs(self, m, pis):
691  """do_get_inputs(AttributeDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
692  return _IMP_spb.AttributeDistancePairScore_do_get_inputs(self, m, pis)
693 
694 
695  def get_version_info(self):
696  """get_version_info(AttributeDistancePairScore self) -> VersionInfo"""
697  return _IMP_spb.AttributeDistancePairScore_get_version_info(self)
698 
699 
700  def show(self, *args):
701  """
702  show(AttributeDistancePairScore self, _ostream out)
703  show(AttributeDistancePairScore self)
704  """
705  return _IMP_spb.AttributeDistancePairScore_show(self, *args)
706 
707 
708  def __str__(self):
709  """__str__(AttributeDistancePairScore self) -> std::string"""
710  return _IMP_spb.AttributeDistancePairScore___str__(self)
711 
712 
713  def __repr__(self):
714  """__repr__(AttributeDistancePairScore self) -> std::string"""
715  return _IMP_spb.AttributeDistancePairScore___repr__(self)
716 
717 
718  @staticmethod
719  def get_from(o):
720  return _object_cast_to_AttributeDistancePairScore(o)
721 
722 AttributeDistancePairScore_swigregister = _IMP_spb.AttributeDistancePairScore_swigregister
723 AttributeDistancePairScore_swigregister(AttributeDistancePairScore)
724 
725 class BoxedMover(IMP.core.MonteCarloMover):
726  """Proxy of C++ IMP::spb::BoxedMover class."""
727 
728  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
729 
730  def __init__(self, p, max_tr, centers):
731  """__init__(IMP::spb::BoxedMover self, Particle p, IMP::Float max_tr, IMP::algebra::Vector3Ds centers) -> BoxedMover"""
732  this = _IMP_spb.new_BoxedMover(p, max_tr, centers)
733  try:
734  self.this.append(this)
735  except __builtin__.Exception:
736  self.this = this
737 
738  def get_version_info(self):
739  """get_version_info(BoxedMover self) -> VersionInfo"""
740  return _IMP_spb.BoxedMover_get_version_info(self)
741 
742 
743  def show(self, *args):
744  """
745  show(BoxedMover self, _ostream out)
746  show(BoxedMover self)
747  """
748  return _IMP_spb.BoxedMover_show(self, *args)
749 
750 
751  def __str__(self):
752  """__str__(BoxedMover self) -> std::string"""
753  return _IMP_spb.BoxedMover___str__(self)
754 
755 
756  def __repr__(self):
757  """__repr__(BoxedMover self) -> std::string"""
758  return _IMP_spb.BoxedMover___repr__(self)
759 
760 
761  @staticmethod
762  def get_from(o):
763  return _object_cast_to_BoxedMover(o)
764 
765 BoxedMover_swigregister = _IMP_spb.BoxedMover_swigregister
766 BoxedMover_swigregister(BoxedMover)
767 
768 class CellMover(IMP.core.MonteCarloMover):
769  """Proxy of C++ IMP::spb::CellMover class."""
770 
771  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
772 
773  def __init__(self, p, ps, max_translation):
774  """__init__(IMP::spb::CellMover self, Particle p, IMP::Particles ps, IMP::Float max_translation) -> CellMover"""
775  this = _IMP_spb.new_CellMover(p, ps, max_translation)
776  try:
777  self.this.append(this)
778  except __builtin__.Exception:
779  self.this = this
780 
781  def get_version_info(self):
782  """get_version_info(CellMover self) -> VersionInfo"""
783  return _IMP_spb.CellMover_get_version_info(self)
784 
785 
786  def show(self, *args):
787  """
788  show(CellMover self, _ostream out)
789  show(CellMover self)
790  """
791  return _IMP_spb.CellMover_show(self, *args)
792 
793 
794  def __str__(self):
795  """__str__(CellMover self) -> std::string"""
796  return _IMP_spb.CellMover___str__(self)
797 
798 
799  def __repr__(self):
800  """__repr__(CellMover self) -> std::string"""
801  return _IMP_spb.CellMover___repr__(self)
802 
803 
804  @staticmethod
805  def get_from(o):
806  return _object_cast_to_CellMover(o)
807 
808 CellMover_swigregister = _IMP_spb.CellMover_swigregister
809 CellMover_swigregister(CellMover)
810 
811 class ChiSquareMetric(IMP.statistics.Metric):
812  """Proxy of C++ IMP::spb::ChiSquareMetric class."""
813 
814  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
815 
816  def __init__(self, nu_exp, constr_type=0):
817  """
818  __init__(IMP::spb::ChiSquareMetric self, IMP::Floats nu_exp, int constr_type=0) -> ChiSquareMetric
819  __init__(IMP::spb::ChiSquareMetric self, IMP::Floats nu_exp) -> ChiSquareMetric
820  """
821  this = _IMP_spb.new_ChiSquareMetric(nu_exp, constr_type)
822  try:
823  self.this.append(this)
824  except __builtin__.Exception:
825  self.this = this
826 
827  def add_configuration(self, nu, stddev, weight=1.0):
828  """
829  add_configuration(ChiSquareMetric self, IMP::Floats nu, IMP::Floats stddev, double weight=1.0)
830  add_configuration(ChiSquareMetric self, IMP::Floats nu, IMP::Floats stddev)
831  """
832  return _IMP_spb.ChiSquareMetric_add_configuration(self, nu, stddev, weight)
833 
834 
835  def get_nu(self, i):
836  """get_nu(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
837  return _IMP_spb.ChiSquareMetric_get_nu(self, i)
838 
839 
840  def get_stddev(self, i):
841  """get_stddev(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
842  return _IMP_spb.ChiSquareMetric_get_stddev(self, i)
843 
844 
845  def get_weight(self, i):
846  """get_weight(ChiSquareMetric self, unsigned int i) -> IMP::Float"""
847  return _IMP_spb.ChiSquareMetric_get_weight(self, i)
848 
849 
850  def get_chisquare_exp(self, i):
851  """get_chisquare_exp(ChiSquareMetric self, unsigned int i) -> double"""
852  return _IMP_spb.ChiSquareMetric_get_chisquare_exp(self, i)
853 
854 
855  def get_version_info(self):
856  """get_version_info(ChiSquareMetric self) -> VersionInfo"""
857  return _IMP_spb.ChiSquareMetric_get_version_info(self)
858 
859 
860  def __str__(self):
861  """__str__(ChiSquareMetric self) -> std::string"""
862  return _IMP_spb.ChiSquareMetric___str__(self)
863 
864 
865  def __repr__(self):
866  """__repr__(ChiSquareMetric self) -> std::string"""
867  return _IMP_spb.ChiSquareMetric___repr__(self)
868 
869 
870  @staticmethod
871  def get_from(o):
872  return _object_cast_to_ChiSquareMetric(o)
873 
874 ChiSquareMetric_swigregister = _IMP_spb.ChiSquareMetric_swigregister
875 ChiSquareMetric_swigregister(ChiSquareMetric)
876 
877 class ContactMapMetric(IMP.statistics.Metric):
878  """Proxy of C++ IMP::spb::ContactMapMetric class."""
879 
880  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
881 
882  def __init__(self, ps, r0, nn, mm):
883  """__init__(IMP::spb::ContactMapMetric self, IMP::Particles ps, double r0, int nn, int mm) -> ContactMapMetric"""
884  this = _IMP_spb.new_ContactMapMetric(ps, r0, nn, mm)
885  try:
886  self.this.append(this)
887  except __builtin__.Exception:
888  self.this = this
889 
890  def add_configuration(self, weight=1.0):
891  """
892  add_configuration(ContactMapMetric self, double weight=1.0)
893  add_configuration(ContactMapMetric self)
894  """
895  return _IMP_spb.ContactMapMetric_add_configuration(self, weight)
896 
897 
898  def add_map(self, matrix, weight=1.0):
899  """
900  add_map(ContactMapMetric self, IMP::Floats matrix, double weight=1.0)
901  add_map(ContactMapMetric self, IMP::Floats matrix)
902  """
903  return _IMP_spb.ContactMapMetric_add_map(self, matrix, weight)
904 
905 
906  def get_weight(self, i):
907  """get_weight(ContactMapMetric self, unsigned int i) -> IMP::Float"""
908  return _IMP_spb.ContactMapMetric_get_weight(self, i)
909 
910 
911  def get_item(self, i):
912  """get_item(ContactMapMetric self, unsigned int i) -> IMP::Floats"""
913  return _IMP_spb.ContactMapMetric_get_item(self, i)
914 
915 
916  def get_version_info(self):
917  """get_version_info(ContactMapMetric self) -> VersionInfo"""
918  return _IMP_spb.ContactMapMetric_get_version_info(self)
919 
920 
921  def __str__(self):
922  """__str__(ContactMapMetric self) -> std::string"""
923  return _IMP_spb.ContactMapMetric___str__(self)
924 
925 
926  def __repr__(self):
927  """__repr__(ContactMapMetric self) -> std::string"""
928  return _IMP_spb.ContactMapMetric___repr__(self)
929 
930 
931  @staticmethod
932  def get_from(o):
933  return _object_cast_to_ContactMapMetric(o)
934 
935 ContactMapMetric_swigregister = _IMP_spb.ContactMapMetric_swigregister
936 ContactMapMetric_swigregister(ContactMapMetric)
937 
938 class DiameterRgyrRestraint(IMP.Restraint):
939  """Proxy of C++ IMP::spb::DiameterRgyrRestraint class."""
940 
941  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
942 
943  def __init__(self, ps, diameter, rgyr, kappa):
944  """__init__(IMP::spb::DiameterRgyrRestraint self, IMP::Particles ps, IMP::Float diameter, IMP::Float rgyr, IMP::Float kappa) -> DiameterRgyrRestraint"""
945  this = _IMP_spb.new_DiameterRgyrRestraint(ps, diameter, rgyr, kappa)
946  try:
947  self.this.append(this)
948  except __builtin__.Exception:
949  self.this = this
950 
951  def do_get_inputs(self):
952  """do_get_inputs(DiameterRgyrRestraint self) -> IMP::ModelObjectsTemp"""
953  return _IMP_spb.DiameterRgyrRestraint_do_get_inputs(self)
954 
955 
956  def get_version_info(self):
957  """get_version_info(DiameterRgyrRestraint self) -> VersionInfo"""
958  return _IMP_spb.DiameterRgyrRestraint_get_version_info(self)
959 
960 
961  def __str__(self):
962  """__str__(DiameterRgyrRestraint self) -> std::string"""
963  return _IMP_spb.DiameterRgyrRestraint___str__(self)
964 
965 
966  def __repr__(self):
967  """__repr__(DiameterRgyrRestraint self) -> std::string"""
968  return _IMP_spb.DiameterRgyrRestraint___repr__(self)
969 
970 
971  @staticmethod
972  def get_from(o):
973  return _object_cast_to_DiameterRgyrRestraint(o)
974 
975 DiameterRgyrRestraint_swigregister = _IMP_spb.DiameterRgyrRestraint_swigregister
976 DiameterRgyrRestraint_swigregister(DiameterRgyrRestraint)
977 
978 class DistanceRMSDMetric(IMP.statistics.Metric):
979  """Proxy of C++ IMP::spb::DistanceRMSDMetric class."""
980 
981  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
982 
983  def __init__(self, ps, align, tr, px, py, pz):
984  """__init__(IMP::spb::DistanceRMSDMetric self, IMP::Particles ps, IMP::Ints align, IMP::algebra::Transformation3Ds tr, Particle px, Particle py, Particle pz) -> DistanceRMSDMetric"""
985  this = _IMP_spb.new_DistanceRMSDMetric(ps, align, tr, px, py, pz)
986  try:
987  self.this.append(this)
988  except __builtin__.Exception:
989  self.this = this
990 
991  def add_configuration(self, weight=1.0):
992  """
993  add_configuration(DistanceRMSDMetric self, double weight=1.0)
994  add_configuration(DistanceRMSDMetric self)
995  """
996  return _IMP_spb.DistanceRMSDMetric_add_configuration(self, weight)
997 
998 
999  def get_weight(self, i):
1000  """get_weight(DistanceRMSDMetric self, unsigned int i) -> IMP::Float"""
1001  return _IMP_spb.DistanceRMSDMetric_get_weight(self, i)
1002 
1003 
1004  def get_version_info(self):
1005  """get_version_info(DistanceRMSDMetric self) -> VersionInfo"""
1006  return _IMP_spb.DistanceRMSDMetric_get_version_info(self)
1007 
1008 
1009  def __str__(self):
1010  """__str__(DistanceRMSDMetric self) -> std::string"""
1011  return _IMP_spb.DistanceRMSDMetric___str__(self)
1012 
1013 
1014  def __repr__(self):
1015  """__repr__(DistanceRMSDMetric self) -> std::string"""
1016  return _IMP_spb.DistanceRMSDMetric___repr__(self)
1017 
1018 
1019  @staticmethod
1020  def get_from(o):
1021  return _object_cast_to_DistanceRMSDMetric(o)
1022 
1023 DistanceRMSDMetric_swigregister = _IMP_spb.DistanceRMSDMetric_swigregister
1024 DistanceRMSDMetric_swigregister(DistanceRMSDMetric)
1025 
1026 
1027 def create_gromos_clustering(d, cutoff):
1028  """create_gromos_clustering(Metric d, double cutoff) -> PartitionalClustering"""
1029  return _IMP_spb.create_gromos_clustering(d, cutoff)
1030 class Gaussian(IMP.UnaryFunction):
1031  """Proxy of C++ IMP::spb::Gaussian class."""
1032 
1033  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1034 
1035  def __init__(self, Emin, Zmin, sigma):
1036  """__init__(IMP::spb::Gaussian self, IMP::Float Emin, IMP::Float Zmin, IMP::Float sigma) -> Gaussian"""
1037  this = _IMP_spb.new_Gaussian(Emin, Zmin, sigma)
1038  try:
1039  self.this.append(this)
1040  except __builtin__.Exception:
1041  self.this = this
1042 
1043  def get_version_info(self):
1044  """get_version_info(Gaussian self) -> VersionInfo"""
1045  return _IMP_spb.Gaussian_get_version_info(self)
1046 
1047 
1048  def __str__(self):
1049  """__str__(Gaussian self) -> std::string"""
1050  return _IMP_spb.Gaussian___str__(self)
1051 
1052 
1053  def __repr__(self):
1054  """__repr__(Gaussian self) -> std::string"""
1055  return _IMP_spb.Gaussian___repr__(self)
1056 
1057 
1058  @staticmethod
1059  def get_from(o):
1060  return _object_cast_to_Gaussian(o)
1061 
1062 Gaussian_swigregister = _IMP_spb.Gaussian_swigregister
1063 Gaussian_swigregister(Gaussian)
1064 
1065 class HelixDecorator(IMP.Decorator):
1066  """Proxy of C++ IMP::spb::HelixDecorator class."""
1067 
1068  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1069 
1070  def __init__(self, *args):
1071  """
1072  __init__(IMP::spb::HelixDecorator self) -> HelixDecorator
1073  __init__(IMP::spb::HelixDecorator self, Model m, ParticleIndex id) -> HelixDecorator
1074  __init__(IMP::spb::HelixDecorator self, _ParticleAdaptor d) -> HelixDecorator
1075  """
1076  this = _IMP_spb.new_HelixDecorator(*args)
1077  try:
1078  self.this.append(this)
1079  except __builtin__.Exception:
1080  self.this = this
1081 
1082  def show(self, *args):
1083  """
1084  show(HelixDecorator self, _ostream out)
1085  show(HelixDecorator self)
1086  """
1087  return _IMP_spb.HelixDecorator_show(self, *args)
1088 
1089 
1090  def setup_particle(p, b, e):
1091  """setup_particle(Particle p, IMP::Float b, IMP::Float e) -> HelixDecorator"""
1092  return _IMP_spb.HelixDecorator_setup_particle(p, b, e)
1093 
1094  setup_particle = staticmethod(setup_particle)
1095 
1096  def get_begin(self):
1097  """get_begin(HelixDecorator self) -> IMP::Float"""
1098  return _IMP_spb.HelixDecorator_get_begin(self)
1099 
1100 
1101  def get_end(self):
1102  """get_end(HelixDecorator self) -> IMP::Float"""
1103  return _IMP_spb.HelixDecorator_get_end(self)
1104 
1105 
1106  def get_is_setup(*args):
1107  """
1108  get_is_setup(_ParticleAdaptor p) -> bool
1109  get_is_setup(Model m, ParticleIndex id) -> bool
1110  """
1111  return _IMP_spb.HelixDecorator_get_is_setup(*args)
1112 
1113  get_is_setup = staticmethod(get_is_setup)
1114 
1115  def set_begin(self, v):
1116  """set_begin(HelixDecorator self, IMP::Float v)"""
1117  return _IMP_spb.HelixDecorator_set_begin(self, v)
1118 
1119 
1120  def set_end(self, v):
1121  """set_end(HelixDecorator self, IMP::Float v)"""
1122  return _IMP_spb.HelixDecorator_set_end(self, v)
1123 
1124 
1125  def add_attribute(self, *args):
1126  """
1127  add_attribute(HelixDecorator self, FloatKey k, IMP::Float v, bool opt)
1128  add_attribute(HelixDecorator self, FloatKey a0, IMP::Float a1)
1129  add_attribute(HelixDecorator self, IntKey a0, IMP::Int a1)
1130  add_attribute(HelixDecorator self, StringKey a0, IMP::String a1)
1131  add_attribute(HelixDecorator self, ParticleIndexKey a0, Particle a1)
1132  add_attribute(HelixDecorator self, ObjectKey a0, Object a1)
1133  """
1134  return _IMP_spb.HelixDecorator_add_attribute(self, *args)
1135 
1136 
1137  def get_value(self, *args):
1138  """
1139  get_value(HelixDecorator self, FloatKey a0) -> IMP::Float
1140  get_value(HelixDecorator self, IntKey a0) -> IMP::Int
1141  get_value(HelixDecorator self, StringKey a0) -> IMP::String
1142  get_value(HelixDecorator self, ParticleIndexKey a0) -> Particle
1143  get_value(HelixDecorator self, ObjectKey a0) -> Object
1144  """
1145  return _IMP_spb.HelixDecorator_get_value(self, *args)
1146 
1147 
1148  def set_value(self, *args):
1149  """
1150  set_value(HelixDecorator self, FloatKey a0, IMP::Float a1)
1151  set_value(HelixDecorator self, IntKey a0, IMP::Int a1)
1152  set_value(HelixDecorator self, StringKey a0, IMP::String a1)
1153  set_value(HelixDecorator self, ParticleIndexKey a0, Particle a1)
1154  set_value(HelixDecorator self, ObjectKey a0, Object a1)
1155  """
1156  return _IMP_spb.HelixDecorator_set_value(self, *args)
1157 
1158 
1159  def remove_attribute(self, *args):
1160  """
1161  remove_attribute(HelixDecorator self, FloatKey a0)
1162  remove_attribute(HelixDecorator self, IntKey a0)
1163  remove_attribute(HelixDecorator self, StringKey a0)
1164  remove_attribute(HelixDecorator self, ParticleIndexKey a0)
1165  remove_attribute(HelixDecorator self, ObjectKey a0)
1166  """
1167  return _IMP_spb.HelixDecorator_remove_attribute(self, *args)
1168 
1169 
1170  def has_attribute(self, *args):
1171  """
1172  has_attribute(HelixDecorator self, FloatKey a0) -> bool
1173  has_attribute(HelixDecorator self, IntKey a0) -> bool
1174  has_attribute(HelixDecorator self, StringKey a0) -> bool
1175  has_attribute(HelixDecorator self, ParticleIndexKey a0) -> bool
1176  has_attribute(HelixDecorator self, ObjectKey a0) -> bool
1177  """
1178  return _IMP_spb.HelixDecorator_has_attribute(self, *args)
1179 
1180 
1181  def get_derivative(self, a0):
1182  """get_derivative(HelixDecorator self, FloatKey a0) -> double"""
1183  return _IMP_spb.HelixDecorator_get_derivative(self, a0)
1184 
1185 
1186  def get_name(self):
1187  """get_name(HelixDecorator self) -> std::string"""
1188  return _IMP_spb.HelixDecorator_get_name(self)
1189 
1190 
1191  def clear_caches(self):
1192  """clear_caches(HelixDecorator self)"""
1193  return _IMP_spb.HelixDecorator_clear_caches(self)
1194 
1195 
1196  def set_name(self, a0):
1197  """set_name(HelixDecorator self, std::string a0)"""
1198  return _IMP_spb.HelixDecorator_set_name(self, a0)
1199 
1200 
1201  def set_check_level(self, a0):
1202  """set_check_level(HelixDecorator self, IMP::CheckLevel a0)"""
1203  return _IMP_spb.HelixDecorator_set_check_level(self, a0)
1204 
1205 
1206  def add_to_derivative(self, a0, a1, a2):
1207  """add_to_derivative(HelixDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1208  return _IMP_spb.HelixDecorator_add_to_derivative(self, a0, a1, a2)
1209 
1210 
1211  def set_is_optimized(self, a0, a1):
1212  """set_is_optimized(HelixDecorator self, FloatKey a0, bool a1)"""
1213  return _IMP_spb.HelixDecorator_set_is_optimized(self, a0, a1)
1214 
1215 
1216  def get_is_optimized(self, a0):
1217  """get_is_optimized(HelixDecorator self, FloatKey a0) -> bool"""
1218  return _IMP_spb.HelixDecorator_get_is_optimized(self, a0)
1219 
1220 
1221  def get_check_level(self):
1222  """get_check_level(HelixDecorator self) -> IMP::CheckLevel"""
1223  return _IMP_spb.HelixDecorator_get_check_level(self)
1224 
1225 
1226  def __eq__(self, *args):
1227  """
1228  __eq__(HelixDecorator self, HelixDecorator o) -> bool
1229  __eq__(HelixDecorator self, Particle d) -> bool
1230  """
1231  return _IMP_spb.HelixDecorator___eq__(self, *args)
1232 
1233 
1234  def __ne__(self, *args):
1235  """
1236  __ne__(HelixDecorator self, HelixDecorator o) -> bool
1237  __ne__(HelixDecorator self, Particle d) -> bool
1238  """
1239  return _IMP_spb.HelixDecorator___ne__(self, *args)
1240 
1241 
1242  def __le__(self, *args):
1243  """
1244  __le__(HelixDecorator self, HelixDecorator o) -> bool
1245  __le__(HelixDecorator self, Particle d) -> bool
1246  """
1247  return _IMP_spb.HelixDecorator___le__(self, *args)
1248 
1249 
1250  def __lt__(self, *args):
1251  """
1252  __lt__(HelixDecorator self, HelixDecorator o) -> bool
1253  __lt__(HelixDecorator self, Particle d) -> bool
1254  """
1255  return _IMP_spb.HelixDecorator___lt__(self, *args)
1256 
1257 
1258  def __ge__(self, *args):
1259  """
1260  __ge__(HelixDecorator self, HelixDecorator o) -> bool
1261  __ge__(HelixDecorator self, Particle d) -> bool
1262  """
1263  return _IMP_spb.HelixDecorator___ge__(self, *args)
1264 
1265 
1266  def __gt__(self, *args):
1267  """
1268  __gt__(HelixDecorator self, HelixDecorator o) -> bool
1269  __gt__(HelixDecorator self, Particle d) -> bool
1270  """
1271  return _IMP_spb.HelixDecorator___gt__(self, *args)
1272 
1273 
1274  def __hash__(self):
1275  """__hash__(HelixDecorator self) -> std::size_t"""
1276  return _IMP_spb.HelixDecorator___hash__(self)
1277 
1278 
1279  def __str__(self):
1280  """__str__(HelixDecorator self) -> std::string"""
1281  return _IMP_spb.HelixDecorator___str__(self)
1282 
1283 
1284  def __repr__(self):
1285  """__repr__(HelixDecorator self) -> std::string"""
1286  return _IMP_spb.HelixDecorator___repr__(self)
1287 
1288  __swig_destroy__ = _IMP_spb.delete_HelixDecorator
1289  __del__ = lambda self: None
1290 HelixDecorator_swigregister = _IMP_spb.HelixDecorator_swigregister
1291 HelixDecorator_swigregister(HelixDecorator)
1292 
1293 def HelixDecorator_setup_particle(p, b, e):
1294  """HelixDecorator_setup_particle(Particle p, IMP::Float b, IMP::Float e) -> HelixDecorator"""
1295  return _IMP_spb.HelixDecorator_setup_particle(p, b, e)
1296 
1297 def HelixDecorator_get_is_setup(*args):
1298  """
1299  get_is_setup(_ParticleAdaptor p) -> bool
1300  HelixDecorator_get_is_setup(Model m, ParticleIndex id) -> bool
1301  """
1302  return _IMP_spb.HelixDecorator_get_is_setup(*args)
1303 
1304 class ISDRestraint(IMP.Restraint):
1305  """Proxy of C++ IMP::spb::ISDRestraint class."""
1306 
1307  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1308 
1309  def __init__(self, *args, **kwargs):
1310  raise AttributeError("No constructor defined - class is abstract")
1311 
1312  def get_probability(self):
1313  """get_probability(ISDRestraint self) -> double"""
1314  return _IMP_spb.ISDRestraint_get_probability(self)
1315 
1316 
1317  def __str__(self):
1318  """__str__(ISDRestraint self) -> std::string"""
1319  return _IMP_spb.ISDRestraint___str__(self)
1320 
1321 
1322  def __repr__(self):
1323  """__repr__(ISDRestraint self) -> std::string"""
1324  return _IMP_spb.ISDRestraint___repr__(self)
1325 
1326 
1327  @staticmethod
1328  def get_from(o):
1329  return _object_cast_to_ISDRestraint(o)
1330 
1331  __swig_destroy__ = _IMP_spb.delete_ISDRestraint
1332  __del__ = lambda self: None
1333 ISDRestraint_swigregister = _IMP_spb.ISDRestraint_swigregister
1334 ISDRestraint_swigregister(ISDRestraint)
1335 
1336 class KinkPairScore(IMP.PairScore):
1337  """Proxy of C++ IMP::spb::KinkPairScore class."""
1338 
1339  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1340 
1341  def __init__(self, f):
1342  """__init__(IMP::spb::KinkPairScore self, UnaryFunction f) -> KinkPairScore"""
1343  this = _IMP_spb.new_KinkPairScore(f)
1344  try:
1345  self.this.append(this)
1346  except __builtin__.Exception:
1347  self.this = this
1348 
1349  def do_get_inputs(self, m, pis):
1350  """do_get_inputs(KinkPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1351  return _IMP_spb.KinkPairScore_do_get_inputs(self, m, pis)
1352 
1353 
1354  def get_version_info(self):
1355  """get_version_info(KinkPairScore self) -> VersionInfo"""
1356  return _IMP_spb.KinkPairScore_get_version_info(self)
1357 
1358 
1359  def show(self, *args):
1360  """
1361  show(KinkPairScore self, _ostream out)
1362  show(KinkPairScore self)
1363  """
1364  return _IMP_spb.KinkPairScore_show(self, *args)
1365 
1366 
1367  def __str__(self):
1368  """__str__(KinkPairScore self) -> std::string"""
1369  return _IMP_spb.KinkPairScore___str__(self)
1370 
1371 
1372  def __repr__(self):
1373  """__repr__(KinkPairScore self) -> std::string"""
1374  return _IMP_spb.KinkPairScore___repr__(self)
1375 
1376 
1377  @staticmethod
1378  def get_from(o):
1379  return _object_cast_to_KinkPairScore(o)
1380 
1381 KinkPairScore_swigregister = _IMP_spb.KinkPairScore_swigregister
1382 KinkPairScore_swigregister(KinkPairScore)
1383 
1384 class MolecularDynamicsWithWte(IMP.atom.Simulator):
1385  """Proxy of C++ IMP::spb::MolecularDynamicsWithWte class."""
1386 
1387  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1388 
1389  def __init__(self, m, emin, emax, sigma, gamma, w0):
1390  """__init__(IMP::spb::MolecularDynamicsWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0) -> MolecularDynamicsWithWte"""
1391  this = _IMP_spb.new_MolecularDynamicsWithWte(m, emin, emax, sigma, gamma, w0)
1392  try:
1393  self.this.append(this)
1394  except __builtin__.Exception:
1395  self.this = this
1396 
1397  def get_bias(self, score):
1398  """get_bias(MolecularDynamicsWithWte self, double score) -> double"""
1399  return _IMP_spb.MolecularDynamicsWithWte_get_bias(self, score)
1400 
1401 
1402  def get_bias_buffer(self):
1403  """get_bias_buffer(MolecularDynamicsWithWte self) -> IMP::Floats"""
1404  return _IMP_spb.MolecularDynamicsWithWte_get_bias_buffer(self)
1405 
1406 
1407  def get_nbin(self):
1408  """get_nbin(MolecularDynamicsWithWte self) -> int"""
1409  return _IMP_spb.MolecularDynamicsWithWte_get_nbin(self)
1410 
1411 
1412  def set_w0(self, w0):
1413  """set_w0(MolecularDynamicsWithWte self, double w0)"""
1414  return _IMP_spb.MolecularDynamicsWithWte_set_w0(self, w0)
1415 
1416 
1417  def set_bias(self, bias):
1418  """set_bias(MolecularDynamicsWithWte self, IMP::Floats const & bias)"""
1419  return _IMP_spb.MolecularDynamicsWithWte_set_bias(self, bias)
1420 
1421 
1422  def get_kinetic_energy(self):
1423  """get_kinetic_energy(MolecularDynamicsWithWte self) -> IMP::Float"""
1424  return _IMP_spb.MolecularDynamicsWithWte_get_kinetic_energy(self)
1425 
1426 
1427  def get_kinetic_temperature(self, ekinetic):
1428  """get_kinetic_temperature(MolecularDynamicsWithWte self, IMP::Float ekinetic) -> IMP::Float"""
1429  return _IMP_spb.MolecularDynamicsWithWte_get_kinetic_temperature(self, ekinetic)
1430 
1431 
1432  def set_velocity_cap(self, velocity_cap):
1433  """set_velocity_cap(MolecularDynamicsWithWte self, IMP::Float velocity_cap)"""
1434  return _IMP_spb.MolecularDynamicsWithWte_set_velocity_cap(self, velocity_cap)
1435 
1436 
1437  def assign_velocities(self, temperature):
1438  """assign_velocities(MolecularDynamicsWithWte self, IMP::Float temperature)"""
1439  return _IMP_spb.MolecularDynamicsWithWte_assign_velocities(self, temperature)
1440 
1441 
1442  def rescale_velocities(self, rescale):
1443  """rescale_velocities(MolecularDynamicsWithWte self, IMP::Float rescale)"""
1444  return _IMP_spb.MolecularDynamicsWithWte_rescale_velocities(self, rescale)
1445 
1446 
1447  def setup(self, ps):
1448  """setup(MolecularDynamicsWithWte self, IMP::ParticleIndexes const & ps)"""
1449  return _IMP_spb.MolecularDynamicsWithWte_setup(self, ps)
1450 
1451 
1452  def do_step(self, sc, dt):
1453  """do_step(MolecularDynamicsWithWte self, IMP::ParticleIndexes const & sc, double dt) -> double"""
1454  return _IMP_spb.MolecularDynamicsWithWte_do_step(self, sc, dt)
1455 
1456 
1457  def get_is_simulation_particle(self, p):
1458  """get_is_simulation_particle(MolecularDynamicsWithWte self, ParticleIndex p) -> bool"""
1459  return _IMP_spb.MolecularDynamicsWithWte_get_is_simulation_particle(self, p)
1460 
1461 
1462  def __str__(self):
1463  """__str__(MolecularDynamicsWithWte self) -> std::string"""
1464  return _IMP_spb.MolecularDynamicsWithWte___str__(self)
1465 
1466 
1467  def __repr__(self):
1468  """__repr__(MolecularDynamicsWithWte self) -> std::string"""
1469  return _IMP_spb.MolecularDynamicsWithWte___repr__(self)
1470 
1471 
1472  @staticmethod
1473  def get_from(o):
1474  return _object_cast_to_MolecularDynamicsWithWte(o)
1475 
1476  __swig_destroy__ = _IMP_spb.delete_MolecularDynamicsWithWte
1477  __del__ = lambda self: None
1478 MolecularDynamicsWithWte_swigregister = _IMP_spb.MolecularDynamicsWithWte_swigregister
1479 MolecularDynamicsWithWte_swigregister(MolecularDynamicsWithWte)
1480 
1481 class MonteCarloWithWte(IMP.core.MonteCarlo):
1482  """Proxy of C++ IMP::spb::MonteCarloWithWte class."""
1483 
1484  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1485 
1486  def __init__(self, *args):
1487  """
1488  __init__(IMP::spb::MonteCarloWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0) -> MonteCarloWithWte
1489  __init__(IMP::spb::MonteCarloWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0, RestraintSet rset) -> MonteCarloWithWte
1490  """
1491  this = _IMP_spb.new_MonteCarloWithWte(*args)
1492  try:
1493  self.this.append(this)
1494  except __builtin__.Exception:
1495  self.this = this
1496 
1497  def get_bias(self, score):
1498  """get_bias(MonteCarloWithWte self, double score) -> double"""
1499  return _IMP_spb.MonteCarloWithWte_get_bias(self, score)
1500 
1501 
1502  def get_bias_asfloats(self):
1503  """get_bias_asfloats(MonteCarloWithWte self) -> IMP::Floats"""
1504  return _IMP_spb.MonteCarloWithWte_get_bias_asfloats(self)
1505 
1506 
1507  def get_nbin(self):
1508  """get_nbin(MonteCarloWithWte self) -> int"""
1509  return _IMP_spb.MonteCarloWithWte_get_nbin(self)
1510 
1511 
1512  def set_w0(self, w0):
1513  """set_w0(MonteCarloWithWte self, double w0)"""
1514  return _IMP_spb.MonteCarloWithWte_set_w0(self, w0)
1515 
1516 
1517  def set_bias(self, bias):
1518  """set_bias(MonteCarloWithWte self, IMP::Floats const & bias)"""
1519  return _IMP_spb.MonteCarloWithWte_set_bias(self, bias)
1520 
1521 
1522  def do_step(self):
1523  """do_step(MonteCarloWithWte self)"""
1524  return _IMP_spb.MonteCarloWithWte_do_step(self)
1525 
1526 
1527  def __str__(self):
1528  """__str__(MonteCarloWithWte self) -> std::string"""
1529  return _IMP_spb.MonteCarloWithWte___str__(self)
1530 
1531 
1532  def __repr__(self):
1533  """__repr__(MonteCarloWithWte self) -> std::string"""
1534  return _IMP_spb.MonteCarloWithWte___repr__(self)
1535 
1536 
1537  @staticmethod
1538  def get_from(o):
1539  return _object_cast_to_MonteCarloWithWte(o)
1540 
1541 MonteCarloWithWte_swigregister = _IMP_spb.MonteCarloWithWte_swigregister
1542 MonteCarloWithWte_swigregister(MonteCarloWithWte)
1543 
1544 class NuisanceRangeModifier(IMP.SingletonModifier):
1545  """Proxy of C++ IMP::spb::NuisanceRangeModifier class."""
1546 
1547  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1548 
1549  def __init__(self):
1550  """__init__(IMP::spb::NuisanceRangeModifier self) -> NuisanceRangeModifier"""
1551  this = _IMP_spb.new_NuisanceRangeModifier()
1552  try:
1553  self.this.append(this)
1554  except __builtin__.Exception:
1555  self.this = this
1556 
1557  def do_get_inputs(self, m, pis):
1558  """do_get_inputs(NuisanceRangeModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1559  return _IMP_spb.NuisanceRangeModifier_do_get_inputs(self, m, pis)
1560 
1561 
1562  def do_get_outputs(self, m, pis):
1563  """do_get_outputs(NuisanceRangeModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1564  return _IMP_spb.NuisanceRangeModifier_do_get_outputs(self, m, pis)
1565 
1566 
1567  def get_version_info(self):
1568  """get_version_info(NuisanceRangeModifier self) -> VersionInfo"""
1569  return _IMP_spb.NuisanceRangeModifier_get_version_info(self)
1570 
1571 
1572  def show(self, *args):
1573  """
1574  show(NuisanceRangeModifier self, _ostream out)
1575  show(NuisanceRangeModifier self)
1576  """
1577  return _IMP_spb.NuisanceRangeModifier_show(self, *args)
1578 
1579 
1580  def __str__(self):
1581  """__str__(NuisanceRangeModifier self) -> std::string"""
1582  return _IMP_spb.NuisanceRangeModifier___str__(self)
1583 
1584 
1585  def __repr__(self):
1586  """__repr__(NuisanceRangeModifier self) -> std::string"""
1587  return _IMP_spb.NuisanceRangeModifier___repr__(self)
1588 
1589 
1590  @staticmethod
1591  def get_from(o):
1592  return _object_cast_to_NuisanceRangeModifier(o)
1593 
1594 NuisanceRangeModifier_swigregister = _IMP_spb.NuisanceRangeModifier_swigregister
1595 NuisanceRangeModifier_swigregister(NuisanceRangeModifier)
1596 
1597 class PbcBoxedMover(IMP.core.MonteCarloMover):
1598  """Proxy of C++ IMP::spb::PbcBoxedMover class."""
1599 
1600  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1601 
1602  def __init__(self, p, ps, max_tr, centers, transformations, px, py, pz):
1603  """__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"""
1604  this = _IMP_spb.new_PbcBoxedMover(p, ps, max_tr, centers, transformations, px, py, pz)
1605  try:
1606  self.this.append(this)
1607  except __builtin__.Exception:
1608  self.this = this
1609 
1610  def get_version_info(self):
1611  """get_version_info(PbcBoxedMover self) -> VersionInfo"""
1612  return _IMP_spb.PbcBoxedMover_get_version_info(self)
1613 
1614 
1615  def show(self, *args):
1616  """
1617  show(PbcBoxedMover self, _ostream out)
1618  show(PbcBoxedMover self)
1619  """
1620  return _IMP_spb.PbcBoxedMover_show(self, *args)
1621 
1622 
1623  def __str__(self):
1624  """__str__(PbcBoxedMover self) -> std::string"""
1625  return _IMP_spb.PbcBoxedMover___str__(self)
1626 
1627 
1628  def __repr__(self):
1629  """__repr__(PbcBoxedMover self) -> std::string"""
1630  return _IMP_spb.PbcBoxedMover___repr__(self)
1631 
1632 
1633  @staticmethod
1634  def get_from(o):
1635  return _object_cast_to_PbcBoxedMover(o)
1636 
1637 PbcBoxedMover_swigregister = _IMP_spb.PbcBoxedMover_swigregister
1638 PbcBoxedMover_swigregister(PbcBoxedMover)
1639 
1640 class PbcBoxedRigidBodyMover(IMP.core.MonteCarloMover):
1641  """Proxy of C++ IMP::spb::PbcBoxedRigidBodyMover class."""
1642 
1643  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1644 
1645  def __init__(self, d, ps, max_translation, max_rotation, centers, transformations, px, py, pz):
1646  """__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"""
1647  this = _IMP_spb.new_PbcBoxedRigidBodyMover(d, ps, max_translation, max_rotation, centers, transformations, px, py, pz)
1648  try:
1649  self.this.append(this)
1650  except __builtin__.Exception:
1651  self.this = this
1652 
1653  def get_version_info(self):
1654  """get_version_info(PbcBoxedRigidBodyMover self) -> VersionInfo"""
1655  return _IMP_spb.PbcBoxedRigidBodyMover_get_version_info(self)
1656 
1657 
1658  def show(self, *args):
1659  """
1660  show(PbcBoxedRigidBodyMover self, _ostream out)
1661  show(PbcBoxedRigidBodyMover self)
1662  """
1663  return _IMP_spb.PbcBoxedRigidBodyMover_show(self, *args)
1664 
1665 
1666  def __str__(self):
1667  """__str__(PbcBoxedRigidBodyMover self) -> std::string"""
1668  return _IMP_spb.PbcBoxedRigidBodyMover___str__(self)
1669 
1670 
1671  def __repr__(self):
1672  """__repr__(PbcBoxedRigidBodyMover self) -> std::string"""
1673  return _IMP_spb.PbcBoxedRigidBodyMover___repr__(self)
1674 
1675 
1676  @staticmethod
1677  def get_from(o):
1678  return _object_cast_to_PbcBoxedRigidBodyMover(o)
1679 
1680 PbcBoxedRigidBodyMover_swigregister = _IMP_spb.PbcBoxedRigidBodyMover_swigregister
1681 PbcBoxedRigidBodyMover_swigregister(PbcBoxedRigidBodyMover)
1682 
1683 class RigidBodyNewMover(IMP.core.MonteCarloMover):
1684  """Proxy of C++ IMP::spb::RigidBodyNewMover class."""
1685 
1686  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1687 
1688  def __init__(self, d, max_x_translation, max_y_translation, max_z_translation, max_rot):
1689  """__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"""
1690  this = _IMP_spb.new_RigidBodyNewMover(d, max_x_translation, max_y_translation, max_z_translation, max_rot)
1691  try:
1692  self.this.append(this)
1693  except __builtin__.Exception:
1694  self.this = this
1695 
1696  def get_version_info(self):
1697  """get_version_info(RigidBodyNewMover self) -> VersionInfo"""
1698  return _IMP_spb.RigidBodyNewMover_get_version_info(self)
1699 
1700 
1701  def show(self, *args):
1702  """
1703  show(RigidBodyNewMover self, _ostream out)
1704  show(RigidBodyNewMover self)
1705  """
1706  return _IMP_spb.RigidBodyNewMover_show(self, *args)
1707 
1708 
1709  def __str__(self):
1710  """__str__(RigidBodyNewMover self) -> std::string"""
1711  return _IMP_spb.RigidBodyNewMover___str__(self)
1712 
1713 
1714  def __repr__(self):
1715  """__repr__(RigidBodyNewMover self) -> std::string"""
1716  return _IMP_spb.RigidBodyNewMover___repr__(self)
1717 
1718 
1719  @staticmethod
1720  def get_from(o):
1721  return _object_cast_to_RigidBodyNewMover(o)
1722 
1723 RigidBodyNewMover_swigregister = _IMP_spb.RigidBodyNewMover_swigregister
1724 RigidBodyNewMover_swigregister(RigidBodyNewMover)
1725 
1726 class RigidBodyPackingScore(IMP.PairScore):
1727  """Proxy of C++ IMP::spb::RigidBodyPackingScore class."""
1728 
1729  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1730 
1731  def __init__(self, tbr, omb, ome, ddb, dde, kappa):
1732  """__init__(IMP::spb::RigidBodyPackingScore self, TableRefiner tbr, IMP::Floats omb, IMP::Floats ome, IMP::Floats ddb, IMP::Floats dde, double kappa) -> RigidBodyPackingScore"""
1733  this = _IMP_spb.new_RigidBodyPackingScore(tbr, omb, ome, ddb, dde, kappa)
1734  try:
1735  self.this.append(this)
1736  except __builtin__.Exception:
1737  self.this = this
1738 
1739  def do_get_inputs(self, m, pis):
1740  """do_get_inputs(RigidBodyPackingScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1741  return _IMP_spb.RigidBodyPackingScore_do_get_inputs(self, m, pis)
1742 
1743 
1744  def show(self, *args):
1745  """
1746  show(RigidBodyPackingScore self, _ostream out)
1747  show(RigidBodyPackingScore self)
1748  """
1749  return _IMP_spb.RigidBodyPackingScore_show(self, *args)
1750 
1751 
1752  def __str__(self):
1753  """__str__(RigidBodyPackingScore self) -> std::string"""
1754  return _IMP_spb.RigidBodyPackingScore___str__(self)
1755 
1756 
1757  def __repr__(self):
1758  """__repr__(RigidBodyPackingScore self) -> std::string"""
1759  return _IMP_spb.RigidBodyPackingScore___repr__(self)
1760 
1761 
1762  @staticmethod
1763  def get_from(o):
1764  return _object_cast_to_RigidBodyPackingScore(o)
1765 
1766  __swig_destroy__ = _IMP_spb.delete_RigidBodyPackingScore
1767  __del__ = lambda self: None
1768 RigidBodyPackingScore_swigregister = _IMP_spb.RigidBodyPackingScore_swigregister
1769 RigidBodyPackingScore_swigregister(RigidBodyPackingScore)
1770 
1771 class RMSDMetric(IMP.statistics.Metric):
1772  """Proxy of C++ IMP::spb::RMSDMetric class."""
1773 
1774  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1775 
1776  def __init__(self, ps):
1777  """__init__(IMP::spb::RMSDMetric self, IMP::Particles ps) -> RMSDMetric"""
1778  this = _IMP_spb.new_RMSDMetric(ps)
1779  try:
1780  self.this.append(this)
1781  except __builtin__.Exception:
1782  self.this = this
1783 
1784  def add_configuration(self, weight=1.0):
1785  """
1786  add_configuration(RMSDMetric self, double weight=1.0)
1787  add_configuration(RMSDMetric self)
1788  """
1789  return _IMP_spb.RMSDMetric_add_configuration(self, weight)
1790 
1791 
1792  def get_weight(self, i):
1793  """get_weight(RMSDMetric self, unsigned int i) -> IMP::Float"""
1794  return _IMP_spb.RMSDMetric_get_weight(self, i)
1795 
1796 
1797  def get_version_info(self):
1798  """get_version_info(RMSDMetric self) -> VersionInfo"""
1799  return _IMP_spb.RMSDMetric_get_version_info(self)
1800 
1801 
1802  def __str__(self):
1803  """__str__(RMSDMetric self) -> std::string"""
1804  return _IMP_spb.RMSDMetric___str__(self)
1805 
1806 
1807  def __repr__(self):
1808  """__repr__(RMSDMetric self) -> std::string"""
1809  return _IMP_spb.RMSDMetric___repr__(self)
1810 
1811 
1812  @staticmethod
1813  def get_from(o):
1814  return _object_cast_to_RMSDMetric(o)
1815 
1816 RMSDMetric_swigregister = _IMP_spb.RMSDMetric_swigregister
1817 RMSDMetric_swigregister(RMSDMetric)
1818 
1819 class SameParticlePairFilter(IMP.PairPredicate):
1820  """Proxy of C++ IMP::spb::SameParticlePairFilter class."""
1821 
1822  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1823 
1824  def __init__(self):
1825  """__init__(IMP::spb::SameParticlePairFilter self) -> SameParticlePairFilter"""
1826  this = _IMP_spb.new_SameParticlePairFilter()
1827  try:
1828  self.this.append(this)
1829  except __builtin__.Exception:
1830  self.this = this
1831 
1832  def do_get_inputs(self, m, pis):
1833  """do_get_inputs(SameParticlePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1834  return _IMP_spb.SameParticlePairFilter_do_get_inputs(self, m, pis)
1835 
1836 
1837  def get_value(self, *args):
1838  """
1839  get_value(SameParticlePairFilter self, IMP::ParticlePair const & a) -> int
1840  get_value(SameParticlePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1841  """
1842  return _IMP_spb.SameParticlePairFilter_get_value(self, *args)
1843 
1844 
1845  def get_value_index(self, *args):
1846  """
1847  get_value_index(SameParticlePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
1848  get_value_index(SameParticlePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1849  """
1850  return _IMP_spb.SameParticlePairFilter_get_value_index(self, *args)
1851 
1852 
1853  def get_version_info(self):
1854  """get_version_info(SameParticlePairFilter self) -> VersionInfo"""
1855  return _IMP_spb.SameParticlePairFilter_get_version_info(self)
1856 
1857 
1858  def __str__(self):
1859  """__str__(SameParticlePairFilter self) -> std::string"""
1860  return _IMP_spb.SameParticlePairFilter___str__(self)
1861 
1862 
1863  def __repr__(self):
1864  """__repr__(SameParticlePairFilter self) -> std::string"""
1865  return _IMP_spb.SameParticlePairFilter___repr__(self)
1866 
1867 
1868  @staticmethod
1869  def get_from(o):
1870  return _object_cast_to_SameParticlePairFilter(o)
1871 
1872 SameParticlePairFilter_swigregister = _IMP_spb.SameParticlePairFilter_swigregister
1873 SameParticlePairFilter_swigregister(SameParticlePairFilter)
1874 
1875 class SameRigidBodyPairFilter(IMP.PairPredicate):
1876  """Proxy of C++ IMP::spb::SameRigidBodyPairFilter class."""
1877 
1878  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1879 
1880  def __init__(self):
1881  """__init__(IMP::spb::SameRigidBodyPairFilter self) -> SameRigidBodyPairFilter"""
1882  this = _IMP_spb.new_SameRigidBodyPairFilter()
1883  try:
1884  self.this.append(this)
1885  except __builtin__.Exception:
1886  self.this = this
1887 
1888  def do_get_inputs(self, m, pis):
1889  """do_get_inputs(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1890  return _IMP_spb.SameRigidBodyPairFilter_do_get_inputs(self, m, pis)
1891 
1892 
1893  def get_value(self, *args):
1894  """
1895  get_value(SameRigidBodyPairFilter self, IMP::ParticlePair const & a) -> int
1896  get_value(SameRigidBodyPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1897  """
1898  return _IMP_spb.SameRigidBodyPairFilter_get_value(self, *args)
1899 
1900 
1901  def get_value_index(self, *args):
1902  """
1903  get_value_index(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
1904  get_value_index(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1905  """
1906  return _IMP_spb.SameRigidBodyPairFilter_get_value_index(self, *args)
1907 
1908 
1909  def get_version_info(self):
1910  """get_version_info(SameRigidBodyPairFilter self) -> VersionInfo"""
1911  return _IMP_spb.SameRigidBodyPairFilter_get_version_info(self)
1912 
1913 
1914  def __str__(self):
1915  """__str__(SameRigidBodyPairFilter self) -> std::string"""
1916  return _IMP_spb.SameRigidBodyPairFilter___str__(self)
1917 
1918 
1919  def __repr__(self):
1920  """__repr__(SameRigidBodyPairFilter self) -> std::string"""
1921  return _IMP_spb.SameRigidBodyPairFilter___repr__(self)
1922 
1923 
1924  @staticmethod
1925  def get_from(o):
1926  return _object_cast_to_SameRigidBodyPairFilter(o)
1927 
1928 SameRigidBodyPairFilter_swigregister = _IMP_spb.SameRigidBodyPairFilter_swigregister
1929 SameRigidBodyPairFilter_swigregister(SameRigidBodyPairFilter)
1930 
1931 class TiltSingletonScore(IMP.SingletonScore):
1932  """Proxy of C++ IMP::spb::TiltSingletonScore class."""
1933 
1934  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1935 
1936  def __init__(self, *args, **kwargs):
1937  raise AttributeError("No constructor defined - class is abstract")
1938 
1939  def evaluate_index(self, m, p, da):
1940  """evaluate_index(TiltSingletonScore self, Model m, ParticleIndex p, DerivativeAccumulator da) -> double"""
1941  return _IMP_spb.TiltSingletonScore_evaluate_index(self, m, p, da)
1942 
1943 
1944  def do_get_inputs(self, m, pis):
1945  """do_get_inputs(TiltSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1946  return _IMP_spb.TiltSingletonScore_do_get_inputs(self, m, pis)
1947 
1948 
1949  def get_version_info(self):
1950  """get_version_info(TiltSingletonScore self) -> VersionInfo"""
1951  return _IMP_spb.TiltSingletonScore_get_version_info(self)
1952 
1953 
1954  def show(self, *args):
1955  """
1956  show(TiltSingletonScore self, _ostream out)
1957  show(TiltSingletonScore self)
1958  """
1959  return _IMP_spb.TiltSingletonScore_show(self, *args)
1960 
1961 
1962  def __str__(self):
1963  """__str__(TiltSingletonScore self) -> std::string"""
1964  return _IMP_spb.TiltSingletonScore___str__(self)
1965 
1966 
1967  def __repr__(self):
1968  """__repr__(TiltSingletonScore self) -> std::string"""
1969  return _IMP_spb.TiltSingletonScore___repr__(self)
1970 
1971 
1972  @staticmethod
1973  def get_from(o):
1974  return _object_cast_to_TiltSingletonScore(o)
1975 
1976 TiltSingletonScore_swigregister = _IMP_spb.TiltSingletonScore_swigregister
1977 TiltSingletonScore_swigregister(TiltSingletonScore)
1978 
1979 class TransformationSymmetry(IMP.SingletonModifier):
1980  """Proxy of C++ IMP::spb::TransformationSymmetry class."""
1981 
1982  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1983 
1984  def __init__(self, t, px, py, pz):
1985  """__init__(IMP::spb::TransformationSymmetry self, Transformation3D t, Particle px, Particle py, Particle pz) -> TransformationSymmetry"""
1986  this = _IMP_spb.new_TransformationSymmetry(t, px, py, pz)
1987  try:
1988  self.this.append(this)
1989  except __builtin__.Exception:
1990  self.this = this
1991 
1992  def do_get_inputs(self, m, pis):
1993  """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1994  return _IMP_spb.TransformationSymmetry_do_get_inputs(self, m, pis)
1995 
1996 
1997  def do_get_outputs(self, m, pis):
1998  """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1999  return _IMP_spb.TransformationSymmetry_do_get_outputs(self, m, pis)
2000 
2001 
2002  def get_version_info(self):
2003  """get_version_info(TransformationSymmetry self) -> VersionInfo"""
2004  return _IMP_spb.TransformationSymmetry_get_version_info(self)
2005 
2006 
2007  def show(self, *args):
2008  """
2009  show(TransformationSymmetry self, _ostream out)
2010  show(TransformationSymmetry self)
2011  """
2012  return _IMP_spb.TransformationSymmetry_show(self, *args)
2013 
2014 
2015  def __str__(self):
2016  """__str__(TransformationSymmetry self) -> std::string"""
2017  return _IMP_spb.TransformationSymmetry___str__(self)
2018 
2019 
2020  def __repr__(self):
2021  """__repr__(TransformationSymmetry self) -> std::string"""
2022  return _IMP_spb.TransformationSymmetry___repr__(self)
2023 
2024 
2025  @staticmethod
2026  def get_from(o):
2027  return _object_cast_to_TransformationSymmetry(o)
2028 
2029 TransformationSymmetry_swigregister = _IMP_spb.TransformationSymmetry_swigregister
2030 TransformationSymmetry_swigregister(TransformationSymmetry)
2031 
2032 class TwoStateGoModelRestraint(IMP.Restraint):
2033  """Proxy of C++ IMP::spb::TwoStateGoModelRestraint class."""
2034 
2035  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2036 
2037  def __init__(self, ps, psA, psB, Beta, Delta, Cutoff):
2038  """__init__(IMP::spb::TwoStateGoModelRestraint self, IMP::Particles ps, IMP::Particles psA, IMP::Particles psB, IMP::Float Beta, IMP::Float Delta, IMP::Float Cutoff) -> TwoStateGoModelRestraint"""
2039  this = _IMP_spb.new_TwoStateGoModelRestraint(ps, psA, psB, Beta, Delta, Cutoff)
2040  try:
2041  self.this.append(this)
2042  except __builtin__.Exception:
2043  self.this = this
2044 
2045  def do_get_inputs(self):
2046  """do_get_inputs(TwoStateGoModelRestraint self) -> IMP::ModelObjectsTemp"""
2047  return _IMP_spb.TwoStateGoModelRestraint_do_get_inputs(self)
2048 
2049 
2050  def get_version_info(self):
2051  """get_version_info(TwoStateGoModelRestraint self) -> VersionInfo"""
2052  return _IMP_spb.TwoStateGoModelRestraint_get_version_info(self)
2053 
2054 
2055  def __str__(self):
2056  """__str__(TwoStateGoModelRestraint self) -> std::string"""
2057  return _IMP_spb.TwoStateGoModelRestraint___str__(self)
2058 
2059 
2060  def __repr__(self):
2061  """__repr__(TwoStateGoModelRestraint self) -> std::string"""
2062  return _IMP_spb.TwoStateGoModelRestraint___repr__(self)
2063 
2064 
2065  @staticmethod
2066  def get_from(o):
2067  return _object_cast_to_TwoStateGoModelRestraint(o)
2068 
2069 TwoStateGoModelRestraint_swigregister = _IMP_spb.TwoStateGoModelRestraint_swigregister
2070 TwoStateGoModelRestraint_swigregister(TwoStateGoModelRestraint)
2071 
2072 class UniformBoundedRestraint(ISDRestraint):
2073  """Proxy of C++ IMP::spb::UniformBoundedRestraint class."""
2074 
2075  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2076 
2077  def __init__(self, p, fk, a, b):
2078  """__init__(IMP::spb::UniformBoundedRestraint self, Particle p, FloatKey fk, Particle a, Particle b) -> UniformBoundedRestraint"""
2079  this = _IMP_spb.new_UniformBoundedRestraint(p, fk, a, b)
2080  try:
2081  self.this.append(this)
2082  except __builtin__.Exception:
2083  self.this = this
2084 
2085  def do_get_inputs(self):
2086  """do_get_inputs(UniformBoundedRestraint self) -> IMP::ModelObjectsTemp"""
2087  return _IMP_spb.UniformBoundedRestraint_do_get_inputs(self)
2088 
2089 
2090  def get_version_info(self):
2091  """get_version_info(UniformBoundedRestraint self) -> VersionInfo"""
2092  return _IMP_spb.UniformBoundedRestraint_get_version_info(self)
2093 
2094 
2095  def __str__(self):
2096  """__str__(UniformBoundedRestraint self) -> std::string"""
2097  return _IMP_spb.UniformBoundedRestraint___str__(self)
2098 
2099 
2100  def __repr__(self):
2101  """__repr__(UniformBoundedRestraint self) -> std::string"""
2102  return _IMP_spb.UniformBoundedRestraint___repr__(self)
2103 
2104 
2105  @staticmethod
2106  def get_from(o):
2107  return _object_cast_to_UniformBoundedRestraint(o)
2108 
2109 UniformBoundedRestraint_swigregister = _IMP_spb.UniformBoundedRestraint_swigregister
2110 UniformBoundedRestraint_swigregister(UniformBoundedRestraint)
2111 
2112 
2113 def get_module_version():
2114  """get_module_version() -> std::string const"""
2115  return _IMP_spb.get_module_version()
2116 
2117 def get_example_path(fname):
2118  """get_example_path(std::string fname) -> std::string"""
2119  return _IMP_spb.get_example_path(fname)
2120 
2121 def get_data_path(fname):
2122  """get_data_path(std::string fname) -> std::string"""
2123  return _IMP_spb.get_data_path(fname)
2124 
2125 from . import _version_check
2126 _version_check.check_version(get_module_version())
2127 __version__ = get_module_version()
2128 
2129 
2130 
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.
Several general purpose optimizers from the GNU Scientific Library (GSL).
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
static Molecule setup_particle(Model *m, ParticleIndex pi)
Definition: Molecule.h:37
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
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::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
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:54
Store data to be clustered for distance metric based algorithms.
Definition: Metric.h:25