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
289 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
290 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
291 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
292 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
293 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
295 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
296 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
297 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
298 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
299 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
300 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
301 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
302 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
304 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
305 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
306 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
307 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
308 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
309 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
310 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
312 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
313 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
314 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
315 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
316 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
317 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
318 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
319 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
321 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
322 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
323 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
324 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
325 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
326 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
327 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS
329 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
330 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
331 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
332 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
333 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
334 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
335 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
336 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
337 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
339 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
340 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
341 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
342 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
343 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
344 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
345 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
346 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
347 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
348 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
349 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
350 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
352 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
353 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
354 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
355 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
356 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
357 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
358 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
359 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
360 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
361 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
362 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
363 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
364 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
366 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
367 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
368 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
369 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
370 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
371 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
372 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
373 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
374 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
375 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
376 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
377 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
379 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
380 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
381 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
382 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
383 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
384 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
385 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
386 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
387 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
388 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
389 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
390 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
391 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
393 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
394 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
395 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
396 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
397 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
398 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
399 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
400 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
401 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
402 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
403 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
405 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
406 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
407 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
408 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
409 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
410 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
411 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
412 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
413 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
414 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
415 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
416 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
417 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
418 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
419 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
420 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
421 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
423 _object_types.append(
"CompositeRestraint")
426 def _object_cast_to_CompositeRestraint(o):
427 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
428 return _IMP_pmi._object_cast_to_CompositeRestraint(o)
430 def Uncertainties(l=[]):
431 return [Uncertainty(x)
for x
in l]
432 _plural_types.append(
"Uncertainties")
435 _value_types.append(
"Uncertainty")
438 def Resolutions(l=[]):
439 return [Resolution(x)
for x
in l]
440 _plural_types.append(
"Resolutions")
443 _value_types.append(
"Resolution")
446 def Symmetrics(l=[]):
447 return [Symmetric(x)
for x
in l]
448 _plural_types.append(
"Symmetrics")
451 _value_types.append(
"Symmetric")
454 _object_types.append(
"SigmoidRestraintSphere")
457 def _object_cast_to_SigmoidRestraintSphere(o):
458 """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
459 return _IMP_pmi._object_cast_to_SigmoidRestraintSphere(o)
461 _object_types.append(
"TransformMover")
464 def _object_cast_to_TransformMover(o):
465 """_object_cast_to_TransformMover(Object o) -> TransformMover"""
466 return _IMP_pmi._object_cast_to_TransformMover(o)
468 _object_types.append(
"MembraneRestraint")
471 def _object_cast_to_MembraneRestraint(o):
472 """_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
473 return _IMP_pmi._object_cast_to_MembraneRestraint(o)
475 _object_types.append(
"InternalCoordinatesConstraint")
478 def _object_cast_to_InternalCoordinatesConstraint(o):
479 """_object_cast_to_InternalCoordinatesConstraint(Object o) -> InternalCoordinatesConstraint"""
480 return _IMP_pmi._object_cast_to_InternalCoordinatesConstraint(o)
482 """Proxy of C++ IMP::pmi::MembraneRestraint class."""
484 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
486 def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
487 """__init__(IMP::pmi::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
488 this = _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
490 self.this.append(this)
491 except __builtin__.Exception:
494 def add_particles_below(self, particles):
495 """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
496 return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
499 def add_particles_above(self, particles):
500 """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
501 return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
504 def add_particles_inside(self, particles):
505 """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
506 return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
509 def get_score(self, prob):
510 """get_score(MembraneRestraint self, double prob) -> double"""
511 return _IMP_pmi.MembraneRestraint_get_score(self, prob)
514 def get_probability_above(self, z, z_slope_center_upper):
515 """get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
516 return _IMP_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
519 def get_score_above(self, z, z_slope_center_upper):
520 """get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
521 return _IMP_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
524 def get_probability_below(self, z, z_slope_center_lower):
525 """get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
526 return _IMP_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
529 def get_score_below(self, z, z_slope_center_lower):
530 """get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
531 return _IMP_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
534 def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
535 """get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
536 return _IMP_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
540 """__str__(MembraneRestraint self) -> std::string"""
541 return _IMP_pmi.MembraneRestraint___str__(self)
545 """__repr__(MembraneRestraint self) -> std::string"""
546 return _IMP_pmi.MembraneRestraint___repr__(self)
551 return _object_cast_to_MembraneRestraint(o)
553 MembraneRestraint_swigregister = _IMP_pmi.MembraneRestraint_swigregister
554 MembraneRestraint_swigregister(MembraneRestraint)
557 """Proxy of C++ IMP::pmi::CompositeRestraint class."""
559 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
563 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
564 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
566 this = _IMP_pmi.new_CompositeRestraint(*args)
568 self.this.append(this)
569 except __builtin__.Exception:
572 def add_composite_particle(self, pi):
573 """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
574 return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
577 def get_number_of_elements(self):
578 """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
579 return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
582 def do_get_inputs(self):
583 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
584 return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
587 def get_version_info(self):
588 """get_version_info(CompositeRestraint self) -> VersionInfo"""
589 return _IMP_pmi.CompositeRestraint_get_version_info(self)
592 def get_probability(self):
593 """get_probability(CompositeRestraint self) -> double"""
594 return _IMP_pmi.CompositeRestraint_get_probability(self)
598 """__str__(CompositeRestraint self) -> std::string"""
599 return _IMP_pmi.CompositeRestraint___str__(self)
603 """__repr__(CompositeRestraint self) -> std::string"""
604 return _IMP_pmi.CompositeRestraint___repr__(self)
609 return _object_cast_to_CompositeRestraint(o)
611 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
612 CompositeRestraint_swigregister(CompositeRestraint)
615 """Proxy of C++ IMP::pmi::Uncertainty class."""
617 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
619 def get_uncertainty(self):
620 """get_uncertainty(Uncertainty self) -> IMP::Float"""
621 return _IMP_pmi.Uncertainty_get_uncertainty(self)
624 def set_uncertainty(self, d):
625 """set_uncertainty(Uncertainty self, IMP::Float d)"""
626 return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
631 __init__(IMP::pmi::Uncertainty self) -> Uncertainty
632 __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
633 __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
635 this = _IMP_pmi.new_Uncertainty(*args)
637 self.this.append(this)
638 except __builtin__.Exception:
641 def get_is_setup(*args):
643 get_is_setup(Model m, ParticleIndex pi) -> bool
644 get_is_setup(_ParticleAdaptor p) -> bool
646 return _IMP_pmi.Uncertainty_get_is_setup(*args)
648 get_is_setup = staticmethod(get_is_setup)
650 def show(self, *args):
652 show(Uncertainty self, _ostream out)
653 show(Uncertainty self)
655 return _IMP_pmi.Uncertainty_show(self, *args)
658 def setup_particle(*args):
660 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
661 setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
663 return _IMP_pmi.Uncertainty_setup_particle(*args)
665 setup_particle = staticmethod(setup_particle)
667 def get_uncertainty_key():
668 """get_uncertainty_key() -> FloatKey"""
669 return _IMP_pmi.Uncertainty_get_uncertainty_key()
671 get_uncertainty_key = staticmethod(get_uncertainty_key)
673 def add_attribute(self, *args):
675 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
676 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
677 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
678 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
679 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
680 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
682 return _IMP_pmi.Uncertainty_add_attribute(self, *args)
685 def get_value(self, *args):
687 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
688 get_value(Uncertainty self, IntKey a0) -> IMP::Int
689 get_value(Uncertainty self, StringKey a0) -> IMP::String
690 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
691 get_value(Uncertainty self, ObjectKey a0) -> Object
693 return _IMP_pmi.Uncertainty_get_value(self, *args)
696 def set_value(self, *args):
698 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
699 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
700 set_value(Uncertainty self, StringKey a0, IMP::String a1)
701 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
702 set_value(Uncertainty self, ObjectKey a0, Object a1)
704 return _IMP_pmi.Uncertainty_set_value(self, *args)
707 def remove_attribute(self, *args):
709 remove_attribute(Uncertainty self, FloatKey a0)
710 remove_attribute(Uncertainty self, IntKey a0)
711 remove_attribute(Uncertainty self, StringKey a0)
712 remove_attribute(Uncertainty self, ParticleIndexKey a0)
713 remove_attribute(Uncertainty self, ObjectKey a0)
715 return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
718 def has_attribute(self, *args):
720 has_attribute(Uncertainty self, FloatKey a0) -> bool
721 has_attribute(Uncertainty self, IntKey a0) -> bool
722 has_attribute(Uncertainty self, StringKey a0) -> bool
723 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
724 has_attribute(Uncertainty self, ObjectKey a0) -> bool
726 return _IMP_pmi.Uncertainty_has_attribute(self, *args)
729 def get_derivative(self, a0):
730 """get_derivative(Uncertainty self, FloatKey a0) -> double"""
731 return _IMP_pmi.Uncertainty_get_derivative(self, a0)
735 """get_name(Uncertainty self) -> std::string"""
736 return _IMP_pmi.Uncertainty_get_name(self)
739 def clear_caches(self):
740 """clear_caches(Uncertainty self)"""
741 return _IMP_pmi.Uncertainty_clear_caches(self)
744 def set_name(self, a0):
745 """set_name(Uncertainty self, std::string a0)"""
746 return _IMP_pmi.Uncertainty_set_name(self, a0)
750 """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
751 return _IMP_pmi.Uncertainty_set_check_level(self, a0)
754 def add_to_derivative(self, a0, a1, a2):
755 """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
756 return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
759 def set_is_optimized(self, a0, a1):
760 """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
761 return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
764 def get_is_optimized(self, a0):
765 """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
766 return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
770 """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
771 return _IMP_pmi.Uncertainty_get_check_level(self)
774 def __eq__(self, *args):
776 __eq__(Uncertainty self, Uncertainty o) -> bool
777 __eq__(Uncertainty self, Particle d) -> bool
779 return _IMP_pmi.Uncertainty___eq__(self, *args)
782 def __ne__(self, *args):
784 __ne__(Uncertainty self, Uncertainty o) -> bool
785 __ne__(Uncertainty self, Particle d) -> bool
787 return _IMP_pmi.Uncertainty___ne__(self, *args)
790 def __le__(self, *args):
792 __le__(Uncertainty self, Uncertainty o) -> bool
793 __le__(Uncertainty self, Particle d) -> bool
795 return _IMP_pmi.Uncertainty___le__(self, *args)
798 def __lt__(self, *args):
800 __lt__(Uncertainty self, Uncertainty o) -> bool
801 __lt__(Uncertainty self, Particle d) -> bool
803 return _IMP_pmi.Uncertainty___lt__(self, *args)
806 def __ge__(self, *args):
808 __ge__(Uncertainty self, Uncertainty o) -> bool
809 __ge__(Uncertainty self, Particle d) -> bool
811 return _IMP_pmi.Uncertainty___ge__(self, *args)
814 def __gt__(self, *args):
816 __gt__(Uncertainty self, Uncertainty o) -> bool
817 __gt__(Uncertainty self, Particle d) -> bool
819 return _IMP_pmi.Uncertainty___gt__(self, *args)
823 """__hash__(Uncertainty self) -> std::size_t"""
824 return _IMP_pmi.Uncertainty___hash__(self)
828 """__str__(Uncertainty self) -> std::string"""
829 return _IMP_pmi.Uncertainty___str__(self)
833 """__repr__(Uncertainty self) -> std::string"""
834 return _IMP_pmi.Uncertainty___repr__(self)
836 __swig_destroy__ = _IMP_pmi.delete_Uncertainty
837 __del__ =
lambda self:
None
838 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
839 Uncertainty_swigregister(Uncertainty)
841 def Uncertainty_get_is_setup(*args):
843 get_is_setup(Model m, ParticleIndex pi) -> bool
844 Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
846 return _IMP_pmi.Uncertainty_get_is_setup(*args)
848 def Uncertainty_setup_particle(*args):
850 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
851 Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
853 return _IMP_pmi.Uncertainty_setup_particle(*args)
855 def Uncertainty_get_uncertainty_key():
856 """Uncertainty_get_uncertainty_key() -> FloatKey"""
857 return _IMP_pmi.Uncertainty_get_uncertainty_key()
860 """Proxy of C++ IMP::pmi::Resolution class."""
862 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
865 """get_resolution(Resolution self) -> IMP::Float"""
866 return _IMP_pmi.Resolution_get_resolution(self)
869 def set_resolution(self, d):
870 """set_resolution(Resolution self, IMP::Float d)"""
871 return _IMP_pmi.Resolution_set_resolution(self, d)
876 __init__(IMP::pmi::Resolution self) -> Resolution
877 __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
878 __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
880 this = _IMP_pmi.new_Resolution(*args)
882 self.this.append(this)
883 except __builtin__.Exception:
886 def get_is_setup(*args):
888 get_is_setup(Model m, ParticleIndex pi) -> bool
889 get_is_setup(_ParticleAdaptor p) -> bool
891 return _IMP_pmi.Resolution_get_is_setup(*args)
893 get_is_setup = staticmethod(get_is_setup)
895 def show(self, *args):
897 show(Resolution self, _ostream out)
898 show(Resolution self)
900 return _IMP_pmi.Resolution_show(self, *args)
903 def setup_particle(*args):
905 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
906 setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
908 return _IMP_pmi.Resolution_setup_particle(*args)
910 setup_particle = staticmethod(setup_particle)
912 def get_resolution_key():
913 """get_resolution_key() -> FloatKey"""
914 return _IMP_pmi.Resolution_get_resolution_key()
916 get_resolution_key = staticmethod(get_resolution_key)
918 def add_attribute(self, *args):
920 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
921 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
922 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
923 add_attribute(Resolution self, StringKey a0, IMP::String a1)
924 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
925 add_attribute(Resolution self, ObjectKey a0, Object a1)
927 return _IMP_pmi.Resolution_add_attribute(self, *args)
930 def get_value(self, *args):
932 get_value(Resolution self, FloatKey a0) -> IMP::Float
933 get_value(Resolution self, IntKey a0) -> IMP::Int
934 get_value(Resolution self, StringKey a0) -> IMP::String
935 get_value(Resolution self, ParticleIndexKey a0) -> Particle
936 get_value(Resolution self, ObjectKey a0) -> Object
938 return _IMP_pmi.Resolution_get_value(self, *args)
941 def set_value(self, *args):
943 set_value(Resolution self, FloatKey a0, IMP::Float a1)
944 set_value(Resolution self, IntKey a0, IMP::Int a1)
945 set_value(Resolution self, StringKey a0, IMP::String a1)
946 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
947 set_value(Resolution self, ObjectKey a0, Object a1)
949 return _IMP_pmi.Resolution_set_value(self, *args)
952 def remove_attribute(self, *args):
954 remove_attribute(Resolution self, FloatKey a0)
955 remove_attribute(Resolution self, IntKey a0)
956 remove_attribute(Resolution self, StringKey a0)
957 remove_attribute(Resolution self, ParticleIndexKey a0)
958 remove_attribute(Resolution self, ObjectKey a0)
960 return _IMP_pmi.Resolution_remove_attribute(self, *args)
963 def has_attribute(self, *args):
965 has_attribute(Resolution self, FloatKey a0) -> bool
966 has_attribute(Resolution self, IntKey a0) -> bool
967 has_attribute(Resolution self, StringKey a0) -> bool
968 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
969 has_attribute(Resolution self, ObjectKey a0) -> bool
971 return _IMP_pmi.Resolution_has_attribute(self, *args)
974 def get_derivative(self, a0):
975 """get_derivative(Resolution self, FloatKey a0) -> double"""
976 return _IMP_pmi.Resolution_get_derivative(self, a0)
980 """get_name(Resolution self) -> std::string"""
981 return _IMP_pmi.Resolution_get_name(self)
984 def clear_caches(self):
985 """clear_caches(Resolution self)"""
986 return _IMP_pmi.Resolution_clear_caches(self)
989 def set_name(self, a0):
990 """set_name(Resolution self, std::string a0)"""
991 return _IMP_pmi.Resolution_set_name(self, a0)
995 """set_check_level(Resolution self, IMP::CheckLevel a0)"""
996 return _IMP_pmi.Resolution_set_check_level(self, a0)
999 def add_to_derivative(self, a0, a1, a2):
1000 """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1001 return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1004 def set_is_optimized(self, a0, a1):
1005 """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1006 return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1009 def get_is_optimized(self, a0):
1010 """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1011 return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1015 """get_check_level(Resolution self) -> IMP::CheckLevel"""
1016 return _IMP_pmi.Resolution_get_check_level(self)
1019 def __eq__(self, *args):
1021 __eq__(Resolution self, Resolution o) -> bool
1022 __eq__(Resolution self, Particle d) -> bool
1024 return _IMP_pmi.Resolution___eq__(self, *args)
1027 def __ne__(self, *args):
1029 __ne__(Resolution self, Resolution o) -> bool
1030 __ne__(Resolution self, Particle d) -> bool
1032 return _IMP_pmi.Resolution___ne__(self, *args)
1035 def __le__(self, *args):
1037 __le__(Resolution self, Resolution o) -> bool
1038 __le__(Resolution self, Particle d) -> bool
1040 return _IMP_pmi.Resolution___le__(self, *args)
1043 def __lt__(self, *args):
1045 __lt__(Resolution self, Resolution o) -> bool
1046 __lt__(Resolution self, Particle d) -> bool
1048 return _IMP_pmi.Resolution___lt__(self, *args)
1051 def __ge__(self, *args):
1053 __ge__(Resolution self, Resolution o) -> bool
1054 __ge__(Resolution self, Particle d) -> bool
1056 return _IMP_pmi.Resolution___ge__(self, *args)
1059 def __gt__(self, *args):
1061 __gt__(Resolution self, Resolution o) -> bool
1062 __gt__(Resolution self, Particle d) -> bool
1064 return _IMP_pmi.Resolution___gt__(self, *args)
1068 """__hash__(Resolution self) -> std::size_t"""
1069 return _IMP_pmi.Resolution___hash__(self)
1073 """__str__(Resolution self) -> std::string"""
1074 return _IMP_pmi.Resolution___str__(self)
1078 """__repr__(Resolution self) -> std::string"""
1079 return _IMP_pmi.Resolution___repr__(self)
1081 __swig_destroy__ = _IMP_pmi.delete_Resolution
1082 __del__ =
lambda self:
None
1083 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1084 Resolution_swigregister(Resolution)
1086 def Resolution_get_is_setup(*args):
1088 get_is_setup(Model m, ParticleIndex pi) -> bool
1089 Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1091 return _IMP_pmi.Resolution_get_is_setup(*args)
1093 def Resolution_setup_particle(*args):
1095 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1096 Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1098 return _IMP_pmi.Resolution_setup_particle(*args)
1100 def Resolution_get_resolution_key():
1101 """Resolution_get_resolution_key() -> FloatKey"""
1102 return _IMP_pmi.Resolution_get_resolution_key()
1105 """Proxy of C++ IMP::pmi::Symmetric class."""
1107 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1109 def get_symmetric(self):
1110 """get_symmetric(Symmetric self) -> IMP::Float"""
1111 return _IMP_pmi.Symmetric_get_symmetric(self)
1114 def set_symmetric(self, d):
1115 """set_symmetric(Symmetric self, IMP::Float d)"""
1116 return _IMP_pmi.Symmetric_set_symmetric(self, d)
1121 __init__(IMP::pmi::Symmetric self) -> Symmetric
1122 __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1123 __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1125 this = _IMP_pmi.new_Symmetric(*args)
1127 self.this.append(this)
1128 except __builtin__.Exception:
1131 def get_is_setup(*args):
1133 get_is_setup(Model m, ParticleIndex pi) -> bool
1134 get_is_setup(_ParticleAdaptor p) -> bool
1136 return _IMP_pmi.Symmetric_get_is_setup(*args)
1138 get_is_setup = staticmethod(get_is_setup)
1140 def show(self, *args):
1142 show(Symmetric self, _ostream out)
1143 show(Symmetric self)
1145 return _IMP_pmi.Symmetric_show(self, *args)
1148 def setup_particle(*args):
1150 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1151 setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1153 return _IMP_pmi.Symmetric_setup_particle(*args)
1155 setup_particle = staticmethod(setup_particle)
1157 def get_symmetric_key():
1158 """get_symmetric_key() -> FloatKey"""
1159 return _IMP_pmi.Symmetric_get_symmetric_key()
1161 get_symmetric_key = staticmethod(get_symmetric_key)
1163 def add_attribute(self, *args):
1165 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1166 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1167 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1168 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1169 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1170 add_attribute(Symmetric self, ObjectKey a0, Object a1)
1172 return _IMP_pmi.Symmetric_add_attribute(self, *args)
1175 def get_value(self, *args):
1177 get_value(Symmetric self, FloatKey a0) -> IMP::Float
1178 get_value(Symmetric self, IntKey a0) -> IMP::Int
1179 get_value(Symmetric self, StringKey a0) -> IMP::String
1180 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1181 get_value(Symmetric self, ObjectKey a0) -> Object
1183 return _IMP_pmi.Symmetric_get_value(self, *args)
1186 def set_value(self, *args):
1188 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1189 set_value(Symmetric self, IntKey a0, IMP::Int a1)
1190 set_value(Symmetric self, StringKey a0, IMP::String a1)
1191 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1192 set_value(Symmetric self, ObjectKey a0, Object a1)
1194 return _IMP_pmi.Symmetric_set_value(self, *args)
1197 def remove_attribute(self, *args):
1199 remove_attribute(Symmetric self, FloatKey a0)
1200 remove_attribute(Symmetric self, IntKey a0)
1201 remove_attribute(Symmetric self, StringKey a0)
1202 remove_attribute(Symmetric self, ParticleIndexKey a0)
1203 remove_attribute(Symmetric self, ObjectKey a0)
1205 return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1208 def has_attribute(self, *args):
1210 has_attribute(Symmetric self, FloatKey a0) -> bool
1211 has_attribute(Symmetric self, IntKey a0) -> bool
1212 has_attribute(Symmetric self, StringKey a0) -> bool
1213 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1214 has_attribute(Symmetric self, ObjectKey a0) -> bool
1216 return _IMP_pmi.Symmetric_has_attribute(self, *args)
1219 def get_derivative(self, a0):
1220 """get_derivative(Symmetric self, FloatKey a0) -> double"""
1221 return _IMP_pmi.Symmetric_get_derivative(self, a0)
1225 """get_name(Symmetric self) -> std::string"""
1226 return _IMP_pmi.Symmetric_get_name(self)
1229 def clear_caches(self):
1230 """clear_caches(Symmetric self)"""
1231 return _IMP_pmi.Symmetric_clear_caches(self)
1234 def set_name(self, a0):
1235 """set_name(Symmetric self, std::string a0)"""
1236 return _IMP_pmi.Symmetric_set_name(self, a0)
1240 """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1241 return _IMP_pmi.Symmetric_set_check_level(self, a0)
1244 def add_to_derivative(self, a0, a1, a2):
1245 """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1246 return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1249 def set_is_optimized(self, a0, a1):
1250 """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1251 return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1254 def get_is_optimized(self, a0):
1255 """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1256 return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1260 """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1261 return _IMP_pmi.Symmetric_get_check_level(self)
1264 def __eq__(self, *args):
1266 __eq__(Symmetric self, Symmetric o) -> bool
1267 __eq__(Symmetric self, Particle d) -> bool
1269 return _IMP_pmi.Symmetric___eq__(self, *args)
1272 def __ne__(self, *args):
1274 __ne__(Symmetric self, Symmetric o) -> bool
1275 __ne__(Symmetric self, Particle d) -> bool
1277 return _IMP_pmi.Symmetric___ne__(self, *args)
1280 def __le__(self, *args):
1282 __le__(Symmetric self, Symmetric o) -> bool
1283 __le__(Symmetric self, Particle d) -> bool
1285 return _IMP_pmi.Symmetric___le__(self, *args)
1288 def __lt__(self, *args):
1290 __lt__(Symmetric self, Symmetric o) -> bool
1291 __lt__(Symmetric self, Particle d) -> bool
1293 return _IMP_pmi.Symmetric___lt__(self, *args)
1296 def __ge__(self, *args):
1298 __ge__(Symmetric self, Symmetric o) -> bool
1299 __ge__(Symmetric self, Particle d) -> bool
1301 return _IMP_pmi.Symmetric___ge__(self, *args)
1304 def __gt__(self, *args):
1306 __gt__(Symmetric self, Symmetric o) -> bool
1307 __gt__(Symmetric self, Particle d) -> bool
1309 return _IMP_pmi.Symmetric___gt__(self, *args)
1313 """__hash__(Symmetric self) -> std::size_t"""
1314 return _IMP_pmi.Symmetric___hash__(self)
1318 """__str__(Symmetric self) -> std::string"""
1319 return _IMP_pmi.Symmetric___str__(self)
1323 """__repr__(Symmetric self) -> std::string"""
1324 return _IMP_pmi.Symmetric___repr__(self)
1326 __swig_destroy__ = _IMP_pmi.delete_Symmetric
1327 __del__ =
lambda self:
None
1328 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1329 Symmetric_swigregister(Symmetric)
1331 def Symmetric_get_is_setup(*args):
1333 get_is_setup(Model m, ParticleIndex pi) -> bool
1334 Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1336 return _IMP_pmi.Symmetric_get_is_setup(*args)
1338 def Symmetric_setup_particle(*args):
1340 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1341 Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1343 return _IMP_pmi.Symmetric_setup_particle(*args)
1345 def Symmetric_get_symmetric_key():
1346 """Symmetric_get_symmetric_key() -> FloatKey"""
1347 return _IMP_pmi.Symmetric_get_symmetric_key()
1350 """Proxy of C++ IMP::pmi::SigmoidRestraintSphere class."""
1352 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1356 __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
1357 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1358 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude) -> SigmoidRestraintSphere
1360 this = _IMP_pmi.new_SigmoidRestraintSphere(*args)
1362 self.this.append(this)
1363 except __builtin__.Exception:
1366 def set_amplitude(self, amplitude):
1367 """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1368 return _IMP_pmi.SigmoidRestraintSphere_set_amplitude(self, amplitude)
1371 def increment_amplitude(self, amplitude):
1372 """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1373 return _IMP_pmi.SigmoidRestraintSphere_increment_amplitude(self, amplitude)
1376 def get_amplitude(self):
1377 """get_amplitude(SigmoidRestraintSphere self) -> double"""
1378 return _IMP_pmi.SigmoidRestraintSphere_get_amplitude(self)
1381 def do_get_inputs(self):
1382 """do_get_inputs(SigmoidRestraintSphere self) -> IMP::ModelObjectsTemp"""
1383 return _IMP_pmi.SigmoidRestraintSphere_do_get_inputs(self)
1386 def get_version_info(self):
1387 """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1388 return _IMP_pmi.SigmoidRestraintSphere_get_version_info(self)
1392 """__str__(SigmoidRestraintSphere self) -> std::string"""
1393 return _IMP_pmi.SigmoidRestraintSphere___str__(self)
1397 """__repr__(SigmoidRestraintSphere self) -> std::string"""
1398 return _IMP_pmi.SigmoidRestraintSphere___repr__(self)
1403 return _object_cast_to_SigmoidRestraintSphere(o)
1405 SigmoidRestraintSphere_swigregister = _IMP_pmi.SigmoidRestraintSphere_swigregister
1406 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1409 """Proxy of C++ IMP::pmi::TransformMover class."""
1411 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1415 __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1416 __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1417 __init__(IMP::pmi::TransformMover self, Model m, _ParticleIndexAdaptor p1i, _ParticleIndexAdaptor p2i, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1419 this = _IMP_pmi.new_TransformMover(*args)
1421 self.this.append(this)
1422 except __builtin__.Exception:
1425 def add_xyz_particle(self, pi):
1426 """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1427 return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1430 def add_rigid_body_particle(self, pi):
1431 """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1432 return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1435 def set_maximum_translation(self, mt):
1436 """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1437 return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1440 def set_maximum_rotation(self, mr):
1441 """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1442 return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1445 def get_maximum_translation(self):
1446 """get_maximum_translation(TransformMover self) -> IMP::Float"""
1447 return _IMP_pmi.TransformMover_get_maximum_translation(self)
1450 def get_maximum_rotation(self):
1451 """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1452 return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1455 def get_last_transformation(self):
1456 """get_last_transformation(TransformMover self) -> Transformation3D"""
1457 return _IMP_pmi.TransformMover_get_last_transformation(self)
1460 def get_version_info(self):
1461 """get_version_info(TransformMover self) -> VersionInfo"""
1462 return _IMP_pmi.TransformMover_get_version_info(self)
1466 """__str__(TransformMover self) -> std::string"""
1467 return _IMP_pmi.TransformMover___str__(self)
1471 """__repr__(TransformMover self) -> std::string"""
1472 return _IMP_pmi.TransformMover___repr__(self)
1477 return _object_cast_to_TransformMover(o)
1479 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1480 TransformMover_swigregister(TransformMover)
1484 """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1485 return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1487 def get_dihedral_angle(p1, p2, p3, p4):
1488 """get_dihedral_angle(Atom p1, Atom p2, Atom p3, Atom p4) -> IMP::Float"""
1489 return _IMP_pmi.get_dihedral_angle(p1, p2, p3, p4)
1491 def get_bipartite_minimum_sphere_distance(m1, m2):
1492 """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1493 return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1495 def get_list_of_bipartite_minimum_sphere_distance(pss):
1496 """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1497 return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1500 """get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1501 return _IMP_pmi.get_molecule_name_and_copy(h)
1504 """get_is_canonical(Hierarchy h) -> bool"""
1505 return _IMP_pmi.get_is_canonical(h)
1507 """Proxy of C++ IMP::pmi::InternalCoordinatesConstraint class."""
1509 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1512 """__init__(IMP::pmi::InternalCoordinatesConstraint self) -> InternalCoordinatesConstraint"""
1513 this = _IMP_pmi.new_InternalCoordinatesConstraint()
1515 self.this.append(this)
1516 except __builtin__.Exception:
1519 def do_get_inputs(self, m, pis):
1520 """do_get_inputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1521 return _IMP_pmi.InternalCoordinatesConstraint_do_get_inputs(self, m, pis)
1524 def do_get_outputs(self, m, pis):
1525 """do_get_outputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1526 return _IMP_pmi.InternalCoordinatesConstraint_do_get_outputs(self, m, pis)
1529 def get_version_info(self):
1530 """get_version_info(InternalCoordinatesConstraint self) -> VersionInfo"""
1531 return _IMP_pmi.InternalCoordinatesConstraint_get_version_info(self)
1535 """__str__(InternalCoordinatesConstraint self) -> std::string"""
1536 return _IMP_pmi.InternalCoordinatesConstraint___str__(self)
1540 """__repr__(InternalCoordinatesConstraint self) -> std::string"""
1541 return _IMP_pmi.InternalCoordinatesConstraint___repr__(self)
1546 return _object_cast_to_InternalCoordinatesConstraint(o)
1548 InternalCoordinatesConstraint_swigregister = _IMP_pmi.InternalCoordinatesConstraint_swigregister
1549 InternalCoordinatesConstraint_swigregister(InternalCoordinatesConstraint)
1552 def get_module_version():
1553 """get_module_version() -> std::string const"""
1554 return _IMP_pmi.get_module_version()
1557 """get_example_path(std::string fname) -> std::string"""
1558 return _IMP_pmi.get_example_path(fname)
1561 """get_data_path(std::string fname) -> std::string"""
1562 return _IMP_pmi.get_data_path(fname)
1564 from .
import _version_check
1565 _version_check.check_version(get_module_version())
1566 __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.
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.