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)
1240 add_attribute(HelixDecorator self, SparseFloatKey a0, IMP::Float a1)
1241 add_attribute(HelixDecorator self, SparseIntKey a0, IMP::Int a1)
1242 add_attribute(HelixDecorator self, SparseStringKey a0, IMP::String a1)
1243 add_attribute(HelixDecorator self, SparseParticleIndexKey a0, ParticleIndex a1)
1245 return _IMP_spb.HelixDecorator_add_attribute(self, *args)
1247 def get_value(self, *args):
1249 get_value(HelixDecorator self, FloatKey a0) -> IMP::Float
1250 get_value(HelixDecorator self, IntKey a0) -> IMP::Int
1251 get_value(HelixDecorator self, FloatsKey a0) -> IMP::Floats
1252 get_value(HelixDecorator self, IntsKey a0) -> IMP::Ints
1253 get_value(HelixDecorator self, StringKey a0) -> IMP::String
1254 get_value(HelixDecorator self, ParticleIndexKey a0) -> Particle
1255 get_value(HelixDecorator self, ObjectKey a0) -> Object
1256 get_value(HelixDecorator self, SparseFloatKey a0) -> IMP::Float
1257 get_value(HelixDecorator self, SparseIntKey a0) -> IMP::Int
1258 get_value(HelixDecorator self, SparseStringKey a0) -> IMP::String
1259 get_value(HelixDecorator self, SparseParticleIndexKey a0) -> ParticleIndex
1261 return _IMP_spb.HelixDecorator_get_value(self, *args)
1263 def set_value(self, *args):
1265 set_value(HelixDecorator self, FloatKey a0, IMP::Float a1)
1266 set_value(HelixDecorator self, IntKey a0, IMP::Int a1)
1267 set_value(HelixDecorator self, FloatsKey a0, IMP::Floats a1)
1268 set_value(HelixDecorator self, IntsKey a0, IMP::Ints a1)
1269 set_value(HelixDecorator self, StringKey a0, IMP::String a1)
1270 set_value(HelixDecorator self, ParticleIndexKey a0, Particle a1)
1271 set_value(HelixDecorator self, ObjectKey a0, Object a1)
1272 set_value(HelixDecorator self, SparseFloatKey a0, IMP::Float a1)
1273 set_value(HelixDecorator self, SparseIntKey a0, IMP::Int a1)
1274 set_value(HelixDecorator self, SparseStringKey a0, IMP::String a1)
1275 set_value(HelixDecorator self, SparseParticleIndexKey a0, ParticleIndex a1)
1277 return _IMP_spb.HelixDecorator_set_value(self, *args)
1279 def remove_attribute(self, *args):
1281 remove_attribute(HelixDecorator self, FloatKey a0)
1282 remove_attribute(HelixDecorator self, IntKey a0)
1283 remove_attribute(HelixDecorator self, FloatsKey a0)
1284 remove_attribute(HelixDecorator self, IntsKey a0)
1285 remove_attribute(HelixDecorator self, StringKey a0)
1286 remove_attribute(HelixDecorator self, ParticleIndexKey a0)
1287 remove_attribute(HelixDecorator self, ObjectKey a0)
1288 remove_attribute(HelixDecorator self, SparseFloatKey a0)
1289 remove_attribute(HelixDecorator self, SparseIntKey a0)
1290 remove_attribute(HelixDecorator self, SparseStringKey a0)
1291 remove_attribute(HelixDecorator self, SparseParticleIndexKey a0)
1293 return _IMP_spb.HelixDecorator_remove_attribute(self, *args)
1295 def has_attribute(self, *args):
1297 has_attribute(HelixDecorator self, FloatKey a0) -> bool
1298 has_attribute(HelixDecorator self, IntKey a0) -> bool
1299 has_attribute(HelixDecorator self, FloatsKey a0) -> bool
1300 has_attribute(HelixDecorator self, IntsKey a0) -> bool
1301 has_attribute(HelixDecorator self, StringKey a0) -> bool
1302 has_attribute(HelixDecorator self, ParticleIndexKey a0) -> bool
1303 has_attribute(HelixDecorator self, ObjectKey a0) -> bool
1304 has_attribute(HelixDecorator self, SparseFloatKey a0) -> bool
1305 has_attribute(HelixDecorator self, SparseIntKey a0) -> bool
1306 has_attribute(HelixDecorator self, SparseStringKey a0) -> bool
1307 has_attribute(HelixDecorator self, SparseParticleIndexKey a0) -> bool
1309 return _IMP_spb.HelixDecorator_has_attribute(self, *args)
1311 def get_derivative(self, a0):
1312 r"""get_derivative(HelixDecorator self, FloatKey a0) -> double"""
1313 return _IMP_spb.HelixDecorator_get_derivative(self, a0)
1316 r"""get_name(HelixDecorator self) -> std::string"""
1317 return _IMP_spb.HelixDecorator_get_name(self)
1319 def clear_caches(self):
1320 r"""clear_caches(HelixDecorator self)"""
1321 return _IMP_spb.HelixDecorator_clear_caches(self)
1323 def set_name(self, a0):
1324 r"""set_name(HelixDecorator self, std::string a0)"""
1325 return _IMP_spb.HelixDecorator_set_name(self, a0)
1328 r"""set_check_level(HelixDecorator self, IMP::CheckLevel a0)"""
1329 return _IMP_spb.HelixDecorator_set_check_level(self, a0)
1331 def add_to_derivative(self, a0, a1, a2):
1332 r"""add_to_derivative(HelixDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1333 return _IMP_spb.HelixDecorator_add_to_derivative(self, a0, a1, a2)
1335 def set_is_optimized(self, a0, a1):
1336 r"""set_is_optimized(HelixDecorator self, FloatKey a0, bool a1)"""
1337 return _IMP_spb.HelixDecorator_set_is_optimized(self, a0, a1)
1339 def get_is_optimized(self, a0):
1340 r"""get_is_optimized(HelixDecorator self, FloatKey a0) -> bool"""
1341 return _IMP_spb.HelixDecorator_get_is_optimized(self, a0)
1344 r"""get_check_level(HelixDecorator self) -> IMP::CheckLevel"""
1345 return _IMP_spb.HelixDecorator_get_check_level(self)
1347 def __eq__(self, *args):
1349 __eq__(HelixDecorator self, HelixDecorator o) -> bool
1350 __eq__(HelixDecorator self, Particle d) -> bool
1352 return _IMP_spb.HelixDecorator___eq__(self, *args)
1354 def __ne__(self, *args):
1356 __ne__(HelixDecorator self, HelixDecorator o) -> bool
1357 __ne__(HelixDecorator self, Particle d) -> bool
1359 return _IMP_spb.HelixDecorator___ne__(self, *args)
1361 def __le__(self, *args):
1363 __le__(HelixDecorator self, HelixDecorator o) -> bool
1364 __le__(HelixDecorator self, Particle d) -> bool
1366 return _IMP_spb.HelixDecorator___le__(self, *args)
1368 def __lt__(self, *args):
1370 __lt__(HelixDecorator self, HelixDecorator o) -> bool
1371 __lt__(HelixDecorator self, Particle d) -> bool
1373 return _IMP_spb.HelixDecorator___lt__(self, *args)
1375 def __ge__(self, *args):
1377 __ge__(HelixDecorator self, HelixDecorator o) -> bool
1378 __ge__(HelixDecorator self, Particle d) -> bool
1380 return _IMP_spb.HelixDecorator___ge__(self, *args)
1382 def __gt__(self, *args):
1384 __gt__(HelixDecorator self, HelixDecorator o) -> bool
1385 __gt__(HelixDecorator self, Particle d) -> bool
1387 return _IMP_spb.HelixDecorator___gt__(self, *args)
1390 r"""__hash__(HelixDecorator self) -> std::size_t"""
1391 return _IMP_spb.HelixDecorator___hash__(self)
1394 r"""__str__(HelixDecorator self) -> std::string"""
1395 return _IMP_spb.HelixDecorator___str__(self)
1398 r"""__repr__(HelixDecorator self) -> std::string"""
1399 return _IMP_spb.HelixDecorator___repr__(self)
1401 def _get_as_binary(self):
1402 r"""_get_as_binary(HelixDecorator self) -> PyObject *"""
1403 return _IMP_spb.HelixDecorator__get_as_binary(self)
1405 def _set_from_binary(self, p):
1406 r"""_set_from_binary(HelixDecorator self, PyObject * p)"""
1407 return _IMP_spb.HelixDecorator__set_from_binary(self, p)
1409 def __getstate__(self):
1410 p = self._get_as_binary()
1411 if len(self.__dict__) > 1:
1412 d = self.__dict__.copy()
1417 def __setstate__(self, p):
1418 if not hasattr(self,
'this'):
1420 if isinstance(p, tuple):
1422 self.__dict__.update(d)
1423 return self._set_from_binary(p)
1425 __swig_destroy__ = _IMP_spb.delete_HelixDecorator
1428 _IMP_spb.HelixDecorator_swigregister(HelixDecorator)
1430 r"""Proxy of C++ IMP::spb::ISDRestraint class."""
1432 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1434 def __init__(self, *args, **kwargs):
1435 raise AttributeError(
"No constructor defined - class is abstract")
1437 def get_probability(self):
1438 r"""get_probability(ISDRestraint self) -> double"""
1439 return _IMP_spb.ISDRestraint_get_probability(self)
1442 r"""__str__(ISDRestraint self) -> std::string"""
1443 return _IMP_spb.ISDRestraint___str__(self)
1446 r"""__repr__(ISDRestraint self) -> std::string"""
1447 return _IMP_spb.ISDRestraint___repr__(self)
1451 return _object_cast_to_ISDRestraint(o)
1453 __swig_destroy__ = _IMP_spb.delete_ISDRestraint
1456 _IMP_spb.ISDRestraint_swigregister(ISDRestraint)
1458 r"""Proxy of C++ IMP::spb::KinkPairScore class."""
1460 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1462 def __init__(self, f):
1463 r"""__init__(KinkPairScore self, UnaryFunction f) -> KinkPairScore"""
1464 _IMP_spb.KinkPairScore_swiginit(self, _IMP_spb.new_KinkPairScore(f))
1466 def do_get_inputs(self, m, pis):
1467 r"""do_get_inputs(KinkPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1468 return _IMP_spb.KinkPairScore_do_get_inputs(self, m, pis)
1470 def get_version_info(self):
1471 r"""get_version_info(KinkPairScore self) -> VersionInfo"""
1472 return _IMP_spb.KinkPairScore_get_version_info(self)
1473 __swig_destroy__ = _IMP_spb.delete_KinkPairScore
1475 def show(self, *args):
1476 r"""show(KinkPairScore self, _ostream out=std::cout)"""
1477 return _IMP_spb.KinkPairScore_show(self, *args)
1480 r"""__str__(KinkPairScore self) -> std::string"""
1481 return _IMP_spb.KinkPairScore___str__(self)
1484 r"""__repr__(KinkPairScore self) -> std::string"""
1485 return _IMP_spb.KinkPairScore___repr__(self)
1489 return _object_cast_to_KinkPairScore(o)
1493 _IMP_spb.KinkPairScore_swigregister(KinkPairScore)
1495 r"""Proxy of C++ IMP::spb::MolecularDynamicsWithWte class."""
1497 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1499 def __init__(self, m, emin, emax, sigma, gamma, w0):
1500 r"""__init__(MolecularDynamicsWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0) -> MolecularDynamicsWithWte"""
1501 _IMP_spb.MolecularDynamicsWithWte_swiginit(self, _IMP_spb.new_MolecularDynamicsWithWte(m, emin, emax, sigma, gamma, w0))
1503 def get_bias(self, score):
1504 r"""get_bias(MolecularDynamicsWithWte self, double score) -> double"""
1505 return _IMP_spb.MolecularDynamicsWithWte_get_bias(self, score)
1507 def get_bias_buffer(self):
1508 r"""get_bias_buffer(MolecularDynamicsWithWte self) -> IMP::Floats"""
1509 return _IMP_spb.MolecularDynamicsWithWte_get_bias_buffer(self)
1512 r"""get_nbin(MolecularDynamicsWithWte self) -> int"""
1513 return _IMP_spb.MolecularDynamicsWithWte_get_nbin(self)
1515 def set_w0(self, w0):
1516 r"""set_w0(MolecularDynamicsWithWte self, double w0)"""
1517 return _IMP_spb.MolecularDynamicsWithWte_set_w0(self, w0)
1519 def set_bias(self, bias):
1520 r"""set_bias(MolecularDynamicsWithWte self, IMP::Floats const & bias)"""
1521 return _IMP_spb.MolecularDynamicsWithWte_set_bias(self, bias)
1523 def get_kinetic_energy(self):
1524 r"""get_kinetic_energy(MolecularDynamicsWithWte self) -> IMP::Float"""
1525 return _IMP_spb.MolecularDynamicsWithWte_get_kinetic_energy(self)
1527 def get_kinetic_temperature(self, ekinetic):
1528 r"""get_kinetic_temperature(MolecularDynamicsWithWte self, IMP::Float ekinetic) -> IMP::Float"""
1529 return _IMP_spb.MolecularDynamicsWithWte_get_kinetic_temperature(self, ekinetic)
1531 def set_velocity_cap(self, velocity_cap):
1532 r"""set_velocity_cap(MolecularDynamicsWithWte self, IMP::Float velocity_cap)"""
1533 return _IMP_spb.MolecularDynamicsWithWte_set_velocity_cap(self, velocity_cap)
1535 def assign_velocities(self, temperature):
1536 r"""assign_velocities(MolecularDynamicsWithWte self, IMP::Float temperature)"""
1537 return _IMP_spb.MolecularDynamicsWithWte_assign_velocities(self, temperature)
1539 def rescale_velocities(self, rescale):
1540 r"""rescale_velocities(MolecularDynamicsWithWte self, IMP::Float rescale)"""
1541 return _IMP_spb.MolecularDynamicsWithWte_rescale_velocities(self, rescale)
1543 def setup(self, ps):
1544 r"""setup(MolecularDynamicsWithWte self, IMP::ParticleIndexes const & ps)"""
1545 return _IMP_spb.MolecularDynamicsWithWte_setup(self, ps)
1547 def do_step(self, sc, dt):
1548 r"""do_step(MolecularDynamicsWithWte self, IMP::ParticleIndexes const & sc, double dt) -> double"""
1549 return _IMP_spb.MolecularDynamicsWithWte_do_step(self, sc, dt)
1551 def get_is_simulation_particle(self, p):
1552 r"""get_is_simulation_particle(MolecularDynamicsWithWte self, ParticleIndex p) -> bool"""
1553 return _IMP_spb.MolecularDynamicsWithWte_get_is_simulation_particle(self, p)
1556 r"""__str__(MolecularDynamicsWithWte self) -> std::string"""
1557 return _IMP_spb.MolecularDynamicsWithWte___str__(self)
1560 r"""__repr__(MolecularDynamicsWithWte self) -> std::string"""
1561 return _IMP_spb.MolecularDynamicsWithWte___repr__(self)
1565 return _object_cast_to_MolecularDynamicsWithWte(o)
1567 __swig_destroy__ = _IMP_spb.delete_MolecularDynamicsWithWte
1570 _IMP_spb.MolecularDynamicsWithWte_swigregister(MolecularDynamicsWithWte)
1572 r"""Proxy of C++ IMP::spb::MonteCarloWithWte class."""
1574 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1576 def __init__(self, *args):
1578 __init__(MonteCarloWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0) -> MonteCarloWithWte
1579 __init__(MonteCarloWithWte self, Model m, double emin, double emax, double sigma, double gamma, double w0, RestraintSet rset) -> MonteCarloWithWte
1581 _IMP_spb.MonteCarloWithWte_swiginit(self, _IMP_spb.new_MonteCarloWithWte(*args))
1583 def get_bias(self, score):
1584 r"""get_bias(MonteCarloWithWte self, double score) -> double"""
1585 return _IMP_spb.MonteCarloWithWte_get_bias(self, score)
1587 def get_bias_asfloats(self):
1588 r"""get_bias_asfloats(MonteCarloWithWte self) -> IMP::Floats"""
1589 return _IMP_spb.MonteCarloWithWte_get_bias_asfloats(self)
1592 r"""get_nbin(MonteCarloWithWte self) -> int"""
1593 return _IMP_spb.MonteCarloWithWte_get_nbin(self)
1595 def set_w0(self, w0):
1596 r"""set_w0(MonteCarloWithWte self, double w0)"""
1597 return _IMP_spb.MonteCarloWithWte_set_w0(self, w0)
1599 def set_bias(self, bias):
1600 r"""set_bias(MonteCarloWithWte self, IMP::Floats const & bias)"""
1601 return _IMP_spb.MonteCarloWithWte_set_bias(self, bias)
1604 r"""do_step(MonteCarloWithWte self)"""
1605 return _IMP_spb.MonteCarloWithWte_do_step(self)
1606 __swig_destroy__ = _IMP_spb.delete_MonteCarloWithWte
1609 r"""__str__(MonteCarloWithWte self) -> std::string"""
1610 return _IMP_spb.MonteCarloWithWte___str__(self)
1613 r"""__repr__(MonteCarloWithWte self) -> std::string"""
1614 return _IMP_spb.MonteCarloWithWte___repr__(self)
1618 return _object_cast_to_MonteCarloWithWte(o)
1622 _IMP_spb.MonteCarloWithWte_swigregister(MonteCarloWithWte)
1624 r"""Proxy of C++ IMP::spb::NuisanceRangeModifier class."""
1626 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1629 r"""__init__(NuisanceRangeModifier self) -> NuisanceRangeModifier"""
1630 _IMP_spb.NuisanceRangeModifier_swiginit(self, _IMP_spb.new_NuisanceRangeModifier())
1632 def do_get_inputs(self, m, pis):
1633 r"""do_get_inputs(NuisanceRangeModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1634 return _IMP_spb.NuisanceRangeModifier_do_get_inputs(self, m, pis)
1636 def do_get_outputs(self, m, pis):
1637 r"""do_get_outputs(NuisanceRangeModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1638 return _IMP_spb.NuisanceRangeModifier_do_get_outputs(self, m, pis)
1640 def get_version_info(self):
1641 r"""get_version_info(NuisanceRangeModifier self) -> VersionInfo"""
1642 return _IMP_spb.NuisanceRangeModifier_get_version_info(self)
1643 __swig_destroy__ = _IMP_spb.delete_NuisanceRangeModifier
1645 def show(self, *args):
1646 r"""show(NuisanceRangeModifier self, _ostream out=std::cout)"""
1647 return _IMP_spb.NuisanceRangeModifier_show(self, *args)
1650 r"""__str__(NuisanceRangeModifier self) -> std::string"""
1651 return _IMP_spb.NuisanceRangeModifier___str__(self)
1654 r"""__repr__(NuisanceRangeModifier self) -> std::string"""
1655 return _IMP_spb.NuisanceRangeModifier___repr__(self)
1659 return _object_cast_to_NuisanceRangeModifier(o)
1663 _IMP_spb.NuisanceRangeModifier_swigregister(NuisanceRangeModifier)
1665 r"""Proxy of C++ IMP::spb::PbcBoxedMover class."""
1667 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1669 def __init__(self, p, ps, max_tr, centers, transformations, px, py, pz):
1670 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"""
1671 _IMP_spb.PbcBoxedMover_swiginit(self, _IMP_spb.new_PbcBoxedMover(p, ps, max_tr, centers, transformations, px, py, pz))
1673 def get_version_info(self):
1674 r"""get_version_info(PbcBoxedMover self) -> VersionInfo"""
1675 return _IMP_spb.PbcBoxedMover_get_version_info(self)
1676 __swig_destroy__ = _IMP_spb.delete_PbcBoxedMover
1678 def show(self, *args):
1679 r"""show(PbcBoxedMover self, _ostream out=std::cout)"""
1680 return _IMP_spb.PbcBoxedMover_show(self, *args)
1683 r"""__str__(PbcBoxedMover self) -> std::string"""
1684 return _IMP_spb.PbcBoxedMover___str__(self)
1687 r"""__repr__(PbcBoxedMover self) -> std::string"""
1688 return _IMP_spb.PbcBoxedMover___repr__(self)
1692 return _object_cast_to_PbcBoxedMover(o)
1696 _IMP_spb.PbcBoxedMover_swigregister(PbcBoxedMover)
1698 r"""Proxy of C++ IMP::spb::PbcBoxedRigidBodyMover class."""
1700 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1702 def __init__(self, d, ps, max_translation, max_rotation, centers, transformations, px, py, pz):
1703 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"""
1704 _IMP_spb.PbcBoxedRigidBodyMover_swiginit(self, _IMP_spb.new_PbcBoxedRigidBodyMover(d, ps, max_translation, max_rotation, centers, transformations, px, py, pz))
1706 def get_version_info(self):
1707 r"""get_version_info(PbcBoxedRigidBodyMover self) -> VersionInfo"""
1708 return _IMP_spb.PbcBoxedRigidBodyMover_get_version_info(self)
1709 __swig_destroy__ = _IMP_spb.delete_PbcBoxedRigidBodyMover
1711 def show(self, *args):
1712 r"""show(PbcBoxedRigidBodyMover self, _ostream out=std::cout)"""
1713 return _IMP_spb.PbcBoxedRigidBodyMover_show(self, *args)
1716 r"""__str__(PbcBoxedRigidBodyMover self) -> std::string"""
1717 return _IMP_spb.PbcBoxedRigidBodyMover___str__(self)
1720 r"""__repr__(PbcBoxedRigidBodyMover self) -> std::string"""
1721 return _IMP_spb.PbcBoxedRigidBodyMover___repr__(self)
1725 return _object_cast_to_PbcBoxedRigidBodyMover(o)
1729 _IMP_spb.PbcBoxedRigidBodyMover_swigregister(PbcBoxedRigidBodyMover)
1731 r"""Proxy of C++ IMP::spb::RigidBodyNewMover class."""
1733 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1735 def __init__(self, d, max_x_translation, max_y_translation, max_z_translation, max_rot):
1736 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"""
1737 _IMP_spb.RigidBodyNewMover_swiginit(self, _IMP_spb.new_RigidBodyNewMover(d, max_x_translation, max_y_translation, max_z_translation, max_rot))
1739 def get_version_info(self):
1740 r"""get_version_info(RigidBodyNewMover self) -> VersionInfo"""
1741 return _IMP_spb.RigidBodyNewMover_get_version_info(self)
1742 __swig_destroy__ = _IMP_spb.delete_RigidBodyNewMover
1744 def show(self, *args):
1745 r"""show(RigidBodyNewMover self, _ostream out=std::cout)"""
1746 return _IMP_spb.RigidBodyNewMover_show(self, *args)
1749 r"""__str__(RigidBodyNewMover self) -> std::string"""
1750 return _IMP_spb.RigidBodyNewMover___str__(self)
1753 r"""__repr__(RigidBodyNewMover self) -> std::string"""
1754 return _IMP_spb.RigidBodyNewMover___repr__(self)
1758 return _object_cast_to_RigidBodyNewMover(o)
1762 _IMP_spb.RigidBodyNewMover_swigregister(RigidBodyNewMover)
1764 r"""Proxy of C++ IMP::spb::RigidBodyPackingScore class."""
1766 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1768 def __init__(self, tbr, omb, ome, ddb, dde, kappa):
1769 r"""__init__(RigidBodyPackingScore self, TableRefiner tbr, IMP::Floats omb, IMP::Floats ome, IMP::Floats ddb, IMP::Floats dde, double kappa) -> RigidBodyPackingScore"""
1770 _IMP_spb.RigidBodyPackingScore_swiginit(self, _IMP_spb.new_RigidBodyPackingScore(tbr, omb, ome, ddb, dde, kappa))
1772 def do_get_inputs(self, m, pis):
1773 r"""do_get_inputs(RigidBodyPackingScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1774 return _IMP_spb.RigidBodyPackingScore_do_get_inputs(self, m, pis)
1776 def show(self, *args):
1777 r"""show(RigidBodyPackingScore self, _ostream out=std::cout)"""
1778 return _IMP_spb.RigidBodyPackingScore_show(self, *args)
1781 r"""__str__(RigidBodyPackingScore self) -> std::string"""
1782 return _IMP_spb.RigidBodyPackingScore___str__(self)
1785 r"""__repr__(RigidBodyPackingScore self) -> std::string"""
1786 return _IMP_spb.RigidBodyPackingScore___repr__(self)
1790 return _object_cast_to_RigidBodyPackingScore(o)
1792 __swig_destroy__ = _IMP_spb.delete_RigidBodyPackingScore
1795 _IMP_spb.RigidBodyPackingScore_swigregister(RigidBodyPackingScore)
1797 r"""Proxy of C++ IMP::spb::RMSDMetric class."""
1799 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1801 def __init__(self, ps):
1802 r"""__init__(RMSDMetric self, IMP::Particles ps) -> RMSDMetric"""
1803 _IMP_spb.RMSDMetric_swiginit(self, _IMP_spb.new_RMSDMetric(ps))
1805 def add_configuration(self, weight=1.0):
1806 r"""add_configuration(RMSDMetric self, double weight=1.0)"""
1807 return _IMP_spb.RMSDMetric_add_configuration(self, weight)
1809 def get_weight(self, i):
1810 r"""get_weight(RMSDMetric self, unsigned int i) -> IMP::Float"""
1811 return _IMP_spb.RMSDMetric_get_weight(self, i)
1813 def get_version_info(self):
1814 r"""get_version_info(RMSDMetric self) -> VersionInfo"""
1815 return _IMP_spb.RMSDMetric_get_version_info(self)
1816 __swig_destroy__ = _IMP_spb.delete_RMSDMetric
1819 r"""__str__(RMSDMetric self) -> std::string"""
1820 return _IMP_spb.RMSDMetric___str__(self)
1823 r"""__repr__(RMSDMetric self) -> std::string"""
1824 return _IMP_spb.RMSDMetric___repr__(self)
1828 return _object_cast_to_RMSDMetric(o)
1832 _IMP_spb.RMSDMetric_swigregister(RMSDMetric)
1834 r"""Proxy of C++ IMP::spb::SameParticlePairFilter class."""
1836 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1839 r"""__init__(SameParticlePairFilter self) -> SameParticlePairFilter"""
1840 _IMP_spb.SameParticlePairFilter_swiginit(self, _IMP_spb.new_SameParticlePairFilter())
1842 def do_get_inputs(self, m, pis):
1843 r"""do_get_inputs(SameParticlePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1844 return _IMP_spb.SameParticlePairFilter_do_get_inputs(self, m, pis)
1846 def get_value(self, *args):
1848 get_value(SameParticlePairFilter self, IMP::ParticlePair const & a) -> int
1849 get_value(SameParticlePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1851 return _IMP_spb.SameParticlePairFilter_get_value(self, *args)
1853 def get_value_index(self, *args):
1855 get_value_index(SameParticlePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
1856 get_value_index(SameParticlePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1858 return _IMP_spb.SameParticlePairFilter_get_value_index(self, *args)
1860 def get_version_info(self):
1861 r"""get_version_info(SameParticlePairFilter self) -> VersionInfo"""
1862 return _IMP_spb.SameParticlePairFilter_get_version_info(self)
1863 __swig_destroy__ = _IMP_spb.delete_SameParticlePairFilter
1866 r"""__str__(SameParticlePairFilter self) -> std::string"""
1867 return _IMP_spb.SameParticlePairFilter___str__(self)
1870 r"""__repr__(SameParticlePairFilter self) -> std::string"""
1871 return _IMP_spb.SameParticlePairFilter___repr__(self)
1875 return _object_cast_to_SameParticlePairFilter(o)
1879 _IMP_spb.SameParticlePairFilter_swigregister(SameParticlePairFilter)
1881 r"""Proxy of C++ IMP::spb::SameRigidBodyPairFilter class."""
1883 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1886 r"""__init__(SameRigidBodyPairFilter self) -> SameRigidBodyPairFilter"""
1887 _IMP_spb.SameRigidBodyPairFilter_swiginit(self, _IMP_spb.new_SameRigidBodyPairFilter())
1889 def do_get_inputs(self, m, pis):
1890 r"""do_get_inputs(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1891 return _IMP_spb.SameRigidBodyPairFilter_do_get_inputs(self, m, pis)
1893 def get_value(self, *args):
1895 get_value(SameRigidBodyPairFilter self, IMP::ParticlePair const & a) -> int
1896 get_value(SameRigidBodyPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
1898 return _IMP_spb.SameRigidBodyPairFilter_get_value(self, *args)
1900 def get_value_index(self, *args):
1902 get_value_index(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
1903 get_value_index(SameRigidBodyPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
1905 return _IMP_spb.SameRigidBodyPairFilter_get_value_index(self, *args)
1907 def get_version_info(self):
1908 r"""get_version_info(SameRigidBodyPairFilter self) -> VersionInfo"""
1909 return _IMP_spb.SameRigidBodyPairFilter_get_version_info(self)
1910 __swig_destroy__ = _IMP_spb.delete_SameRigidBodyPairFilter
1913 r"""__str__(SameRigidBodyPairFilter self) -> std::string"""
1914 return _IMP_spb.SameRigidBodyPairFilter___str__(self)
1917 r"""__repr__(SameRigidBodyPairFilter self) -> std::string"""
1918 return _IMP_spb.SameRigidBodyPairFilter___repr__(self)
1922 return _object_cast_to_SameRigidBodyPairFilter(o)
1926 _IMP_spb.SameRigidBodyPairFilter_swigregister(SameRigidBodyPairFilter)
1928 r"""Proxy of C++ IMP::spb::TiltSingletonScore class."""
1930 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1932 def __init__(self, *args, **kwargs):
1933 raise AttributeError(
"No constructor defined - class is abstract")
1935 def evaluate_index(self, m, p, da):
1936 r"""evaluate_index(TiltSingletonScore self, Model m, ParticleIndex p, DerivativeAccumulator da) -> double"""
1937 return _IMP_spb.TiltSingletonScore_evaluate_index(self, m, p, da)
1939 def do_get_inputs(self, m, pis):
1940 r"""do_get_inputs(TiltSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1941 return _IMP_spb.TiltSingletonScore_do_get_inputs(self, m, pis)
1943 def get_version_info(self):
1944 r"""get_version_info(TiltSingletonScore self) -> VersionInfo"""
1945 return _IMP_spb.TiltSingletonScore_get_version_info(self)
1946 __swig_destroy__ = _IMP_spb.delete_TiltSingletonScore
1948 def show(self, *args):
1949 r"""show(TiltSingletonScore self, _ostream out=std::cout)"""
1950 return _IMP_spb.TiltSingletonScore_show(self, *args)
1953 r"""__str__(TiltSingletonScore self) -> std::string"""
1954 return _IMP_spb.TiltSingletonScore___str__(self)
1957 r"""__repr__(TiltSingletonScore self) -> std::string"""
1958 return _IMP_spb.TiltSingletonScore___repr__(self)
1962 return _object_cast_to_TiltSingletonScore(o)
1966 _IMP_spb.TiltSingletonScore_swigregister(TiltSingletonScore)
1968 r"""Proxy of C++ IMP::spb::TransformationSymmetry class."""
1970 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1972 def __init__(self, t, px, py, pz):
1973 r"""__init__(TransformationSymmetry self, Transformation3D t, Particle px, Particle py, Particle pz) -> TransformationSymmetry"""
1974 _IMP_spb.TransformationSymmetry_swiginit(self, _IMP_spb.new_TransformationSymmetry(t, px, py, pz))
1976 def do_get_inputs(self, m, pis):
1977 r"""do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1978 return _IMP_spb.TransformationSymmetry_do_get_inputs(self, m, pis)
1980 def do_get_outputs(self, m, pis):
1981 r"""do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1982 return _IMP_spb.TransformationSymmetry_do_get_outputs(self, m, pis)
1984 def get_version_info(self):
1985 r"""get_version_info(TransformationSymmetry self) -> VersionInfo"""
1986 return _IMP_spb.TransformationSymmetry_get_version_info(self)
1987 __swig_destroy__ = _IMP_spb.delete_TransformationSymmetry
1989 def show(self, *args):
1990 r"""show(TransformationSymmetry self, _ostream out=std::cout)"""
1991 return _IMP_spb.TransformationSymmetry_show(self, *args)
1994 r"""__str__(TransformationSymmetry self) -> std::string"""
1995 return _IMP_spb.TransformationSymmetry___str__(self)
1998 r"""__repr__(TransformationSymmetry self) -> std::string"""
1999 return _IMP_spb.TransformationSymmetry___repr__(self)
2003 return _object_cast_to_TransformationSymmetry(o)
2007 _IMP_spb.TransformationSymmetry_swigregister(TransformationSymmetry)
2009 r"""Proxy of C++ IMP::spb::TwoStateGoModelRestraint class."""
2011 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2013 def __init__(self, ps, psA, psB, Beta, Delta, Cutoff):
2014 r"""__init__(TwoStateGoModelRestraint self, IMP::Particles ps, IMP::Particles psA, IMP::Particles psB, IMP::Float Beta, IMP::Float Delta, IMP::Float Cutoff) -> TwoStateGoModelRestraint"""
2015 _IMP_spb.TwoStateGoModelRestraint_swiginit(self, _IMP_spb.new_TwoStateGoModelRestraint(ps, psA, psB, Beta, Delta, Cutoff))
2017 def do_get_inputs(self):
2018 r"""do_get_inputs(TwoStateGoModelRestraint self) -> IMP::ModelObjectsTemp"""
2019 return _IMP_spb.TwoStateGoModelRestraint_do_get_inputs(self)
2021 def get_version_info(self):
2022 r"""get_version_info(TwoStateGoModelRestraint self) -> VersionInfo"""
2023 return _IMP_spb.TwoStateGoModelRestraint_get_version_info(self)
2024 __swig_destroy__ = _IMP_spb.delete_TwoStateGoModelRestraint
2027 r"""__str__(TwoStateGoModelRestraint self) -> std::string"""
2028 return _IMP_spb.TwoStateGoModelRestraint___str__(self)
2031 r"""__repr__(TwoStateGoModelRestraint self) -> std::string"""
2032 return _IMP_spb.TwoStateGoModelRestraint___repr__(self)
2036 return _object_cast_to_TwoStateGoModelRestraint(o)
2040 _IMP_spb.TwoStateGoModelRestraint_swigregister(TwoStateGoModelRestraint)
2041 class UniformBoundedRestraint(ISDRestraint):
2042 r"""Proxy of C++ IMP::spb::UniformBoundedRestraint class."""
2044 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2046 def __init__(self, p, fk, a, b):
2047 r"""__init__(UniformBoundedRestraint self, Particle p, FloatKey fk, Particle a, Particle b) -> UniformBoundedRestraint"""
2048 _IMP_spb.UniformBoundedRestraint_swiginit(self, _IMP_spb.new_UniformBoundedRestraint(p, fk, a, b))
2050 def do_get_inputs(self):
2051 r"""do_get_inputs(UniformBoundedRestraint self) -> IMP::ModelObjectsTemp"""
2052 return _IMP_spb.UniformBoundedRestraint_do_get_inputs(self)
2054 def get_version_info(self):
2055 r"""get_version_info(UniformBoundedRestraint self) -> VersionInfo"""
2056 return _IMP_spb.UniformBoundedRestraint_get_version_info(self)
2057 __swig_destroy__ = _IMP_spb.delete_UniformBoundedRestraint
2060 r"""__str__(UniformBoundedRestraint self) -> std::string"""
2061 return _IMP_spb.UniformBoundedRestraint___str__(self)
2064 r"""__repr__(UniformBoundedRestraint self) -> std::string"""
2065 return _IMP_spb.UniformBoundedRestraint___repr__(self)
2069 return _object_cast_to_UniformBoundedRestraint(o)
2073 _IMP_spb.UniformBoundedRestraint_swigregister(UniformBoundedRestraint)
2076 r"""get_module_version() -> std::string const"""
2077 return _IMP_spb.get_module_version()
2080 r"""get_example_path(std::string fname) -> std::string"""
2081 return _IMP_spb.get_example_path(fname)
2084 r"""get_data_path(std::string fname) -> std::string"""
2085 return _IMP_spb.get_data_path(fname)
2087 from .
import _version_check
def get_data_path
Return the full path to one of this module's data files.
A base class for modifiers of ParticlesTemp.
Abstract class for scoring object(s) of type ParticleIndexPair.
The base class for simulators.
Support for basic symmetry, such as periodic boundary conditions (PBC).
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.
def get_example_path
Return the full path to one of this module's example files.
Code to compute statistical measures.
def get_module_version
Return the version of this module, as a string.
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.