14 from sys
import version_info
as _swig_python_version_info
18 import builtins
as __builtin__
24 strthis =
"proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
30 def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
33 set(self, name, value)
34 elif name ==
"thisown":
36 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
37 set(self, name, value)
39 raise AttributeError(
"You cannot add instance attributes to %s" % self)
40 return set_instance_attr
43 def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value):
45 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
48 raise AttributeError(
"You cannot add class attributes to %s" % cls)
52 def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
59 class _SwigNonDynamicMeta(type):
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
66 class IMP_PMI_SwigPyIterator(object):
67 r"""Proxy of C++ swig::IMP_PMI_SwigPyIterator class."""
69 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
71 def __init__(self, *args, **kwargs):
72 raise AttributeError(
"No constructor defined - class is abstract")
74 __swig_destroy__ = _IMP_pmi.delete_IMP_PMI_SwigPyIterator
77 r"""value(IMP_PMI_SwigPyIterator self) -> PyObject *"""
78 return _IMP_pmi.IMP_PMI_SwigPyIterator_value(self)
81 r"""incr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator"""
82 return _IMP_pmi.IMP_PMI_SwigPyIterator_incr(self, n)
85 r"""decr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator"""
86 return _IMP_pmi.IMP_PMI_SwigPyIterator_decr(self, n)
88 def distance(self, x):
89 r"""distance(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t"""
90 return _IMP_pmi.IMP_PMI_SwigPyIterator_distance(self, x)
93 r"""equal(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
94 return _IMP_pmi.IMP_PMI_SwigPyIterator_equal(self, x)
97 r"""copy(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator"""
98 return _IMP_pmi.IMP_PMI_SwigPyIterator_copy(self)
101 r"""next(IMP_PMI_SwigPyIterator self) -> PyObject *"""
102 return _IMP_pmi.IMP_PMI_SwigPyIterator_next(self)
105 r"""__next__(IMP_PMI_SwigPyIterator self) -> PyObject *"""
106 return _IMP_pmi.IMP_PMI_SwigPyIterator___next__(self)
109 r"""previous(IMP_PMI_SwigPyIterator self) -> PyObject *"""
110 return _IMP_pmi.IMP_PMI_SwigPyIterator_previous(self)
112 def advance(self, n):
113 r"""advance(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
114 return _IMP_pmi.IMP_PMI_SwigPyIterator_advance(self, n)
117 r"""__eq__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
118 return _IMP_pmi.IMP_PMI_SwigPyIterator___eq__(self, x)
121 r"""__ne__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
122 return _IMP_pmi.IMP_PMI_SwigPyIterator___ne__(self, x)
124 def __iadd__(self, n):
125 r"""__iadd__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
126 return _IMP_pmi.IMP_PMI_SwigPyIterator___iadd__(self, n)
128 def __isub__(self, n):
129 r"""__isub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
130 return _IMP_pmi.IMP_PMI_SwigPyIterator___isub__(self, n)
132 def __add__(self, n):
133 r"""__add__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
134 return _IMP_pmi.IMP_PMI_SwigPyIterator___add__(self, n)
136 def __sub__(self, *args):
138 __sub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator
139 __sub__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t
141 return _IMP_pmi.IMP_PMI_SwigPyIterator___sub__(self, *args)
146 _IMP_pmi.IMP_PMI_SwigPyIterator_swigregister(IMP_PMI_SwigPyIterator)
153 IMP_DEBUG = _IMP_pmi.IMP_DEBUG
155 IMP_RELEASE = _IMP_pmi.IMP_RELEASE
157 IMP_SILENT = _IMP_pmi.IMP_SILENT
159 IMP_PROGRESS = _IMP_pmi.IMP_PROGRESS
161 IMP_TERSE = _IMP_pmi.IMP_TERSE
163 IMP_VERBOSE = _IMP_pmi.IMP_VERBOSE
165 IMP_MEMORY = _IMP_pmi.IMP_MEMORY
167 IMP_NONE = _IMP_pmi.IMP_NONE
169 IMP_USAGE = _IMP_pmi.IMP_USAGE
171 IMP_INTERNAL = _IMP_pmi.IMP_INTERNAL
173 IMP_KERNEL_HAS_LOG4CXX = _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX
175 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_pmi.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
177 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR
179 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_pmi.IMP_COMPILER_HAS_RANDOM_SHUFFLE
181 IMP_COMPILER_HAS_THREE_WAY = _IMP_pmi.IMP_COMPILER_HAS_THREE_WAY
183 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM
185 IMP_KERNEL_HAS_NUMPY = _IMP_pmi.IMP_KERNEL_HAS_NUMPY
187 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS
189 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
191 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
193 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi.IMPKERNEL_SHOW_WARNINGS
197 class _DirectorObjects:
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 r"""Proxy of C++ std::ostream class."""
225 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
227 def __init__(self, *args, **kwargs):
228 raise AttributeError(
"No constructor defined")
229 __repr__ = _swig_repr
231 def write(self, osa_buf):
232 r"""write(_ostream self, char const * osa_buf)"""
233 return _IMP_pmi._ostream_write(self, osa_buf)
236 _IMP_pmi._ostream_swigregister(_ostream)
237 IMP_C_OPEN_BINARY = _IMP_pmi.IMP_C_OPEN_BINARY
240 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
242 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
244 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
248 IMP_CGAL_HAS_NUMPY = _IMP_pmi.IMP_CGAL_HAS_NUMPY
250 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
253 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
255 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
257 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
259 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
261 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
263 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
265 IMP_ALGEBRA_HAS_NUMPY = _IMP_pmi.IMP_ALGEBRA_HAS_NUMPY
267 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
269 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
272 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
274 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
276 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
278 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
280 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
282 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
284 IMP_DISPLAY_HAS_NUMPY = _IMP_pmi.IMP_DISPLAY_HAS_NUMPY
286 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
289 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
291 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
293 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
295 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
297 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
299 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
301 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
303 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_NUMPY
305 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
308 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
310 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
312 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
314 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
316 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
318 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
320 IMP_STATISTICS_HAS_NUMPY = _IMP_pmi.IMP_STATISTICS_HAS_NUMPY
322 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS
325 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
327 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
329 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
331 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
333 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
335 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
337 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
339 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
341 IMP_CORE_HAS_NUMPY = _IMP_pmi.IMP_CORE_HAS_NUMPY
343 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
346 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
348 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
350 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
352 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
354 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
356 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
358 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
360 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
362 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
364 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
366 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
368 IMP_CONTAINER_HAS_NUMPY = _IMP_pmi.IMP_CONTAINER_HAS_NUMPY
370 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_pmi.IMP_CONTAINER_HAS_PYTHON_IHM
372 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_pmi.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
374 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_pmi.IMP_CONTAINER_HAS_ROBIN_MAP
376 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
379 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
381 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
383 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
385 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
387 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
389 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
391 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
393 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
395 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
397 IMP_ATOM_HAS_NUMPY = _IMP_pmi.IMP_ATOM_HAS_NUMPY
399 IMP_ATOM_HAS_PYTHON_IHM = _IMP_pmi.IMP_ATOM_HAS_PYTHON_IHM
401 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
403 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
405 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
407 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
409 IMP_CHAIN_TYPE_INDEX = _IMP_pmi.IMP_CHAIN_TYPE_INDEX
412 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
414 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
416 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
418 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
420 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
422 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
424 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
426 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
428 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
430 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
432 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
434 IMP_EM_HAS_NUMPY = _IMP_pmi.IMP_EM_HAS_NUMPY
436 IMP_EM_HAS_PYTHON_IHM = _IMP_pmi.IMP_EM_HAS_PYTHON_IHM
438 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
441 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
443 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
445 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
447 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
449 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
451 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
453 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
455 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
457 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
459 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
461 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
463 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
465 IMP_SAXS_HAS_NUMPY = _IMP_pmi.IMP_SAXS_HAS_NUMPY
467 IMP_SAXS_HAS_PYTHON_IHM = _IMP_pmi.IMP_SAXS_HAS_PYTHON_IHM
469 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
472 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
474 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
476 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
478 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
480 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
482 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
484 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
486 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
488 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
490 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
492 IMP_ISD_HAS_NUMPY = _IMP_pmi.IMP_ISD_HAS_NUMPY
494 IMP_ISD_HAS_PYTHON_IHM = _IMP_pmi.IMP_ISD_HAS_PYTHON_IHM
496 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
499 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
501 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
503 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
505 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
507 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
509 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
511 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
513 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
515 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
517 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
519 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
521 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
523 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
525 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
527 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
529 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
531 IMP_PMI_HAS_NUMPY = _IMP_pmi.IMP_PMI_HAS_NUMPY
533 IMP_PMI_HAS_PYTHON_IHM = _IMP_pmi.IMP_PMI_HAS_PYTHON_IHM
535 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
538 _object_types.append(
"CompositeRestraint")
541 def _object_cast_to_CompositeRestraint(o):
542 r"""_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
543 return _IMP_pmi._object_cast_to_CompositeRestraint(o)
545 _object_types.append(
"CrossLinkRestraintSet")
548 def _object_cast_to_CrossLinkRestraintSet(o):
549 r"""_object_cast_to_CrossLinkRestraintSet(Object o) -> CrossLinkRestraintSet"""
550 return _IMP_pmi._object_cast_to_CrossLinkRestraintSet(o)
552 def Uncertainties(l=[]):
553 return [Uncertainty(x)
for x
in l]
554 _plural_types.append(
"Uncertainties")
557 _value_types.append(
"Uncertainty")
560 def Resolutions(l=[]):
561 return [Resolution(x)
for x
in l]
562 _plural_types.append(
"Resolutions")
565 _value_types.append(
"Resolution")
568 def Symmetrics(l=[]):
569 return [Symmetric(x)
for x
in l]
570 _plural_types.append(
"Symmetrics")
573 _value_types.append(
"Symmetric")
576 _object_types.append(
"TransformMover")
579 def _object_cast_to_TransformMover(o):
580 r"""_object_cast_to_TransformMover(Object o) -> TransformMover"""
581 return _IMP_pmi._object_cast_to_TransformMover(o)
583 _object_types.append(
"MembraneRestraint")
586 def _object_cast_to_MembraneRestraint(o):
587 r"""_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
588 return _IMP_pmi._object_cast_to_MembraneRestraint(o)
591 """Warning related to handling of structures"""
595 class ParameterWarning(UserWarning):
596 """Warning for probably incorrect input parameters"""
601 """Warning for an expected, but missing, file"""
605 r"""Proxy of C++ IMP::pmi::MembraneRestraint class."""
607 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
609 def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
610 r"""__init__(MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
611 _IMP_pmi.MembraneRestraint_swiginit(self, _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear))
613 def add_particles_below(self, particles):
614 r"""add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
615 return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
617 def add_particles_above(self, particles):
618 r"""add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
619 return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
621 def add_particles_inside(self, particles):
622 r"""add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
623 return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
625 def get_score(self, prob):
626 r"""get_score(MembraneRestraint self, double prob) -> double"""
627 return _IMP_pmi.MembraneRestraint_get_score(self, prob)
629 def get_probability_above(self, z, z_slope_center_upper):
630 r"""get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
631 return _IMP_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
633 def get_score_above(self, z, z_slope_center_upper):
634 r"""get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
635 return _IMP_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
637 def get_probability_below(self, z, z_slope_center_lower):
638 r"""get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
639 return _IMP_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
641 def get_score_below(self, z, z_slope_center_lower):
642 r"""get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
643 return _IMP_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
645 def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
646 r"""get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
647 return _IMP_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
648 __swig_destroy__ = _IMP_pmi.delete_MembraneRestraint
651 r"""__str__(MembraneRestraint self) -> std::string"""
652 return _IMP_pmi.MembraneRestraint___str__(self)
655 r"""__repr__(MembraneRestraint self) -> std::string"""
656 return _IMP_pmi.MembraneRestraint___repr__(self)
660 return _object_cast_to_MembraneRestraint(o)
664 _IMP_pmi.MembraneRestraint_swigregister(MembraneRestraint)
666 r"""Proxy of C++ IMP::pmi::CompositeRestraint class."""
668 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
670 def __init__(self, *args):
671 r"""__init__(CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name="CompositeRestraint%1%") -> CompositeRestraint"""
672 _IMP_pmi.CompositeRestraint_swiginit(self, _IMP_pmi.new_CompositeRestraint(*args))
674 def add_composite_particle(self, pi):
675 r"""add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
676 return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
678 def get_number_of_elements(self):
679 r"""get_number_of_elements(CompositeRestraint self) -> unsigned int"""
680 return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
682 def do_get_inputs(self):
683 r"""do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
684 return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
686 def get_version_info(self):
687 r"""get_version_info(CompositeRestraint self) -> VersionInfo"""
688 return _IMP_pmi.CompositeRestraint_get_version_info(self)
689 __swig_destroy__ = _IMP_pmi.delete_CompositeRestraint
691 def get_probability(self):
692 r"""get_probability(CompositeRestraint self) -> double"""
693 return _IMP_pmi.CompositeRestraint_get_probability(self)
696 r"""__str__(CompositeRestraint self) -> std::string"""
697 return _IMP_pmi.CompositeRestraint___str__(self)
700 r"""__repr__(CompositeRestraint self) -> std::string"""
701 return _IMP_pmi.CompositeRestraint___repr__(self)
705 return _object_cast_to_CompositeRestraint(o)
709 _IMP_pmi.CompositeRestraint_swigregister(CompositeRestraint)
711 r"""Proxy of C++ IMP::pmi::CrossLinkRestraintSet class."""
713 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
715 def __init__(self, *args):
717 __init__(CrossLinkRestraintSet self, Model m, std::string const & name="CrossLinkRestraintSet %1%") -> CrossLinkRestraintSet
718 __init__(CrossLinkRestraintSet self) -> CrossLinkRestraintSet
720 _IMP_pmi.CrossLinkRestraintSet_swiginit(self, _IMP_pmi.new_CrossLinkRestraintSet(*args))
722 def set_metadata(self, filename, length, slope):
723 r"""set_metadata(CrossLinkRestraintSet self, std::string filename, double length, double slope)"""
724 return _IMP_pmi.CrossLinkRestraintSet_set_metadata(self, filename, length, slope)
726 def set_linker_auth_name(self, name):
727 r"""set_linker_auth_name(CrossLinkRestraintSet self, std::string name)"""
728 return _IMP_pmi.CrossLinkRestraintSet_set_linker_auth_name(self, name)
730 def set_linker_chemical_name(self, name):
731 r"""set_linker_chemical_name(CrossLinkRestraintSet self, std::string name)"""
732 return _IMP_pmi.CrossLinkRestraintSet_set_linker_chemical_name(self, name)
734 def set_linker_smiles(self, name):
735 r"""set_linker_smiles(CrossLinkRestraintSet self, std::string name)"""
736 return _IMP_pmi.CrossLinkRestraintSet_set_linker_smiles(self, name)
738 def set_linker_smiles_canonical(self, name):
739 r"""set_linker_smiles_canonical(CrossLinkRestraintSet self, std::string name)"""
740 return _IMP_pmi.CrossLinkRestraintSet_set_linker_smiles_canonical(self, name)
742 def set_linker_inchi(self, name):
743 r"""set_linker_inchi(CrossLinkRestraintSet self, std::string name)"""
744 return _IMP_pmi.CrossLinkRestraintSet_set_linker_inchi(self, name)
746 def set_linker_inchi_key(self, name):
747 r"""set_linker_inchi_key(CrossLinkRestraintSet self, std::string name)"""
748 return _IMP_pmi.CrossLinkRestraintSet_set_linker_inchi_key(self, name)
749 __swig_destroy__ = _IMP_pmi.delete_CrossLinkRestraintSet
752 r"""__str__(CrossLinkRestraintSet self) -> std::string"""
753 return _IMP_pmi.CrossLinkRestraintSet___str__(self)
756 r"""__repr__(CrossLinkRestraintSet self) -> std::string"""
757 return _IMP_pmi.CrossLinkRestraintSet___repr__(self)
761 return _object_cast_to_CrossLinkRestraintSet(o)
764 def _get_as_binary(self):
765 r"""_get_as_binary(CrossLinkRestraintSet self) -> PyObject *"""
766 return _IMP_pmi.CrossLinkRestraintSet__get_as_binary(self)
768 def _set_from_binary(self, p):
769 r"""_set_from_binary(CrossLinkRestraintSet self, PyObject * p)"""
770 return _IMP_pmi.CrossLinkRestraintSet__set_from_binary(self, p)
772 def __getstate__(self):
773 p = self._get_as_binary()
774 if len(self.__dict__) > 1:
775 d = self.__dict__.copy()
780 def __setstate__(self, p):
781 if not hasattr(self,
'this'):
783 if isinstance(p, tuple):
785 self.__dict__.update(d)
786 return self._set_from_binary(p)
790 _IMP_pmi.CrossLinkRestraintSet_swigregister(CrossLinkRestraintSet)
792 r"""Proxy of C++ IMP::pmi::Uncertainty class."""
794 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
796 def get_uncertainty(self):
797 r"""get_uncertainty(Uncertainty self) -> IMP::Float"""
798 return _IMP_pmi.Uncertainty_get_uncertainty(self)
800 def set_uncertainty(self, d):
801 r"""set_uncertainty(Uncertainty self, IMP::Float d)"""
802 return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
804 def __init__(self, *args):
806 __init__(Uncertainty self) -> Uncertainty
807 __init__(Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
808 __init__(Uncertainty self, _ParticleAdaptor d) -> Uncertainty
810 _IMP_pmi.Uncertainty_swiginit(self, _IMP_pmi.new_Uncertainty(*args))
813 def get_is_setup(*args):
815 get_is_setup(Model m, ParticleIndex pi) -> bool
816 get_is_setup(_ParticleAdaptor p) -> bool
818 return _IMP_pmi.Uncertainty_get_is_setup(*args)
820 def show(self, *args):
821 r"""show(Uncertainty self, _ostream out=std::cout)"""
822 return _IMP_pmi.Uncertainty_show(self, *args)
825 def setup_particle(*args):
827 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
828 setup_particle(_ParticleAdaptor pa, IMP::Float uncertainty) -> Uncertainty
830 return _IMP_pmi.Uncertainty_setup_particle(*args)
833 def get_uncertainty_key():
834 r"""get_uncertainty_key() -> FloatKey"""
835 return _IMP_pmi.Uncertainty_get_uncertainty_key()
837 def add_attribute(self, *args):
839 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
840 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
841 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
842 add_attribute(Uncertainty self, FloatsKey a0, IMP::Floats a1)
843 add_attribute(Uncertainty self, IntsKey a0, IMP::Ints a1)
844 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
845 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
846 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
847 add_attribute(Uncertainty self, SparseFloatKey a0, IMP::Float a1)
848 add_attribute(Uncertainty self, SparseIntKey a0, IMP::Int a1)
849 add_attribute(Uncertainty self, SparseStringKey a0, IMP::String a1)
850 add_attribute(Uncertainty self, SparseParticleIndexKey a0, ParticleIndex a1)
852 return _IMP_pmi.Uncertainty_add_attribute(self, *args)
854 def get_value(self, *args):
856 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
857 get_value(Uncertainty self, IntKey a0) -> IMP::Int
858 get_value(Uncertainty self, FloatsKey a0) -> IMP::Floats
859 get_value(Uncertainty self, IntsKey a0) -> IMP::Ints
860 get_value(Uncertainty self, StringKey a0) -> IMP::String
861 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
862 get_value(Uncertainty self, ObjectKey a0) -> Object
863 get_value(Uncertainty self, SparseFloatKey a0) -> IMP::Float
864 get_value(Uncertainty self, SparseIntKey a0) -> IMP::Int
865 get_value(Uncertainty self, SparseStringKey a0) -> IMP::String
866 get_value(Uncertainty self, SparseParticleIndexKey a0) -> ParticleIndex
868 return _IMP_pmi.Uncertainty_get_value(self, *args)
870 def set_value(self, *args):
872 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
873 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
874 set_value(Uncertainty self, FloatsKey a0, IMP::Floats a1)
875 set_value(Uncertainty self, IntsKey a0, IMP::Ints a1)
876 set_value(Uncertainty self, StringKey a0, IMP::String a1)
877 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
878 set_value(Uncertainty self, ObjectKey a0, Object a1)
879 set_value(Uncertainty self, SparseFloatKey a0, IMP::Float a1)
880 set_value(Uncertainty self, SparseIntKey a0, IMP::Int a1)
881 set_value(Uncertainty self, SparseStringKey a0, IMP::String a1)
882 set_value(Uncertainty self, SparseParticleIndexKey a0, ParticleIndex a1)
884 return _IMP_pmi.Uncertainty_set_value(self, *args)
886 def remove_attribute(self, *args):
888 remove_attribute(Uncertainty self, FloatKey a0)
889 remove_attribute(Uncertainty self, IntKey a0)
890 remove_attribute(Uncertainty self, FloatsKey a0)
891 remove_attribute(Uncertainty self, IntsKey a0)
892 remove_attribute(Uncertainty self, StringKey a0)
893 remove_attribute(Uncertainty self, ParticleIndexKey a0)
894 remove_attribute(Uncertainty self, ObjectKey a0)
895 remove_attribute(Uncertainty self, SparseFloatKey a0)
896 remove_attribute(Uncertainty self, SparseIntKey a0)
897 remove_attribute(Uncertainty self, SparseStringKey a0)
898 remove_attribute(Uncertainty self, SparseParticleIndexKey a0)
900 return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
902 def has_attribute(self, *args):
904 has_attribute(Uncertainty self, FloatKey a0) -> bool
905 has_attribute(Uncertainty self, IntKey a0) -> bool
906 has_attribute(Uncertainty self, FloatsKey a0) -> bool
907 has_attribute(Uncertainty self, IntsKey a0) -> bool
908 has_attribute(Uncertainty self, StringKey a0) -> bool
909 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
910 has_attribute(Uncertainty self, ObjectKey a0) -> bool
911 has_attribute(Uncertainty self, SparseFloatKey a0) -> bool
912 has_attribute(Uncertainty self, SparseIntKey a0) -> bool
913 has_attribute(Uncertainty self, SparseStringKey a0) -> bool
914 has_attribute(Uncertainty self, SparseParticleIndexKey a0) -> bool
916 return _IMP_pmi.Uncertainty_has_attribute(self, *args)
918 def get_derivative(self, a0):
919 r"""get_derivative(Uncertainty self, FloatKey a0) -> double"""
920 return _IMP_pmi.Uncertainty_get_derivative(self, a0)
923 r"""get_name(Uncertainty self) -> std::string"""
924 return _IMP_pmi.Uncertainty_get_name(self)
926 def clear_caches(self):
927 r"""clear_caches(Uncertainty self)"""
928 return _IMP_pmi.Uncertainty_clear_caches(self)
930 def set_name(self, a0):
931 r"""set_name(Uncertainty self, std::string a0)"""
932 return _IMP_pmi.Uncertainty_set_name(self, a0)
935 r"""set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
936 return _IMP_pmi.Uncertainty_set_check_level(self, a0)
938 def add_to_derivative(self, a0, a1, a2):
939 r"""add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
940 return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
942 def set_is_optimized(self, a0, a1):
943 r"""set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
944 return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
946 def get_is_optimized(self, a0):
947 r"""get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
948 return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
951 r"""get_check_level(Uncertainty self) -> IMP::CheckLevel"""
952 return _IMP_pmi.Uncertainty_get_check_level(self)
954 def __eq__(self, *args):
956 __eq__(Uncertainty self, Uncertainty o) -> bool
957 __eq__(Uncertainty self, Particle d) -> bool
959 return _IMP_pmi.Uncertainty___eq__(self, *args)
961 def __ne__(self, *args):
963 __ne__(Uncertainty self, Uncertainty o) -> bool
964 __ne__(Uncertainty self, Particle d) -> bool
966 return _IMP_pmi.Uncertainty___ne__(self, *args)
968 def __le__(self, *args):
970 __le__(Uncertainty self, Uncertainty o) -> bool
971 __le__(Uncertainty self, Particle d) -> bool
973 return _IMP_pmi.Uncertainty___le__(self, *args)
975 def __lt__(self, *args):
977 __lt__(Uncertainty self, Uncertainty o) -> bool
978 __lt__(Uncertainty self, Particle d) -> bool
980 return _IMP_pmi.Uncertainty___lt__(self, *args)
982 def __ge__(self, *args):
984 __ge__(Uncertainty self, Uncertainty o) -> bool
985 __ge__(Uncertainty self, Particle d) -> bool
987 return _IMP_pmi.Uncertainty___ge__(self, *args)
989 def __gt__(self, *args):
991 __gt__(Uncertainty self, Uncertainty o) -> bool
992 __gt__(Uncertainty self, Particle d) -> bool
994 return _IMP_pmi.Uncertainty___gt__(self, *args)
997 r"""__hash__(Uncertainty self) -> std::size_t"""
998 return _IMP_pmi.Uncertainty___hash__(self)
1001 r"""__str__(Uncertainty self) -> std::string"""
1002 return _IMP_pmi.Uncertainty___str__(self)
1005 r"""__repr__(Uncertainty self) -> std::string"""
1006 return _IMP_pmi.Uncertainty___repr__(self)
1008 def _get_as_binary(self):
1009 r"""_get_as_binary(Uncertainty self) -> PyObject *"""
1010 return _IMP_pmi.Uncertainty__get_as_binary(self)
1012 def _set_from_binary(self, p):
1013 r"""_set_from_binary(Uncertainty self, PyObject * p)"""
1014 return _IMP_pmi.Uncertainty__set_from_binary(self, p)
1016 def __getstate__(self):
1017 p = self._get_as_binary()
1018 if len(self.__dict__) > 1:
1019 d = self.__dict__.copy()
1024 def __setstate__(self, p):
1025 if not hasattr(self,
'this'):
1027 if isinstance(p, tuple):
1029 self.__dict__.update(d)
1030 return self._set_from_binary(p)
1032 __swig_destroy__ = _IMP_pmi.delete_Uncertainty
1035 _IMP_pmi.Uncertainty_swigregister(Uncertainty)
1037 r"""Proxy of C++ IMP::pmi::Resolution class."""
1039 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1042 r"""get_resolution(Resolution self) -> IMP::Float"""
1043 return _IMP_pmi.Resolution_get_resolution(self)
1045 def set_resolution(self, d):
1046 r"""set_resolution(Resolution self, IMP::Float d)"""
1047 return _IMP_pmi.Resolution_set_resolution(self, d)
1049 def __init__(self, *args):
1051 __init__(Resolution self) -> Resolution
1052 __init__(Resolution self, Model m, ParticleIndex id) -> Resolution
1053 __init__(Resolution self, _ParticleAdaptor d) -> Resolution
1055 _IMP_pmi.Resolution_swiginit(self, _IMP_pmi.new_Resolution(*args))
1058 def get_is_setup(*args):
1060 get_is_setup(Model m, ParticleIndex pi) -> bool
1061 get_is_setup(_ParticleAdaptor p) -> bool
1063 return _IMP_pmi.Resolution_get_is_setup(*args)
1065 def show(self, *args):
1066 r"""show(Resolution self, _ostream out=std::cout)"""
1067 return _IMP_pmi.Resolution_show(self, *args)
1070 def setup_particle(*args):
1072 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1073 setup_particle(_ParticleAdaptor pa, IMP::Float resolution) -> Resolution
1075 return _IMP_pmi.Resolution_setup_particle(*args)
1078 def get_resolution_key():
1079 r"""get_resolution_key() -> FloatKey"""
1080 return _IMP_pmi.Resolution_get_resolution_key()
1082 def add_attribute(self, *args):
1084 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
1085 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
1086 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
1087 add_attribute(Resolution self, FloatsKey a0, IMP::Floats a1)
1088 add_attribute(Resolution self, IntsKey a0, IMP::Ints a1)
1089 add_attribute(Resolution self, StringKey a0, IMP::String a1)
1090 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
1091 add_attribute(Resolution self, ObjectKey a0, Object a1)
1092 add_attribute(Resolution self, SparseFloatKey a0, IMP::Float a1)
1093 add_attribute(Resolution self, SparseIntKey a0, IMP::Int a1)
1094 add_attribute(Resolution self, SparseStringKey a0, IMP::String a1)
1095 add_attribute(Resolution self, SparseParticleIndexKey a0, ParticleIndex a1)
1097 return _IMP_pmi.Resolution_add_attribute(self, *args)
1099 def get_value(self, *args):
1101 get_value(Resolution self, FloatKey a0) -> IMP::Float
1102 get_value(Resolution self, IntKey a0) -> IMP::Int
1103 get_value(Resolution self, FloatsKey a0) -> IMP::Floats
1104 get_value(Resolution self, IntsKey a0) -> IMP::Ints
1105 get_value(Resolution self, StringKey a0) -> IMP::String
1106 get_value(Resolution self, ParticleIndexKey a0) -> Particle
1107 get_value(Resolution self, ObjectKey a0) -> Object
1108 get_value(Resolution self, SparseFloatKey a0) -> IMP::Float
1109 get_value(Resolution self, SparseIntKey a0) -> IMP::Int
1110 get_value(Resolution self, SparseStringKey a0) -> IMP::String
1111 get_value(Resolution self, SparseParticleIndexKey a0) -> ParticleIndex
1113 return _IMP_pmi.Resolution_get_value(self, *args)
1115 def set_value(self, *args):
1117 set_value(Resolution self, FloatKey a0, IMP::Float a1)
1118 set_value(Resolution self, IntKey a0, IMP::Int a1)
1119 set_value(Resolution self, FloatsKey a0, IMP::Floats a1)
1120 set_value(Resolution self, IntsKey a0, IMP::Ints a1)
1121 set_value(Resolution self, StringKey a0, IMP::String a1)
1122 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
1123 set_value(Resolution self, ObjectKey a0, Object a1)
1124 set_value(Resolution self, SparseFloatKey a0, IMP::Float a1)
1125 set_value(Resolution self, SparseIntKey a0, IMP::Int a1)
1126 set_value(Resolution self, SparseStringKey a0, IMP::String a1)
1127 set_value(Resolution self, SparseParticleIndexKey a0, ParticleIndex a1)
1129 return _IMP_pmi.Resolution_set_value(self, *args)
1131 def remove_attribute(self, *args):
1133 remove_attribute(Resolution self, FloatKey a0)
1134 remove_attribute(Resolution self, IntKey a0)
1135 remove_attribute(Resolution self, FloatsKey a0)
1136 remove_attribute(Resolution self, IntsKey a0)
1137 remove_attribute(Resolution self, StringKey a0)
1138 remove_attribute(Resolution self, ParticleIndexKey a0)
1139 remove_attribute(Resolution self, ObjectKey a0)
1140 remove_attribute(Resolution self, SparseFloatKey a0)
1141 remove_attribute(Resolution self, SparseIntKey a0)
1142 remove_attribute(Resolution self, SparseStringKey a0)
1143 remove_attribute(Resolution self, SparseParticleIndexKey a0)
1145 return _IMP_pmi.Resolution_remove_attribute(self, *args)
1147 def has_attribute(self, *args):
1149 has_attribute(Resolution self, FloatKey a0) -> bool
1150 has_attribute(Resolution self, IntKey a0) -> bool
1151 has_attribute(Resolution self, FloatsKey a0) -> bool
1152 has_attribute(Resolution self, IntsKey a0) -> bool
1153 has_attribute(Resolution self, StringKey a0) -> bool
1154 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
1155 has_attribute(Resolution self, ObjectKey a0) -> bool
1156 has_attribute(Resolution self, SparseFloatKey a0) -> bool
1157 has_attribute(Resolution self, SparseIntKey a0) -> bool
1158 has_attribute(Resolution self, SparseStringKey a0) -> bool
1159 has_attribute(Resolution self, SparseParticleIndexKey a0) -> bool
1161 return _IMP_pmi.Resolution_has_attribute(self, *args)
1163 def get_derivative(self, a0):
1164 r"""get_derivative(Resolution self, FloatKey a0) -> double"""
1165 return _IMP_pmi.Resolution_get_derivative(self, a0)
1168 r"""get_name(Resolution self) -> std::string"""
1169 return _IMP_pmi.Resolution_get_name(self)
1171 def clear_caches(self):
1172 r"""clear_caches(Resolution self)"""
1173 return _IMP_pmi.Resolution_clear_caches(self)
1175 def set_name(self, a0):
1176 r"""set_name(Resolution self, std::string a0)"""
1177 return _IMP_pmi.Resolution_set_name(self, a0)
1180 r"""set_check_level(Resolution self, IMP::CheckLevel a0)"""
1181 return _IMP_pmi.Resolution_set_check_level(self, a0)
1183 def add_to_derivative(self, a0, a1, a2):
1184 r"""add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1185 return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1187 def set_is_optimized(self, a0, a1):
1188 r"""set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1189 return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1191 def get_is_optimized(self, a0):
1192 r"""get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1193 return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1196 r"""get_check_level(Resolution self) -> IMP::CheckLevel"""
1197 return _IMP_pmi.Resolution_get_check_level(self)
1199 def __eq__(self, *args):
1201 __eq__(Resolution self, Resolution o) -> bool
1202 __eq__(Resolution self, Particle d) -> bool
1204 return _IMP_pmi.Resolution___eq__(self, *args)
1206 def __ne__(self, *args):
1208 __ne__(Resolution self, Resolution o) -> bool
1209 __ne__(Resolution self, Particle d) -> bool
1211 return _IMP_pmi.Resolution___ne__(self, *args)
1213 def __le__(self, *args):
1215 __le__(Resolution self, Resolution o) -> bool
1216 __le__(Resolution self, Particle d) -> bool
1218 return _IMP_pmi.Resolution___le__(self, *args)
1220 def __lt__(self, *args):
1222 __lt__(Resolution self, Resolution o) -> bool
1223 __lt__(Resolution self, Particle d) -> bool
1225 return _IMP_pmi.Resolution___lt__(self, *args)
1227 def __ge__(self, *args):
1229 __ge__(Resolution self, Resolution o) -> bool
1230 __ge__(Resolution self, Particle d) -> bool
1232 return _IMP_pmi.Resolution___ge__(self, *args)
1234 def __gt__(self, *args):
1236 __gt__(Resolution self, Resolution o) -> bool
1237 __gt__(Resolution self, Particle d) -> bool
1239 return _IMP_pmi.Resolution___gt__(self, *args)
1242 r"""__hash__(Resolution self) -> std::size_t"""
1243 return _IMP_pmi.Resolution___hash__(self)
1246 r"""__str__(Resolution self) -> std::string"""
1247 return _IMP_pmi.Resolution___str__(self)
1250 r"""__repr__(Resolution self) -> std::string"""
1251 return _IMP_pmi.Resolution___repr__(self)
1253 def _get_as_binary(self):
1254 r"""_get_as_binary(Resolution self) -> PyObject *"""
1255 return _IMP_pmi.Resolution__get_as_binary(self)
1257 def _set_from_binary(self, p):
1258 r"""_set_from_binary(Resolution self, PyObject * p)"""
1259 return _IMP_pmi.Resolution__set_from_binary(self, p)
1261 def __getstate__(self):
1262 p = self._get_as_binary()
1263 if len(self.__dict__) > 1:
1264 d = self.__dict__.copy()
1269 def __setstate__(self, p):
1270 if not hasattr(self,
'this'):
1272 if isinstance(p, tuple):
1274 self.__dict__.update(d)
1275 return self._set_from_binary(p)
1277 __swig_destroy__ = _IMP_pmi.delete_Resolution
1280 _IMP_pmi.Resolution_swigregister(Resolution)
1282 r"""Proxy of C++ IMP::pmi::Symmetric class."""
1284 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1286 def get_symmetric(self):
1287 r"""get_symmetric(Symmetric self) -> IMP::Float"""
1288 return _IMP_pmi.Symmetric_get_symmetric(self)
1290 def set_symmetric(self, d):
1291 r"""set_symmetric(Symmetric self, IMP::Float d)"""
1292 return _IMP_pmi.Symmetric_set_symmetric(self, d)
1294 def __init__(self, *args):
1296 __init__(Symmetric self) -> Symmetric
1297 __init__(Symmetric self, Model m, ParticleIndex id) -> Symmetric
1298 __init__(Symmetric self, _ParticleAdaptor d) -> Symmetric
1300 _IMP_pmi.Symmetric_swiginit(self, _IMP_pmi.new_Symmetric(*args))
1303 def get_is_setup(*args):
1305 get_is_setup(Model m, ParticleIndex pi) -> bool
1306 get_is_setup(_ParticleAdaptor p) -> bool
1308 return _IMP_pmi.Symmetric_get_is_setup(*args)
1310 def show(self, *args):
1311 r"""show(Symmetric self, _ostream out=std::cout)"""
1312 return _IMP_pmi.Symmetric_show(self, *args)
1315 def setup_particle(*args):
1317 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1318 setup_particle(_ParticleAdaptor pa, IMP::Float symmetric) -> Symmetric
1320 return _IMP_pmi.Symmetric_setup_particle(*args)
1323 def get_symmetric_key():
1324 r"""get_symmetric_key() -> FloatKey"""
1325 return _IMP_pmi.Symmetric_get_symmetric_key()
1327 def add_attribute(self, *args):
1329 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1330 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1331 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1332 add_attribute(Symmetric self, FloatsKey a0, IMP::Floats a1)
1333 add_attribute(Symmetric self, IntsKey a0, IMP::Ints a1)
1334 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1335 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1336 add_attribute(Symmetric self, ObjectKey a0, Object a1)
1337 add_attribute(Symmetric self, SparseFloatKey a0, IMP::Float a1)
1338 add_attribute(Symmetric self, SparseIntKey a0, IMP::Int a1)
1339 add_attribute(Symmetric self, SparseStringKey a0, IMP::String a1)
1340 add_attribute(Symmetric self, SparseParticleIndexKey a0, ParticleIndex a1)
1342 return _IMP_pmi.Symmetric_add_attribute(self, *args)
1344 def get_value(self, *args):
1346 get_value(Symmetric self, FloatKey a0) -> IMP::Float
1347 get_value(Symmetric self, IntKey a0) -> IMP::Int
1348 get_value(Symmetric self, FloatsKey a0) -> IMP::Floats
1349 get_value(Symmetric self, IntsKey a0) -> IMP::Ints
1350 get_value(Symmetric self, StringKey a0) -> IMP::String
1351 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1352 get_value(Symmetric self, ObjectKey a0) -> Object
1353 get_value(Symmetric self, SparseFloatKey a0) -> IMP::Float
1354 get_value(Symmetric self, SparseIntKey a0) -> IMP::Int
1355 get_value(Symmetric self, SparseStringKey a0) -> IMP::String
1356 get_value(Symmetric self, SparseParticleIndexKey a0) -> ParticleIndex
1358 return _IMP_pmi.Symmetric_get_value(self, *args)
1360 def set_value(self, *args):
1362 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1363 set_value(Symmetric self, IntKey a0, IMP::Int a1)
1364 set_value(Symmetric self, FloatsKey a0, IMP::Floats a1)
1365 set_value(Symmetric self, IntsKey a0, IMP::Ints a1)
1366 set_value(Symmetric self, StringKey a0, IMP::String a1)
1367 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1368 set_value(Symmetric self, ObjectKey a0, Object a1)
1369 set_value(Symmetric self, SparseFloatKey a0, IMP::Float a1)
1370 set_value(Symmetric self, SparseIntKey a0, IMP::Int a1)
1371 set_value(Symmetric self, SparseStringKey a0, IMP::String a1)
1372 set_value(Symmetric self, SparseParticleIndexKey a0, ParticleIndex a1)
1374 return _IMP_pmi.Symmetric_set_value(self, *args)
1376 def remove_attribute(self, *args):
1378 remove_attribute(Symmetric self, FloatKey a0)
1379 remove_attribute(Symmetric self, IntKey a0)
1380 remove_attribute(Symmetric self, FloatsKey a0)
1381 remove_attribute(Symmetric self, IntsKey a0)
1382 remove_attribute(Symmetric self, StringKey a0)
1383 remove_attribute(Symmetric self, ParticleIndexKey a0)
1384 remove_attribute(Symmetric self, ObjectKey a0)
1385 remove_attribute(Symmetric self, SparseFloatKey a0)
1386 remove_attribute(Symmetric self, SparseIntKey a0)
1387 remove_attribute(Symmetric self, SparseStringKey a0)
1388 remove_attribute(Symmetric self, SparseParticleIndexKey a0)
1390 return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1392 def has_attribute(self, *args):
1394 has_attribute(Symmetric self, FloatKey a0) -> bool
1395 has_attribute(Symmetric self, IntKey a0) -> bool
1396 has_attribute(Symmetric self, FloatsKey a0) -> bool
1397 has_attribute(Symmetric self, IntsKey a0) -> bool
1398 has_attribute(Symmetric self, StringKey a0) -> bool
1399 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1400 has_attribute(Symmetric self, ObjectKey a0) -> bool
1401 has_attribute(Symmetric self, SparseFloatKey a0) -> bool
1402 has_attribute(Symmetric self, SparseIntKey a0) -> bool
1403 has_attribute(Symmetric self, SparseStringKey a0) -> bool
1404 has_attribute(Symmetric self, SparseParticleIndexKey a0) -> bool
1406 return _IMP_pmi.Symmetric_has_attribute(self, *args)
1408 def get_derivative(self, a0):
1409 r"""get_derivative(Symmetric self, FloatKey a0) -> double"""
1410 return _IMP_pmi.Symmetric_get_derivative(self, a0)
1413 r"""get_name(Symmetric self) -> std::string"""
1414 return _IMP_pmi.Symmetric_get_name(self)
1416 def clear_caches(self):
1417 r"""clear_caches(Symmetric self)"""
1418 return _IMP_pmi.Symmetric_clear_caches(self)
1420 def set_name(self, a0):
1421 r"""set_name(Symmetric self, std::string a0)"""
1422 return _IMP_pmi.Symmetric_set_name(self, a0)
1425 r"""set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1426 return _IMP_pmi.Symmetric_set_check_level(self, a0)
1428 def add_to_derivative(self, a0, a1, a2):
1429 r"""add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1430 return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1432 def set_is_optimized(self, a0, a1):
1433 r"""set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1434 return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1436 def get_is_optimized(self, a0):
1437 r"""get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1438 return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1441 r"""get_check_level(Symmetric self) -> IMP::CheckLevel"""
1442 return _IMP_pmi.Symmetric_get_check_level(self)
1444 def __eq__(self, *args):
1446 __eq__(Symmetric self, Symmetric o) -> bool
1447 __eq__(Symmetric self, Particle d) -> bool
1449 return _IMP_pmi.Symmetric___eq__(self, *args)
1451 def __ne__(self, *args):
1453 __ne__(Symmetric self, Symmetric o) -> bool
1454 __ne__(Symmetric self, Particle d) -> bool
1456 return _IMP_pmi.Symmetric___ne__(self, *args)
1458 def __le__(self, *args):
1460 __le__(Symmetric self, Symmetric o) -> bool
1461 __le__(Symmetric self, Particle d) -> bool
1463 return _IMP_pmi.Symmetric___le__(self, *args)
1465 def __lt__(self, *args):
1467 __lt__(Symmetric self, Symmetric o) -> bool
1468 __lt__(Symmetric self, Particle d) -> bool
1470 return _IMP_pmi.Symmetric___lt__(self, *args)
1472 def __ge__(self, *args):
1474 __ge__(Symmetric self, Symmetric o) -> bool
1475 __ge__(Symmetric self, Particle d) -> bool
1477 return _IMP_pmi.Symmetric___ge__(self, *args)
1479 def __gt__(self, *args):
1481 __gt__(Symmetric self, Symmetric o) -> bool
1482 __gt__(Symmetric self, Particle d) -> bool
1484 return _IMP_pmi.Symmetric___gt__(self, *args)
1487 r"""__hash__(Symmetric self) -> std::size_t"""
1488 return _IMP_pmi.Symmetric___hash__(self)
1491 r"""__str__(Symmetric self) -> std::string"""
1492 return _IMP_pmi.Symmetric___str__(self)
1495 r"""__repr__(Symmetric self) -> std::string"""
1496 return _IMP_pmi.Symmetric___repr__(self)
1498 def _get_as_binary(self):
1499 r"""_get_as_binary(Symmetric self) -> PyObject *"""
1500 return _IMP_pmi.Symmetric__get_as_binary(self)
1502 def _set_from_binary(self, p):
1503 r"""_set_from_binary(Symmetric self, PyObject * p)"""
1504 return _IMP_pmi.Symmetric__set_from_binary(self, p)
1506 def __getstate__(self):
1507 p = self._get_as_binary()
1508 if len(self.__dict__) > 1:
1509 d = self.__dict__.copy()
1514 def __setstate__(self, p):
1515 if not hasattr(self,
'this'):
1517 if isinstance(p, tuple):
1519 self.__dict__.update(d)
1520 return self._set_from_binary(p)
1522 __swig_destroy__ = _IMP_pmi.delete_Symmetric
1525 _IMP_pmi.Symmetric_swigregister(Symmetric)
1527 r"""Proxy of C++ IMP::pmi::TransformMover class."""
1529 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1531 def __init__(self, *args):
1533 __init__(TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1534 __init__(TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1535 __init__(TransformMover self, Model m, _ParticleIndexAdaptor p1i, _ParticleIndexAdaptor p2i, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1536 __init__(TransformMover self) -> TransformMover
1538 _IMP_pmi.TransformMover_swiginit(self, _IMP_pmi.new_TransformMover(*args))
1540 def add_xyz_particle(self, pi):
1541 r"""add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1542 return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1544 def add_rigid_body_particle(self, pi):
1545 r"""add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1546 return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1548 def set_maximum_translation(self, mt):
1549 r"""set_maximum_translation(TransformMover self, IMP::Float mt)"""
1550 return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1552 def set_maximum_rotation(self, mr):
1553 r"""set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1554 return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1556 def get_maximum_translation(self):
1557 r"""get_maximum_translation(TransformMover self) -> IMP::Float"""
1558 return _IMP_pmi.TransformMover_get_maximum_translation(self)
1560 def get_maximum_rotation(self):
1561 r"""get_maximum_rotation(TransformMover self) -> IMP::Float"""
1562 return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1564 def get_last_transformation(self):
1565 r"""get_last_transformation(TransformMover self) -> Transformation3D"""
1566 return _IMP_pmi.TransformMover_get_last_transformation(self)
1568 def get_version_info(self):
1569 r"""get_version_info(TransformMover self) -> VersionInfo"""
1570 return _IMP_pmi.TransformMover_get_version_info(self)
1571 __swig_destroy__ = _IMP_pmi.delete_TransformMover
1574 r"""__str__(TransformMover self) -> std::string"""
1575 return _IMP_pmi.TransformMover___str__(self)
1578 r"""__repr__(TransformMover self) -> std::string"""
1579 return _IMP_pmi.TransformMover___repr__(self)
1583 return _object_cast_to_TransformMover(o)
1586 def _get_as_binary(self):
1587 r"""_get_as_binary(TransformMover self) -> PyObject *"""
1588 return _IMP_pmi.TransformMover__get_as_binary(self)
1590 def _set_from_binary(self, p):
1591 r"""_set_from_binary(TransformMover self, PyObject * p)"""
1592 return _IMP_pmi.TransformMover__set_from_binary(self, p)
1594 def __getstate__(self):
1595 p = self._get_as_binary()
1596 if len(self.__dict__) > 1:
1597 d = self.__dict__.copy()
1602 def __setstate__(self, p):
1603 if not hasattr(self,
'this'):
1605 if isinstance(p, tuple):
1607 self.__dict__.update(d)
1608 return self._set_from_binary(p)
1612 _IMP_pmi.TransformMover_swigregister(TransformMover)
1615 r"""create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1616 return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1618 def get_dihedral_angle(p1, p2, p3, p4):
1619 r"""get_dihedral_angle(Atom p1, Atom p2, Atom p3, Atom p4) -> IMP::Float"""
1620 return _IMP_pmi.get_dihedral_angle(p1, p2, p3, p4)
1622 def get_bipartite_minimum_sphere_distance(m1, m2):
1623 r"""get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1624 return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1626 def get_list_of_bipartite_minimum_sphere_distance(pss):
1627 r"""get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1628 return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1631 r"""get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1632 return _IMP_pmi.get_molecule_name_and_copy(h)
1635 r"""get_module_version() -> std::string const"""
1636 return _IMP_pmi.get_module_version()
1639 r"""get_example_path(std::string fname) -> std::string"""
1640 return _IMP_pmi.get_example_path(fname)
1643 r"""get_data_path(std::string fname) -> std::string"""
1644 return _IMP_pmi.get_data_path(fname)
1646 from .
import _version_check
CheckLevel get_check_level()
Get the current audit mode.
A base class for ISD Restraints.
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
std::string get_module_version()
Return the version of this module, as a string.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
Object used to hold a set of restraints.
Warning related to handling of structures.
std::string get_molecule_name_and_copy(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and get the "molname.copynum".
RestraintSet * create_elastic_network(const Particles &ps, Float dist_cutoff, Float strength)
Create an elastic network restraint set.
A base class for classes which perturb particles.
Basic utilities for handling cryo-electron microscopy 3D density maps.
Warning for an expected, but missing, file.
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.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
double get_resolution(Model *m, ParticleIndex pi)
Estimate the resolution of the hierarchy as used by Representation.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
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.