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_GPERFTOOLS = _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi.IMPKERNEL_SHOW_WARNINGS
244 class _DirectorObjects(object):
245 """@internal Simple class to keep references to director objects
246 to prevent premature deletion."""
249 def register(self, obj):
250 """Take a reference to a director object; will only work for
251 refcounted C++ classes"""
252 if hasattr(obj,
'get_ref_count'):
253 self._objects.append(obj)
255 """Only drop our reference and allow cleanup by Python if no other
256 Python references exist (we hold 3 references: one in self._objects,
257 one in x, and one in the argument list for getrefcount) *and* no
258 other C++ references exist (the Python object always holds one)"""
259 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
260 or x.get_ref_count() > 1]
264 def get_object_count(self):
265 """Get number of director objects (useful for testing only)"""
266 return len(self._objects)
267 _director_objects = _DirectorObjects()
269 class _ostream(object):
270 """Proxy of C++ std::ostream class."""
272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
274 def __init__(self, *args, **kwargs):
275 raise AttributeError(
"No constructor defined")
276 __repr__ = _swig_repr
278 def write(self, osa_buf):
279 """write(_ostream self, char const * osa_buf)"""
280 return _IMP_pmi._ostream_write(self, osa_buf)
282 _ostream_swigregister = _IMP_pmi._ostream_swigregister
283 _ostream_swigregister(_ostream)
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_pmi.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_pmi.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_pmi.IMP_C_OPEN_BINARY
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
296 IMP_MMCIF_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_FILESYSTEM
297 IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS
298 IMP_MMCIF_HAS_BOOST_RANDOM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_RANDOM
299 IMP_MMCIF_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_SYSTEM
300 IMPMMCIF_SHOW_WARNINGS = _IMP_pmi.IMPMMCIF_SHOW_WARNINGS
302 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
303 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
304 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
305 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
306 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
307 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
308 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
309 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
311 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
312 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
313 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
314 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
315 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
316 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
317 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
319 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
320 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
322 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
323 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
324 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
325 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
326 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
328 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
329 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
330 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
331 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
332 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
333 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
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 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
346 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
347 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
348 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
349 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
350 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
351 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
352 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
353 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
354 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
355 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
356 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
357 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_pmi.IMP_CONTAINER_HAS_PYTHON_IHM
358 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_pmi.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
359 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_pmi.IMP_CONTAINER_HAS_ROBIN_MAP
360 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
362 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
363 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
364 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
365 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
366 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
367 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
368 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
369 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
370 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
371 IMP_ATOM_HAS_PYTHON_IHM = _IMP_pmi.IMP_ATOM_HAS_PYTHON_IHM
372 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
373 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
374 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
375 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
376 IMP_CHAIN_TYPE_INDEX = _IMP_pmi.IMP_CHAIN_TYPE_INDEX
378 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
379 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
380 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
381 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
382 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
383 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
384 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
385 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
386 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
387 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
388 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
389 IMP_EM_HAS_PYTHON_IHM = _IMP_pmi.IMP_EM_HAS_PYTHON_IHM
390 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
392 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
393 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
394 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
395 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
396 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
397 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
398 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
399 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
400 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
401 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
402 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
403 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
404 IMP_SAXS_HAS_PYTHON_IHM = _IMP_pmi.IMP_SAXS_HAS_PYTHON_IHM
405 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
407 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
408 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
409 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
410 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
411 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
412 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
413 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
414 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
415 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
416 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
417 IMP_ISD_HAS_PYTHON_IHM = _IMP_pmi.IMP_ISD_HAS_PYTHON_IHM
418 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
420 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
421 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
422 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
423 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
424 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
425 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
426 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
427 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
428 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
429 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
430 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
431 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
432 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
433 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
434 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
435 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
436 IMP_PMI_HAS_PYTHON_IHM = _IMP_pmi.IMP_PMI_HAS_PYTHON_IHM
437 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
439 _object_types.append(
"CompositeRestraint")
442 def _object_cast_to_CompositeRestraint(o):
443 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
444 return _IMP_pmi._object_cast_to_CompositeRestraint(o)
446 def Uncertainties(l=[]):
447 return [Uncertainty(x)
for x
in l]
448 _plural_types.append(
"Uncertainties")
451 _value_types.append(
"Uncertainty")
454 def Resolutions(l=[]):
455 return [Resolution(x)
for x
in l]
456 _plural_types.append(
"Resolutions")
459 _value_types.append(
"Resolution")
462 def Symmetrics(l=[]):
463 return [Symmetric(x)
for x
in l]
464 _plural_types.append(
"Symmetrics")
467 _value_types.append(
"Symmetric")
470 _object_types.append(
"SigmoidRestraintSphere")
473 def _object_cast_to_SigmoidRestraintSphere(o):
474 """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
475 return _IMP_pmi._object_cast_to_SigmoidRestraintSphere(o)
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)
498 """Proxy of C++ IMP::pmi::MembraneRestraint class."""
500 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
502 def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
503 """__init__(IMP::pmi::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
504 this = _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
506 self.this.append(this)
507 except __builtin__.Exception:
510 def add_particles_below(self, particles):
511 """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
512 return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
515 def add_particles_above(self, particles):
516 """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
517 return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
520 def add_particles_inside(self, particles):
521 """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
522 return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
525 def get_score(self, prob):
526 """get_score(MembraneRestraint self, double prob) -> double"""
527 return _IMP_pmi.MembraneRestraint_get_score(self, prob)
530 def get_probability_above(self, z, z_slope_center_upper):
531 """get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
532 return _IMP_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
535 def get_score_above(self, z, z_slope_center_upper):
536 """get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
537 return _IMP_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
540 def get_probability_below(self, z, z_slope_center_lower):
541 """get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
542 return _IMP_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
545 def get_score_below(self, z, z_slope_center_lower):
546 """get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
547 return _IMP_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
550 def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
551 """get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
552 return _IMP_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
556 """__str__(MembraneRestraint self) -> std::string"""
557 return _IMP_pmi.MembraneRestraint___str__(self)
561 """__repr__(MembraneRestraint self) -> std::string"""
562 return _IMP_pmi.MembraneRestraint___repr__(self)
567 return _object_cast_to_MembraneRestraint(o)
569 MembraneRestraint_swigregister = _IMP_pmi.MembraneRestraint_swigregister
570 MembraneRestraint_swigregister(MembraneRestraint)
573 """Proxy of C++ IMP::pmi::CompositeRestraint class."""
575 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
579 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
580 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
582 this = _IMP_pmi.new_CompositeRestraint(*args)
584 self.this.append(this)
585 except __builtin__.Exception:
588 def add_composite_particle(self, pi):
589 """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
590 return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
593 def get_number_of_elements(self):
594 """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
595 return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
598 def do_get_inputs(self):
599 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
600 return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
603 def get_version_info(self):
604 """get_version_info(CompositeRestraint self) -> VersionInfo"""
605 return _IMP_pmi.CompositeRestraint_get_version_info(self)
608 def get_probability(self):
609 """get_probability(CompositeRestraint self) -> double"""
610 return _IMP_pmi.CompositeRestraint_get_probability(self)
614 """__str__(CompositeRestraint self) -> std::string"""
615 return _IMP_pmi.CompositeRestraint___str__(self)
619 """__repr__(CompositeRestraint self) -> std::string"""
620 return _IMP_pmi.CompositeRestraint___repr__(self)
625 return _object_cast_to_CompositeRestraint(o)
627 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
628 CompositeRestraint_swigregister(CompositeRestraint)
631 """Proxy of C++ IMP::pmi::Uncertainty class."""
633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
635 def get_uncertainty(self):
636 """get_uncertainty(Uncertainty self) -> IMP::Float"""
637 return _IMP_pmi.Uncertainty_get_uncertainty(self)
640 def set_uncertainty(self, d):
641 """set_uncertainty(Uncertainty self, IMP::Float d)"""
642 return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
647 __init__(IMP::pmi::Uncertainty self) -> Uncertainty
648 __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
649 __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
651 this = _IMP_pmi.new_Uncertainty(*args)
653 self.this.append(this)
654 except __builtin__.Exception:
657 def get_is_setup(*args):
659 get_is_setup(Model m, ParticleIndex pi) -> bool
660 get_is_setup(_ParticleAdaptor p) -> bool
662 return _IMP_pmi.Uncertainty_get_is_setup(*args)
664 get_is_setup = staticmethod(get_is_setup)
666 def show(self, *args):
668 show(Uncertainty self, _ostream out)
669 show(Uncertainty self)
671 return _IMP_pmi.Uncertainty_show(self, *args)
674 def setup_particle(*args):
676 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
677 setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
679 return _IMP_pmi.Uncertainty_setup_particle(*args)
681 setup_particle = staticmethod(setup_particle)
683 def get_uncertainty_key():
684 """get_uncertainty_key() -> FloatKey"""
685 return _IMP_pmi.Uncertainty_get_uncertainty_key()
687 get_uncertainty_key = staticmethod(get_uncertainty_key)
689 def add_attribute(self, *args):
691 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
692 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
693 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
694 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
695 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
696 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
698 return _IMP_pmi.Uncertainty_add_attribute(self, *args)
701 def get_value(self, *args):
703 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
704 get_value(Uncertainty self, IntKey a0) -> IMP::Int
705 get_value(Uncertainty self, StringKey a0) -> IMP::String
706 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
707 get_value(Uncertainty self, ObjectKey a0) -> Object
709 return _IMP_pmi.Uncertainty_get_value(self, *args)
712 def set_value(self, *args):
714 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
715 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
716 set_value(Uncertainty self, StringKey a0, IMP::String a1)
717 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
718 set_value(Uncertainty self, ObjectKey a0, Object a1)
720 return _IMP_pmi.Uncertainty_set_value(self, *args)
723 def remove_attribute(self, *args):
725 remove_attribute(Uncertainty self, FloatKey a0)
726 remove_attribute(Uncertainty self, IntKey a0)
727 remove_attribute(Uncertainty self, StringKey a0)
728 remove_attribute(Uncertainty self, ParticleIndexKey a0)
729 remove_attribute(Uncertainty self, ObjectKey a0)
731 return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
734 def has_attribute(self, *args):
736 has_attribute(Uncertainty self, FloatKey a0) -> bool
737 has_attribute(Uncertainty self, IntKey a0) -> bool
738 has_attribute(Uncertainty self, StringKey a0) -> bool
739 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
740 has_attribute(Uncertainty self, ObjectKey a0) -> bool
742 return _IMP_pmi.Uncertainty_has_attribute(self, *args)
745 def get_derivative(self, a0):
746 """get_derivative(Uncertainty self, FloatKey a0) -> double"""
747 return _IMP_pmi.Uncertainty_get_derivative(self, a0)
751 """get_name(Uncertainty self) -> std::string"""
752 return _IMP_pmi.Uncertainty_get_name(self)
755 def clear_caches(self):
756 """clear_caches(Uncertainty self)"""
757 return _IMP_pmi.Uncertainty_clear_caches(self)
760 def set_name(self, a0):
761 """set_name(Uncertainty self, std::string a0)"""
762 return _IMP_pmi.Uncertainty_set_name(self, a0)
766 """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
767 return _IMP_pmi.Uncertainty_set_check_level(self, a0)
770 def add_to_derivative(self, a0, a1, a2):
771 """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
772 return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
775 def set_is_optimized(self, a0, a1):
776 """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
777 return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
780 def get_is_optimized(self, a0):
781 """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
782 return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
786 """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
787 return _IMP_pmi.Uncertainty_get_check_level(self)
790 def __eq__(self, *args):
792 __eq__(Uncertainty self, Uncertainty o) -> bool
793 __eq__(Uncertainty self, Particle d) -> bool
795 return _IMP_pmi.Uncertainty___eq__(self, *args)
798 def __ne__(self, *args):
800 __ne__(Uncertainty self, Uncertainty o) -> bool
801 __ne__(Uncertainty self, Particle d) -> bool
803 return _IMP_pmi.Uncertainty___ne__(self, *args)
806 def __le__(self, *args):
808 __le__(Uncertainty self, Uncertainty o) -> bool
809 __le__(Uncertainty self, Particle d) -> bool
811 return _IMP_pmi.Uncertainty___le__(self, *args)
814 def __lt__(self, *args):
816 __lt__(Uncertainty self, Uncertainty o) -> bool
817 __lt__(Uncertainty self, Particle d) -> bool
819 return _IMP_pmi.Uncertainty___lt__(self, *args)
822 def __ge__(self, *args):
824 __ge__(Uncertainty self, Uncertainty o) -> bool
825 __ge__(Uncertainty self, Particle d) -> bool
827 return _IMP_pmi.Uncertainty___ge__(self, *args)
830 def __gt__(self, *args):
832 __gt__(Uncertainty self, Uncertainty o) -> bool
833 __gt__(Uncertainty self, Particle d) -> bool
835 return _IMP_pmi.Uncertainty___gt__(self, *args)
839 """__hash__(Uncertainty self) -> std::size_t"""
840 return _IMP_pmi.Uncertainty___hash__(self)
844 """__str__(Uncertainty self) -> std::string"""
845 return _IMP_pmi.Uncertainty___str__(self)
849 """__repr__(Uncertainty self) -> std::string"""
850 return _IMP_pmi.Uncertainty___repr__(self)
852 __swig_destroy__ = _IMP_pmi.delete_Uncertainty
853 __del__ =
lambda self:
None
854 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
855 Uncertainty_swigregister(Uncertainty)
857 def Uncertainty_get_is_setup(*args):
859 get_is_setup(Model m, ParticleIndex pi) -> bool
860 Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
862 return _IMP_pmi.Uncertainty_get_is_setup(*args)
864 def Uncertainty_setup_particle(*args):
866 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
867 Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
869 return _IMP_pmi.Uncertainty_setup_particle(*args)
871 def Uncertainty_get_uncertainty_key():
872 """Uncertainty_get_uncertainty_key() -> FloatKey"""
873 return _IMP_pmi.Uncertainty_get_uncertainty_key()
876 """Proxy of C++ IMP::pmi::Resolution class."""
878 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
881 """get_resolution(Resolution self) -> IMP::Float"""
882 return _IMP_pmi.Resolution_get_resolution(self)
885 def set_resolution(self, d):
886 """set_resolution(Resolution self, IMP::Float d)"""
887 return _IMP_pmi.Resolution_set_resolution(self, d)
892 __init__(IMP::pmi::Resolution self) -> Resolution
893 __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
894 __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
896 this = _IMP_pmi.new_Resolution(*args)
898 self.this.append(this)
899 except __builtin__.Exception:
902 def get_is_setup(*args):
904 get_is_setup(Model m, ParticleIndex pi) -> bool
905 get_is_setup(_ParticleAdaptor p) -> bool
907 return _IMP_pmi.Resolution_get_is_setup(*args)
909 get_is_setup = staticmethod(get_is_setup)
911 def show(self, *args):
913 show(Resolution self, _ostream out)
914 show(Resolution self)
916 return _IMP_pmi.Resolution_show(self, *args)
919 def setup_particle(*args):
921 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
922 setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
924 return _IMP_pmi.Resolution_setup_particle(*args)
926 setup_particle = staticmethod(setup_particle)
928 def get_resolution_key():
929 """get_resolution_key() -> FloatKey"""
930 return _IMP_pmi.Resolution_get_resolution_key()
932 get_resolution_key = staticmethod(get_resolution_key)
934 def add_attribute(self, *args):
936 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
937 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
938 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
939 add_attribute(Resolution self, StringKey a0, IMP::String a1)
940 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
941 add_attribute(Resolution self, ObjectKey a0, Object a1)
943 return _IMP_pmi.Resolution_add_attribute(self, *args)
946 def get_value(self, *args):
948 get_value(Resolution self, FloatKey a0) -> IMP::Float
949 get_value(Resolution self, IntKey a0) -> IMP::Int
950 get_value(Resolution self, StringKey a0) -> IMP::String
951 get_value(Resolution self, ParticleIndexKey a0) -> Particle
952 get_value(Resolution self, ObjectKey a0) -> Object
954 return _IMP_pmi.Resolution_get_value(self, *args)
957 def set_value(self, *args):
959 set_value(Resolution self, FloatKey a0, IMP::Float a1)
960 set_value(Resolution self, IntKey a0, IMP::Int a1)
961 set_value(Resolution self, StringKey a0, IMP::String a1)
962 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
963 set_value(Resolution self, ObjectKey a0, Object a1)
965 return _IMP_pmi.Resolution_set_value(self, *args)
968 def remove_attribute(self, *args):
970 remove_attribute(Resolution self, FloatKey a0)
971 remove_attribute(Resolution self, IntKey a0)
972 remove_attribute(Resolution self, StringKey a0)
973 remove_attribute(Resolution self, ParticleIndexKey a0)
974 remove_attribute(Resolution self, ObjectKey a0)
976 return _IMP_pmi.Resolution_remove_attribute(self, *args)
979 def has_attribute(self, *args):
981 has_attribute(Resolution self, FloatKey a0) -> bool
982 has_attribute(Resolution self, IntKey a0) -> bool
983 has_attribute(Resolution self, StringKey a0) -> bool
984 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
985 has_attribute(Resolution self, ObjectKey a0) -> bool
987 return _IMP_pmi.Resolution_has_attribute(self, *args)
990 def get_derivative(self, a0):
991 """get_derivative(Resolution self, FloatKey a0) -> double"""
992 return _IMP_pmi.Resolution_get_derivative(self, a0)
996 """get_name(Resolution self) -> std::string"""
997 return _IMP_pmi.Resolution_get_name(self)
1000 def clear_caches(self):
1001 """clear_caches(Resolution self)"""
1002 return _IMP_pmi.Resolution_clear_caches(self)
1005 def set_name(self, a0):
1006 """set_name(Resolution self, std::string a0)"""
1007 return _IMP_pmi.Resolution_set_name(self, a0)
1011 """set_check_level(Resolution self, IMP::CheckLevel a0)"""
1012 return _IMP_pmi.Resolution_set_check_level(self, a0)
1015 def add_to_derivative(self, a0, a1, a2):
1016 """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1017 return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1020 def set_is_optimized(self, a0, a1):
1021 """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1022 return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1025 def get_is_optimized(self, a0):
1026 """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1027 return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1031 """get_check_level(Resolution self) -> IMP::CheckLevel"""
1032 return _IMP_pmi.Resolution_get_check_level(self)
1035 def __eq__(self, *args):
1037 __eq__(Resolution self, Resolution o) -> bool
1038 __eq__(Resolution self, Particle d) -> bool
1040 return _IMP_pmi.Resolution___eq__(self, *args)
1043 def __ne__(self, *args):
1045 __ne__(Resolution self, Resolution o) -> bool
1046 __ne__(Resolution self, Particle d) -> bool
1048 return _IMP_pmi.Resolution___ne__(self, *args)
1051 def __le__(self, *args):
1053 __le__(Resolution self, Resolution o) -> bool
1054 __le__(Resolution self, Particle d) -> bool
1056 return _IMP_pmi.Resolution___le__(self, *args)
1059 def __lt__(self, *args):
1061 __lt__(Resolution self, Resolution o) -> bool
1062 __lt__(Resolution self, Particle d) -> bool
1064 return _IMP_pmi.Resolution___lt__(self, *args)
1067 def __ge__(self, *args):
1069 __ge__(Resolution self, Resolution o) -> bool
1070 __ge__(Resolution self, Particle d) -> bool
1072 return _IMP_pmi.Resolution___ge__(self, *args)
1075 def __gt__(self, *args):
1077 __gt__(Resolution self, Resolution o) -> bool
1078 __gt__(Resolution self, Particle d) -> bool
1080 return _IMP_pmi.Resolution___gt__(self, *args)
1084 """__hash__(Resolution self) -> std::size_t"""
1085 return _IMP_pmi.Resolution___hash__(self)
1089 """__str__(Resolution self) -> std::string"""
1090 return _IMP_pmi.Resolution___str__(self)
1094 """__repr__(Resolution self) -> std::string"""
1095 return _IMP_pmi.Resolution___repr__(self)
1097 __swig_destroy__ = _IMP_pmi.delete_Resolution
1098 __del__ =
lambda self:
None
1099 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1100 Resolution_swigregister(Resolution)
1102 def Resolution_get_is_setup(*args):
1104 get_is_setup(Model m, ParticleIndex pi) -> bool
1105 Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1107 return _IMP_pmi.Resolution_get_is_setup(*args)
1109 def Resolution_setup_particle(*args):
1111 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1112 Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1114 return _IMP_pmi.Resolution_setup_particle(*args)
1116 def Resolution_get_resolution_key():
1117 """Resolution_get_resolution_key() -> FloatKey"""
1118 return _IMP_pmi.Resolution_get_resolution_key()
1121 """Proxy of C++ IMP::pmi::Symmetric class."""
1123 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1125 def get_symmetric(self):
1126 """get_symmetric(Symmetric self) -> IMP::Float"""
1127 return _IMP_pmi.Symmetric_get_symmetric(self)
1130 def set_symmetric(self, d):
1131 """set_symmetric(Symmetric self, IMP::Float d)"""
1132 return _IMP_pmi.Symmetric_set_symmetric(self, d)
1137 __init__(IMP::pmi::Symmetric self) -> Symmetric
1138 __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1139 __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1141 this = _IMP_pmi.new_Symmetric(*args)
1143 self.this.append(this)
1144 except __builtin__.Exception:
1147 def get_is_setup(*args):
1149 get_is_setup(Model m, ParticleIndex pi) -> bool
1150 get_is_setup(_ParticleAdaptor p) -> bool
1152 return _IMP_pmi.Symmetric_get_is_setup(*args)
1154 get_is_setup = staticmethod(get_is_setup)
1156 def show(self, *args):
1158 show(Symmetric self, _ostream out)
1159 show(Symmetric self)
1161 return _IMP_pmi.Symmetric_show(self, *args)
1164 def setup_particle(*args):
1166 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1167 setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1169 return _IMP_pmi.Symmetric_setup_particle(*args)
1171 setup_particle = staticmethod(setup_particle)
1173 def get_symmetric_key():
1174 """get_symmetric_key() -> FloatKey"""
1175 return _IMP_pmi.Symmetric_get_symmetric_key()
1177 get_symmetric_key = staticmethod(get_symmetric_key)
1179 def add_attribute(self, *args):
1181 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1182 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1183 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1184 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1185 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1186 add_attribute(Symmetric self, ObjectKey a0, Object a1)
1188 return _IMP_pmi.Symmetric_add_attribute(self, *args)
1191 def get_value(self, *args):
1193 get_value(Symmetric self, FloatKey a0) -> IMP::Float
1194 get_value(Symmetric self, IntKey a0) -> IMP::Int
1195 get_value(Symmetric self, StringKey a0) -> IMP::String
1196 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1197 get_value(Symmetric self, ObjectKey a0) -> Object
1199 return _IMP_pmi.Symmetric_get_value(self, *args)
1202 def set_value(self, *args):
1204 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1205 set_value(Symmetric self, IntKey a0, IMP::Int a1)
1206 set_value(Symmetric self, StringKey a0, IMP::String a1)
1207 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1208 set_value(Symmetric self, ObjectKey a0, Object a1)
1210 return _IMP_pmi.Symmetric_set_value(self, *args)
1213 def remove_attribute(self, *args):
1215 remove_attribute(Symmetric self, FloatKey a0)
1216 remove_attribute(Symmetric self, IntKey a0)
1217 remove_attribute(Symmetric self, StringKey a0)
1218 remove_attribute(Symmetric self, ParticleIndexKey a0)
1219 remove_attribute(Symmetric self, ObjectKey a0)
1221 return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1224 def has_attribute(self, *args):
1226 has_attribute(Symmetric self, FloatKey a0) -> bool
1227 has_attribute(Symmetric self, IntKey a0) -> bool
1228 has_attribute(Symmetric self, StringKey a0) -> bool
1229 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1230 has_attribute(Symmetric self, ObjectKey a0) -> bool
1232 return _IMP_pmi.Symmetric_has_attribute(self, *args)
1235 def get_derivative(self, a0):
1236 """get_derivative(Symmetric self, FloatKey a0) -> double"""
1237 return _IMP_pmi.Symmetric_get_derivative(self, a0)
1241 """get_name(Symmetric self) -> std::string"""
1242 return _IMP_pmi.Symmetric_get_name(self)
1245 def clear_caches(self):
1246 """clear_caches(Symmetric self)"""
1247 return _IMP_pmi.Symmetric_clear_caches(self)
1250 def set_name(self, a0):
1251 """set_name(Symmetric self, std::string a0)"""
1252 return _IMP_pmi.Symmetric_set_name(self, a0)
1256 """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1257 return _IMP_pmi.Symmetric_set_check_level(self, a0)
1260 def add_to_derivative(self, a0, a1, a2):
1261 """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1262 return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1265 def set_is_optimized(self, a0, a1):
1266 """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1267 return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1270 def get_is_optimized(self, a0):
1271 """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1272 return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1276 """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1277 return _IMP_pmi.Symmetric_get_check_level(self)
1280 def __eq__(self, *args):
1282 __eq__(Symmetric self, Symmetric o) -> bool
1283 __eq__(Symmetric self, Particle d) -> bool
1285 return _IMP_pmi.Symmetric___eq__(self, *args)
1288 def __ne__(self, *args):
1290 __ne__(Symmetric self, Symmetric o) -> bool
1291 __ne__(Symmetric self, Particle d) -> bool
1293 return _IMP_pmi.Symmetric___ne__(self, *args)
1296 def __le__(self, *args):
1298 __le__(Symmetric self, Symmetric o) -> bool
1299 __le__(Symmetric self, Particle d) -> bool
1301 return _IMP_pmi.Symmetric___le__(self, *args)
1304 def __lt__(self, *args):
1306 __lt__(Symmetric self, Symmetric o) -> bool
1307 __lt__(Symmetric self, Particle d) -> bool
1309 return _IMP_pmi.Symmetric___lt__(self, *args)
1312 def __ge__(self, *args):
1314 __ge__(Symmetric self, Symmetric o) -> bool
1315 __ge__(Symmetric self, Particle d) -> bool
1317 return _IMP_pmi.Symmetric___ge__(self, *args)
1320 def __gt__(self, *args):
1322 __gt__(Symmetric self, Symmetric o) -> bool
1323 __gt__(Symmetric self, Particle d) -> bool
1325 return _IMP_pmi.Symmetric___gt__(self, *args)
1329 """__hash__(Symmetric self) -> std::size_t"""
1330 return _IMP_pmi.Symmetric___hash__(self)
1334 """__str__(Symmetric self) -> std::string"""
1335 return _IMP_pmi.Symmetric___str__(self)
1339 """__repr__(Symmetric self) -> std::string"""
1340 return _IMP_pmi.Symmetric___repr__(self)
1342 __swig_destroy__ = _IMP_pmi.delete_Symmetric
1343 __del__ =
lambda self:
None
1344 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1345 Symmetric_swigregister(Symmetric)
1347 def Symmetric_get_is_setup(*args):
1349 get_is_setup(Model m, ParticleIndex pi) -> bool
1350 Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1352 return _IMP_pmi.Symmetric_get_is_setup(*args)
1354 def Symmetric_setup_particle(*args):
1356 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1357 Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1359 return _IMP_pmi.Symmetric_setup_particle(*args)
1361 def Symmetric_get_symmetric_key():
1362 """Symmetric_get_symmetric_key() -> FloatKey"""
1363 return _IMP_pmi.Symmetric_get_symmetric_key()
1366 """Proxy of C++ IMP::pmi::SigmoidRestraintSphere class."""
1368 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1372 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0, std::string name) -> SigmoidRestraintSphere
1373 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1374 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude) -> SigmoidRestraintSphere
1376 this = _IMP_pmi.new_SigmoidRestraintSphere(*args)
1378 self.this.append(this)
1379 except __builtin__.Exception:
1382 def set_amplitude(self, amplitude):
1383 """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1384 return _IMP_pmi.SigmoidRestraintSphere_set_amplitude(self, amplitude)
1387 def increment_amplitude(self, amplitude):
1388 """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1389 return _IMP_pmi.SigmoidRestraintSphere_increment_amplitude(self, amplitude)
1392 def get_amplitude(self):
1393 """get_amplitude(SigmoidRestraintSphere self) -> double"""
1394 return _IMP_pmi.SigmoidRestraintSphere_get_amplitude(self)
1397 def do_get_inputs(self):
1398 """do_get_inputs(SigmoidRestraintSphere self) -> IMP::ModelObjectsTemp"""
1399 return _IMP_pmi.SigmoidRestraintSphere_do_get_inputs(self)
1402 def get_version_info(self):
1403 """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1404 return _IMP_pmi.SigmoidRestraintSphere_get_version_info(self)
1408 """__str__(SigmoidRestraintSphere self) -> std::string"""
1409 return _IMP_pmi.SigmoidRestraintSphere___str__(self)
1413 """__repr__(SigmoidRestraintSphere self) -> std::string"""
1414 return _IMP_pmi.SigmoidRestraintSphere___repr__(self)
1419 return _object_cast_to_SigmoidRestraintSphere(o)
1421 SigmoidRestraintSphere_swigregister = _IMP_pmi.SigmoidRestraintSphere_swigregister
1422 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1425 """Proxy of C++ IMP::pmi::TransformMover class."""
1427 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1431 __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1432 __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1433 __init__(IMP::pmi::TransformMover self, Model m, _ParticleIndexAdaptor p1i, _ParticleIndexAdaptor p2i, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1435 this = _IMP_pmi.new_TransformMover(*args)
1437 self.this.append(this)
1438 except __builtin__.Exception:
1441 def add_xyz_particle(self, pi):
1442 """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1443 return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1446 def add_rigid_body_particle(self, pi):
1447 """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1448 return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1451 def set_maximum_translation(self, mt):
1452 """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1453 return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1456 def set_maximum_rotation(self, mr):
1457 """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1458 return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1461 def get_maximum_translation(self):
1462 """get_maximum_translation(TransformMover self) -> IMP::Float"""
1463 return _IMP_pmi.TransformMover_get_maximum_translation(self)
1466 def get_maximum_rotation(self):
1467 """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1468 return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1471 def get_last_transformation(self):
1472 """get_last_transformation(TransformMover self) -> Transformation3D"""
1473 return _IMP_pmi.TransformMover_get_last_transformation(self)
1476 def get_version_info(self):
1477 """get_version_info(TransformMover self) -> VersionInfo"""
1478 return _IMP_pmi.TransformMover_get_version_info(self)
1482 """__str__(TransformMover self) -> std::string"""
1483 return _IMP_pmi.TransformMover___str__(self)
1487 """__repr__(TransformMover self) -> std::string"""
1488 return _IMP_pmi.TransformMover___repr__(self)
1493 return _object_cast_to_TransformMover(o)
1495 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1496 TransformMover_swigregister(TransformMover)
1500 """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1501 return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1503 def get_dihedral_angle(p1, p2, p3, p4):
1504 """get_dihedral_angle(Atom p1, Atom p2, Atom p3, Atom p4) -> IMP::Float"""
1505 return _IMP_pmi.get_dihedral_angle(p1, p2, p3, p4)
1507 def get_bipartite_minimum_sphere_distance(m1, m2):
1508 """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1509 return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1511 def get_list_of_bipartite_minimum_sphere_distance(pss):
1512 """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1513 return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1516 """get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1517 return _IMP_pmi.get_molecule_name_and_copy(h)
1520 """get_is_canonical(Hierarchy h) -> bool"""
1521 return _IMP_pmi.get_is_canonical(h)
1523 """Proxy of C++ IMP::pmi::InternalCoordinatesConstraint class."""
1525 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1528 """__init__(IMP::pmi::InternalCoordinatesConstraint self) -> InternalCoordinatesConstraint"""
1529 this = _IMP_pmi.new_InternalCoordinatesConstraint()
1531 self.this.append(this)
1532 except __builtin__.Exception:
1535 def do_get_inputs(self, m, pis):
1536 """do_get_inputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1537 return _IMP_pmi.InternalCoordinatesConstraint_do_get_inputs(self, m, pis)
1540 def do_get_outputs(self, m, pis):
1541 """do_get_outputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1542 return _IMP_pmi.InternalCoordinatesConstraint_do_get_outputs(self, m, pis)
1545 def get_version_info(self):
1546 """get_version_info(InternalCoordinatesConstraint self) -> VersionInfo"""
1547 return _IMP_pmi.InternalCoordinatesConstraint_get_version_info(self)
1551 """__str__(InternalCoordinatesConstraint self) -> std::string"""
1552 return _IMP_pmi.InternalCoordinatesConstraint___str__(self)
1556 """__repr__(InternalCoordinatesConstraint self) -> std::string"""
1557 return _IMP_pmi.InternalCoordinatesConstraint___repr__(self)
1562 return _object_cast_to_InternalCoordinatesConstraint(o)
1564 InternalCoordinatesConstraint_swigregister = _IMP_pmi.InternalCoordinatesConstraint_swigregister
1565 InternalCoordinatesConstraint_swigregister(InternalCoordinatesConstraint)
1568 def get_module_version():
1569 """get_module_version() -> std::string const"""
1570 return _IMP_pmi.get_module_version()
1573 """get_example_path(std::string fname) -> std::string"""
1574 return _IMP_pmi.get_example_path(fname)
1577 """get_data_path(std::string fname) -> std::string"""
1578 return _IMP_pmi.get_data_path(fname)
1580 from .
import _version_check
1581 _version_check.check_version(get_module_version())
1582 __version__ = get_module_version()
A base class for modifiers of ParticlesTemp.
CheckLevel get_check_level()
Get the current audit mode.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
A base class for ISD Restraints.
Various classes to hold sets of particles.
Support for output of models in mmCIF format.
Make CGAL functionality available to IMP.
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
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.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Basic utilities for handling cryo-electron microscopy 3D density maps.
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.