11 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
19 import builtins
as __builtin__
25 strthis =
"proxy of " + self.this.__repr__()
26 except __builtin__.Exception:
28 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
31 def _swig_setattr_nondynamic_instance_variable(set):
32 def set_instance_attr(self, name, value):
34 set(self, name, value)
35 elif name ==
"thisown":
37 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
38 set(self, name, value)
40 raise AttributeError(
"You cannot add instance attributes to %s" % self)
41 return set_instance_attr
44 def _swig_setattr_nondynamic_class_variable(set):
45 def set_class_attr(cls, name, value):
46 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
49 raise AttributeError(
"You cannot add class attributes to %s" % cls)
53 def _swig_add_metaclass(metaclass):
54 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
56 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
60 class _SwigNonDynamicMeta(type):
61 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
62 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
67 class IMP_SPB_SwigPyIterator(object):
68 r"""Proxy of C++ swig::IMP_SPB_SwigPyIterator class."""
70 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
72 def __init__(self, *args, **kwargs):
73 raise AttributeError(
"No constructor defined - class is abstract")
75 __swig_destroy__ = _IMP_spb.delete_IMP_SPB_SwigPyIterator
78 r"""value(IMP_SPB_SwigPyIterator self) -> PyObject *"""
79 return _IMP_spb.IMP_SPB_SwigPyIterator_value(self)
82 r"""incr(IMP_SPB_SwigPyIterator self, size_t n=1) -> IMP_SPB_SwigPyIterator"""
83 return _IMP_spb.IMP_SPB_SwigPyIterator_incr(self, n)
86 r"""decr(IMP_SPB_SwigPyIterator self, size_t n=1) -> IMP_SPB_SwigPyIterator"""
87 return _IMP_spb.IMP_SPB_SwigPyIterator_decr(self, n)
89 def distance(self, x):
90 r"""distance(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> ptrdiff_t"""
91 return _IMP_spb.IMP_SPB_SwigPyIterator_distance(self, x)
94 r"""equal(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> bool"""
95 return _IMP_spb.IMP_SPB_SwigPyIterator_equal(self, x)
98 r"""copy(IMP_SPB_SwigPyIterator self) -> IMP_SPB_SwigPyIterator"""
99 return _IMP_spb.IMP_SPB_SwigPyIterator_copy(self)
102 r"""next(IMP_SPB_SwigPyIterator self) -> PyObject *"""
103 return _IMP_spb.IMP_SPB_SwigPyIterator_next(self)
106 r"""__next__(IMP_SPB_SwigPyIterator self) -> PyObject *"""
107 return _IMP_spb.IMP_SPB_SwigPyIterator___next__(self)
110 r"""previous(IMP_SPB_SwigPyIterator self) -> PyObject *"""
111 return _IMP_spb.IMP_SPB_SwigPyIterator_previous(self)
113 def advance(self, n):
114 r"""advance(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator"""
115 return _IMP_spb.IMP_SPB_SwigPyIterator_advance(self, n)
118 r"""__eq__(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> bool"""
119 return _IMP_spb.IMP_SPB_SwigPyIterator___eq__(self, x)
122 r"""__ne__(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> bool"""
123 return _IMP_spb.IMP_SPB_SwigPyIterator___ne__(self, x)
125 def __iadd__(self, n):
126 r"""__iadd__(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator"""
127 return _IMP_spb.IMP_SPB_SwigPyIterator___iadd__(self, n)
129 def __isub__(self, n):
130 r"""__isub__(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator"""
131 return _IMP_spb.IMP_SPB_SwigPyIterator___isub__(self, n)
133 def __add__(self, n):
134 r"""__add__(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator"""
135 return _IMP_spb.IMP_SPB_SwigPyIterator___add__(self, n)
137 def __sub__(self, *args):
139 __sub__(IMP_SPB_SwigPyIterator self, ptrdiff_t n) -> IMP_SPB_SwigPyIterator
140 __sub__(IMP_SPB_SwigPyIterator self, IMP_SPB_SwigPyIterator x) -> ptrdiff_t
142 return _IMP_spb.IMP_SPB_SwigPyIterator___sub__(self, *args)
147 _IMP_spb.IMP_SPB_SwigPyIterator_swigregister(IMP_SPB_SwigPyIterator)
154 IMP_DEBUG = _IMP_spb.IMP_DEBUG
156 IMP_RELEASE = _IMP_spb.IMP_RELEASE
158 IMP_SILENT = _IMP_spb.IMP_SILENT
160 IMP_PROGRESS = _IMP_spb.IMP_PROGRESS
162 IMP_TERSE = _IMP_spb.IMP_TERSE
164 IMP_VERBOSE = _IMP_spb.IMP_VERBOSE
166 IMP_MEMORY = _IMP_spb.IMP_MEMORY
168 IMP_NONE = _IMP_spb.IMP_NONE
170 IMP_USAGE = _IMP_spb.IMP_USAGE
172 IMP_INTERNAL = _IMP_spb.IMP_INTERNAL
174 IMP_KERNEL_HAS_LOG4CXX = _IMP_spb.IMP_KERNEL_HAS_LOG4CXX
176 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_spb.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
178 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_spb.IMP_COMPILER_HAS_DEBUG_VECTOR
180 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_spb.IMP_COMPILER_HAS_RANDOM_SHUFFLE
182 IMP_COMPILER_HAS_THREE_WAY = _IMP_spb.IMP_COMPILER_HAS_THREE_WAY
184 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_spb.IMP_KERNEL_HAS_BOOST_RANDOM
186 IMP_KERNEL_HAS_NUMPY = _IMP_spb.IMP_KERNEL_HAS_NUMPY
188 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_spb.IMP_KERNEL_HAS_GPERFTOOLS
190 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_spb.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
192 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_spb.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
194 IMPKERNEL_SHOW_WARNINGS = _IMP_spb.IMPKERNEL_SHOW_WARNINGS
198 class _DirectorObjects(object):
199 """@internal Simple class to keep references to director objects
200 to prevent premature deletion."""
203 def register(self, obj):
204 """Take a reference to a director object; will only work for
205 refcounted C++ classes"""
206 if hasattr(obj,
'get_ref_count'):
207 self._objects.append(obj)
209 """Only drop our reference and allow cleanup by Python if no other
210 Python references exist (we hold 3 references: one in self._objects,
211 one in x, and one in the argument list for getrefcount) *and* no
212 other C++ references exist (the Python object always holds one)"""
213 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
214 or x.get_ref_count() > 1]
218 def get_object_count(self):
219 """Get number of director objects (useful for testing only)"""
220 return len(self._objects)
221 _director_objects = _DirectorObjects()
223 class _ostream(object):
224 r"""Proxy of C++ std::ostream class."""
226 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
228 def __init__(self, *args, **kwargs):
229 raise AttributeError(
"No constructor defined")
230 __repr__ = _swig_repr
232 def write(self, osa_buf):
233 r"""write(_ostream self, char const * osa_buf)"""
234 return _IMP_spb._ostream_write(self, osa_buf)
237 _IMP_spb._ostream_swigregister(_ostream)
238 IMP_C_OPEN_BINARY = _IMP_spb.IMP_C_OPEN_BINARY
241 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_CGAL_HAS_BOOST_FILESYSTEM
243 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_spb.IMP_CGAL_HAS_BOOST_RANDOM
247 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_spb.IMP_CGAL_HAS_BOOST_SYSTEM
249 IMP_CGAL_HAS_NUMPY = _IMP_spb.IMP_CGAL_HAS_NUMPY
251 IMPCGAL_SHOW_WARNINGS = _IMP_spb.IMPCGAL_SHOW_WARNINGS
254 IMP_MPI_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_MPI_HAS_BOOST_FILESYSTEM
256 IMP_MPI_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_MPI_HAS_BOOST_PROGRAMOPTIONS
258 IMP_MPI_HAS_BOOST_RANDOM = _IMP_spb.IMP_MPI_HAS_BOOST_RANDOM
260 IMP_MPI_HAS_BOOST_SYSTEM = _IMP_spb.IMP_MPI_HAS_BOOST_SYSTEM
262 IMP_MPI_HAS_NUMPY = _IMP_spb.IMP_MPI_HAS_NUMPY
264 IMPMPI_SHOW_WARNINGS = _IMP_spb.IMPMPI_SHOW_WARNINGS
267 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_spb.IMP_ALGEBRA_HAS_IMP_CGAL
269 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
271 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
273 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_RANDOM
275 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_spb.IMP_ALGEBRA_HAS_BOOST_SYSTEM
277 IMP_ALGEBRA_HAS_CGAL = _IMP_spb.IMP_ALGEBRA_HAS_CGAL
279 IMP_ALGEBRA_HAS_NUMPY = _IMP_spb.IMP_ALGEBRA_HAS_NUMPY
281 IMP_ALGEBRA_HAS_ANN = _IMP_spb.IMP_ALGEBRA_HAS_ANN
283 IMPALGEBRA_SHOW_WARNINGS = _IMP_spb.IMPALGEBRA_SHOW_WARNINGS
286 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_spb.IMP_DISPLAY_HAS_IMP_CGAL
288 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
290 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
292 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_spb.IMP_DISPLAY_HAS_BOOST_RANDOM
294 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_spb.IMP_DISPLAY_HAS_BOOST_SYSTEM
296 IMP_DISPLAY_HAS_CGAL = _IMP_spb.IMP_DISPLAY_HAS_CGAL
298 IMP_DISPLAY_HAS_NUMPY = _IMP_spb.IMP_DISPLAY_HAS_NUMPY
300 IMPDISPLAY_SHOW_WARNINGS = _IMP_spb.IMPDISPLAY_SHOW_WARNINGS
303 IMP_GSL_HAS_IMP_CGAL = _IMP_spb.IMP_GSL_HAS_IMP_CGAL
305 IMP_GSL_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_GSL_HAS_BOOST_FILESYSTEM
307 IMP_GSL_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_GSL_HAS_BOOST_PROGRAMOPTIONS
309 IMP_GSL_HAS_BOOST_RANDOM = _IMP_spb.IMP_GSL_HAS_BOOST_RANDOM
311 IMP_GSL_HAS_BOOST_SYSTEM = _IMP_spb.IMP_GSL_HAS_BOOST_SYSTEM
313 IMP_GSL_HAS_CGAL = _IMP_spb.IMP_GSL_HAS_CGAL
315 IMP_GSL_HAS_NUMPY = _IMP_spb.IMP_GSL_HAS_NUMPY
317 IMPGSL_SHOW_WARNINGS = _IMP_spb.IMPGSL_SHOW_WARNINGS
320 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
322 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
324 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
326 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
328 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
330 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
334 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_spb.IMP_SCORE_FUNCTOR_HAS_NUMPY
336 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_spb.IMPSCOREFUNCTOR_SHOW_WARNINGS
339 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_spb.IMP_STATISTICS_HAS_IMP_CGAL
341 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
343 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
345 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_spb.IMP_STATISTICS_HAS_BOOST_RANDOM
347 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_spb.IMP_STATISTICS_HAS_BOOST_SYSTEM
349 IMP_STATISTICS_HAS_CGAL = _IMP_spb.IMP_STATISTICS_HAS_CGAL
351 IMP_STATISTICS_HAS_NUMPY = _IMP_spb.IMP_STATISTICS_HAS_NUMPY
353 IMPSTATISTICS_SHOW_WARNINGS = _IMP_spb.IMPSTATISTICS_SHOW_WARNINGS
356 IMP_CORE_HAS_IMP_CGAL = _IMP_spb.IMP_CORE_HAS_IMP_CGAL
358 IMP_CORE_HAS_IMP_KERNEL = _IMP_spb.IMP_CORE_HAS_IMP_KERNEL
360 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_CORE_HAS_BOOST_FILESYSTEM
362 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
364 IMP_CORE_HAS_BOOST_RANDOM = _IMP_spb.IMP_CORE_HAS_BOOST_RANDOM
366 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_spb.IMP_CORE_HAS_BOOST_SYSTEM
368 IMP_CORE_HAS_CGAL = _IMP_spb.IMP_CORE_HAS_CGAL
370 IMP_CORE_HAS_HDF5 = _IMP_spb.IMP_CORE_HAS_HDF5
372 IMP_CORE_HAS_NUMPY = _IMP_spb.IMP_CORE_HAS_NUMPY
374 IMPCORE_SHOW_WARNINGS = _IMP_spb.IMPCORE_SHOW_WARNINGS
377 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_spb.IMP_CONTAINER_HAS_IMP_ALGEBRA
379 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_spb.IMP_CONTAINER_HAS_IMP_CGAL
381 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_spb.IMP_CONTAINER_HAS_IMP_DISPLAY
383 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_spb.IMP_CONTAINER_HAS_IMP_KERNEL
385 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
387 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
389 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
391 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_spb.IMP_CONTAINER_HAS_BOOST_RANDOM
393 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_spb.IMP_CONTAINER_HAS_BOOST_SYSTEM
395 IMP_CONTAINER_HAS_CGAL = _IMP_spb.IMP_CONTAINER_HAS_CGAL
397 IMP_CONTAINER_HAS_HDF5 = _IMP_spb.IMP_CONTAINER_HAS_HDF5
399 IMP_CONTAINER_HAS_NUMPY = _IMP_spb.IMP_CONTAINER_HAS_NUMPY
401 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_spb.IMP_CONTAINER_HAS_PYTHON_IHM
403 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_spb.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
405 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_spb.IMP_CONTAINER_HAS_ROBIN_MAP
407 IMPCONTAINER_SHOW_WARNINGS = _IMP_spb.IMPCONTAINER_SHOW_WARNINGS
410 IMP_SYMMETRY_HAS_IMP_CGAL = _IMP_spb.IMP_SYMMETRY_HAS_IMP_CGAL
412 IMP_SYMMETRY_HAS_IMP_DISPLAY = _IMP_spb.IMP_SYMMETRY_HAS_IMP_DISPLAY
414 IMP_SYMMETRY_HAS_IMP_KERNEL = _IMP_spb.IMP_SYMMETRY_HAS_IMP_KERNEL
416 IMP_SYMMETRY_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_SYMMETRY_HAS_IMP_SCORE_FUNCTOR
418 IMP_SYMMETRY_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_FILESYSTEM
420 IMP_SYMMETRY_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_PROGRAMOPTIONS
422 IMP_SYMMETRY_HAS_BOOST_RANDOM = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_RANDOM
424 IMP_SYMMETRY_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SYMMETRY_HAS_BOOST_SYSTEM
426 IMP_SYMMETRY_HAS_CGAL = _IMP_spb.IMP_SYMMETRY_HAS_CGAL
428 IMP_SYMMETRY_HAS_HDF5 = _IMP_spb.IMP_SYMMETRY_HAS_HDF5
430 IMP_SYMMETRY_HAS_NUMPY = _IMP_spb.IMP_SYMMETRY_HAS_NUMPY
432 IMP_SYMMETRY_HAS_PYTHON_IHM = _IMP_spb.IMP_SYMMETRY_HAS_PYTHON_IHM
434 IMPSYMMETRY_SHOW_WARNINGS = _IMP_spb.IMPSYMMETRY_SHOW_WARNINGS
437 IMP_ATOM_HAS_IMP_CGAL = _IMP_spb.IMP_ATOM_HAS_IMP_CGAL
439 IMP_ATOM_HAS_IMP_KERNEL = _IMP_spb.IMP_ATOM_HAS_IMP_KERNEL
441 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
443 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
445 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_spb.IMP_ATOM_HAS_BOOST_RANDOM
447 IMP_ATOM_HAS_BOOST_REGEX = _IMP_spb.IMP_ATOM_HAS_BOOST_REGEX
449 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_spb.IMP_ATOM_HAS_BOOST_SYSTEM
451 IMP_ATOM_HAS_CGAL = _IMP_spb.IMP_ATOM_HAS_CGAL
453 IMP_ATOM_HAS_HDF5 = _IMP_spb.IMP_ATOM_HAS_HDF5
455 IMP_ATOM_HAS_NUMPY = _IMP_spb.IMP_ATOM_HAS_NUMPY
457 IMP_ATOM_HAS_PYTHON_IHM = _IMP_spb.IMP_ATOM_HAS_PYTHON_IHM
459 IMPATOM_SHOW_WARNINGS = _IMP_spb.IMPATOM_SHOW_WARNINGS
461 IMP_ATOM_TYPE_INDEX = _IMP_spb.IMP_ATOM_TYPE_INDEX
463 IMP_RESIDUE_TYPE_INDEX = _IMP_spb.IMP_RESIDUE_TYPE_INDEX
465 IMP_HIERARCHY_TYPE_INDEX = _IMP_spb.IMP_HIERARCHY_TYPE_INDEX
467 IMP_CHAIN_TYPE_INDEX = _IMP_spb.IMP_CHAIN_TYPE_INDEX
470 IMP_EM_HAS_IMP_CGAL = _IMP_spb.IMP_EM_HAS_IMP_CGAL
472 IMP_EM_HAS_IMP_CONTAINER = _IMP_spb.IMP_EM_HAS_IMP_CONTAINER
474 IMP_EM_HAS_IMP_DISPLAY = _IMP_spb.IMP_EM_HAS_IMP_DISPLAY
476 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_EM_HAS_IMP_SCORE_FUNCTOR
478 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_EM_HAS_BOOST_FILESYSTEM
480 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
482 IMP_EM_HAS_BOOST_RANDOM = _IMP_spb.IMP_EM_HAS_BOOST_RANDOM
484 IMP_EM_HAS_BOOST_REGEX = _IMP_spb.IMP_EM_HAS_BOOST_REGEX
486 IMP_EM_HAS_BOOST_SYSTEM = _IMP_spb.IMP_EM_HAS_BOOST_SYSTEM
488 IMP_EM_HAS_CGAL = _IMP_spb.IMP_EM_HAS_CGAL
490 IMP_EM_HAS_HDF5 = _IMP_spb.IMP_EM_HAS_HDF5
492 IMP_EM_HAS_NUMPY = _IMP_spb.IMP_EM_HAS_NUMPY
494 IMP_EM_HAS_PYTHON_IHM = _IMP_spb.IMP_EM_HAS_PYTHON_IHM
496 IMPEM_SHOW_WARNINGS = _IMP_spb.IMPEM_SHOW_WARNINGS
499 IMP_SAXS_HAS_IMP_CGAL = _IMP_spb.IMP_SAXS_HAS_IMP_CGAL
501 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_spb.IMP_SAXS_HAS_IMP_CONTAINER
503 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_spb.IMP_SAXS_HAS_IMP_DISPLAY
505 IMP_SAXS_HAS_IMP_KERNEL = _IMP_spb.IMP_SAXS_HAS_IMP_KERNEL
507 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
509 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SAXS_HAS_BOOST_FILESYSTEM
511 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
513 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_spb.IMP_SAXS_HAS_BOOST_RANDOM
515 IMP_SAXS_HAS_BOOST_REGEX = _IMP_spb.IMP_SAXS_HAS_BOOST_REGEX
517 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SAXS_HAS_BOOST_SYSTEM
519 IMP_SAXS_HAS_CGAL = _IMP_spb.IMP_SAXS_HAS_CGAL
521 IMP_SAXS_HAS_HDF5 = _IMP_spb.IMP_SAXS_HAS_HDF5
523 IMP_SAXS_HAS_NUMPY = _IMP_spb.IMP_SAXS_HAS_NUMPY
525 IMP_SAXS_HAS_PYTHON_IHM = _IMP_spb.IMP_SAXS_HAS_PYTHON_IHM
527 IMPSAXS_SHOW_WARNINGS = _IMP_spb.IMPSAXS_SHOW_WARNINGS
530 IMP_ISD_HAS_IMP_CGAL = _IMP_spb.IMP_ISD_HAS_IMP_CGAL
532 IMP_ISD_HAS_IMP_DISPLAY = _IMP_spb.IMP_ISD_HAS_IMP_DISPLAY
534 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
536 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_ISD_HAS_BOOST_FILESYSTEM
538 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
540 IMP_ISD_HAS_BOOST_RANDOM = _IMP_spb.IMP_ISD_HAS_BOOST_RANDOM
542 IMP_ISD_HAS_BOOST_REGEX = _IMP_spb.IMP_ISD_HAS_BOOST_REGEX
544 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_spb.IMP_ISD_HAS_BOOST_SYSTEM
546 IMP_ISD_HAS_CGAL = _IMP_spb.IMP_ISD_HAS_CGAL
548 IMP_ISD_HAS_HDF5 = _IMP_spb.IMP_ISD_HAS_HDF5
550 IMP_ISD_HAS_NUMPY = _IMP_spb.IMP_ISD_HAS_NUMPY
552 IMP_ISD_HAS_PYTHON_IHM = _IMP_spb.IMP_ISD_HAS_PYTHON_IHM
554 IMPISD_SHOW_WARNINGS = _IMP_spb.IMPISD_SHOW_WARNINGS
557 IMP_RMF_HAS_IMP_CGAL = _IMP_spb.IMP_RMF_HAS_IMP_CGAL
559 IMP_RMF_HAS_IMP_EM = _IMP_spb.IMP_RMF_HAS_IMP_EM
561 IMP_RMF_HAS_IMP_SAXS = _IMP_spb.IMP_RMF_HAS_IMP_SAXS
563 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
565 IMP_RMF_HAS_IMP_STATISTICS = _IMP_spb.IMP_RMF_HAS_IMP_STATISTICS
567 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_RMF_HAS_BOOST_FILESYSTEM
569 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
571 IMP_RMF_HAS_BOOST_RANDOM = _IMP_spb.IMP_RMF_HAS_BOOST_RANDOM
573 IMP_RMF_HAS_BOOST_REGEX = _IMP_spb.IMP_RMF_HAS_BOOST_REGEX
575 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_spb.IMP_RMF_HAS_BOOST_SYSTEM
577 IMP_RMF_HAS_CGAL = _IMP_spb.IMP_RMF_HAS_CGAL
579 IMP_RMF_HAS_HDF5 = _IMP_spb.IMP_RMF_HAS_HDF5
581 IMP_RMF_HAS_NUMPY = _IMP_spb.IMP_RMF_HAS_NUMPY
583 IMP_RMF_HAS_PYTHON_IHM = _IMP_spb.IMP_RMF_HAS_PYTHON_IHM
585 IMPRMF_SHOW_WARNINGS = _IMP_spb.IMPRMF_SHOW_WARNINGS
589 IMP_DOMINO_HAS_IMP_ATOM = _IMP_spb.IMP_DOMINO_HAS_IMP_ATOM
591 IMP_DOMINO_HAS_IMP_CGAL = _IMP_spb.IMP_DOMINO_HAS_IMP_CGAL
593 IMP_DOMINO_HAS_IMP_EM = _IMP_spb.IMP_DOMINO_HAS_IMP_EM
595 IMP_DOMINO_HAS_IMP_ISD = _IMP_spb.IMP_DOMINO_HAS_IMP_ISD
597 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_spb.IMP_DOMINO_HAS_IMP_KERNEL
599 IMP_DOMINO_HAS_IMP_RMF = _IMP_spb.IMP_DOMINO_HAS_IMP_RMF
601 IMP_DOMINO_HAS_IMP_SAXS = _IMP_spb.IMP_DOMINO_HAS_IMP_SAXS
603 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
605 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_DOMINO_HAS_BOOST_FILESYSTEM
607 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
609 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_spb.IMP_DOMINO_HAS_BOOST_RANDOM
611 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_spb.IMP_DOMINO_HAS_BOOST_REGEX
613 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_spb.IMP_DOMINO_HAS_BOOST_SYSTEM
615 IMP_DOMINO_HAS_CGAL = _IMP_spb.IMP_DOMINO_HAS_CGAL
617 IMP_DOMINO_HAS_HDF5 = _IMP_spb.IMP_DOMINO_HAS_HDF5
619 IMP_DOMINO_HAS_NUMPY = _IMP_spb.IMP_DOMINO_HAS_NUMPY
621 IMP_DOMINO_HAS_RMF = _IMP_spb.IMP_DOMINO_HAS_RMF
623 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_spb.IMP_DOMINO_HAS_PYTHON_IHM
625 IMPDOMINO_SHOW_WARNINGS = _IMP_spb.IMPDOMINO_SHOW_WARNINGS
629 IMP_EM2D_HAS_IMP_CGAL = _IMP_spb.IMP_EM2D_HAS_IMP_CGAL
631 IMP_EM2D_HAS_IMP_ISD = _IMP_spb.IMP_EM2D_HAS_IMP_ISD
633 IMP_EM2D_HAS_IMP_KERNEL = _IMP_spb.IMP_EM2D_HAS_IMP_KERNEL
635 IMP_EM2D_HAS_IMP_RMF = _IMP_spb.IMP_EM2D_HAS_IMP_RMF
637 IMP_EM2D_HAS_IMP_SAXS = _IMP_spb.IMP_EM2D_HAS_IMP_SAXS
639 IMP_EM2D_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_EM2D_HAS_IMP_SCORE_FUNCTOR
641 IMP_EM2D_HAS_IMP_STATISTICS = _IMP_spb.IMP_EM2D_HAS_IMP_STATISTICS
643 IMP_EM2D_HAS_BOOST_GRAPH = _IMP_spb.IMP_EM2D_HAS_BOOST_GRAPH
645 IMP_EM2D_HAS_BOOST_RANDOM = _IMP_spb.IMP_EM2D_HAS_BOOST_RANDOM
647 IMP_EM2D_HAS_BOOST_REGEX = _IMP_spb.IMP_EM2D_HAS_BOOST_REGEX
649 IMP_EM2D_HAS_BOOST_SYSTEM = _IMP_spb.IMP_EM2D_HAS_BOOST_SYSTEM
651 IMP_EM2D_HAS_CGAL = _IMP_spb.IMP_EM2D_HAS_CGAL
653 IMP_EM2D_HAS_GSL = _IMP_spb.IMP_EM2D_HAS_GSL
655 IMP_EM2D_HAS_HDF5 = _IMP_spb.IMP_EM2D_HAS_HDF5
657 IMP_EM2D_HAS_NUMPY = _IMP_spb.IMP_EM2D_HAS_NUMPY
659 IMP_EM2D_HAS_OPENCV3 = _IMP_spb.IMP_EM2D_HAS_OPENCV3
661 IMP_EM2D_HAS_RMF = _IMP_spb.IMP_EM2D_HAS_RMF
663 IMP_EM2D_HAS_PYTHON_IHM = _IMP_spb.IMP_EM2D_HAS_PYTHON_IHM
665 IMP_EM2D_HAS_OPENCV21 = _IMP_spb.IMP_EM2D_HAS_OPENCV21
667 IMP_EM2D_HAS_OPENCV22 = _IMP_spb.IMP_EM2D_HAS_OPENCV22
669 IMPEM2D_SHOW_WARNINGS = _IMP_spb.IMPEM2D_SHOW_WARNINGS
672 IMP_SPB_HAS_IMP_ALGEBRA = _IMP_spb.IMP_SPB_HAS_IMP_ALGEBRA
674 IMP_SPB_HAS_IMP_CGAL = _IMP_spb.IMP_SPB_HAS_IMP_CGAL
676 IMP_SPB_HAS_IMP_DISPLAY = _IMP_spb.IMP_SPB_HAS_IMP_DISPLAY
678 IMP_SPB_HAS_IMP_DOMINO = _IMP_spb.IMP_SPB_HAS_IMP_DOMINO
680 IMP_SPB_HAS_IMP_EM = _IMP_spb.IMP_SPB_HAS_IMP_EM
682 IMP_SPB_HAS_IMP_GSL = _IMP_spb.IMP_SPB_HAS_IMP_GSL
684 IMP_SPB_HAS_IMP_KERNEL = _IMP_spb.IMP_SPB_HAS_IMP_KERNEL
686 IMP_SPB_HAS_IMP_SCORE_FUNCTOR = _IMP_spb.IMP_SPB_HAS_IMP_SCORE_FUNCTOR
688 IMP_SPB_HAS_BOOST_FILESYSTEM = _IMP_spb.IMP_SPB_HAS_BOOST_FILESYSTEM
690 IMP_SPB_HAS_BOOST_GRAPH = _IMP_spb.IMP_SPB_HAS_BOOST_GRAPH
692 IMP_SPB_HAS_BOOST_PROGRAMOPTIONS = _IMP_spb.IMP_SPB_HAS_BOOST_PROGRAMOPTIONS
694 IMP_SPB_HAS_BOOST_RANDOM = _IMP_spb.IMP_SPB_HAS_BOOST_RANDOM
696 IMP_SPB_HAS_BOOST_REGEX = _IMP_spb.IMP_SPB_HAS_BOOST_REGEX
698 IMP_SPB_HAS_BOOST_SYSTEM = _IMP_spb.IMP_SPB_HAS_BOOST_SYSTEM
700 IMP_SPB_HAS_CGAL = _IMP_spb.IMP_SPB_HAS_CGAL
702 IMP_SPB_HAS_FFTW3 = _IMP_spb.IMP_SPB_HAS_FFTW3
704 IMP_SPB_HAS_GSL = _IMP_spb.IMP_SPB_HAS_GSL
706 IMP_SPB_HAS_HDF5 = _IMP_spb.IMP_SPB_HAS_HDF5
708 IMP_SPB_HAS_MPI = _IMP_spb.IMP_SPB_HAS_MPI
710 IMP_SPB_HAS_NUMPY = _IMP_spb.IMP_SPB_HAS_NUMPY
712 IMP_SPB_HAS_OPENCV3 = _IMP_spb.IMP_SPB_HAS_OPENCV3
714 IMP_SPB_HAS_RMF = _IMP_spb.IMP_SPB_HAS_RMF
716 IMP_SPB_HAS_PYTHON_IHM = _IMP_spb.IMP_SPB_HAS_PYTHON_IHM
718 IMPSPB_SHOW_WARNINGS = _IMP_spb.IMPSPB_SHOW_WARNINGS
722 return [HelixDecorator(x)
for x
in l]
723 _plural_types.append(
"HelixDecorators")
726 _value_types.append(
"HelixDecorator")
729 _object_types.append(
"AttributeDistancePairScore")
732 def _object_cast_to_AttributeDistancePairScore(o):
733 r"""_object_cast_to_AttributeDistancePairScore(Object o) -> AttributeDistancePairScore"""
734 return _IMP_spb._object_cast_to_AttributeDistancePairScore(o)
736 _object_types.append(
"BoxedMover")
739 def _object_cast_to_BoxedMover(o):
740 r"""_object_cast_to_BoxedMover(Object o) -> BoxedMover"""
741 return _IMP_spb._object_cast_to_BoxedMover(o)
743 _object_types.append(
"CellMover")
746 def _object_cast_to_CellMover(o):
747 r"""_object_cast_to_CellMover(Object o) -> CellMover"""
748 return _IMP_spb._object_cast_to_CellMover(o)
750 _object_types.append(
"ChiSquareMetric")
753 _object_types.append(
"ContactMapMetric")
756 def _object_cast_to_ContactMapMetric(o):
757 r"""_object_cast_to_ContactMapMetric(Object o) -> ContactMapMetric"""
758 return _IMP_spb._object_cast_to_ContactMapMetric(o)
760 _object_types.append(
"DiameterRgyrRestraint")
763 def _object_cast_to_DiameterRgyrRestraint(o):
764 r"""_object_cast_to_DiameterRgyrRestraint(Object o) -> DiameterRgyrRestraint"""
765 return _IMP_spb._object_cast_to_DiameterRgyrRestraint(o)
767 _object_types.append(
"DistanceRMSDMetric")
770 def _object_cast_to_DistanceRMSDMetric(o):
771 r"""_object_cast_to_DistanceRMSDMetric(Object o) -> DistanceRMSDMetric"""
772 return _IMP_spb._object_cast_to_DistanceRMSDMetric(o)
774 _object_types.append(
"Gaussian")
777 def _object_cast_to_Gaussian(o):
778 r"""_object_cast_to_Gaussian(Object o) -> Gaussian"""
779 return _IMP_spb._object_cast_to_Gaussian(o)
781 _object_types.append(
"ISDRestraint")
784 _object_types.append(
"KinkPairScore")
787 def _object_cast_to_KinkPairScore(o):
788 r"""_object_cast_to_KinkPairScore(Object o) -> KinkPairScore"""
789 return _IMP_spb._object_cast_to_KinkPairScore(o)
791 _object_types.append(
"MolecularDynamicsWithWte")
794 def _object_cast_to_MolecularDynamicsWithWte(o):
795 r"""_object_cast_to_MolecularDynamicsWithWte(Object o) -> MolecularDynamicsWithWte"""
796 return _IMP_spb._object_cast_to_MolecularDynamicsWithWte(o)
798 _object_types.append(
"MonteCarloWithWte")
801 def _object_cast_to_MonteCarloWithWte(o):
802 r"""_object_cast_to_MonteCarloWithWte(Object o) -> MonteCarloWithWte"""
803 return _IMP_spb._object_cast_to_MonteCarloWithWte(o)
805 _object_types.append(
"NuisanceRangeModifier")
808 def _object_cast_to_NuisanceRangeModifier(o):
809 r"""_object_cast_to_NuisanceRangeModifier(Object o) -> NuisanceRangeModifier"""
810 return _IMP_spb._object_cast_to_NuisanceRangeModifier(o)
812 _object_types.append(
"PbcBoxedMover")
815 def _object_cast_to_PbcBoxedMover(o):
816 r"""_object_cast_to_PbcBoxedMover(Object o) -> PbcBoxedMover"""
817 return _IMP_spb._object_cast_to_PbcBoxedMover(o)
819 _object_types.append(
"PbcBoxedRigidBodyMover")
822 def _object_cast_to_PbcBoxedRigidBodyMover(o):
823 r"""_object_cast_to_PbcBoxedRigidBodyMover(Object o) -> PbcBoxedRigidBodyMover"""
824 return _IMP_spb._object_cast_to_PbcBoxedRigidBodyMover(o)
826 _object_types.append(
"RigidBodyNewMover")
829 def _object_cast_to_RigidBodyNewMover(o):
830 r"""_object_cast_to_RigidBodyNewMover(Object o) -> RigidBodyNewMover"""
831 return _IMP_spb._object_cast_to_RigidBodyNewMover(o)
833 _object_types.append(
"RigidBodyPackingScore")
836 def _object_cast_to_RigidBodyPackingScore(o):
837 r"""_object_cast_to_RigidBodyPackingScore(Object o) -> RigidBodyPackingScore"""
838 return _IMP_spb._object_cast_to_RigidBodyPackingScore(o)
840 _object_types.append(
"RMSDMetric")
843 def _object_cast_to_RMSDMetric(o):
844 r"""_object_cast_to_RMSDMetric(Object o) -> RMSDMetric"""
845 return _IMP_spb._object_cast_to_RMSDMetric(o)
847 _object_types.append(
"SameParticlePairFilter")
850 def _object_cast_to_SameParticlePairFilter(o):
851 r"""_object_cast_to_SameParticlePairFilter(Object o) -> SameParticlePairFilter"""
852 return _IMP_spb._object_cast_to_SameParticlePairFilter(o)
854 _object_types.append(
"SameRigidBodyPairFilter")
857 def _object_cast_to_SameRigidBodyPairFilter(o):
858 r"""_object_cast_to_SameRigidBodyPairFilter(Object o) -> SameRigidBodyPairFilter"""
859 return _IMP_spb._object_cast_to_SameRigidBodyPairFilter(o)
861 _object_types.append(
"TiltSingletonScore")
864 def _object_cast_to_TiltSingletonScore(o):
865 r"""_object_cast_to_TiltSingletonScore(Object o) -> TiltSingletonScore"""
866 return _IMP_spb._object_cast_to_TiltSingletonScore(o)
868 _object_types.append(
"TransformationSymmetry")
871 _object_types.append(
"TwoStateGoModelRestraint")
874 def _object_cast_to_TwoStateGoModelRestraint(o):
875 r"""_object_cast_to_TwoStateGoModelRestraint(Object o) -> TwoStateGoModelRestraint"""
876 return _IMP_spb._object_cast_to_TwoStateGoModelRestraint(o)
878 _object_types.append(
"UniformBoundedRestraint")
881 def _object_cast_to_UniformBoundedRestraint(o):
882 r"""_object_cast_to_UniformBoundedRestraint(Object o) -> UniformBoundedRestraint"""
883 return _IMP_spb._object_cast_to_UniformBoundedRestraint(o)
885 r"""Proxy of C++ IMP::spb::AttributeDistancePairScore class."""
887 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
889 def __init__(self, f, k):
890 r"""__init__(AttributeDistancePairScore self, UnaryFunction f, FloatKey k) -> AttributeDistancePairScore"""
891 _IMP_spb.AttributeDistancePairScore_swiginit(self, _IMP_spb.new_AttributeDistancePairScore(f, k))
893 def do_get_inputs(self, m, pis):
894 r"""do_get_inputs(AttributeDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
895 return _IMP_spb.AttributeDistancePairScore_do_get_inputs(self, m, pis)
897 def get_version_info(self):
898 r"""get_version_info(AttributeDistancePairScore self) -> VersionInfo"""
899 return _IMP_spb.AttributeDistancePairScore_get_version_info(self)
900 __swig_destroy__ = _IMP_spb.delete_AttributeDistancePairScore
902 def show(self, *args):
903 r"""show(AttributeDistancePairScore self, _ostream out=std::cout)"""
904 return _IMP_spb.AttributeDistancePairScore_show(self, *args)
907 r"""__str__(AttributeDistancePairScore self) -> std::string"""
908 return _IMP_spb.AttributeDistancePairScore___str__(self)
911 r"""__repr__(AttributeDistancePairScore self) -> std::string"""
912 return _IMP_spb.AttributeDistancePairScore___repr__(self)
916 return _object_cast_to_AttributeDistancePairScore(o)
920 _IMP_spb.AttributeDistancePairScore_swigregister(AttributeDistancePairScore)
922 r"""Proxy of C++ IMP::spb::BoxedMover class."""
924 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
926 def __init__(self, p, max_tr, centers):
927 r"""__init__(BoxedMover self, Particle p, IMP::Float max_tr, IMP::algebra::Vector3Ds centers) -> BoxedMover"""
928 _IMP_spb.BoxedMover_swiginit(self, _IMP_spb.new_BoxedMover(p, max_tr, centers))
930 def get_version_info(self):
931 r"""get_version_info(BoxedMover self) -> VersionInfo"""
932 return _IMP_spb.BoxedMover_get_version_info(self)
933 __swig_destroy__ = _IMP_spb.delete_BoxedMover
935 def show(self, *args):
936 r"""show(BoxedMover self, _ostream out=std::cout)"""
937 return _IMP_spb.BoxedMover_show(self, *args)
940 r"""__str__(BoxedMover self) -> std::string"""
941 return _IMP_spb.BoxedMover___str__(self)
944 r"""__repr__(BoxedMover self) -> std::string"""
945 return _IMP_spb.BoxedMover___repr__(self)
949 return _object_cast_to_BoxedMover(o)
953 _IMP_spb.BoxedMover_swigregister(BoxedMover)
955 r"""Proxy of C++ IMP::spb::CellMover class."""
957 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
959 def __init__(self, p, ps, max_translation):
960 r"""__init__(CellMover self, Particle p, IMP::Particles ps, IMP::Float max_translation) -> CellMover"""
961 _IMP_spb.CellMover_swiginit(self, _IMP_spb.new_CellMover(p, ps, max_translation))
963 def get_version_info(self):
964 r"""get_version_info(CellMover self) -> VersionInfo"""
965 return _IMP_spb.CellMover_get_version_info(self)
966 __swig_destroy__ = _IMP_spb.delete_CellMover
968 def show(self, *args):
969 r"""show(CellMover self, _ostream out=std::cout)"""
970 return _IMP_spb.CellMover_show(self, *args)
973 r"""__str__(CellMover self) -> std::string"""
974 return _IMP_spb.CellMover___str__(self)
977 r"""__repr__(CellMover self) -> std::string"""
978 return _IMP_spb.CellMover___repr__(self)
982 return _object_cast_to_CellMover(o)
986 _IMP_spb.CellMover_swigregister(CellMover)
988 r"""Proxy of C++ IMP::spb::ChiSquareMetric class."""
990 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
992 def __init__(self, nu_exp, constr_type=0):
993 r"""__init__(ChiSquareMetric self, IMP::Floats nu_exp, int constr_type=0) -> ChiSquareMetric"""
994 _IMP_spb.ChiSquareMetric_swiginit(self, _IMP_spb.new_ChiSquareMetric(nu_exp, constr_type))
996 def add_configuration(self, nu, stddev, weight=1.0):
997 r"""add_configuration(ChiSquareMetric self, IMP::Floats nu, IMP::Floats stddev, double weight=1.0)"""
998 return _IMP_spb.ChiSquareMetric_add_configuration(self, nu, stddev, weight)
1000 def get_nu(self, i):
1001 r"""get_nu(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
1002 return _IMP_spb.ChiSquareMetric_get_nu(self, i)
1004 def get_stddev(self, i):
1005 r"""get_stddev(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
1006 return _IMP_spb.ChiSquareMetric_get_stddev(self, i)
1008 def get_weight(self, i):
1009 r"""get_weight(ChiSquareMetric self, unsigned int i) -> IMP::Float"""
1010 return _IMP_spb.ChiSquareMetric_get_weight(self, i)
1012 def get_chisquare_exp(self, i):
1013 r"""get_chisquare_exp(ChiSquareMetric self, unsigned int i) -> double"""
1014 return _IMP_spb.ChiSquareMetric_get_chisquare_exp(self, i)
1016 def get_version_info(self):
1017 r"""get_version_info(ChiSquareMetric self) -> VersionInfo"""
1018 return _IMP_spb.ChiSquareMetric_get_version_info(self)
1019 __swig_destroy__ = _IMP_spb.delete_ChiSquareMetric
1022 r"""__str__(ChiSquareMetric self) -> std::string"""
1023 return _IMP_spb.ChiSquareMetric___str__(self)
1026 r"""__repr__(ChiSquareMetric self) -> std::string"""
1027 return _IMP_spb.ChiSquareMetric___repr__(self)
1031 return _object_cast_to_ChiSquareMetric(o)
1035 _IMP_spb.ChiSquareMetric_swigregister(ChiSquareMetric)
1037 r"""Proxy of C++ IMP::spb::ContactMapMetric class."""
1039 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1041 def __init__(self, ps, r0, nn, mm):
1042 r"""__init__(ContactMapMetric self, IMP::Particles ps, double r0, int nn, int mm) -> ContactMapMetric"""
1043 _IMP_spb.ContactMapMetric_swiginit(self, _IMP_spb.new_ContactMapMetric(ps, r0, nn, mm))
1045 def add_configuration(self, weight=1.0):
1046 r"""add_configuration(ContactMapMetric self, double weight=1.0)"""
1047 return _IMP_spb.ContactMapMetric_add_configuration(self, weight)
1049 def add_map(self, matrix, weight=1.0):
1050 r"""add_map(ContactMapMetric self, IMP::Floats matrix, double weight=1.0)"""
1051 return _IMP_spb.ContactMapMetric_add_map(self, matrix, weight)
1053 def get_weight(self, i):
1054 r"""get_weight(ContactMapMetric self, unsigned int i) -> IMP::Float"""
1055 return _IMP_spb.ContactMapMetric_get_weight(self, i)
1057 def get_item(self, i):
1058 r"""get_item(ContactMapMetric self, unsigned int i) -> IMP::Floats"""
1059 return _IMP_spb.ContactMapMetric_get_item(self, i)
1061 def get_version_info(self):
1062 r"""get_version_info(ContactMapMetric self) -> VersionInfo"""
1063 return _IMP_spb.ContactMapMetric_get_version_info(self)
1064 __swig_destroy__ = _IMP_spb.delete_ContactMapMetric
1067 r"""__str__(ContactMapMetric self) -> std::string"""
1068 return _IMP_spb.ContactMapMetric___str__(self)
1071 r"""__repr__(ContactMapMetric self) -> std::string"""
1072 return _IMP_spb.ContactMapMetric___repr__(self)
1076 return _object_cast_to_ContactMapMetric(o)
1080 _IMP_spb.ContactMapMetric_swigregister(ContactMapMetric)
1082 r"""Proxy of C++ IMP::spb::DiameterRgyrRestraint class."""
1084 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1086 def __init__(self, ps, diameter, rgyr, kappa):
1087 r"""__init__(DiameterRgyrRestraint self, IMP::Particles ps, IMP::Float diameter, IMP::Float rgyr, IMP::Float kappa) -> DiameterRgyrRestraint"""
1088 _IMP_spb.DiameterRgyrRestraint_swiginit(self, _IMP_spb.new_DiameterRgyrRestraint(ps, diameter, rgyr, kappa))
1090 def do_get_inputs(self):
1091 r"""do_get_inputs(DiameterRgyrRestraint self) -> IMP::ModelObjectsTemp"""
1092 return _IMP_spb.DiameterRgyrRestraint_do_get_inputs(self)
1094 def get_version_info(self):
1095 r"""get_version_info(DiameterRgyrRestraint self) -> VersionInfo"""
1096 return _IMP_spb.DiameterRgyrRestraint_get_version_info(self)
1097 __swig_destroy__ = _IMP_spb.delete_DiameterRgyrRestraint
1100 r"""__str__(DiameterRgyrRestraint self) -> std::string"""
1101 return _IMP_spb.DiameterRgyrRestraint___str__(self)
1104 r"""__repr__(DiameterRgyrRestraint self) -> std::string"""
1105 return _IMP_spb.DiameterRgyrRestraint___repr__(self)
1109 return _object_cast_to_DiameterRgyrRestraint(o)
1113 _IMP_spb.DiameterRgyrRestraint_swigregister(DiameterRgyrRestraint)
1115 r"""Proxy of C++ IMP::spb::DistanceRMSDMetric class."""
1117 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1119 def __init__(self, ps, align, tr, px, py, pz):
1120 r"""__init__(DistanceRMSDMetric self, IMP::Particles ps, IMP::Ints align, IMP::algebra::Transformation3Ds tr, Particle px, Particle py, Particle pz) -> DistanceRMSDMetric"""
1121 _IMP_spb.DistanceRMSDMetric_swiginit(self, _IMP_spb.new_DistanceRMSDMetric(ps, align, tr, px, py, pz))
1123 def add_configuration(self, weight=1.0):
1124 r"""add_configuration(DistanceRMSDMetric self, double weight=1.0)"""
1125 return _IMP_spb.DistanceRMSDMetric_add_configuration(self, weight)
1127 def get_weight(self, i):
1128 r"""get_weight(DistanceRMSDMetric self, unsigned int i) -> IMP::Float"""
1129 return _IMP_spb.DistanceRMSDMetric_get_weight(self, i)
1131 def get_version_info(self):
1132 r"""get_version_info(DistanceRMSDMetric self) -> VersionInfo"""
1133 return _IMP_spb.DistanceRMSDMetric_get_version_info(self)
1134 __swig_destroy__ = _IMP_spb.delete_DistanceRMSDMetric
1137 r"""__str__(DistanceRMSDMetric self) -> std::string"""
1138 return _IMP_spb.DistanceRMSDMetric___str__(self)
1141 r"""__repr__(DistanceRMSDMetric self) -> std::string"""
1142 return _IMP_spb.DistanceRMSDMetric___repr__(self)
1146 return _object_cast_to_DistanceRMSDMetric(o)
1150 _IMP_spb.DistanceRMSDMetric_swigregister(DistanceRMSDMetric)
1152 def create_gromos_clustering(d, cutoff):
1153 r"""create_gromos_clustering(Metric d, double cutoff) -> PartitionalClustering"""
1154 return _IMP_spb.create_gromos_clustering(d, cutoff)
1156 r"""Proxy of C++ IMP::spb::Gaussian class."""
1158 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1160 def __init__(self, Emin, Zmin, sigma):
1161 r"""__init__(Gaussian self, IMP::Float Emin, IMP::Float Zmin, IMP::Float sigma) -> Gaussian"""
1162 _IMP_spb.Gaussian_swiginit(self, _IMP_spb.new_Gaussian(Emin, Zmin, sigma))
1164 def get_version_info(self):
1165 r"""get_version_info(Gaussian self) -> VersionInfo"""
1166 return _IMP_spb.Gaussian_get_version_info(self)
1167 __swig_destroy__ = _IMP_spb.delete_Gaussian
1170 r"""__str__(Gaussian self) -> std::string"""
1171 return _IMP_spb.Gaussian___str__(self)
1174 r"""__repr__(Gaussian self) -> std::string"""
1175 return _IMP_spb.Gaussian___repr__(self)
1179 return _object_cast_to_Gaussian(o)
1183 _IMP_spb.Gaussian_swigregister(Gaussian)
1185 r"""Proxy of C++ IMP::spb::HelixDecorator class."""
1187 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1189 def __init__(self, *args):
1191 __init__(HelixDecorator self) -> HelixDecorator
1192 __init__(HelixDecorator self, Model m, ParticleIndex id) -> HelixDecorator
1193 __init__(HelixDecorator self, _ParticleAdaptor d) -> HelixDecorator
1195 _IMP_spb.HelixDecorator_swiginit(self, _IMP_spb.new_HelixDecorator(*args))
1197 def show(self, *args):
1198 r"""show(HelixDecorator self, _ostream out=std::cout)"""
1199 return _IMP_spb.HelixDecorator_show(self, *args)
1202 def setup_particle(p, b, e):
1203 r"""setup_particle(Particle p, IMP::Float b, IMP::Float e) -> HelixDecorator"""
1204 return _IMP_spb.HelixDecorator_setup_particle(p, b, e)
1206 def get_begin(self):
1207 r"""get_begin(HelixDecorator self) -> IMP::Float"""
1208 return _IMP_spb.HelixDecorator_get_begin(self)
1211 r"""get_end(HelixDecorator self) -> IMP::Float"""
1212 return _IMP_spb.HelixDecorator_get_end(self)
1215 def get_is_setup(*args):
1217 get_is_setup(_ParticleAdaptor p) -> bool
1218 get_is_setup(Model m, ParticleIndex id) -> bool
1220 return _IMP_spb.HelixDecorator_get_is_setup(*args)
1222 def set_begin(self, v):
1223 r"""set_begin(HelixDecorator self, IMP::Float v)"""
1224 return _IMP_spb.HelixDecorator_set_begin(self, v)
1226 def set_end(self, v):
1227 r"""set_end(HelixDecorator self, IMP::Float v)"""
1228 return _IMP_spb.HelixDecorator_set_end(self, v)
1230 def add_attribute(self, *args):
1232 add_attribute(HelixDecorator self, FloatKey k, IMP::Float v, bool opt)
1233 add_attribute(HelixDecorator self, FloatKey a0, IMP::Float a1)
1234 add_attribute(HelixDecorator self, IntKey a0, IMP::Int a1)
1235 add_attribute(HelixDecorator self, FloatsKey a0, IMP::Floats a1)
1236 add_attribute(HelixDecorator self, IntsKey a0, IMP::Ints a1)
1237 add_attribute(HelixDecorator self, StringKey a0, IMP::String a1)
1238 add_attribute(HelixDecorator self, ParticleIndexKey a0, Particle a1)
1239 add_attribute(HelixDecorator self, ObjectKey a0, Object a1)
1241 return _IMP_spb.HelixDecorator_add_attribute(self, *args)
1243 def get_value(self, *args):
1245 get_value(HelixDecorator self, FloatKey a0) -> IMP::Float
1246 get_value(HelixDecorator self, IntKey a0) -> IMP::Int
1247 get_value(HelixDecorator self, FloatsKey a0) -> IMP::Floats
1248 get_value(HelixDecorator self, IntsKey a0) -> IMP::Ints
1249 get_value(HelixDecorator self, StringKey a0) -> IMP::String
1250 get_value(HelixDecorator self, ParticleIndexKey a0) -> Particle
1251 get_value(HelixDecorator self, ObjectKey a0) -> Object
1253 return _IMP_spb.HelixDecorator_get_value(self, *args)
1255 def set_value(self, *args):
1257 set_value(HelixDecorator self, FloatKey a0, IMP::Float a1)
1258 set_value(HelixDecorator self, IntKey a0, IMP::Int a1)
1259 set_value(HelixDecorator self, FloatsKey a0, IMP::Floats a1)
1260 set_value(HelixDecorator self, IntsKey a0, IMP::Ints a1)
1261 set_value(HelixDecorator self, StringKey a0, IMP::String a1)
1262 set_value(HelixDecorator self, ParticleIndexKey a0, Particle a1)
1263 set_value(HelixDecorator self, ObjectKey a0, Object a1)
1265 return _IMP_spb.HelixDecorator_set_value(self, *args)
1267 def remove_attribute(self, *args):
1269 remove_attribute(HelixDecorator self, FloatKey a0)
1270 remove_attribute(HelixDecorator self, IntKey a0)
1271 remove_attribute(HelixDecorator self, FloatsKey a0)
1272 remove_attribute(HelixDecorator self, IntsKey a0)
1273 remove_attribute(HelixDecorator self, StringKey a0)
1274 remove_attribute(HelixDecorator self, ParticleIndexKey a0)
1275 remove_attribute(HelixDecorator self, ObjectKey a0)
1277 return _IMP_spb.HelixDecorator_remove_attribute(self, *args)
1279 def has_attribute(self, *args):
1281 has_attribute(HelixDecorator self, FloatKey a0) -> bool
1282 has_attribute(HelixDecorator self, IntKey a0) -> bool
1283 has_attribute(HelixDecorator self, FloatsKey a0) -> bool
1284 has_attribute(HelixDecorator self, IntsKey a0) -> bool
1285 has_attribute(HelixDecorator self, StringKey a0) -> bool
1286 has_attribute(HelixDecorator self, ParticleIndexKey a0) -> bool
1287 has_attribute(HelixDecorator self, ObjectKey a0) -> bool
1289 return _IMP_spb.HelixDecorator_has_attribute(self, *args)
1291 def get_derivative(self, a0):
1292 r"""get_derivative(HelixDecorator self, FloatKey a0) -> double"""
1293 return _IMP_spb.HelixDecorator_get_derivative(self, a0)
1296 r"""get_name(HelixDecorator self) -> std::string"""
1297 return _IMP_spb.HelixDecorator_get_name(self)
1299 def clear_caches(self):
1300 r"""clear_caches(HelixDecorator self)"""
1301 return _IMP_spb.HelixDecorator_clear_caches(self)
1303 def set_name(self, a0):
1304 r"""set_name(HelixDecorator self, std::string a0)"""
1305 return _IMP_spb.HelixDecorator_set_name(self, a0)
1308 r"""set_check_level(HelixDecorator self, IMP::CheckLevel a0)"""
1309 return _IMP_spb.HelixDecorator_set_check_level(self, a0)
1311 def add_to_derivative(self, a0, a1, a2):
1312 r"""add_to_derivative(HelixDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1313 return _IMP_spb.HelixDecorator_add_to_derivative(self, a0, a1, a2)
1315 def set_is_optimized(self, a0, a1):
1316 r"""set_is_optimized(HelixDecorator self, FloatKey a0, bool a1)"""
1317 return _IMP_spb.HelixDecorator_set_is_optimized(self, a0, a1)
1319 def get_is_optimized(self, a0):
1320 r"""get_is_optimized(HelixDecorator self, FloatKey a0) -> bool"""
1321 return _IMP_spb.HelixDecorator_get_is_optimized(self, a0)
1324 r"""get_check_level(HelixDecorator self) -> IMP::CheckLevel"""
1325 return _IMP_spb.HelixDecorator_get_check_level(self)
1327 def __eq__(self, *args):
1329 __eq__(HelixDecorator self, HelixDecorator o) -> bool
1330 __eq__(HelixDecorator self, Particle d) -> bool
1332 return _IMP_spb.HelixDecorator___eq__(self, *args)
1334 def __ne__(self, *args):
1336 __ne__(HelixDecorator self, HelixDecorator o) -> bool
1337 __ne__(HelixDecorator self, Particle d) -> bool
1339 return _IMP_spb.HelixDecorator___ne__(self, *args)
1341 def __le__(self, *args):
1343 __le__(HelixDecorator self, HelixDecorator o) -> bool
1344 __le__(HelixDecorator self, Particle d) -> bool
1346 return _IMP_spb.HelixDecorator___le__(self, *args)
1348 def __lt__(self, *args):
1350 __lt__(HelixDecorator self, HelixDecorator o) -> bool
1351 __lt__(HelixDecorator self, Particle d) -> bool
1353 return _IMP_spb.HelixDecorator___lt__(self, *args)
1355 def __ge__(self, *args):
1357 __ge__(HelixDecorator self, HelixDecorator o) -> bool
1358 __ge__(HelixDecorator self, Particle d) -> bool
1360 return _IMP_spb.HelixDecorator___ge__(self, *args)
1362 def __gt__(self, *args):
1364 __gt__(HelixDecorator self, HelixDecorator o) -> bool
1365 __gt__(HelixDecorator self, Particle d) -> bool
1367 return _IMP_spb.HelixDecorator___gt__(self, *args)
1370 r"""__hash__(HelixDecorator self) -> std::size_t"""
1371 return _IMP_spb.HelixDecorator___hash__(self)
1374 r"""__str__(HelixDecorator self) -> std::string"""
1375 return _IMP_spb.HelixDecorator___str__(self)
1378 r"""__repr__(HelixDecorator self) -> std::string"""
1379 return _IMP_spb.HelixDecorator___repr__(self)
1381 def _get_as_binary(self):
1382 r"""_get_as_binary(HelixDecorator self) -> PyObject *"""
1383 return _IMP_spb.HelixDecorator__get_as_binary(self)
1385 def _set_from_binary(self, p):
1386 r"""_set_from_binary(HelixDecorator self, PyObject * p)"""
1387 return _IMP_spb.HelixDecorator__set_from_binary(self, p)
1389 def __getstate__(self):
1390 p = self._get_as_binary()
1391 if len(self.__dict__) > 1:
1392 d = self.__dict__.copy()
1397 def __setstate__(self, p):
1398 if not hasattr(self,
'this'):
1400 if isinstance(p, tuple):
1402 self.__dict__.update(d)
1403 return self._set_from_binary(p)
1405 __swig_destroy__ = _IMP_spb.delete_HelixDecorator
1408 _IMP_spb.HelixDecorator_swigregister(HelixDecorator)
1410 r"""Proxy of C++ IMP::spb::ISDRestraint class."""
1412 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1414 def __init__(self, *args, **kwargs):
1415 raise AttributeError(
"No constructor defined - class is abstract")
1417 def get_probability(self):
1418 r"""get_probability(ISDRestraint self) -> double"""
1419 return _IMP_spb.ISDRestraint_get_probability(self)
1422 r"""__str__(ISDRestraint self) -> std::string"""
1423 return _IMP_spb.ISDRestraint___str__(self)
1426 r"""__repr__(ISDRestraint self) -> std::string"""
1427 return _IMP_spb.ISDRestraint___repr__(self)
1431 return _object_cast_to_ISDRestraint(o)
1433 __swig_destroy__ = _IMP_spb.delete_ISDRestraint
1436 _IMP_spb.ISDRestraint_swigregister(ISDRestraint)
1438 r"""Proxy of C++ IMP::spb::KinkPairScore class."""
1440 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1442 def __init__(self, f):
1443 r"""__init__(KinkPairScore self, UnaryFunction f) -> KinkPairScore"""
1444 _IMP_spb.KinkPairScore_swiginit(self, _IMP_spb.new_KinkPairScore(f))
1446 def do_get_inputs(self, m, pis):
1447 r"""do_get_inputs(KinkPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1448 return _IMP_spb.KinkPairScore_do_get_inputs(self, m, pis)
1450 def get_version_info(self):
1451 r"""get_version_info(KinkPairScore self) -> VersionInfo"""
1452 return _IMP_spb.KinkPairScore_get_version_info(self)
1453 __swig_destroy__ = _IMP_spb.delete_KinkPairScore
1455 def show(self, *args):
1456 r"""show(KinkPairScore self, _ostream out=std::cout)"""
1457 return _IMP_spb.KinkPairScore_show(self, *args)
1460 r"""__str__(KinkPairScore self) -> std::string"""
1461 return _IMP_spb.KinkPairScore___str__(self)
1464 r"""__repr__(KinkPairScore self) -> std::string"""
1465 return _IMP_spb.KinkPairScore___repr__(self)
1469 return _object_cast_to_KinkPairScore(o)
1473 _IMP_spb.KinkPairScore_swigregister(KinkPairScore)
1475 r"""Proxy of C++ IMP::spb::MolecularDynamicsWithWte class."""
1477 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1479 def __init__(self, m, emin, emax, sigma, gamma, w0):
1480 r"""__init__(MolecularDynamicsWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0) -> MolecularDynamicsWithWte"""
1481 _IMP_spb.MolecularDynamicsWithWte_swiginit(self, _IMP_spb.new_MolecularDynamicsWithWte(m, emin, emax, sigma, gamma, w0))
1483 def get_bias(self, score):
1484 r"""get_bias(MolecularDynamicsWithWte self, double score) -> double"""
1485 return _IMP_spb.MolecularDynamicsWithWte_get_bias(self, score)
1487 def get_bias_buffer(self):
1488 r"""get_bias_buffer(MolecularDynamicsWithWte self) -> IMP::Floats"""
1489 return _IMP_spb.MolecularDynamicsWithWte_get_bias_buffer(self)
1492 r"""get_nbin(MolecularDynamicsWithWte self) -> int"""
1493 return _IMP_spb.MolecularDynamicsWithWte_get_nbin(self)
1495 def set_w0(self, w0):
1496 r"""set_w0(MolecularDynamicsWithWte self, double w0)"""
1497 return _IMP_spb.MolecularDynamicsWithWte_set_w0(self, w0)
1499 def set_bias(self, bias):
1500 r"""set_bias(MolecularDynamicsWithWte self, IMP::Floats const & bias)"""
1501 return _IMP_spb.MolecularDynamicsWithWte_set_bias(self, bias)
1503 def get_kinetic_energy(self):
1504 r"""get_kinetic_energy(MolecularDynamicsWithWte self) -> IMP::Float"""
1505 return _IMP_spb.MolecularDynamicsWithWte_get_kinetic_energy(self)
1507 def get_kinetic_temperature(self, ekinetic):
1508 r"""get_kinetic_temperature(MolecularDynamicsWithWte self, IMP::Float ekinetic) -> IMP::Float"""
1509 return _IMP_spb.MolecularDynamicsWithWte_get_kinetic_temperature(self, ekinetic)
1511 def set_velocity_cap(self, velocity_cap):
1512 r"""set_velocity_cap(MolecularDynamicsWithWte self, IMP::Float velocity_cap)"""
1513 return _IMP_spb.MolecularDynamicsWithWte_set_velocity_cap(self, velocity_cap)
1515 def assign_velocities(self, temperature):
1516 r"""assign_velocities(MolecularDynamicsWithWte self, IMP::Float temperature)"""
1517 return _IMP_spb.MolecularDynamicsWithWte_assign_velocities(self, temperature)
1519 def rescale_velocities(self, rescale):
1520 r"""rescale_velocities(MolecularDynamicsWithWte self, IMP::Float rescale)"""
1521 return _IMP_spb.MolecularDynamicsWithWte_rescale_velocities(self, rescale)
1523 def setup(self, ps):
1524 r"""setup(MolecularDynamicsWithWte self, IMP::ParticleIndexes const & ps)"""
1525 return _IMP_spb.MolecularDynamicsWithWte_setup(self, ps)
1527 def do_step(self, sc, dt):
1528 r"""do_step(MolecularDynamicsWithWte self, IMP::ParticleIndexes const & sc, double dt) -> double"""
1529 return _IMP_spb.MolecularDynamicsWithWte_do_step(self, sc, dt)
1531 def get_is_simulation_particle(self, p):
1532 r"""get_is_simulation_particle(MolecularDynamicsWithWte self, ParticleIndex p) -> bool"""
1533 return _IMP_spb.MolecularDynamicsWithWte_get_is_simulation_particle(self, p)
1536 r"""__str__(MolecularDynamicsWithWte self) -> std::string"""
1537 return _IMP_spb.MolecularDynamicsWithWte___str__(self)
1540 r"""__repr__(MolecularDynamicsWithWte self) -> std::string"""
1541 return _IMP_spb.MolecularDynamicsWithWte___repr__(self)
1545 return _object_cast_to_MolecularDynamicsWithWte(o)
1547 __swig_destroy__ = _IMP_spb.delete_MolecularDynamicsWithWte
1550 _IMP_spb.MolecularDynamicsWithWte_swigregister(MolecularDynamicsWithWte)
1552 r"""Proxy of C++ IMP::spb::MonteCarloWithWte class."""
1554 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1556 def __init__(self, *args):
1558 __init__(MonteCarloWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0) -> MonteCarloWithWte
1559 __init__(MonteCarloWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0, RestraintSet rset) -> MonteCarloWithWte
1561 _IMP_spb.MonteCarloWithWte_swiginit(self, _IMP_spb.new_MonteCarloWithWte(*args))
1563 def get_bias(self, score):
1564 r"""get_bias(MonteCarloWithWte self, double score) -> double"""
1565 return _IMP_spb.MonteCarloWithWte_get_bias(self, score)
1567 def get_bias_asfloats(self):
1568 r"""get_bias_asfloats(MonteCarloWithWte self) -> IMP::Floats"""
1569 return _IMP_spb.MonteCarloWithWte_get_bias_asfloats(self)
1572 r"""get_nbin(MonteCarloWithWte self) -> int"""
1573 return _IMP_spb.MonteCarloWithWte_get_nbin(self)
1575 def set_w0(self, w0):
1576 r"""set_w0(MonteCarloWithWte self, double w0)"""
1577 return _IMP_spb.MonteCarloWithWte_set_w0(self, w0)
1579 def set_bias(self, bias):
1580 r"""set_bias(MonteCarloWithWte self, IMP::Floats const & bias)"""
1581 return _IMP_spb.MonteCarloWithWte_set_bias(self, bias)
1584 r"""do_step(MonteCarloWithWte self)"""
1585 return _IMP_spb.MonteCarloWithWte_do_step(self)
1586 __swig_destroy__ = _IMP_spb.delete_MonteCarloWithWte
1589 r"""__str__(MonteCarloWithWte self) -> std::string"""
1590 return _IMP_spb.MonteCarloWithWte___str__(self)
1593 r"""__repr__(MonteCarloWithWte self) -> std::string"""
1594 return _IMP_spb.MonteCarloWithWte___repr__(self)
1598 return _object_cast_to_MonteCarloWithWte(o)
1602 _IMP_spb.MonteCarloWithWte_swigregister(MonteCarloWithWte)
1604 r"""Proxy of C++ IMP::spb::NuisanceRangeModifier class."""
1606 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1609 r"""__init__(NuisanceRangeModifier self) -> NuisanceRangeModifier"""
1610 _IMP_spb.NuisanceRangeModifier_swiginit(self, _IMP_spb.new_NuisanceRangeModifier())
1612 def do_get_inputs(self, m, pis):
1613 r"""do_get_inputs(NuisanceRangeModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1614 return _IMP_spb.NuisanceRangeModifier_do_get_inputs(self, m, pis)
1616 def do_get_outputs(self, m, pis):
1617 r"""do_get_outputs(NuisanceRangeModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1618 return _IMP_spb.NuisanceRangeModifier_do_get_outputs(self, m, pis)
1620 def get_version_info(self):
1621 r"""get_version_info(NuisanceRangeModifier self) -> VersionInfo"""
1622 return _IMP_spb.NuisanceRangeModifier_get_version_info(self)
1623 __swig_destroy__ = _IMP_spb.delete_NuisanceRangeModifier
1625 def show(self, *args):
1626 r"""show(NuisanceRangeModifier self, _ostream out=std::cout)"""
1627 return _IMP_spb.NuisanceRangeModifier_show(self, *args)
1630 r"""__str__(NuisanceRangeModifier self) -> std::string"""
1631 return _IMP_spb.NuisanceRangeModifier___str__(self)
1634 r"""__repr__(NuisanceRangeModifier self) -> std::string"""
1635 return _IMP_spb.NuisanceRangeModifier___repr__(self)
1639 return _object_cast_to_NuisanceRangeModifier(o)
1643 _IMP_spb.NuisanceRangeModifier_swigregister(NuisanceRangeModifier)
1645 r"""Proxy of C++ IMP::spb::PbcBoxedMover class."""
1647 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1649 def __init__(self, p, ps, max_tr, centers, transformations, px, py, pz):
1650 r"""__init__(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"""
1651 _IMP_spb.PbcBoxedMover_swiginit(self, _IMP_spb.new_PbcBoxedMover(p, ps, max_tr, centers, transformations, px, py, pz))
1653 def get_version_info(self):
1654 r"""get_version_info(PbcBoxedMover self) -> VersionInfo"""
1655 return _IMP_spb.PbcBoxedMover_get_version_info(self)
1656 __swig_destroy__ = _IMP_spb.delete_PbcBoxedMover
1658 def show(self, *args):
1659 r"""show(PbcBoxedMover self, _ostream out=std::cout)"""
1660 return _IMP_spb.PbcBoxedMover_show(self, *args)
1663 r"""__str__(PbcBoxedMover self) -> std::string"""
1664 return _IMP_spb.PbcBoxedMover___str__(self)
1667 r"""__repr__(PbcBoxedMover self) -> std::string"""
1668 return _IMP_spb.PbcBoxedMover___repr__(self)
1672 return _object_cast_to_PbcBoxedMover(o)
1676 _IMP_spb.PbcBoxedMover_swigregister(PbcBoxedMover)
1678 r"""Proxy of C++ IMP::spb::PbcBoxedRigidBodyMover class."""
1680 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1682 def __init__(self, d, ps, max_translation, max_rotation, centers, transformations, px, py, pz):
1683 r"""__init__(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"""
1684 _IMP_spb.PbcBoxedRigidBodyMover_swiginit(self, _IMP_spb.new_PbcBoxedRigidBodyMover(d, ps, max_translation, max_rotation, centers, transformations, px, py, pz))
1686 def get_version_info(self):
1687 r"""get_version_info(PbcBoxedRigidBodyMover self) -> VersionInfo"""
1688 return _IMP_spb.PbcBoxedRigidBodyMover_get_version_info(self)
1689 __swig_destroy__ = _IMP_spb.delete_PbcBoxedRigidBodyMover
1691 def show(self, *args):
1692 r"""show(PbcBoxedRigidBodyMover self, _ostream out=std::cout)"""
1693 return _IMP_spb.PbcBoxedRigidBodyMover_show(self, *args)
1696 r"""__str__(PbcBoxedRigidBodyMover self) -> std::string"""
1697 return _IMP_spb.PbcBoxedRigidBodyMover___str__(self)
1700 r"""__repr__(PbcBoxedRigidBodyMover self) -> std::string"""
1701 return _IMP_spb.PbcBoxedRigidBodyMover___repr__(self)
1705 return _object_cast_to_PbcBoxedRigidBodyMover(o)
1709 _IMP_spb.PbcBoxedRigidBodyMover_swigregister(PbcBoxedRigidBodyMover)
1711 r"""Proxy of C++ IMP::spb::RigidBodyNewMover class."""
1713 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1715 def __init__(self, d, max_x_translation, max_y_translation, max_z_translation, max_rot):
1716 r"""__init__(RigidBodyNewMover self, RigidBody d, IMP::Float max_x_translation, IMP::Float max_y_translation, IMP::Float max_z_translation, IMP::Float max_rot) -> RigidBodyNewMover"""
1717 _IMP_spb.RigidBodyNewMover_swiginit(self, _IMP_spb.new_RigidBodyNewMover(d, max_x_translation, max_y_translation, max_z_translation, max_rot))
1719 def get_version_info(self):
1720 r"""get_version_info(RigidBodyNewMover self) -> VersionInfo"""
1721 return _IMP_spb.RigidBodyNewMover_get_version_info(self)
1722 __swig_destroy__ = _IMP_spb.delete_RigidBodyNewMover
1724 def show(self, *args):
1725 r"""show(RigidBodyNewMover self, _ostream out=std::cout)"""
1726 return _IMP_spb.RigidBodyNewMover_show(self, *args)
1729 r"""__str__(RigidBodyNewMover self) -> std::string"""
1730 return _IMP_spb.RigidBodyNewMover___str__(self)
1733 r"""__repr__(RigidBodyNewMover self) -> std::string"""
1734 return _IMP_spb.RigidBodyNewMover___repr__(self)
1738 return _object_cast_to_RigidBodyNewMover(o)
1742 _IMP_spb.RigidBodyNewMover_swigregister(RigidBodyNewMover)
1744 r"""Proxy of C++ IMP::spb::RigidBodyPackingScore class."""
1746 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1748 def __init__(self, tbr, omb, ome, ddb, dde, kappa):
1749 r"""__init__(RigidBodyPackingScore self, TableRefiner tbr, IMP::Floats omb, IMP::Floats ome, IMP::Floats ddb, IMP::Floats dde, double kappa) -> RigidBodyPackingScore"""
1750 _IMP_spb.RigidBodyPackingScore_swiginit(self, _IMP_spb.new_RigidBodyPackingScore(tbr, omb, ome, ddb, dde, kappa))
1752 def do_get_inputs(self, m, pis):
1753 r"""do_get_inputs(RigidBodyPackingScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1754 return _IMP_spb.RigidBodyPackingScore_do_get_inputs(self, m, pis)
1756 def show(self, *args):
1757 r"""show(RigidBodyPackingScore self, _ostream out=std::cout)"""
1758 return _IMP_spb.RigidBodyPackingScore_show(self, *args)
1761 r"""__str__(RigidBodyPackingScore self) -> std::string"""
1762 return _IMP_spb.RigidBodyPackingScore___str__(self)
1765 r"""__repr__(RigidBodyPackingScore self) -> std::string"""
1766 return _IMP_spb.RigidBodyPackingScore___repr__(self)
1770 return _object_cast_to_RigidBodyPackingScore(o)
1772 __swig_destroy__ = _IMP_spb.delete_RigidBodyPackingScore
1775 _IMP_spb.RigidBodyPackingScore_swigregister(RigidBodyPackingScore)
1777 r"""Proxy of C++ IMP::spb::RMSDMetric class."""
1779 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1781 def __init__(self, ps):
1782 r"""__init__(RMSDMetric self, IMP::Particles ps) -> RMSDMetric"""
1783 _IMP_spb.RMSDMetric_swiginit(self, _IMP_spb.new_RMSDMetric(ps))
1785 def add_configuration(self, weight=1.0):
1786 r"""add_configuration(RMSDMetric self, double weight=1.0)"""
1787 return _IMP_spb.RMSDMetric_add_configuration(self, weight)
1789 def get_weight(self, i):
1790 r"""get_weight(RMSDMetric self, unsigned int i) -> IMP::Float"""
1791 return _IMP_spb.RMSDMetric_get_weight(self, i)
1793 def get_version_info(self):
1794 r"""get_version_info(RMSDMetric self) -> VersionInfo"""
1795 return _IMP_spb.RMSDMetric_get_version_info(self)
1796 __swig_destroy__ = _IMP_spb.delete_RMSDMetric
1799 r"""__str__(RMSDMetric self) -> std::string"""
1800 return _IMP_spb.RMSDMetric___str__(self)
1803 r"""__repr__(RMSDMetric self) -> std::string"""
1804 return _IMP_spb.RMSDMetric___repr__(self)
1808 return _object_cast_to_RMSDMetric(o)
1812 _IMP_spb.RMSDMetric_swigregister(RMSDMetric)
1814 r"""Proxy of C++ IMP::spb::SameParticlePairFilter class."""
1816 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1819 r"""__init__(SameParticlePairFilter self) -> SameParticlePairFilter"""
1820 _IMP_spb.SameParticlePairFilter_swiginit(self, _IMP_spb.new_SameParticlePairFilter())
1822 def do_get_inputs(self, m, pis):
1823 r"""do_get_inputs(SameParticlePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1824 return _IMP_spb.SameParticlePairFilter_do_get_inputs(self, m, pis)
1826 def get_value(self, *args):
1828 get_value(SameParticlePairFilter self, IMP::ParticlePair const & a) -> int
1829 get_value(SameParticlePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1831 return _IMP_spb.SameParticlePairFilter_get_value(self, *args)
1833 def get_value_index(self, *args):
1835 get_value_index(SameParticlePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
1836 get_value_index(SameParticlePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1838 return _IMP_spb.SameParticlePairFilter_get_value_index(self, *args)
1840 def get_version_info(self):
1841 r"""get_version_info(SameParticlePairFilter self) -> VersionInfo"""
1842 return _IMP_spb.SameParticlePairFilter_get_version_info(self)
1843 __swig_destroy__ = _IMP_spb.delete_SameParticlePairFilter
1846 r"""__str__(SameParticlePairFilter self) -> std::string"""
1847 return _IMP_spb.SameParticlePairFilter___str__(self)
1850 r"""__repr__(SameParticlePairFilter self) -> std::string"""
1851 return _IMP_spb.SameParticlePairFilter___repr__(self)
1855 return _object_cast_to_SameParticlePairFilter(o)
1859 _IMP_spb.SameParticlePairFilter_swigregister(SameParticlePairFilter)
1861 r"""Proxy of C++ IMP::spb::SameRigidBodyPairFilter class."""
1863 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1866 r"""__init__(SameRigidBodyPairFilter self) -> SameRigidBodyPairFilter"""
1867 _IMP_spb.SameRigidBodyPairFilter_swiginit(self, _IMP_spb.new_SameRigidBodyPairFilter())
1869 def do_get_inputs(self, m, pis):
1870 r"""do_get_inputs(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1871 return _IMP_spb.SameRigidBodyPairFilter_do_get_inputs(self, m, pis)
1873 def get_value(self, *args):
1875 get_value(SameRigidBodyPairFilter self, IMP::ParticlePair const & a) -> int
1876 get_value(SameRigidBodyPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1878 return _IMP_spb.SameRigidBodyPairFilter_get_value(self, *args)
1880 def get_value_index(self, *args):
1882 get_value_index(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
1883 get_value_index(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1885 return _IMP_spb.SameRigidBodyPairFilter_get_value_index(self, *args)
1887 def get_version_info(self):
1888 r"""get_version_info(SameRigidBodyPairFilter self) -> VersionInfo"""
1889 return _IMP_spb.SameRigidBodyPairFilter_get_version_info(self)
1890 __swig_destroy__ = _IMP_spb.delete_SameRigidBodyPairFilter
1893 r"""__str__(SameRigidBodyPairFilter self) -> std::string"""
1894 return _IMP_spb.SameRigidBodyPairFilter___str__(self)
1897 r"""__repr__(SameRigidBodyPairFilter self) -> std::string"""
1898 return _IMP_spb.SameRigidBodyPairFilter___repr__(self)
1902 return _object_cast_to_SameRigidBodyPairFilter(o)
1906 _IMP_spb.SameRigidBodyPairFilter_swigregister(SameRigidBodyPairFilter)
1908 r"""Proxy of C++ IMP::spb::TiltSingletonScore class."""
1910 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1912 def __init__(self, *args, **kwargs):
1913 raise AttributeError(
"No constructor defined - class is abstract")
1915 def evaluate_index(self, m, p, da):
1916 r"""evaluate_index(TiltSingletonScore self, Model m, ParticleIndex p, DerivativeAccumulator da) -> double"""
1917 return _IMP_spb.TiltSingletonScore_evaluate_index(self, m, p, da)
1919 def do_get_inputs(self, m, pis):
1920 r"""do_get_inputs(TiltSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1921 return _IMP_spb.TiltSingletonScore_do_get_inputs(self, m, pis)
1923 def get_version_info(self):
1924 r"""get_version_info(TiltSingletonScore self) -> VersionInfo"""
1925 return _IMP_spb.TiltSingletonScore_get_version_info(self)
1926 __swig_destroy__ = _IMP_spb.delete_TiltSingletonScore
1928 def show(self, *args):
1929 r"""show(TiltSingletonScore self, _ostream out=std::cout)"""
1930 return _IMP_spb.TiltSingletonScore_show(self, *args)
1933 r"""__str__(TiltSingletonScore self) -> std::string"""
1934 return _IMP_spb.TiltSingletonScore___str__(self)
1937 r"""__repr__(TiltSingletonScore self) -> std::string"""
1938 return _IMP_spb.TiltSingletonScore___repr__(self)
1942 return _object_cast_to_TiltSingletonScore(o)
1946 _IMP_spb.TiltSingletonScore_swigregister(TiltSingletonScore)
1948 r"""Proxy of C++ IMP::spb::TransformationSymmetry class."""
1950 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1952 def __init__(self, t, px, py, pz):
1953 r"""__init__(TransformationSymmetry self, Transformation3D t, Particle px, Particle py, Particle pz) -> TransformationSymmetry"""
1954 _IMP_spb.TransformationSymmetry_swiginit(self, _IMP_spb.new_TransformationSymmetry(t, px, py, pz))
1956 def do_get_inputs(self, m, pis):
1957 r"""do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1958 return _IMP_spb.TransformationSymmetry_do_get_inputs(self, m, pis)
1960 def do_get_outputs(self, m, pis):
1961 r"""do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1962 return _IMP_spb.TransformationSymmetry_do_get_outputs(self, m, pis)
1964 def get_version_info(self):
1965 r"""get_version_info(TransformationSymmetry self) -> VersionInfo"""
1966 return _IMP_spb.TransformationSymmetry_get_version_info(self)
1967 __swig_destroy__ = _IMP_spb.delete_TransformationSymmetry
1969 def show(self, *args):
1970 r"""show(TransformationSymmetry self, _ostream out=std::cout)"""
1971 return _IMP_spb.TransformationSymmetry_show(self, *args)
1974 r"""__str__(TransformationSymmetry self) -> std::string"""
1975 return _IMP_spb.TransformationSymmetry___str__(self)
1978 r"""__repr__(TransformationSymmetry self) -> std::string"""
1979 return _IMP_spb.TransformationSymmetry___repr__(self)
1983 return _object_cast_to_TransformationSymmetry(o)
1987 _IMP_spb.TransformationSymmetry_swigregister(TransformationSymmetry)
1989 r"""Proxy of C++ IMP::spb::TwoStateGoModelRestraint class."""
1991 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1993 def __init__(self, ps, psA, psB, Beta, Delta, Cutoff):
1994 r"""__init__(TwoStateGoModelRestraint self, IMP::Particles ps, IMP::Particles psA, IMP::Particles psB, IMP::Float Beta, IMP::Float Delta, IMP::Float Cutoff) -> TwoStateGoModelRestraint"""
1995 _IMP_spb.TwoStateGoModelRestraint_swiginit(self, _IMP_spb.new_TwoStateGoModelRestraint(ps, psA, psB, Beta, Delta, Cutoff))
1997 def do_get_inputs(self):
1998 r"""do_get_inputs(TwoStateGoModelRestraint self) -> IMP::ModelObjectsTemp"""
1999 return _IMP_spb.TwoStateGoModelRestraint_do_get_inputs(self)
2001 def get_version_info(self):
2002 r"""get_version_info(TwoStateGoModelRestraint self) -> VersionInfo"""
2003 return _IMP_spb.TwoStateGoModelRestraint_get_version_info(self)
2004 __swig_destroy__ = _IMP_spb.delete_TwoStateGoModelRestraint
2007 r"""__str__(TwoStateGoModelRestraint self) -> std::string"""
2008 return _IMP_spb.TwoStateGoModelRestraint___str__(self)
2011 r"""__repr__(TwoStateGoModelRestraint self) -> std::string"""
2012 return _IMP_spb.TwoStateGoModelRestraint___repr__(self)
2016 return _object_cast_to_TwoStateGoModelRestraint(o)
2020 _IMP_spb.TwoStateGoModelRestraint_swigregister(TwoStateGoModelRestraint)
2021 class UniformBoundedRestraint(ISDRestraint):
2022 r"""Proxy of C++ IMP::spb::UniformBoundedRestraint class."""
2024 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2026 def __init__(self, p, fk, a, b):
2027 r"""__init__(UniformBoundedRestraint self, Particle p, FloatKey fk, Particle a, Particle b) -> UniformBoundedRestraint"""
2028 _IMP_spb.UniformBoundedRestraint_swiginit(self, _IMP_spb.new_UniformBoundedRestraint(p, fk, a, b))
2030 def do_get_inputs(self):
2031 r"""do_get_inputs(UniformBoundedRestraint self) -> IMP::ModelObjectsTemp"""
2032 return _IMP_spb.UniformBoundedRestraint_do_get_inputs(self)
2034 def get_version_info(self):
2035 r"""get_version_info(UniformBoundedRestraint self) -> VersionInfo"""
2036 return _IMP_spb.UniformBoundedRestraint_get_version_info(self)
2037 __swig_destroy__ = _IMP_spb.delete_UniformBoundedRestraint
2040 r"""__str__(UniformBoundedRestraint self) -> std::string"""
2041 return _IMP_spb.UniformBoundedRestraint___str__(self)
2044 r"""__repr__(UniformBoundedRestraint self) -> std::string"""
2045 return _IMP_spb.UniformBoundedRestraint___repr__(self)
2049 return _object_cast_to_UniformBoundedRestraint(o)
2053 _IMP_spb.UniformBoundedRestraint_swigregister(UniformBoundedRestraint)
2056 r"""get_module_version() -> std::string const"""
2057 return _IMP_spb.get_module_version()
2060 r"""get_example_path(std::string fname) -> std::string"""
2061 return _IMP_spb.get_example_path(fname)
2064 r"""get_data_path(std::string fname) -> std::string"""
2065 return _IMP_spb.get_data_path(fname)
2067 from .
import _version_check
A base class for modifiers of ParticlesTemp.
def get_data_path
Return the full path to one of this module's data files.
Abstract class for scoring object(s) of type ParticleIndexPair.
The base class for simulators.
Support for basic symmetry, such as periodic boundary conditions (PBC).
def get_module_version
Return the version of this module, as a string.
def get_example_path
Return the full path to one of this module's example files.
CheckLevel get_check_level()
Get the current audit mode.
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.
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)
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.
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.
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.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
A restraint is a term in an IMP ScoringFunction.
Store data to be clustered for distance metric based algorithms.