10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_pmi')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_pmi')
25 _IMP_pmi = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_pmi', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_pmi', fp, pathname, description)
43 _IMP_pmi = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_PMI_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_PMI_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_pmi.delete_IMP_PMI_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_PMI_SwigPyIterator self) -> PyObject *"""
126 return _IMP_pmi.IMP_PMI_SwigPyIterator_value(self)
131 incr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
132 incr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
134 return _IMP_pmi.IMP_PMI_SwigPyIterator_incr(self, n)
139 decr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
140 decr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
142 return _IMP_pmi.IMP_PMI_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_pmi.IMP_PMI_SwigPyIterator_distance(self, x)
151 """equal(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
152 return _IMP_pmi.IMP_PMI_SwigPyIterator_equal(self, x)
156 """copy(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator"""
157 return _IMP_pmi.IMP_PMI_SwigPyIterator_copy(self)
161 """next(IMP_PMI_SwigPyIterator self) -> PyObject *"""
162 return _IMP_pmi.IMP_PMI_SwigPyIterator_next(self)
166 """__next__(IMP_PMI_SwigPyIterator self) -> PyObject *"""
167 return _IMP_pmi.IMP_PMI_SwigPyIterator___next__(self)
171 """previous(IMP_PMI_SwigPyIterator self) -> PyObject *"""
172 return _IMP_pmi.IMP_PMI_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
177 return _IMP_pmi.IMP_PMI_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
182 return _IMP_pmi.IMP_PMI_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
187 return _IMP_pmi.IMP_PMI_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
192 return _IMP_pmi.IMP_PMI_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
197 return _IMP_pmi.IMP_PMI_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
202 return _IMP_pmi.IMP_PMI_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator
208 __sub__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_pmi.IMP_PMI_SwigPyIterator___sub__(self, *args)
214 IMP_PMI_SwigPyIterator_swigregister = _IMP_pmi.IMP_PMI_SwigPyIterator_swigregister
215 IMP_PMI_SwigPyIterator_swigregister(IMP_PMI_SwigPyIterator)
223 IMP_DEBUG = _IMP_pmi.IMP_DEBUG
224 IMP_RELEASE = _IMP_pmi.IMP_RELEASE
225 IMP_SILENT = _IMP_pmi.IMP_SILENT
226 IMP_PROGRESS = _IMP_pmi.IMP_PROGRESS
227 IMP_TERSE = _IMP_pmi.IMP_TERSE
228 IMP_VERBOSE = _IMP_pmi.IMP_VERBOSE
229 IMP_MEMORY = _IMP_pmi.IMP_MEMORY
230 IMP_NONE = _IMP_pmi.IMP_NONE
231 IMP_USAGE = _IMP_pmi.IMP_USAGE
232 IMP_INTERNAL = _IMP_pmi.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_pmi.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_pmi.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_pmi.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_pmi._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_pmi._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_pmi.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_pmi.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_pmi.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_pmi.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_pmi.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
308 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
309 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
310 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
311 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
312 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
313 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
314 IMP_DISPLAY_HAS_NUMPY = _IMP_pmi.IMP_DISPLAY_HAS_NUMPY
315 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
317 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
318 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
319 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
320 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
322 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
323 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
324 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_NUMPY
325 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
327 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
328 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
329 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
330 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
331 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
332 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
333 IMP_STATISTICS_HAS_NUMPY = _IMP_pmi.IMP_STATISTICS_HAS_NUMPY
334 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS
336 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
337 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
338 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
339 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
340 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
341 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
342 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
343 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
344 IMP_CORE_HAS_NUMPY = _IMP_pmi.IMP_CORE_HAS_NUMPY
345 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
347 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
349 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
350 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
351 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
352 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
353 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
354 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
355 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
356 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
357 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
358 IMP_CONTAINER_HAS_NUMPY = _IMP_pmi.IMP_CONTAINER_HAS_NUMPY
359 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_pmi.IMP_CONTAINER_HAS_PYTHON_IHM
360 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_pmi.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
361 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_pmi.IMP_CONTAINER_HAS_ROBIN_MAP
362 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
364 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
365 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
366 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
367 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
368 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
369 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
370 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
371 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
372 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
373 IMP_ATOM_HAS_NUMPY = _IMP_pmi.IMP_ATOM_HAS_NUMPY
374 IMP_ATOM_HAS_PYTHON_IHM = _IMP_pmi.IMP_ATOM_HAS_PYTHON_IHM
375 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
376 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
377 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
378 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
379 IMP_CHAIN_TYPE_INDEX = _IMP_pmi.IMP_CHAIN_TYPE_INDEX
381 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
382 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
383 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
384 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
385 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
386 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
387 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
388 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
389 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
390 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
391 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
392 IMP_EM_HAS_NUMPY = _IMP_pmi.IMP_EM_HAS_NUMPY
393 IMP_EM_HAS_PYTHON_IHM = _IMP_pmi.IMP_EM_HAS_PYTHON_IHM
394 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
396 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
397 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
398 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
399 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
400 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
401 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
402 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
403 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
404 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
405 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
406 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
407 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
408 IMP_SAXS_HAS_NUMPY = _IMP_pmi.IMP_SAXS_HAS_NUMPY
409 IMP_SAXS_HAS_PYTHON_IHM = _IMP_pmi.IMP_SAXS_HAS_PYTHON_IHM
410 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
412 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
413 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
414 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
415 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
416 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
417 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
418 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
419 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
420 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
421 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
422 IMP_ISD_HAS_NUMPY = _IMP_pmi.IMP_ISD_HAS_NUMPY
423 IMP_ISD_HAS_PYTHON_IHM = _IMP_pmi.IMP_ISD_HAS_PYTHON_IHM
424 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
426 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
427 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
428 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
429 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
430 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
431 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
432 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
433 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
434 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
435 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
436 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
437 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
438 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
439 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
440 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
441 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
442 IMP_PMI_HAS_NUMPY = _IMP_pmi.IMP_PMI_HAS_NUMPY
443 IMP_PMI_HAS_PYTHON_IHM = _IMP_pmi.IMP_PMI_HAS_PYTHON_IHM
444 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
446 _object_types.append(
"CompositeRestraint")
449 def _object_cast_to_CompositeRestraint(o):
450 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
451 return _IMP_pmi._object_cast_to_CompositeRestraint(o)
453 def Uncertainties(l=[]):
454 return [Uncertainty(x)
for x
in l]
455 _plural_types.append(
"Uncertainties")
458 _value_types.append(
"Uncertainty")
461 def Resolutions(l=[]):
462 return [Resolution(x)
for x
in l]
463 _plural_types.append(
"Resolutions")
466 _value_types.append(
"Resolution")
469 def Symmetrics(l=[]):
470 return [Symmetric(x)
for x
in l]
471 _plural_types.append(
"Symmetrics")
474 _value_types.append(
"Symmetric")
477 _object_types.append(
"TransformMover")
480 def _object_cast_to_TransformMover(o):
481 """_object_cast_to_TransformMover(Object o) -> TransformMover"""
482 return _IMP_pmi._object_cast_to_TransformMover(o)
484 _object_types.append(
"MembraneRestraint")
487 def _object_cast_to_MembraneRestraint(o):
488 """_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
489 return _IMP_pmi._object_cast_to_MembraneRestraint(o)
491 _object_types.append(
"InternalCoordinatesConstraint")
494 def _object_cast_to_InternalCoordinatesConstraint(o):
495 """_object_cast_to_InternalCoordinatesConstraint(Object o) -> InternalCoordinatesConstraint"""
496 return _IMP_pmi._object_cast_to_InternalCoordinatesConstraint(o)
499 """Warning related to handling of structures"""
503 class ParameterWarning(UserWarning):
504 """Warning for probably incorrect input parameters"""
509 """Warning for an expected, but missing, file"""
513 """Proxy of C++ IMP::pmi::MembraneRestraint class."""
515 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
517 def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
518 """__init__(IMP::pmi::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
519 this = _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
521 self.this.append(this)
522 except __builtin__.Exception:
525 def add_particles_below(self, particles):
526 """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
527 return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
530 def add_particles_above(self, particles):
531 """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
532 return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
535 def add_particles_inside(self, particles):
536 """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
537 return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
540 def get_score(self, prob):
541 """get_score(MembraneRestraint self, double prob) -> double"""
542 return _IMP_pmi.MembraneRestraint_get_score(self, prob)
545 def get_probability_above(self, z, z_slope_center_upper):
546 """get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
547 return _IMP_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
550 def get_score_above(self, z, z_slope_center_upper):
551 """get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
552 return _IMP_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
555 def get_probability_below(self, z, z_slope_center_lower):
556 """get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
557 return _IMP_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
560 def get_score_below(self, z, z_slope_center_lower):
561 """get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
562 return _IMP_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
565 def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
566 """get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
567 return _IMP_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
571 """__str__(MembraneRestraint self) -> std::string"""
572 return _IMP_pmi.MembraneRestraint___str__(self)
576 """__repr__(MembraneRestraint self) -> std::string"""
577 return _IMP_pmi.MembraneRestraint___repr__(self)
582 return _object_cast_to_MembraneRestraint(o)
584 MembraneRestraint_swigregister = _IMP_pmi.MembraneRestraint_swigregister
585 MembraneRestraint_swigregister(MembraneRestraint)
588 """Proxy of C++ IMP::pmi::CompositeRestraint class."""
590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
592 def __init__(self, *args):
594 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
595 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
597 this = _IMP_pmi.new_CompositeRestraint(*args)
599 self.this.append(this)
600 except __builtin__.Exception:
603 def add_composite_particle(self, pi):
604 """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
605 return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
608 def get_number_of_elements(self):
609 """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
610 return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
613 def do_get_inputs(self):
614 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
615 return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
618 def get_version_info(self):
619 """get_version_info(CompositeRestraint self) -> VersionInfo"""
620 return _IMP_pmi.CompositeRestraint_get_version_info(self)
623 def get_probability(self):
624 """get_probability(CompositeRestraint self) -> double"""
625 return _IMP_pmi.CompositeRestraint_get_probability(self)
629 """__str__(CompositeRestraint self) -> std::string"""
630 return _IMP_pmi.CompositeRestraint___str__(self)
634 """__repr__(CompositeRestraint self) -> std::string"""
635 return _IMP_pmi.CompositeRestraint___repr__(self)
640 return _object_cast_to_CompositeRestraint(o)
642 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
643 CompositeRestraint_swigregister(CompositeRestraint)
646 """Proxy of C++ IMP::pmi::Uncertainty class."""
648 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
650 def get_uncertainty(self):
651 """get_uncertainty(Uncertainty self) -> IMP::Float"""
652 return _IMP_pmi.Uncertainty_get_uncertainty(self)
655 def set_uncertainty(self, d):
656 """set_uncertainty(Uncertainty self, IMP::Float d)"""
657 return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
660 def __init__(self, *args):
662 __init__(IMP::pmi::Uncertainty self) -> Uncertainty
663 __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
664 __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
666 this = _IMP_pmi.new_Uncertainty(*args)
668 self.this.append(this)
669 except __builtin__.Exception:
672 def get_is_setup(*args):
674 get_is_setup(Model m, ParticleIndex pi) -> bool
675 get_is_setup(_ParticleAdaptor p) -> bool
677 return _IMP_pmi.Uncertainty_get_is_setup(*args)
679 get_is_setup = staticmethod(get_is_setup)
681 def show(self, *args):
683 show(Uncertainty self, _ostream out)
684 show(Uncertainty self)
686 return _IMP_pmi.Uncertainty_show(self, *args)
689 def setup_particle(*args):
691 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
692 setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
694 return _IMP_pmi.Uncertainty_setup_particle(*args)
696 setup_particle = staticmethod(setup_particle)
698 def get_uncertainty_key():
699 """get_uncertainty_key() -> FloatKey"""
700 return _IMP_pmi.Uncertainty_get_uncertainty_key()
702 get_uncertainty_key = staticmethod(get_uncertainty_key)
704 def add_attribute(self, *args):
706 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
707 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
708 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
709 add_attribute(Uncertainty self, FloatsKey a0, IMP::Floats a1)
710 add_attribute(Uncertainty self, IntsKey a0, IMP::Ints a1)
711 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
712 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
713 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
715 return _IMP_pmi.Uncertainty_add_attribute(self, *args)
718 def get_value(self, *args):
720 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
721 get_value(Uncertainty self, IntKey a0) -> IMP::Int
722 get_value(Uncertainty self, FloatsKey a0) -> IMP::Floats
723 get_value(Uncertainty self, IntsKey a0) -> IMP::Ints
724 get_value(Uncertainty self, StringKey a0) -> IMP::String
725 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
726 get_value(Uncertainty self, ObjectKey a0) -> Object
728 return _IMP_pmi.Uncertainty_get_value(self, *args)
731 def set_value(self, *args):
733 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
734 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
735 set_value(Uncertainty self, FloatsKey a0, IMP::Floats a1)
736 set_value(Uncertainty self, IntsKey a0, IMP::Ints a1)
737 set_value(Uncertainty self, StringKey a0, IMP::String a1)
738 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
739 set_value(Uncertainty self, ObjectKey a0, Object a1)
741 return _IMP_pmi.Uncertainty_set_value(self, *args)
744 def remove_attribute(self, *args):
746 remove_attribute(Uncertainty self, FloatKey a0)
747 remove_attribute(Uncertainty self, IntKey a0)
748 remove_attribute(Uncertainty self, FloatsKey a0)
749 remove_attribute(Uncertainty self, IntsKey a0)
750 remove_attribute(Uncertainty self, StringKey a0)
751 remove_attribute(Uncertainty self, ParticleIndexKey a0)
752 remove_attribute(Uncertainty self, ObjectKey a0)
754 return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
757 def has_attribute(self, *args):
759 has_attribute(Uncertainty self, FloatKey a0) -> bool
760 has_attribute(Uncertainty self, IntKey a0) -> bool
761 has_attribute(Uncertainty self, FloatsKey a0) -> bool
762 has_attribute(Uncertainty self, IntsKey a0) -> bool
763 has_attribute(Uncertainty self, StringKey a0) -> bool
764 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
765 has_attribute(Uncertainty self, ObjectKey a0) -> bool
767 return _IMP_pmi.Uncertainty_has_attribute(self, *args)
770 def get_derivative(self, a0):
771 """get_derivative(Uncertainty self, FloatKey a0) -> double"""
772 return _IMP_pmi.Uncertainty_get_derivative(self, a0)
776 """get_name(Uncertainty self) -> std::string"""
777 return _IMP_pmi.Uncertainty_get_name(self)
780 def clear_caches(self):
781 """clear_caches(Uncertainty self)"""
782 return _IMP_pmi.Uncertainty_clear_caches(self)
785 def set_name(self, a0):
786 """set_name(Uncertainty self, std::string a0)"""
787 return _IMP_pmi.Uncertainty_set_name(self, a0)
791 """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
792 return _IMP_pmi.Uncertainty_set_check_level(self, a0)
795 def add_to_derivative(self, a0, a1, a2):
796 """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
797 return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
800 def set_is_optimized(self, a0, a1):
801 """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
802 return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
805 def get_is_optimized(self, a0):
806 """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
807 return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
811 """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
812 return _IMP_pmi.Uncertainty_get_check_level(self)
815 def __eq__(self, *args):
817 __eq__(Uncertainty self, Uncertainty o) -> bool
818 __eq__(Uncertainty self, Particle d) -> bool
820 return _IMP_pmi.Uncertainty___eq__(self, *args)
823 def __ne__(self, *args):
825 __ne__(Uncertainty self, Uncertainty o) -> bool
826 __ne__(Uncertainty self, Particle d) -> bool
828 return _IMP_pmi.Uncertainty___ne__(self, *args)
831 def __le__(self, *args):
833 __le__(Uncertainty self, Uncertainty o) -> bool
834 __le__(Uncertainty self, Particle d) -> bool
836 return _IMP_pmi.Uncertainty___le__(self, *args)
839 def __lt__(self, *args):
841 __lt__(Uncertainty self, Uncertainty o) -> bool
842 __lt__(Uncertainty self, Particle d) -> bool
844 return _IMP_pmi.Uncertainty___lt__(self, *args)
847 def __ge__(self, *args):
849 __ge__(Uncertainty self, Uncertainty o) -> bool
850 __ge__(Uncertainty self, Particle d) -> bool
852 return _IMP_pmi.Uncertainty___ge__(self, *args)
855 def __gt__(self, *args):
857 __gt__(Uncertainty self, Uncertainty o) -> bool
858 __gt__(Uncertainty self, Particle d) -> bool
860 return _IMP_pmi.Uncertainty___gt__(self, *args)
864 """__hash__(Uncertainty self) -> std::size_t"""
865 return _IMP_pmi.Uncertainty___hash__(self)
869 """__str__(Uncertainty self) -> std::string"""
870 return _IMP_pmi.Uncertainty___str__(self)
874 """__repr__(Uncertainty self) -> std::string"""
875 return _IMP_pmi.Uncertainty___repr__(self)
877 __swig_destroy__ = _IMP_pmi.delete_Uncertainty
878 __del__ =
lambda self:
None
879 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
880 Uncertainty_swigregister(Uncertainty)
882 def Uncertainty_get_is_setup(*args):
884 get_is_setup(Model m, ParticleIndex pi) -> bool
885 Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
887 return _IMP_pmi.Uncertainty_get_is_setup(*args)
889 def Uncertainty_setup_particle(*args):
891 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
892 Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
894 return _IMP_pmi.Uncertainty_setup_particle(*args)
896 def Uncertainty_get_uncertainty_key():
897 """Uncertainty_get_uncertainty_key() -> FloatKey"""
898 return _IMP_pmi.Uncertainty_get_uncertainty_key()
901 """Proxy of C++ IMP::pmi::Resolution class."""
903 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
906 """get_resolution(Resolution self) -> IMP::Float"""
907 return _IMP_pmi.Resolution_get_resolution(self)
910 def set_resolution(self, d):
911 """set_resolution(Resolution self, IMP::Float d)"""
912 return _IMP_pmi.Resolution_set_resolution(self, d)
915 def __init__(self, *args):
917 __init__(IMP::pmi::Resolution self) -> Resolution
918 __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
919 __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
921 this = _IMP_pmi.new_Resolution(*args)
923 self.this.append(this)
924 except __builtin__.Exception:
927 def get_is_setup(*args):
929 get_is_setup(Model m, ParticleIndex pi) -> bool
930 get_is_setup(_ParticleAdaptor p) -> bool
932 return _IMP_pmi.Resolution_get_is_setup(*args)
934 get_is_setup = staticmethod(get_is_setup)
936 def show(self, *args):
938 show(Resolution self, _ostream out)
939 show(Resolution self)
941 return _IMP_pmi.Resolution_show(self, *args)
944 def setup_particle(*args):
946 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
947 setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
949 return _IMP_pmi.Resolution_setup_particle(*args)
951 setup_particle = staticmethod(setup_particle)
953 def get_resolution_key():
954 """get_resolution_key() -> FloatKey"""
955 return _IMP_pmi.Resolution_get_resolution_key()
957 get_resolution_key = staticmethod(get_resolution_key)
959 def add_attribute(self, *args):
961 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
962 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
963 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
964 add_attribute(Resolution self, FloatsKey a0, IMP::Floats a1)
965 add_attribute(Resolution self, IntsKey a0, IMP::Ints a1)
966 add_attribute(Resolution self, StringKey a0, IMP::String a1)
967 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
968 add_attribute(Resolution self, ObjectKey a0, Object a1)
970 return _IMP_pmi.Resolution_add_attribute(self, *args)
973 def get_value(self, *args):
975 get_value(Resolution self, FloatKey a0) -> IMP::Float
976 get_value(Resolution self, IntKey a0) -> IMP::Int
977 get_value(Resolution self, FloatsKey a0) -> IMP::Floats
978 get_value(Resolution self, IntsKey a0) -> IMP::Ints
979 get_value(Resolution self, StringKey a0) -> IMP::String
980 get_value(Resolution self, ParticleIndexKey a0) -> Particle
981 get_value(Resolution self, ObjectKey a0) -> Object
983 return _IMP_pmi.Resolution_get_value(self, *args)
986 def set_value(self, *args):
988 set_value(Resolution self, FloatKey a0, IMP::Float a1)
989 set_value(Resolution self, IntKey a0, IMP::Int a1)
990 set_value(Resolution self, FloatsKey a0, IMP::Floats a1)
991 set_value(Resolution self, IntsKey a0, IMP::Ints a1)
992 set_value(Resolution self, StringKey a0, IMP::String a1)
993 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
994 set_value(Resolution self, ObjectKey a0, Object a1)
996 return _IMP_pmi.Resolution_set_value(self, *args)
999 def remove_attribute(self, *args):
1001 remove_attribute(Resolution self, FloatKey a0)
1002 remove_attribute(Resolution self, IntKey a0)
1003 remove_attribute(Resolution self, FloatsKey a0)
1004 remove_attribute(Resolution self, IntsKey a0)
1005 remove_attribute(Resolution self, StringKey a0)
1006 remove_attribute(Resolution self, ParticleIndexKey a0)
1007 remove_attribute(Resolution self, ObjectKey a0)
1009 return _IMP_pmi.Resolution_remove_attribute(self, *args)
1012 def has_attribute(self, *args):
1014 has_attribute(Resolution self, FloatKey a0) -> bool
1015 has_attribute(Resolution self, IntKey a0) -> bool
1016 has_attribute(Resolution self, FloatsKey a0) -> bool
1017 has_attribute(Resolution self, IntsKey a0) -> bool
1018 has_attribute(Resolution self, StringKey a0) -> bool
1019 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
1020 has_attribute(Resolution self, ObjectKey a0) -> bool
1022 return _IMP_pmi.Resolution_has_attribute(self, *args)
1025 def get_derivative(self, a0):
1026 """get_derivative(Resolution self, FloatKey a0) -> double"""
1027 return _IMP_pmi.Resolution_get_derivative(self, a0)
1031 """get_name(Resolution self) -> std::string"""
1032 return _IMP_pmi.Resolution_get_name(self)
1035 def clear_caches(self):
1036 """clear_caches(Resolution self)"""
1037 return _IMP_pmi.Resolution_clear_caches(self)
1040 def set_name(self, a0):
1041 """set_name(Resolution self, std::string a0)"""
1042 return _IMP_pmi.Resolution_set_name(self, a0)
1046 """set_check_level(Resolution self, IMP::CheckLevel a0)"""
1047 return _IMP_pmi.Resolution_set_check_level(self, a0)
1050 def add_to_derivative(self, a0, a1, a2):
1051 """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1052 return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1055 def set_is_optimized(self, a0, a1):
1056 """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1057 return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1060 def get_is_optimized(self, a0):
1061 """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1062 return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1066 """get_check_level(Resolution self) -> IMP::CheckLevel"""
1067 return _IMP_pmi.Resolution_get_check_level(self)
1070 def __eq__(self, *args):
1072 __eq__(Resolution self, Resolution o) -> bool
1073 __eq__(Resolution self, Particle d) -> bool
1075 return _IMP_pmi.Resolution___eq__(self, *args)
1078 def __ne__(self, *args):
1080 __ne__(Resolution self, Resolution o) -> bool
1081 __ne__(Resolution self, Particle d) -> bool
1083 return _IMP_pmi.Resolution___ne__(self, *args)
1086 def __le__(self, *args):
1088 __le__(Resolution self, Resolution o) -> bool
1089 __le__(Resolution self, Particle d) -> bool
1091 return _IMP_pmi.Resolution___le__(self, *args)
1094 def __lt__(self, *args):
1096 __lt__(Resolution self, Resolution o) -> bool
1097 __lt__(Resolution self, Particle d) -> bool
1099 return _IMP_pmi.Resolution___lt__(self, *args)
1102 def __ge__(self, *args):
1104 __ge__(Resolution self, Resolution o) -> bool
1105 __ge__(Resolution self, Particle d) -> bool
1107 return _IMP_pmi.Resolution___ge__(self, *args)
1110 def __gt__(self, *args):
1112 __gt__(Resolution self, Resolution o) -> bool
1113 __gt__(Resolution self, Particle d) -> bool
1115 return _IMP_pmi.Resolution___gt__(self, *args)
1119 """__hash__(Resolution self) -> std::size_t"""
1120 return _IMP_pmi.Resolution___hash__(self)
1124 """__str__(Resolution self) -> std::string"""
1125 return _IMP_pmi.Resolution___str__(self)
1129 """__repr__(Resolution self) -> std::string"""
1130 return _IMP_pmi.Resolution___repr__(self)
1132 __swig_destroy__ = _IMP_pmi.delete_Resolution
1133 __del__ =
lambda self:
None
1134 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1135 Resolution_swigregister(Resolution)
1137 def Resolution_get_is_setup(*args):
1139 get_is_setup(Model m, ParticleIndex pi) -> bool
1140 Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1142 return _IMP_pmi.Resolution_get_is_setup(*args)
1144 def Resolution_setup_particle(*args):
1146 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1147 Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1149 return _IMP_pmi.Resolution_setup_particle(*args)
1151 def Resolution_get_resolution_key():
1152 """Resolution_get_resolution_key() -> FloatKey"""
1153 return _IMP_pmi.Resolution_get_resolution_key()
1156 """Proxy of C++ IMP::pmi::Symmetric class."""
1158 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1160 def get_symmetric(self):
1161 """get_symmetric(Symmetric self) -> IMP::Float"""
1162 return _IMP_pmi.Symmetric_get_symmetric(self)
1165 def set_symmetric(self, d):
1166 """set_symmetric(Symmetric self, IMP::Float d)"""
1167 return _IMP_pmi.Symmetric_set_symmetric(self, d)
1170 def __init__(self, *args):
1172 __init__(IMP::pmi::Symmetric self) -> Symmetric
1173 __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1174 __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1176 this = _IMP_pmi.new_Symmetric(*args)
1178 self.this.append(this)
1179 except __builtin__.Exception:
1182 def get_is_setup(*args):
1184 get_is_setup(Model m, ParticleIndex pi) -> bool
1185 get_is_setup(_ParticleAdaptor p) -> bool
1187 return _IMP_pmi.Symmetric_get_is_setup(*args)
1189 get_is_setup = staticmethod(get_is_setup)
1191 def show(self, *args):
1193 show(Symmetric self, _ostream out)
1194 show(Symmetric self)
1196 return _IMP_pmi.Symmetric_show(self, *args)
1199 def setup_particle(*args):
1201 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1202 setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1204 return _IMP_pmi.Symmetric_setup_particle(*args)
1206 setup_particle = staticmethod(setup_particle)
1208 def get_symmetric_key():
1209 """get_symmetric_key() -> FloatKey"""
1210 return _IMP_pmi.Symmetric_get_symmetric_key()
1212 get_symmetric_key = staticmethod(get_symmetric_key)
1214 def add_attribute(self, *args):
1216 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1217 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1218 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1219 add_attribute(Symmetric self, FloatsKey a0, IMP::Floats a1)
1220 add_attribute(Symmetric self, IntsKey a0, IMP::Ints a1)
1221 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1222 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1223 add_attribute(Symmetric self, ObjectKey a0, Object a1)
1225 return _IMP_pmi.Symmetric_add_attribute(self, *args)
1228 def get_value(self, *args):
1230 get_value(Symmetric self, FloatKey a0) -> IMP::Float
1231 get_value(Symmetric self, IntKey a0) -> IMP::Int
1232 get_value(Symmetric self, FloatsKey a0) -> IMP::Floats
1233 get_value(Symmetric self, IntsKey a0) -> IMP::Ints
1234 get_value(Symmetric self, StringKey a0) -> IMP::String
1235 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1236 get_value(Symmetric self, ObjectKey a0) -> Object
1238 return _IMP_pmi.Symmetric_get_value(self, *args)
1241 def set_value(self, *args):
1243 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1244 set_value(Symmetric self, IntKey a0, IMP::Int a1)
1245 set_value(Symmetric self, FloatsKey a0, IMP::Floats a1)
1246 set_value(Symmetric self, IntsKey a0, IMP::Ints a1)
1247 set_value(Symmetric self, StringKey a0, IMP::String a1)
1248 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1249 set_value(Symmetric self, ObjectKey a0, Object a1)
1251 return _IMP_pmi.Symmetric_set_value(self, *args)
1254 def remove_attribute(self, *args):
1256 remove_attribute(Symmetric self, FloatKey a0)
1257 remove_attribute(Symmetric self, IntKey a0)
1258 remove_attribute(Symmetric self, FloatsKey a0)
1259 remove_attribute(Symmetric self, IntsKey a0)
1260 remove_attribute(Symmetric self, StringKey a0)
1261 remove_attribute(Symmetric self, ParticleIndexKey a0)
1262 remove_attribute(Symmetric self, ObjectKey a0)
1264 return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1267 def has_attribute(self, *args):
1269 has_attribute(Symmetric self, FloatKey a0) -> bool
1270 has_attribute(Symmetric self, IntKey a0) -> bool
1271 has_attribute(Symmetric self, FloatsKey a0) -> bool
1272 has_attribute(Symmetric self, IntsKey a0) -> bool
1273 has_attribute(Symmetric self, StringKey a0) -> bool
1274 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1275 has_attribute(Symmetric self, ObjectKey a0) -> bool
1277 return _IMP_pmi.Symmetric_has_attribute(self, *args)
1280 def get_derivative(self, a0):
1281 """get_derivative(Symmetric self, FloatKey a0) -> double"""
1282 return _IMP_pmi.Symmetric_get_derivative(self, a0)
1286 """get_name(Symmetric self) -> std::string"""
1287 return _IMP_pmi.Symmetric_get_name(self)
1290 def clear_caches(self):
1291 """clear_caches(Symmetric self)"""
1292 return _IMP_pmi.Symmetric_clear_caches(self)
1295 def set_name(self, a0):
1296 """set_name(Symmetric self, std::string a0)"""
1297 return _IMP_pmi.Symmetric_set_name(self, a0)
1301 """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1302 return _IMP_pmi.Symmetric_set_check_level(self, a0)
1305 def add_to_derivative(self, a0, a1, a2):
1306 """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1307 return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1310 def set_is_optimized(self, a0, a1):
1311 """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1312 return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1315 def get_is_optimized(self, a0):
1316 """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1317 return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1321 """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1322 return _IMP_pmi.Symmetric_get_check_level(self)
1325 def __eq__(self, *args):
1327 __eq__(Symmetric self, Symmetric o) -> bool
1328 __eq__(Symmetric self, Particle d) -> bool
1330 return _IMP_pmi.Symmetric___eq__(self, *args)
1333 def __ne__(self, *args):
1335 __ne__(Symmetric self, Symmetric o) -> bool
1336 __ne__(Symmetric self, Particle d) -> bool
1338 return _IMP_pmi.Symmetric___ne__(self, *args)
1341 def __le__(self, *args):
1343 __le__(Symmetric self, Symmetric o) -> bool
1344 __le__(Symmetric self, Particle d) -> bool
1346 return _IMP_pmi.Symmetric___le__(self, *args)
1349 def __lt__(self, *args):
1351 __lt__(Symmetric self, Symmetric o) -> bool
1352 __lt__(Symmetric self, Particle d) -> bool
1354 return _IMP_pmi.Symmetric___lt__(self, *args)
1357 def __ge__(self, *args):
1359 __ge__(Symmetric self, Symmetric o) -> bool
1360 __ge__(Symmetric self, Particle d) -> bool
1362 return _IMP_pmi.Symmetric___ge__(self, *args)
1365 def __gt__(self, *args):
1367 __gt__(Symmetric self, Symmetric o) -> bool
1368 __gt__(Symmetric self, Particle d) -> bool
1370 return _IMP_pmi.Symmetric___gt__(self, *args)
1374 """__hash__(Symmetric self) -> std::size_t"""
1375 return _IMP_pmi.Symmetric___hash__(self)
1379 """__str__(Symmetric self) -> std::string"""
1380 return _IMP_pmi.Symmetric___str__(self)
1384 """__repr__(Symmetric self) -> std::string"""
1385 return _IMP_pmi.Symmetric___repr__(self)
1387 __swig_destroy__ = _IMP_pmi.delete_Symmetric
1388 __del__ =
lambda self:
None
1389 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1390 Symmetric_swigregister(Symmetric)
1392 def Symmetric_get_is_setup(*args):
1394 get_is_setup(Model m, ParticleIndex pi) -> bool
1395 Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1397 return _IMP_pmi.Symmetric_get_is_setup(*args)
1399 def Symmetric_setup_particle(*args):
1401 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1402 Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1404 return _IMP_pmi.Symmetric_setup_particle(*args)
1406 def Symmetric_get_symmetric_key():
1407 """Symmetric_get_symmetric_key() -> FloatKey"""
1408 return _IMP_pmi.Symmetric_get_symmetric_key()
1411 """Proxy of C++ IMP::pmi::TransformMover class."""
1413 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1415 def __init__(self, *args):
1417 __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1418 __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1419 __init__(IMP::pmi::TransformMover self, Model m, _ParticleIndexAdaptor p1i, _ParticleIndexAdaptor p2i, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1421 this = _IMP_pmi.new_TransformMover(*args)
1423 self.this.append(this)
1424 except __builtin__.Exception:
1427 def add_xyz_particle(self, pi):
1428 """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1429 return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1432 def add_rigid_body_particle(self, pi):
1433 """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1434 return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1437 def set_maximum_translation(self, mt):
1438 """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1439 return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1442 def set_maximum_rotation(self, mr):
1443 """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1444 return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1447 def get_maximum_translation(self):
1448 """get_maximum_translation(TransformMover self) -> IMP::Float"""
1449 return _IMP_pmi.TransformMover_get_maximum_translation(self)
1452 def get_maximum_rotation(self):
1453 """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1454 return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1457 def get_last_transformation(self):
1458 """get_last_transformation(TransformMover self) -> Transformation3D"""
1459 return _IMP_pmi.TransformMover_get_last_transformation(self)
1462 def get_version_info(self):
1463 """get_version_info(TransformMover self) -> VersionInfo"""
1464 return _IMP_pmi.TransformMover_get_version_info(self)
1468 """__str__(TransformMover self) -> std::string"""
1469 return _IMP_pmi.TransformMover___str__(self)
1473 """__repr__(TransformMover self) -> std::string"""
1474 return _IMP_pmi.TransformMover___repr__(self)
1479 return _object_cast_to_TransformMover(o)
1481 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1482 TransformMover_swigregister(TransformMover)
1486 """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1487 return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1489 def get_dihedral_angle(p1, p2, p3, p4):
1490 """get_dihedral_angle(Atom p1, Atom p2, Atom p3, Atom p4) -> IMP::Float"""
1491 return _IMP_pmi.get_dihedral_angle(p1, p2, p3, p4)
1493 def get_bipartite_minimum_sphere_distance(m1, m2):
1494 """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1495 return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1497 def get_list_of_bipartite_minimum_sphere_distance(pss):
1498 """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1499 return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1502 """get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1503 return _IMP_pmi.get_molecule_name_and_copy(h)
1506 """get_is_canonical(Hierarchy h) -> bool"""
1507 return _IMP_pmi.get_is_canonical(h)
1509 """Proxy of C++ IMP::pmi::InternalCoordinatesConstraint class."""
1511 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1514 """__init__(IMP::pmi::InternalCoordinatesConstraint self) -> InternalCoordinatesConstraint"""
1515 this = _IMP_pmi.new_InternalCoordinatesConstraint()
1517 self.this.append(this)
1518 except __builtin__.Exception:
1521 def do_get_inputs(self, m, pis):
1522 """do_get_inputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1523 return _IMP_pmi.InternalCoordinatesConstraint_do_get_inputs(self, m, pis)
1526 def do_get_outputs(self, m, pis):
1527 """do_get_outputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1528 return _IMP_pmi.InternalCoordinatesConstraint_do_get_outputs(self, m, pis)
1531 def get_version_info(self):
1532 """get_version_info(InternalCoordinatesConstraint self) -> VersionInfo"""
1533 return _IMP_pmi.InternalCoordinatesConstraint_get_version_info(self)
1537 """__str__(InternalCoordinatesConstraint self) -> std::string"""
1538 return _IMP_pmi.InternalCoordinatesConstraint___str__(self)
1542 """__repr__(InternalCoordinatesConstraint self) -> std::string"""
1543 return _IMP_pmi.InternalCoordinatesConstraint___repr__(self)
1548 return _object_cast_to_InternalCoordinatesConstraint(o)
1550 InternalCoordinatesConstraint_swigregister = _IMP_pmi.InternalCoordinatesConstraint_swigregister
1551 InternalCoordinatesConstraint_swigregister(InternalCoordinatesConstraint)
1555 """get_module_version() -> std::string const"""
1556 return _IMP_pmi.get_module_version()
1559 """get_example_path(std::string fname) -> std::string"""
1560 return _IMP_pmi.get_example_path(fname)
1563 """get_data_path(std::string fname) -> std::string"""
1564 return _IMP_pmi.get_data_path(fname)
1566 from .
import _version_check
A base class for modifiers of ParticlesTemp.
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.
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.
bool get_is_canonical(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and check if the root is named System.
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.