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_MMCIF_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_FILESYSTEM
299 IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS
300 IMP_MMCIF_HAS_BOOST_RANDOM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_RANDOM
301 IMP_MMCIF_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_SYSTEM
302 IMP_MMCIF_HAS_NUMPY = _IMP_pmi.IMP_MMCIF_HAS_NUMPY
303 IMPMMCIF_SHOW_WARNINGS = _IMP_pmi.IMPMMCIF_SHOW_WARNINGS
305 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
306 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
307 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
308 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
309 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
310 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
311 IMP_ALGEBRA_HAS_NUMPY = _IMP_pmi.IMP_ALGEBRA_HAS_NUMPY
312 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
313 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
315 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
316 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
317 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
318 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
319 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
320 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
321 IMP_DISPLAY_HAS_NUMPY = _IMP_pmi.IMP_DISPLAY_HAS_NUMPY
322 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
324 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
325 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
326 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
327 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
328 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
329 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
330 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
331 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_NUMPY
332 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
334 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
335 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
336 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
337 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
338 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
339 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
340 IMP_STATISTICS_HAS_NUMPY = _IMP_pmi.IMP_STATISTICS_HAS_NUMPY
341 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS
343 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
344 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
345 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
346 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
347 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
348 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
349 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
350 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
351 IMP_CORE_HAS_NUMPY = _IMP_pmi.IMP_CORE_HAS_NUMPY
352 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
354 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
355 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
356 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
357 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
358 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
359 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
360 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
361 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
362 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
363 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
364 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
365 IMP_CONTAINER_HAS_NUMPY = _IMP_pmi.IMP_CONTAINER_HAS_NUMPY
366 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_pmi.IMP_CONTAINER_HAS_PYTHON_IHM
367 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_pmi.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
368 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_pmi.IMP_CONTAINER_HAS_ROBIN_MAP
369 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
371 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
372 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
373 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
374 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
375 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
376 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
377 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
378 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
379 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
380 IMP_ATOM_HAS_NUMPY = _IMP_pmi.IMP_ATOM_HAS_NUMPY
381 IMP_ATOM_HAS_PYTHON_IHM = _IMP_pmi.IMP_ATOM_HAS_PYTHON_IHM
382 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
383 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
384 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
385 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
386 IMP_CHAIN_TYPE_INDEX = _IMP_pmi.IMP_CHAIN_TYPE_INDEX
388 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
389 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
390 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
391 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
392 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
393 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
394 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
395 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
396 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
397 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
398 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
399 IMP_EM_HAS_NUMPY = _IMP_pmi.IMP_EM_HAS_NUMPY
400 IMP_EM_HAS_PYTHON_IHM = _IMP_pmi.IMP_EM_HAS_PYTHON_IHM
401 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
403 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
404 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
405 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
406 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
407 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
408 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
409 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
410 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
411 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
412 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
413 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
414 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
415 IMP_SAXS_HAS_NUMPY = _IMP_pmi.IMP_SAXS_HAS_NUMPY
416 IMP_SAXS_HAS_PYTHON_IHM = _IMP_pmi.IMP_SAXS_HAS_PYTHON_IHM
417 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
419 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
420 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
421 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
422 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
423 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
424 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
425 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
426 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
427 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
428 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
429 IMP_ISD_HAS_NUMPY = _IMP_pmi.IMP_ISD_HAS_NUMPY
430 IMP_ISD_HAS_PYTHON_IHM = _IMP_pmi.IMP_ISD_HAS_PYTHON_IHM
431 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
433 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
434 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
435 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
436 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
437 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
438 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
439 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
440 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
441 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
442 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
443 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
444 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
445 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
446 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
447 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
448 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
449 IMP_PMI_HAS_NUMPY = _IMP_pmi.IMP_PMI_HAS_NUMPY
450 IMP_PMI_HAS_PYTHON_IHM = _IMP_pmi.IMP_PMI_HAS_PYTHON_IHM
451 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
453 _object_types.append(
"CompositeRestraint")
456 def _object_cast_to_CompositeRestraint(o):
457 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
458 return _IMP_pmi._object_cast_to_CompositeRestraint(o)
460 def Uncertainties(l=[]):
461 return [Uncertainty(x)
for x
in l]
462 _plural_types.append(
"Uncertainties")
465 _value_types.append(
"Uncertainty")
468 def Resolutions(l=[]):
469 return [Resolution(x)
for x
in l]
470 _plural_types.append(
"Resolutions")
473 _value_types.append(
"Resolution")
476 def Symmetrics(l=[]):
477 return [Symmetric(x)
for x
in l]
478 _plural_types.append(
"Symmetrics")
481 _value_types.append(
"Symmetric")
484 _object_types.append(
"SigmoidRestraintSphere")
487 def _object_cast_to_SigmoidRestraintSphere(o):
488 """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
489 return _IMP_pmi._object_cast_to_SigmoidRestraintSphere(o)
491 _object_types.append(
"TransformMover")
494 def _object_cast_to_TransformMover(o):
495 """_object_cast_to_TransformMover(Object o) -> TransformMover"""
496 return _IMP_pmi._object_cast_to_TransformMover(o)
498 _object_types.append(
"MembraneRestraint")
501 def _object_cast_to_MembraneRestraint(o):
502 """_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
503 return _IMP_pmi._object_cast_to_MembraneRestraint(o)
505 _object_types.append(
"InternalCoordinatesConstraint")
508 def _object_cast_to_InternalCoordinatesConstraint(o):
509 """_object_cast_to_InternalCoordinatesConstraint(Object o) -> InternalCoordinatesConstraint"""
510 return _IMP_pmi._object_cast_to_InternalCoordinatesConstraint(o)
513 """Warning related to handling of structures"""
517 class ParameterWarning(UserWarning):
518 """Warning for probably incorrect input parameters"""
523 """Warning for an expected, but missing, file"""
528 """Mark a PMI1 class as deprecated. Point to its replacement or IMP.pmi1"""
530 "This is a PMI1 class. New applications of PMI should use PMI2 "
531 "classes. In this case, %s. If you need to use PMI1 classes, "
532 "for example to maintain a published protocol, use the legacy "
533 "IMP.pmi1 module instead of IMP.pmi." % help_message)
536 """Proxy of C++ IMP::pmi::MembraneRestraint class."""
538 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
540 def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
541 """__init__(IMP::pmi::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
542 this = _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
544 self.this.append(this)
545 except __builtin__.Exception:
548 def add_particles_below(self, particles):
549 """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
550 return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
553 def add_particles_above(self, particles):
554 """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
555 return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
558 def add_particles_inside(self, particles):
559 """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
560 return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
563 def get_score(self, prob):
564 """get_score(MembraneRestraint self, double prob) -> double"""
565 return _IMP_pmi.MembraneRestraint_get_score(self, prob)
568 def get_probability_above(self, z, z_slope_center_upper):
569 """get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
570 return _IMP_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
573 def get_score_above(self, z, z_slope_center_upper):
574 """get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
575 return _IMP_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
578 def get_probability_below(self, z, z_slope_center_lower):
579 """get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
580 return _IMP_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
583 def get_score_below(self, z, z_slope_center_lower):
584 """get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
585 return _IMP_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
588 def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
589 """get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
590 return _IMP_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
594 """__str__(MembraneRestraint self) -> std::string"""
595 return _IMP_pmi.MembraneRestraint___str__(self)
599 """__repr__(MembraneRestraint self) -> std::string"""
600 return _IMP_pmi.MembraneRestraint___repr__(self)
605 return _object_cast_to_MembraneRestraint(o)
607 MembraneRestraint_swigregister = _IMP_pmi.MembraneRestraint_swigregister
608 MembraneRestraint_swigregister(MembraneRestraint)
611 """Proxy of C++ IMP::pmi::CompositeRestraint class."""
613 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
615 def __init__(self, *args):
617 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
618 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
620 this = _IMP_pmi.new_CompositeRestraint(*args)
622 self.this.append(this)
623 except __builtin__.Exception:
626 def add_composite_particle(self, pi):
627 """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
628 return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
631 def get_number_of_elements(self):
632 """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
633 return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
636 def do_get_inputs(self):
637 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
638 return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
641 def get_version_info(self):
642 """get_version_info(CompositeRestraint self) -> VersionInfo"""
643 return _IMP_pmi.CompositeRestraint_get_version_info(self)
646 def get_probability(self):
647 """get_probability(CompositeRestraint self) -> double"""
648 return _IMP_pmi.CompositeRestraint_get_probability(self)
652 """__str__(CompositeRestraint self) -> std::string"""
653 return _IMP_pmi.CompositeRestraint___str__(self)
657 """__repr__(CompositeRestraint self) -> std::string"""
658 return _IMP_pmi.CompositeRestraint___repr__(self)
663 return _object_cast_to_CompositeRestraint(o)
665 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
666 CompositeRestraint_swigregister(CompositeRestraint)
669 """Proxy of C++ IMP::pmi::Uncertainty class."""
671 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
673 def get_uncertainty(self):
674 """get_uncertainty(Uncertainty self) -> IMP::Float"""
675 return _IMP_pmi.Uncertainty_get_uncertainty(self)
678 def set_uncertainty(self, d):
679 """set_uncertainty(Uncertainty self, IMP::Float d)"""
680 return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
683 def __init__(self, *args):
685 __init__(IMP::pmi::Uncertainty self) -> Uncertainty
686 __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
687 __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
689 this = _IMP_pmi.new_Uncertainty(*args)
691 self.this.append(this)
692 except __builtin__.Exception:
695 def get_is_setup(*args):
697 get_is_setup(Model m, ParticleIndex pi) -> bool
698 get_is_setup(_ParticleAdaptor p) -> bool
700 return _IMP_pmi.Uncertainty_get_is_setup(*args)
702 get_is_setup = staticmethod(get_is_setup)
704 def show(self, *args):
706 show(Uncertainty self, _ostream out)
707 show(Uncertainty self)
709 return _IMP_pmi.Uncertainty_show(self, *args)
712 def setup_particle(*args):
714 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
715 setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
717 return _IMP_pmi.Uncertainty_setup_particle(*args)
719 setup_particle = staticmethod(setup_particle)
721 def get_uncertainty_key():
722 """get_uncertainty_key() -> FloatKey"""
723 return _IMP_pmi.Uncertainty_get_uncertainty_key()
725 get_uncertainty_key = staticmethod(get_uncertainty_key)
727 def add_attribute(self, *args):
729 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
730 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
731 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
732 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
733 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
734 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
736 return _IMP_pmi.Uncertainty_add_attribute(self, *args)
739 def get_value(self, *args):
741 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
742 get_value(Uncertainty self, IntKey a0) -> IMP::Int
743 get_value(Uncertainty self, StringKey a0) -> IMP::String
744 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
745 get_value(Uncertainty self, ObjectKey a0) -> Object
747 return _IMP_pmi.Uncertainty_get_value(self, *args)
750 def set_value(self, *args):
752 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
753 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
754 set_value(Uncertainty self, StringKey a0, IMP::String a1)
755 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
756 set_value(Uncertainty self, ObjectKey a0, Object a1)
758 return _IMP_pmi.Uncertainty_set_value(self, *args)
761 def remove_attribute(self, *args):
763 remove_attribute(Uncertainty self, FloatKey a0)
764 remove_attribute(Uncertainty self, IntKey a0)
765 remove_attribute(Uncertainty self, StringKey a0)
766 remove_attribute(Uncertainty self, ParticleIndexKey a0)
767 remove_attribute(Uncertainty self, ObjectKey a0)
769 return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
772 def has_attribute(self, *args):
774 has_attribute(Uncertainty self, FloatKey a0) -> bool
775 has_attribute(Uncertainty self, IntKey a0) -> bool
776 has_attribute(Uncertainty self, StringKey a0) -> bool
777 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
778 has_attribute(Uncertainty self, ObjectKey a0) -> bool
780 return _IMP_pmi.Uncertainty_has_attribute(self, *args)
783 def get_derivative(self, a0):
784 """get_derivative(Uncertainty self, FloatKey a0) -> double"""
785 return _IMP_pmi.Uncertainty_get_derivative(self, a0)
789 """get_name(Uncertainty self) -> std::string"""
790 return _IMP_pmi.Uncertainty_get_name(self)
793 def clear_caches(self):
794 """clear_caches(Uncertainty self)"""
795 return _IMP_pmi.Uncertainty_clear_caches(self)
798 def set_name(self, a0):
799 """set_name(Uncertainty self, std::string a0)"""
800 return _IMP_pmi.Uncertainty_set_name(self, a0)
804 """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
805 return _IMP_pmi.Uncertainty_set_check_level(self, a0)
808 def add_to_derivative(self, a0, a1, a2):
809 """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
810 return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
813 def set_is_optimized(self, a0, a1):
814 """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
815 return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
818 def get_is_optimized(self, a0):
819 """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
820 return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
824 """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
825 return _IMP_pmi.Uncertainty_get_check_level(self)
828 def __eq__(self, *args):
830 __eq__(Uncertainty self, Uncertainty o) -> bool
831 __eq__(Uncertainty self, Particle d) -> bool
833 return _IMP_pmi.Uncertainty___eq__(self, *args)
836 def __ne__(self, *args):
838 __ne__(Uncertainty self, Uncertainty o) -> bool
839 __ne__(Uncertainty self, Particle d) -> bool
841 return _IMP_pmi.Uncertainty___ne__(self, *args)
844 def __le__(self, *args):
846 __le__(Uncertainty self, Uncertainty o) -> bool
847 __le__(Uncertainty self, Particle d) -> bool
849 return _IMP_pmi.Uncertainty___le__(self, *args)
852 def __lt__(self, *args):
854 __lt__(Uncertainty self, Uncertainty o) -> bool
855 __lt__(Uncertainty self, Particle d) -> bool
857 return _IMP_pmi.Uncertainty___lt__(self, *args)
860 def __ge__(self, *args):
862 __ge__(Uncertainty self, Uncertainty o) -> bool
863 __ge__(Uncertainty self, Particle d) -> bool
865 return _IMP_pmi.Uncertainty___ge__(self, *args)
868 def __gt__(self, *args):
870 __gt__(Uncertainty self, Uncertainty o) -> bool
871 __gt__(Uncertainty self, Particle d) -> bool
873 return _IMP_pmi.Uncertainty___gt__(self, *args)
877 """__hash__(Uncertainty self) -> std::size_t"""
878 return _IMP_pmi.Uncertainty___hash__(self)
882 """__str__(Uncertainty self) -> std::string"""
883 return _IMP_pmi.Uncertainty___str__(self)
887 """__repr__(Uncertainty self) -> std::string"""
888 return _IMP_pmi.Uncertainty___repr__(self)
890 __swig_destroy__ = _IMP_pmi.delete_Uncertainty
891 __del__ =
lambda self:
None
892 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
893 Uncertainty_swigregister(Uncertainty)
895 def Uncertainty_get_is_setup(*args):
897 get_is_setup(Model m, ParticleIndex pi) -> bool
898 Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
900 return _IMP_pmi.Uncertainty_get_is_setup(*args)
902 def Uncertainty_setup_particle(*args):
904 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
905 Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
907 return _IMP_pmi.Uncertainty_setup_particle(*args)
909 def Uncertainty_get_uncertainty_key():
910 """Uncertainty_get_uncertainty_key() -> FloatKey"""
911 return _IMP_pmi.Uncertainty_get_uncertainty_key()
914 """Proxy of C++ IMP::pmi::Resolution class."""
916 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
919 """get_resolution(Resolution self) -> IMP::Float"""
920 return _IMP_pmi.Resolution_get_resolution(self)
923 def set_resolution(self, d):
924 """set_resolution(Resolution self, IMP::Float d)"""
925 return _IMP_pmi.Resolution_set_resolution(self, d)
928 def __init__(self, *args):
930 __init__(IMP::pmi::Resolution self) -> Resolution
931 __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
932 __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
934 this = _IMP_pmi.new_Resolution(*args)
936 self.this.append(this)
937 except __builtin__.Exception:
940 def get_is_setup(*args):
942 get_is_setup(Model m, ParticleIndex pi) -> bool
943 get_is_setup(_ParticleAdaptor p) -> bool
945 return _IMP_pmi.Resolution_get_is_setup(*args)
947 get_is_setup = staticmethod(get_is_setup)
949 def show(self, *args):
951 show(Resolution self, _ostream out)
952 show(Resolution self)
954 return _IMP_pmi.Resolution_show(self, *args)
957 def setup_particle(*args):
959 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
960 setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
962 return _IMP_pmi.Resolution_setup_particle(*args)
964 setup_particle = staticmethod(setup_particle)
966 def get_resolution_key():
967 """get_resolution_key() -> FloatKey"""
968 return _IMP_pmi.Resolution_get_resolution_key()
970 get_resolution_key = staticmethod(get_resolution_key)
972 def add_attribute(self, *args):
974 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
975 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
976 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
977 add_attribute(Resolution self, StringKey a0, IMP::String a1)
978 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
979 add_attribute(Resolution self, ObjectKey a0, Object a1)
981 return _IMP_pmi.Resolution_add_attribute(self, *args)
984 def get_value(self, *args):
986 get_value(Resolution self, FloatKey a0) -> IMP::Float
987 get_value(Resolution self, IntKey a0) -> IMP::Int
988 get_value(Resolution self, StringKey a0) -> IMP::String
989 get_value(Resolution self, ParticleIndexKey a0) -> Particle
990 get_value(Resolution self, ObjectKey a0) -> Object
992 return _IMP_pmi.Resolution_get_value(self, *args)
995 def set_value(self, *args):
997 set_value(Resolution self, FloatKey a0, IMP::Float a1)
998 set_value(Resolution self, IntKey a0, IMP::Int a1)
999 set_value(Resolution self, StringKey a0, IMP::String a1)
1000 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
1001 set_value(Resolution self, ObjectKey a0, Object a1)
1003 return _IMP_pmi.Resolution_set_value(self, *args)
1006 def remove_attribute(self, *args):
1008 remove_attribute(Resolution self, FloatKey a0)
1009 remove_attribute(Resolution self, IntKey a0)
1010 remove_attribute(Resolution self, StringKey a0)
1011 remove_attribute(Resolution self, ParticleIndexKey a0)
1012 remove_attribute(Resolution self, ObjectKey a0)
1014 return _IMP_pmi.Resolution_remove_attribute(self, *args)
1017 def has_attribute(self, *args):
1019 has_attribute(Resolution self, FloatKey a0) -> bool
1020 has_attribute(Resolution self, IntKey a0) -> bool
1021 has_attribute(Resolution self, StringKey a0) -> bool
1022 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
1023 has_attribute(Resolution self, ObjectKey a0) -> bool
1025 return _IMP_pmi.Resolution_has_attribute(self, *args)
1028 def get_derivative(self, a0):
1029 """get_derivative(Resolution self, FloatKey a0) -> double"""
1030 return _IMP_pmi.Resolution_get_derivative(self, a0)
1034 """get_name(Resolution self) -> std::string"""
1035 return _IMP_pmi.Resolution_get_name(self)
1038 def clear_caches(self):
1039 """clear_caches(Resolution self)"""
1040 return _IMP_pmi.Resolution_clear_caches(self)
1043 def set_name(self, a0):
1044 """set_name(Resolution self, std::string a0)"""
1045 return _IMP_pmi.Resolution_set_name(self, a0)
1049 """set_check_level(Resolution self, IMP::CheckLevel a0)"""
1050 return _IMP_pmi.Resolution_set_check_level(self, a0)
1053 def add_to_derivative(self, a0, a1, a2):
1054 """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1055 return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1058 def set_is_optimized(self, a0, a1):
1059 """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1060 return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1063 def get_is_optimized(self, a0):
1064 """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1065 return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1069 """get_check_level(Resolution self) -> IMP::CheckLevel"""
1070 return _IMP_pmi.Resolution_get_check_level(self)
1073 def __eq__(self, *args):
1075 __eq__(Resolution self, Resolution o) -> bool
1076 __eq__(Resolution self, Particle d) -> bool
1078 return _IMP_pmi.Resolution___eq__(self, *args)
1081 def __ne__(self, *args):
1083 __ne__(Resolution self, Resolution o) -> bool
1084 __ne__(Resolution self, Particle d) -> bool
1086 return _IMP_pmi.Resolution___ne__(self, *args)
1089 def __le__(self, *args):
1091 __le__(Resolution self, Resolution o) -> bool
1092 __le__(Resolution self, Particle d) -> bool
1094 return _IMP_pmi.Resolution___le__(self, *args)
1097 def __lt__(self, *args):
1099 __lt__(Resolution self, Resolution o) -> bool
1100 __lt__(Resolution self, Particle d) -> bool
1102 return _IMP_pmi.Resolution___lt__(self, *args)
1105 def __ge__(self, *args):
1107 __ge__(Resolution self, Resolution o) -> bool
1108 __ge__(Resolution self, Particle d) -> bool
1110 return _IMP_pmi.Resolution___ge__(self, *args)
1113 def __gt__(self, *args):
1115 __gt__(Resolution self, Resolution o) -> bool
1116 __gt__(Resolution self, Particle d) -> bool
1118 return _IMP_pmi.Resolution___gt__(self, *args)
1122 """__hash__(Resolution self) -> std::size_t"""
1123 return _IMP_pmi.Resolution___hash__(self)
1127 """__str__(Resolution self) -> std::string"""
1128 return _IMP_pmi.Resolution___str__(self)
1132 """__repr__(Resolution self) -> std::string"""
1133 return _IMP_pmi.Resolution___repr__(self)
1135 __swig_destroy__ = _IMP_pmi.delete_Resolution
1136 __del__ =
lambda self:
None
1137 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1138 Resolution_swigregister(Resolution)
1140 def Resolution_get_is_setup(*args):
1142 get_is_setup(Model m, ParticleIndex pi) -> bool
1143 Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1145 return _IMP_pmi.Resolution_get_is_setup(*args)
1147 def Resolution_setup_particle(*args):
1149 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1150 Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1152 return _IMP_pmi.Resolution_setup_particle(*args)
1154 def Resolution_get_resolution_key():
1155 """Resolution_get_resolution_key() -> FloatKey"""
1156 return _IMP_pmi.Resolution_get_resolution_key()
1159 """Proxy of C++ IMP::pmi::Symmetric class."""
1161 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1163 def get_symmetric(self):
1164 """get_symmetric(Symmetric self) -> IMP::Float"""
1165 return _IMP_pmi.Symmetric_get_symmetric(self)
1168 def set_symmetric(self, d):
1169 """set_symmetric(Symmetric self, IMP::Float d)"""
1170 return _IMP_pmi.Symmetric_set_symmetric(self, d)
1173 def __init__(self, *args):
1175 __init__(IMP::pmi::Symmetric self) -> Symmetric
1176 __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1177 __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1179 this = _IMP_pmi.new_Symmetric(*args)
1181 self.this.append(this)
1182 except __builtin__.Exception:
1185 def get_is_setup(*args):
1187 get_is_setup(Model m, ParticleIndex pi) -> bool
1188 get_is_setup(_ParticleAdaptor p) -> bool
1190 return _IMP_pmi.Symmetric_get_is_setup(*args)
1192 get_is_setup = staticmethod(get_is_setup)
1194 def show(self, *args):
1196 show(Symmetric self, _ostream out)
1197 show(Symmetric self)
1199 return _IMP_pmi.Symmetric_show(self, *args)
1202 def setup_particle(*args):
1204 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1205 setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1207 return _IMP_pmi.Symmetric_setup_particle(*args)
1209 setup_particle = staticmethod(setup_particle)
1211 def get_symmetric_key():
1212 """get_symmetric_key() -> FloatKey"""
1213 return _IMP_pmi.Symmetric_get_symmetric_key()
1215 get_symmetric_key = staticmethod(get_symmetric_key)
1217 def add_attribute(self, *args):
1219 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1220 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1221 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1222 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1223 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1224 add_attribute(Symmetric self, ObjectKey a0, Object a1)
1226 return _IMP_pmi.Symmetric_add_attribute(self, *args)
1229 def get_value(self, *args):
1231 get_value(Symmetric self, FloatKey a0) -> IMP::Float
1232 get_value(Symmetric self, IntKey a0) -> IMP::Int
1233 get_value(Symmetric self, StringKey a0) -> IMP::String
1234 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1235 get_value(Symmetric self, ObjectKey a0) -> Object
1237 return _IMP_pmi.Symmetric_get_value(self, *args)
1240 def set_value(self, *args):
1242 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1243 set_value(Symmetric self, IntKey a0, IMP::Int a1)
1244 set_value(Symmetric self, StringKey a0, IMP::String a1)
1245 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1246 set_value(Symmetric self, ObjectKey a0, Object a1)
1248 return _IMP_pmi.Symmetric_set_value(self, *args)
1251 def remove_attribute(self, *args):
1253 remove_attribute(Symmetric self, FloatKey a0)
1254 remove_attribute(Symmetric self, IntKey a0)
1255 remove_attribute(Symmetric self, StringKey a0)
1256 remove_attribute(Symmetric self, ParticleIndexKey a0)
1257 remove_attribute(Symmetric self, ObjectKey a0)
1259 return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1262 def has_attribute(self, *args):
1264 has_attribute(Symmetric self, FloatKey a0) -> bool
1265 has_attribute(Symmetric self, IntKey a0) -> bool
1266 has_attribute(Symmetric self, StringKey a0) -> bool
1267 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1268 has_attribute(Symmetric self, ObjectKey a0) -> bool
1270 return _IMP_pmi.Symmetric_has_attribute(self, *args)
1273 def get_derivative(self, a0):
1274 """get_derivative(Symmetric self, FloatKey a0) -> double"""
1275 return _IMP_pmi.Symmetric_get_derivative(self, a0)
1279 """get_name(Symmetric self) -> std::string"""
1280 return _IMP_pmi.Symmetric_get_name(self)
1283 def clear_caches(self):
1284 """clear_caches(Symmetric self)"""
1285 return _IMP_pmi.Symmetric_clear_caches(self)
1288 def set_name(self, a0):
1289 """set_name(Symmetric self, std::string a0)"""
1290 return _IMP_pmi.Symmetric_set_name(self, a0)
1294 """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1295 return _IMP_pmi.Symmetric_set_check_level(self, a0)
1298 def add_to_derivative(self, a0, a1, a2):
1299 """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1300 return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1303 def set_is_optimized(self, a0, a1):
1304 """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1305 return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1308 def get_is_optimized(self, a0):
1309 """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1310 return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1314 """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1315 return _IMP_pmi.Symmetric_get_check_level(self)
1318 def __eq__(self, *args):
1320 __eq__(Symmetric self, Symmetric o) -> bool
1321 __eq__(Symmetric self, Particle d) -> bool
1323 return _IMP_pmi.Symmetric___eq__(self, *args)
1326 def __ne__(self, *args):
1328 __ne__(Symmetric self, Symmetric o) -> bool
1329 __ne__(Symmetric self, Particle d) -> bool
1331 return _IMP_pmi.Symmetric___ne__(self, *args)
1334 def __le__(self, *args):
1336 __le__(Symmetric self, Symmetric o) -> bool
1337 __le__(Symmetric self, Particle d) -> bool
1339 return _IMP_pmi.Symmetric___le__(self, *args)
1342 def __lt__(self, *args):
1344 __lt__(Symmetric self, Symmetric o) -> bool
1345 __lt__(Symmetric self, Particle d) -> bool
1347 return _IMP_pmi.Symmetric___lt__(self, *args)
1350 def __ge__(self, *args):
1352 __ge__(Symmetric self, Symmetric o) -> bool
1353 __ge__(Symmetric self, Particle d) -> bool
1355 return _IMP_pmi.Symmetric___ge__(self, *args)
1358 def __gt__(self, *args):
1360 __gt__(Symmetric self, Symmetric o) -> bool
1361 __gt__(Symmetric self, Particle d) -> bool
1363 return _IMP_pmi.Symmetric___gt__(self, *args)
1367 """__hash__(Symmetric self) -> std::size_t"""
1368 return _IMP_pmi.Symmetric___hash__(self)
1372 """__str__(Symmetric self) -> std::string"""
1373 return _IMP_pmi.Symmetric___str__(self)
1377 """__repr__(Symmetric self) -> std::string"""
1378 return _IMP_pmi.Symmetric___repr__(self)
1380 __swig_destroy__ = _IMP_pmi.delete_Symmetric
1381 __del__ =
lambda self:
None
1382 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1383 Symmetric_swigregister(Symmetric)
1385 def Symmetric_get_is_setup(*args):
1387 get_is_setup(Model m, ParticleIndex pi) -> bool
1388 Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1390 return _IMP_pmi.Symmetric_get_is_setup(*args)
1392 def Symmetric_setup_particle(*args):
1394 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1395 Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1397 return _IMP_pmi.Symmetric_setup_particle(*args)
1399 def Symmetric_get_symmetric_key():
1400 """Symmetric_get_symmetric_key() -> FloatKey"""
1401 return _IMP_pmi.Symmetric_get_symmetric_key()
1404 """Proxy of C++ IMP::pmi::SigmoidRestraintSphere class."""
1406 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1408 def __init__(self, *args):
1410 __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
1411 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1412 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude) -> SigmoidRestraintSphere
1414 this = _IMP_pmi.new_SigmoidRestraintSphere(*args)
1416 self.this.append(this)
1417 except __builtin__.Exception:
1420 def set_amplitude(self, amplitude):
1421 """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1422 return _IMP_pmi.SigmoidRestraintSphere_set_amplitude(self, amplitude)
1425 def increment_amplitude(self, amplitude):
1426 """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1427 return _IMP_pmi.SigmoidRestraintSphere_increment_amplitude(self, amplitude)
1430 def get_amplitude(self):
1431 """get_amplitude(SigmoidRestraintSphere self) -> double"""
1432 return _IMP_pmi.SigmoidRestraintSphere_get_amplitude(self)
1435 def do_get_inputs(self):
1436 """do_get_inputs(SigmoidRestraintSphere self) -> IMP::ModelObjectsTemp"""
1437 return _IMP_pmi.SigmoidRestraintSphere_do_get_inputs(self)
1440 def get_version_info(self):
1441 """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1442 return _IMP_pmi.SigmoidRestraintSphere_get_version_info(self)
1446 """__str__(SigmoidRestraintSphere self) -> std::string"""
1447 return _IMP_pmi.SigmoidRestraintSphere___str__(self)
1451 """__repr__(SigmoidRestraintSphere self) -> std::string"""
1452 return _IMP_pmi.SigmoidRestraintSphere___repr__(self)
1457 return _object_cast_to_SigmoidRestraintSphere(o)
1459 SigmoidRestraintSphere_swigregister = _IMP_pmi.SigmoidRestraintSphere_swigregister
1460 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1463 """Proxy of C++ IMP::pmi::TransformMover class."""
1465 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1467 def __init__(self, *args):
1469 __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1470 __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1471 __init__(IMP::pmi::TransformMover self, Model m, _ParticleIndexAdaptor p1i, _ParticleIndexAdaptor p2i, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1473 this = _IMP_pmi.new_TransformMover(*args)
1475 self.this.append(this)
1476 except __builtin__.Exception:
1479 def add_xyz_particle(self, pi):
1480 """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1481 return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1484 def add_rigid_body_particle(self, pi):
1485 """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1486 return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1489 def set_maximum_translation(self, mt):
1490 """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1491 return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1494 def set_maximum_rotation(self, mr):
1495 """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1496 return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1499 def get_maximum_translation(self):
1500 """get_maximum_translation(TransformMover self) -> IMP::Float"""
1501 return _IMP_pmi.TransformMover_get_maximum_translation(self)
1504 def get_maximum_rotation(self):
1505 """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1506 return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1509 def get_last_transformation(self):
1510 """get_last_transformation(TransformMover self) -> Transformation3D"""
1511 return _IMP_pmi.TransformMover_get_last_transformation(self)
1514 def get_version_info(self):
1515 """get_version_info(TransformMover self) -> VersionInfo"""
1516 return _IMP_pmi.TransformMover_get_version_info(self)
1520 """__str__(TransformMover self) -> std::string"""
1521 return _IMP_pmi.TransformMover___str__(self)
1525 """__repr__(TransformMover self) -> std::string"""
1526 return _IMP_pmi.TransformMover___repr__(self)
1531 return _object_cast_to_TransformMover(o)
1533 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1534 TransformMover_swigregister(TransformMover)
1538 """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1539 return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1541 def get_dihedral_angle(p1, p2, p3, p4):
1542 """get_dihedral_angle(Atom p1, Atom p2, Atom p3, Atom p4) -> IMP::Float"""
1543 return _IMP_pmi.get_dihedral_angle(p1, p2, p3, p4)
1545 def get_bipartite_minimum_sphere_distance(m1, m2):
1546 """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1547 return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1549 def get_list_of_bipartite_minimum_sphere_distance(pss):
1550 """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1551 return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1554 """get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1555 return _IMP_pmi.get_molecule_name_and_copy(h)
1558 """get_is_canonical(Hierarchy h) -> bool"""
1559 return _IMP_pmi.get_is_canonical(h)
1561 """Proxy of C++ IMP::pmi::InternalCoordinatesConstraint class."""
1563 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1566 """__init__(IMP::pmi::InternalCoordinatesConstraint self) -> InternalCoordinatesConstraint"""
1567 this = _IMP_pmi.new_InternalCoordinatesConstraint()
1569 self.this.append(this)
1570 except __builtin__.Exception:
1573 def do_get_inputs(self, m, pis):
1574 """do_get_inputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1575 return _IMP_pmi.InternalCoordinatesConstraint_do_get_inputs(self, m, pis)
1578 def do_get_outputs(self, m, pis):
1579 """do_get_outputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1580 return _IMP_pmi.InternalCoordinatesConstraint_do_get_outputs(self, m, pis)
1583 def get_version_info(self):
1584 """get_version_info(InternalCoordinatesConstraint self) -> VersionInfo"""
1585 return _IMP_pmi.InternalCoordinatesConstraint_get_version_info(self)
1589 """__str__(InternalCoordinatesConstraint self) -> std::string"""
1590 return _IMP_pmi.InternalCoordinatesConstraint___str__(self)
1594 """__repr__(InternalCoordinatesConstraint self) -> std::string"""
1595 return _IMP_pmi.InternalCoordinatesConstraint___repr__(self)
1600 return _object_cast_to_InternalCoordinatesConstraint(o)
1602 InternalCoordinatesConstraint_swigregister = _IMP_pmi.InternalCoordinatesConstraint_swigregister
1603 InternalCoordinatesConstraint_swigregister(InternalCoordinatesConstraint)
1606 def get_module_version():
1607 """get_module_version() -> std::string const"""
1608 return _IMP_pmi.get_module_version()
1611 """get_example_path(std::string fname) -> std::string"""
1612 return _IMP_pmi.get_example_path(fname)
1615 """get_data_path(std::string fname) -> std::string"""
1616 return _IMP_pmi.get_data_path(fname)
1618 from .
import _version_check
1619 _version_check.check_version(get_module_version())
1620 __version__ = get_module_version()
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.
Support for output of models in mmCIF format.
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_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.
def deprecated_pmi1_object
Mark a PMI1 class as deprecated.
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.
def deprecated_object
Python decorator to mark a class as deprecated.
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.