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_pmi1')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_pmi1')
25 _IMP_pmi1 = 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_pmi1', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_pmi1', fp, pathname, description)
43 _IMP_pmi1 = 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_PMI1_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_PMI1_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_pmi1.delete_IMP_PMI1_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_PMI1_SwigPyIterator self) -> PyObject *"""
126 return _IMP_pmi1.IMP_PMI1_SwigPyIterator_value(self)
131 incr(IMP_PMI1_SwigPyIterator self, size_t n=1) -> IMP_PMI1_SwigPyIterator
132 incr(IMP_PMI1_SwigPyIterator self) -> IMP_PMI1_SwigPyIterator
134 return _IMP_pmi1.IMP_PMI1_SwigPyIterator_incr(self, n)
139 decr(IMP_PMI1_SwigPyIterator self, size_t n=1) -> IMP_PMI1_SwigPyIterator
140 decr(IMP_PMI1_SwigPyIterator self) -> IMP_PMI1_SwigPyIterator
142 return _IMP_pmi1.IMP_PMI1_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_PMI1_SwigPyIterator self, IMP_PMI1_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_pmi1.IMP_PMI1_SwigPyIterator_distance(self, x)
151 """equal(IMP_PMI1_SwigPyIterator self, IMP_PMI1_SwigPyIterator x) -> bool"""
152 return _IMP_pmi1.IMP_PMI1_SwigPyIterator_equal(self, x)
156 """copy(IMP_PMI1_SwigPyIterator self) -> IMP_PMI1_SwigPyIterator"""
157 return _IMP_pmi1.IMP_PMI1_SwigPyIterator_copy(self)
161 """next(IMP_PMI1_SwigPyIterator self) -> PyObject *"""
162 return _IMP_pmi1.IMP_PMI1_SwigPyIterator_next(self)
166 """__next__(IMP_PMI1_SwigPyIterator self) -> PyObject *"""
167 return _IMP_pmi1.IMP_PMI1_SwigPyIterator___next__(self)
171 """previous(IMP_PMI1_SwigPyIterator self) -> PyObject *"""
172 return _IMP_pmi1.IMP_PMI1_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_PMI1_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI1_SwigPyIterator"""
177 return _IMP_pmi1.IMP_PMI1_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_PMI1_SwigPyIterator self, IMP_PMI1_SwigPyIterator x) -> bool"""
182 return _IMP_pmi1.IMP_PMI1_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_PMI1_SwigPyIterator self, IMP_PMI1_SwigPyIterator x) -> bool"""
187 return _IMP_pmi1.IMP_PMI1_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_PMI1_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI1_SwigPyIterator"""
192 return _IMP_pmi1.IMP_PMI1_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_PMI1_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI1_SwigPyIterator"""
197 return _IMP_pmi1.IMP_PMI1_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_PMI1_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI1_SwigPyIterator"""
202 return _IMP_pmi1.IMP_PMI1_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_PMI1_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI1_SwigPyIterator
208 __sub__(IMP_PMI1_SwigPyIterator self, IMP_PMI1_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_pmi1.IMP_PMI1_SwigPyIterator___sub__(self, *args)
214 IMP_PMI1_SwigPyIterator_swigregister = _IMP_pmi1.IMP_PMI1_SwigPyIterator_swigregister
215 IMP_PMI1_SwigPyIterator_swigregister(IMP_PMI1_SwigPyIterator)
223 IMP_DEBUG = _IMP_pmi1.IMP_DEBUG
224 IMP_RELEASE = _IMP_pmi1.IMP_RELEASE
225 IMP_SILENT = _IMP_pmi1.IMP_SILENT
226 IMP_PROGRESS = _IMP_pmi1.IMP_PROGRESS
227 IMP_TERSE = _IMP_pmi1.IMP_TERSE
228 IMP_VERBOSE = _IMP_pmi1.IMP_VERBOSE
229 IMP_MEMORY = _IMP_pmi1.IMP_MEMORY
230 IMP_NONE = _IMP_pmi1.IMP_NONE
231 IMP_USAGE = _IMP_pmi1.IMP_USAGE
232 IMP_INTERNAL = _IMP_pmi1.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_pmi1.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_pmi1.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_pmi1.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_pmi1.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_pmi1.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_pmi1.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi1.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi1.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi1.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_pmi1._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_pmi1._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi1.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_pmi1.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_pmi1.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_pmi1.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_pmi1.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_pmi1.IMPCGAL_SHOW_WARNINGS
298 IMP_MMCIF_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_MMCIF_HAS_BOOST_FILESYSTEM
299 IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS
300 IMP_MMCIF_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_MMCIF_HAS_BOOST_RANDOM
301 IMP_MMCIF_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_MMCIF_HAS_BOOST_SYSTEM
302 IMP_MMCIF_HAS_NUMPY = _IMP_pmi1.IMP_MMCIF_HAS_NUMPY
303 IMPMMCIF_SHOW_WARNINGS = _IMP_pmi1.IMPMMCIF_SHOW_WARNINGS
305 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi1.IMP_ALGEBRA_HAS_IMP_CGAL
306 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
307 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
308 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_ALGEBRA_HAS_BOOST_RANDOM
309 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_ALGEBRA_HAS_BOOST_SYSTEM
310 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi1.IMP_ALGEBRA_HAS_CGAL
311 IMP_ALGEBRA_HAS_NUMPY = _IMP_pmi1.IMP_ALGEBRA_HAS_NUMPY
312 IMP_ALGEBRA_HAS_ANN = _IMP_pmi1.IMP_ALGEBRA_HAS_ANN
313 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi1.IMPALGEBRA_SHOW_WARNINGS
315 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi1.IMP_DISPLAY_HAS_IMP_CGAL
316 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
317 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
318 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_DISPLAY_HAS_BOOST_RANDOM
319 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_DISPLAY_HAS_BOOST_SYSTEM
320 IMP_DISPLAY_HAS_CGAL = _IMP_pmi1.IMP_DISPLAY_HAS_CGAL
321 IMP_DISPLAY_HAS_NUMPY = _IMP_pmi1.IMP_DISPLAY_HAS_NUMPY
322 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi1.IMPDISPLAY_SHOW_WARNINGS
324 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi1.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
325 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
326 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
327 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
328 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
329 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi1.IMP_SCORE_FUNCTOR_HAS_CGAL
330 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi1.IMP_SCORE_FUNCTOR_HAS_HDF5
331 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_pmi1.IMP_SCORE_FUNCTOR_HAS_NUMPY
332 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi1.IMPSCOREFUNCTOR_SHOW_WARNINGS
334 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi1.IMP_STATISTICS_HAS_IMP_CGAL
335 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
336 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
337 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_STATISTICS_HAS_BOOST_RANDOM
338 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_STATISTICS_HAS_BOOST_SYSTEM
339 IMP_STATISTICS_HAS_CGAL = _IMP_pmi1.IMP_STATISTICS_HAS_CGAL
340 IMP_STATISTICS_HAS_NUMPY = _IMP_pmi1.IMP_STATISTICS_HAS_NUMPY
341 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi1.IMPSTATISTICS_SHOW_WARNINGS
343 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi1.IMP_CORE_HAS_IMP_CGAL
344 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi1.IMP_CORE_HAS_IMP_KERNEL
345 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_CORE_HAS_BOOST_FILESYSTEM
346 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
347 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_CORE_HAS_BOOST_RANDOM
348 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_CORE_HAS_BOOST_SYSTEM
349 IMP_CORE_HAS_CGAL = _IMP_pmi1.IMP_CORE_HAS_CGAL
350 IMP_CORE_HAS_HDF5 = _IMP_pmi1.IMP_CORE_HAS_HDF5
351 IMP_CORE_HAS_NUMPY = _IMP_pmi1.IMP_CORE_HAS_NUMPY
352 IMPCORE_SHOW_WARNINGS = _IMP_pmi1.IMPCORE_SHOW_WARNINGS
354 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi1.IMP_CONTAINER_HAS_IMP_ALGEBRA
355 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi1.IMP_CONTAINER_HAS_IMP_CGAL
356 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi1.IMP_CONTAINER_HAS_IMP_DISPLAY
357 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi1.IMP_CONTAINER_HAS_IMP_KERNEL
358 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi1.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
359 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
360 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
361 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_CONTAINER_HAS_BOOST_RANDOM
362 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_CONTAINER_HAS_BOOST_SYSTEM
363 IMP_CONTAINER_HAS_CGAL = _IMP_pmi1.IMP_CONTAINER_HAS_CGAL
364 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi1.IMP_CONTAINER_HAS_HDF5
365 IMP_CONTAINER_HAS_NUMPY = _IMP_pmi1.IMP_CONTAINER_HAS_NUMPY
366 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_pmi1.IMP_CONTAINER_HAS_PYTHON_IHM
367 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_pmi1.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
368 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_pmi1.IMP_CONTAINER_HAS_ROBIN_MAP
369 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi1.IMPCONTAINER_SHOW_WARNINGS
371 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi1.IMP_ATOM_HAS_IMP_CGAL
372 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi1.IMP_ATOM_HAS_IMP_KERNEL
373 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi1.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
374 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
375 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_ATOM_HAS_BOOST_RANDOM
376 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi1.IMP_ATOM_HAS_BOOST_REGEX
377 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_ATOM_HAS_BOOST_SYSTEM
378 IMP_ATOM_HAS_CGAL = _IMP_pmi1.IMP_ATOM_HAS_CGAL
379 IMP_ATOM_HAS_HDF5 = _IMP_pmi1.IMP_ATOM_HAS_HDF5
380 IMP_ATOM_HAS_NUMPY = _IMP_pmi1.IMP_ATOM_HAS_NUMPY
381 IMP_ATOM_HAS_PYTHON_IHM = _IMP_pmi1.IMP_ATOM_HAS_PYTHON_IHM
382 IMPATOM_SHOW_WARNINGS = _IMP_pmi1.IMPATOM_SHOW_WARNINGS
383 IMP_ATOM_TYPE_INDEX = _IMP_pmi1.IMP_ATOM_TYPE_INDEX
384 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi1.IMP_RESIDUE_TYPE_INDEX
385 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi1.IMP_HIERARCHY_TYPE_INDEX
386 IMP_CHAIN_TYPE_INDEX = _IMP_pmi1.IMP_CHAIN_TYPE_INDEX
388 IMP_EM_HAS_IMP_CGAL = _IMP_pmi1.IMP_EM_HAS_IMP_CGAL
389 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi1.IMP_EM_HAS_IMP_CONTAINER
390 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi1.IMP_EM_HAS_IMP_DISPLAY
391 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi1.IMP_EM_HAS_IMP_SCORE_FUNCTOR
392 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_EM_HAS_BOOST_FILESYSTEM
393 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
394 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_EM_HAS_BOOST_RANDOM
395 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi1.IMP_EM_HAS_BOOST_REGEX
396 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_EM_HAS_BOOST_SYSTEM
397 IMP_EM_HAS_CGAL = _IMP_pmi1.IMP_EM_HAS_CGAL
398 IMP_EM_HAS_HDF5 = _IMP_pmi1.IMP_EM_HAS_HDF5
399 IMP_EM_HAS_NUMPY = _IMP_pmi1.IMP_EM_HAS_NUMPY
400 IMP_EM_HAS_PYTHON_IHM = _IMP_pmi1.IMP_EM_HAS_PYTHON_IHM
401 IMPEM_SHOW_WARNINGS = _IMP_pmi1.IMPEM_SHOW_WARNINGS
403 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi1.IMP_SAXS_HAS_IMP_CGAL
404 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi1.IMP_SAXS_HAS_IMP_CONTAINER
405 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi1.IMP_SAXS_HAS_IMP_DISPLAY
406 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi1.IMP_SAXS_HAS_IMP_KERNEL
407 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi1.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
408 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_SAXS_HAS_BOOST_FILESYSTEM
409 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
410 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_SAXS_HAS_BOOST_RANDOM
411 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi1.IMP_SAXS_HAS_BOOST_REGEX
412 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_SAXS_HAS_BOOST_SYSTEM
413 IMP_SAXS_HAS_CGAL = _IMP_pmi1.IMP_SAXS_HAS_CGAL
414 IMP_SAXS_HAS_HDF5 = _IMP_pmi1.IMP_SAXS_HAS_HDF5
415 IMP_SAXS_HAS_NUMPY = _IMP_pmi1.IMP_SAXS_HAS_NUMPY
416 IMP_SAXS_HAS_PYTHON_IHM = _IMP_pmi1.IMP_SAXS_HAS_PYTHON_IHM
417 IMPSAXS_SHOW_WARNINGS = _IMP_pmi1.IMPSAXS_SHOW_WARNINGS
419 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi1.IMP_ISD_HAS_IMP_CGAL
420 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi1.IMP_ISD_HAS_IMP_DISPLAY
421 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi1.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
422 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_ISD_HAS_BOOST_FILESYSTEM
423 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
424 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_ISD_HAS_BOOST_RANDOM
425 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi1.IMP_ISD_HAS_BOOST_REGEX
426 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_ISD_HAS_BOOST_SYSTEM
427 IMP_ISD_HAS_CGAL = _IMP_pmi1.IMP_ISD_HAS_CGAL
428 IMP_ISD_HAS_HDF5 = _IMP_pmi1.IMP_ISD_HAS_HDF5
429 IMP_ISD_HAS_NUMPY = _IMP_pmi1.IMP_ISD_HAS_NUMPY
430 IMP_ISD_HAS_PYTHON_IHM = _IMP_pmi1.IMP_ISD_HAS_PYTHON_IHM
431 IMPISD_SHOW_WARNINGS = _IMP_pmi1.IMPISD_SHOW_WARNINGS
433 IMP_PMI1_HAS_IMP_ALGEBRA = _IMP_pmi1.IMP_PMI1_HAS_IMP_ALGEBRA
434 IMP_PMI1_HAS_IMP_ATOM = _IMP_pmi1.IMP_PMI1_HAS_IMP_ATOM
435 IMP_PMI1_HAS_IMP_CGAL = _IMP_pmi1.IMP_PMI1_HAS_IMP_CGAL
436 IMP_PMI1_HAS_IMP_DISPLAY = _IMP_pmi1.IMP_PMI1_HAS_IMP_DISPLAY
437 IMP_PMI1_HAS_IMP_EM = _IMP_pmi1.IMP_PMI1_HAS_IMP_EM
438 IMP_PMI1_HAS_IMP_KERNEL = _IMP_pmi1.IMP_PMI1_HAS_IMP_KERNEL
439 IMP_PMI1_HAS_IMP_SAXS = _IMP_pmi1.IMP_PMI1_HAS_IMP_SAXS
440 IMP_PMI1_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi1.IMP_PMI1_HAS_IMP_SCORE_FUNCTOR
441 IMP_PMI1_HAS_IMP_STATISTICS = _IMP_pmi1.IMP_PMI1_HAS_IMP_STATISTICS
442 IMP_PMI1_HAS_BOOST_FILESYSTEM = _IMP_pmi1.IMP_PMI1_HAS_BOOST_FILESYSTEM
443 IMP_PMI1_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi1.IMP_PMI1_HAS_BOOST_PROGRAMOPTIONS
444 IMP_PMI1_HAS_BOOST_RANDOM = _IMP_pmi1.IMP_PMI1_HAS_BOOST_RANDOM
445 IMP_PMI1_HAS_BOOST_REGEX = _IMP_pmi1.IMP_PMI1_HAS_BOOST_REGEX
446 IMP_PMI1_HAS_BOOST_SYSTEM = _IMP_pmi1.IMP_PMI1_HAS_BOOST_SYSTEM
447 IMP_PMI1_HAS_CGAL = _IMP_pmi1.IMP_PMI1_HAS_CGAL
448 IMP_PMI1_HAS_HDF5 = _IMP_pmi1.IMP_PMI1_HAS_HDF5
449 IMP_PMI1_HAS_NUMPY = _IMP_pmi1.IMP_PMI1_HAS_NUMPY
450 IMP_PMI1_HAS_PYTHON_IHM = _IMP_pmi1.IMP_PMI1_HAS_PYTHON_IHM
451 IMPPMI1_SHOW_WARNINGS = _IMP_pmi1.IMPPMI1_SHOW_WARNINGS
455 "This module is provided to support legacy published applications "
456 "of IMP - it is no longer developed and should not be used for "
457 "new systems. Use the IMP.pmi module instead.")
461 _object_types.append(
"CompositeRestraint")
464 def _object_cast_to_CompositeRestraint(o):
465 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
466 return _IMP_pmi1._object_cast_to_CompositeRestraint(o)
468 def Uncertainties(l=[]):
469 return [Uncertainty(x)
for x
in l]
470 _plural_types.append(
"Uncertainties")
473 _value_types.append(
"Uncertainty")
476 def Resolutions(l=[]):
477 return [Resolution(x)
for x
in l]
478 _plural_types.append(
"Resolutions")
481 _value_types.append(
"Resolution")
484 def Symmetrics(l=[]):
485 return [Symmetric(x)
for x
in l]
486 _plural_types.append(
"Symmetrics")
489 _value_types.append(
"Symmetric")
492 _object_types.append(
"SigmoidRestraintSphere")
495 def _object_cast_to_SigmoidRestraintSphere(o):
496 """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
497 return _IMP_pmi1._object_cast_to_SigmoidRestraintSphere(o)
499 _object_types.append(
"TransformMover")
502 def _object_cast_to_TransformMover(o):
503 """_object_cast_to_TransformMover(Object o) -> TransformMover"""
504 return _IMP_pmi1._object_cast_to_TransformMover(o)
506 _object_types.append(
"MembraneRestraint")
509 def _object_cast_to_MembraneRestraint(o):
510 """_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
511 return _IMP_pmi1._object_cast_to_MembraneRestraint(o)
513 _object_types.append(
"InternalCoordinatesConstraint")
516 def _object_cast_to_InternalCoordinatesConstraint(o):
517 """_object_cast_to_InternalCoordinatesConstraint(Object o) -> InternalCoordinatesConstraint"""
518 return _IMP_pmi1._object_cast_to_InternalCoordinatesConstraint(o)
520 """Proxy of C++ IMP::pmi1::MembraneRestraint class."""
522 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
524 def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
525 """__init__(IMP::pmi1::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
526 this = _IMP_pmi1.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
528 self.this.append(this)
529 except __builtin__.Exception:
532 def add_particles_below(self, particles):
533 """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
534 return _IMP_pmi1.MembraneRestraint_add_particles_below(self, particles)
537 def add_particles_above(self, particles):
538 """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
539 return _IMP_pmi1.MembraneRestraint_add_particles_above(self, particles)
542 def add_particles_inside(self, particles):
543 """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
544 return _IMP_pmi1.MembraneRestraint_add_particles_inside(self, particles)
547 def get_score(self, prob):
548 """get_score(MembraneRestraint self, double prob) -> double"""
549 return _IMP_pmi1.MembraneRestraint_get_score(self, prob)
552 def get_probability_above(self, z, z_slope_center_upper):
553 """get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
554 return _IMP_pmi1.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
557 def get_score_above(self, z, z_slope_center_upper):
558 """get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
559 return _IMP_pmi1.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
562 def get_probability_below(self, z, z_slope_center_lower):
563 """get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
564 return _IMP_pmi1.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
567 def get_score_below(self, z, z_slope_center_lower):
568 """get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
569 return _IMP_pmi1.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
572 def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
573 """get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
574 return _IMP_pmi1.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
578 """__str__(MembraneRestraint self) -> std::string"""
579 return _IMP_pmi1.MembraneRestraint___str__(self)
583 """__repr__(MembraneRestraint self) -> std::string"""
584 return _IMP_pmi1.MembraneRestraint___repr__(self)
589 return _object_cast_to_MembraneRestraint(o)
591 MembraneRestraint_swigregister = _IMP_pmi1.MembraneRestraint_swigregister
592 MembraneRestraint_swigregister(MembraneRestraint)
595 """Proxy of C++ IMP::pmi1::CompositeRestraint class."""
597 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
599 def __init__(self, *args):
601 __init__(IMP::pmi1::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
602 __init__(IMP::pmi1::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
604 this = _IMP_pmi1.new_CompositeRestraint(*args)
606 self.this.append(this)
607 except __builtin__.Exception:
610 def add_composite_particle(self, pi):
611 """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
612 return _IMP_pmi1.CompositeRestraint_add_composite_particle(self, pi)
615 def get_number_of_elements(self):
616 """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
617 return _IMP_pmi1.CompositeRestraint_get_number_of_elements(self)
620 def do_get_inputs(self):
621 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
622 return _IMP_pmi1.CompositeRestraint_do_get_inputs(self)
625 def get_version_info(self):
626 """get_version_info(CompositeRestraint self) -> VersionInfo"""
627 return _IMP_pmi1.CompositeRestraint_get_version_info(self)
630 def get_probability(self):
631 """get_probability(CompositeRestraint self) -> double"""
632 return _IMP_pmi1.CompositeRestraint_get_probability(self)
636 """__str__(CompositeRestraint self) -> std::string"""
637 return _IMP_pmi1.CompositeRestraint___str__(self)
641 """__repr__(CompositeRestraint self) -> std::string"""
642 return _IMP_pmi1.CompositeRestraint___repr__(self)
647 return _object_cast_to_CompositeRestraint(o)
649 CompositeRestraint_swigregister = _IMP_pmi1.CompositeRestraint_swigregister
650 CompositeRestraint_swigregister(CompositeRestraint)
653 """Proxy of C++ IMP::pmi1::Uncertainty class."""
655 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
657 def get_uncertainty(self):
658 """get_uncertainty(Uncertainty self) -> IMP::Float"""
659 return _IMP_pmi1.Uncertainty_get_uncertainty(self)
662 def set_uncertainty(self, d):
663 """set_uncertainty(Uncertainty self, IMP::Float d)"""
664 return _IMP_pmi1.Uncertainty_set_uncertainty(self, d)
667 def __init__(self, *args):
669 __init__(IMP::pmi1::Uncertainty self) -> Uncertainty
670 __init__(IMP::pmi1::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
671 __init__(IMP::pmi1::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
673 this = _IMP_pmi1.new_Uncertainty(*args)
675 self.this.append(this)
676 except __builtin__.Exception:
679 def get_is_setup(*args):
681 get_is_setup(Model m, ParticleIndex pi) -> bool
682 get_is_setup(_ParticleAdaptor p) -> bool
684 return _IMP_pmi1.Uncertainty_get_is_setup(*args)
686 get_is_setup = staticmethod(get_is_setup)
688 def show(self, *args):
690 show(Uncertainty self, _ostream out)
691 show(Uncertainty self)
693 return _IMP_pmi1.Uncertainty_show(self, *args)
698 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
699 setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
701 return _IMP_pmi1.Uncertainty_setup_particle(*args)
703 setup_particle = staticmethod(setup_particle)
705 def get_uncertainty_key():
706 """get_uncertainty_key() -> FloatKey"""
707 return _IMP_pmi1.Uncertainty_get_uncertainty_key()
709 get_uncertainty_key = staticmethod(get_uncertainty_key)
711 def add_attribute(self, *args):
713 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
714 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
715 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
716 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
717 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
718 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
720 return _IMP_pmi1.Uncertainty_add_attribute(self, *args)
723 def get_value(self, *args):
725 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
726 get_value(Uncertainty self, IntKey a0) -> IMP::Int
727 get_value(Uncertainty self, StringKey a0) -> IMP::String
728 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
729 get_value(Uncertainty self, ObjectKey a0) -> Object
731 return _IMP_pmi1.Uncertainty_get_value(self, *args)
734 def set_value(self, *args):
736 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
737 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
738 set_value(Uncertainty self, StringKey a0, IMP::String a1)
739 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
740 set_value(Uncertainty self, ObjectKey a0, Object a1)
742 return _IMP_pmi1.Uncertainty_set_value(self, *args)
745 def remove_attribute(self, *args):
747 remove_attribute(Uncertainty self, FloatKey a0)
748 remove_attribute(Uncertainty self, IntKey a0)
749 remove_attribute(Uncertainty self, StringKey a0)
750 remove_attribute(Uncertainty self, ParticleIndexKey a0)
751 remove_attribute(Uncertainty self, ObjectKey a0)
753 return _IMP_pmi1.Uncertainty_remove_attribute(self, *args)
756 def has_attribute(self, *args):
758 has_attribute(Uncertainty self, FloatKey a0) -> bool
759 has_attribute(Uncertainty self, IntKey a0) -> bool
760 has_attribute(Uncertainty self, StringKey a0) -> bool
761 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
762 has_attribute(Uncertainty self, ObjectKey a0) -> bool
764 return _IMP_pmi1.Uncertainty_has_attribute(self, *args)
767 def get_derivative(self, a0):
768 """get_derivative(Uncertainty self, FloatKey a0) -> double"""
769 return _IMP_pmi1.Uncertainty_get_derivative(self, a0)
773 """get_name(Uncertainty self) -> std::string"""
774 return _IMP_pmi1.Uncertainty_get_name(self)
777 def clear_caches(self):
778 """clear_caches(Uncertainty self)"""
779 return _IMP_pmi1.Uncertainty_clear_caches(self)
782 def set_name(self, a0):
783 """set_name(Uncertainty self, std::string a0)"""
784 return _IMP_pmi1.Uncertainty_set_name(self, a0)
788 """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
789 return _IMP_pmi1.Uncertainty_set_check_level(self, a0)
792 def add_to_derivative(self, a0, a1, a2):
793 """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
794 return _IMP_pmi1.Uncertainty_add_to_derivative(self, a0, a1, a2)
797 def set_is_optimized(self, a0, a1):
798 """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
799 return _IMP_pmi1.Uncertainty_set_is_optimized(self, a0, a1)
802 def get_is_optimized(self, a0):
803 """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
804 return _IMP_pmi1.Uncertainty_get_is_optimized(self, a0)
808 """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
809 return _IMP_pmi1.Uncertainty_get_check_level(self)
812 def __eq__(self, *args):
814 __eq__(Uncertainty self, Uncertainty o) -> bool
815 __eq__(Uncertainty self, Particle d) -> bool
817 return _IMP_pmi1.Uncertainty___eq__(self, *args)
820 def __ne__(self, *args):
822 __ne__(Uncertainty self, Uncertainty o) -> bool
823 __ne__(Uncertainty self, Particle d) -> bool
825 return _IMP_pmi1.Uncertainty___ne__(self, *args)
828 def __le__(self, *args):
830 __le__(Uncertainty self, Uncertainty o) -> bool
831 __le__(Uncertainty self, Particle d) -> bool
833 return _IMP_pmi1.Uncertainty___le__(self, *args)
836 def __lt__(self, *args):
838 __lt__(Uncertainty self, Uncertainty o) -> bool
839 __lt__(Uncertainty self, Particle d) -> bool
841 return _IMP_pmi1.Uncertainty___lt__(self, *args)
844 def __ge__(self, *args):
846 __ge__(Uncertainty self, Uncertainty o) -> bool
847 __ge__(Uncertainty self, Particle d) -> bool
849 return _IMP_pmi1.Uncertainty___ge__(self, *args)
852 def __gt__(self, *args):
854 __gt__(Uncertainty self, Uncertainty o) -> bool
855 __gt__(Uncertainty self, Particle d) -> bool
857 return _IMP_pmi1.Uncertainty___gt__(self, *args)
861 """__hash__(Uncertainty self) -> std::size_t"""
862 return _IMP_pmi1.Uncertainty___hash__(self)
866 """__str__(Uncertainty self) -> std::string"""
867 return _IMP_pmi1.Uncertainty___str__(self)
871 """__repr__(Uncertainty self) -> std::string"""
872 return _IMP_pmi1.Uncertainty___repr__(self)
874 __swig_destroy__ = _IMP_pmi1.delete_Uncertainty
875 __del__ =
lambda self:
None
876 Uncertainty_swigregister = _IMP_pmi1.Uncertainty_swigregister
877 Uncertainty_swigregister(Uncertainty)
879 def Uncertainty_get_is_setup(*args):
881 get_is_setup(Model m, ParticleIndex pi) -> bool
882 Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
884 return _IMP_pmi1.Uncertainty_get_is_setup(*args)
886 def Uncertainty_setup_particle(*args):
888 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
889 Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
891 return _IMP_pmi1.Uncertainty_setup_particle(*args)
893 def Uncertainty_get_uncertainty_key():
894 """Uncertainty_get_uncertainty_key() -> FloatKey"""
895 return _IMP_pmi1.Uncertainty_get_uncertainty_key()
898 """Proxy of C++ IMP::pmi1::Resolution class."""
900 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
903 """get_resolution(Resolution self) -> IMP::Float"""
904 return _IMP_pmi1.Resolution_get_resolution(self)
907 def set_resolution(self, d):
908 """set_resolution(Resolution self, IMP::Float d)"""
909 return _IMP_pmi1.Resolution_set_resolution(self, d)
912 def __init__(self, *args):
914 __init__(IMP::pmi1::Resolution self) -> Resolution
915 __init__(IMP::pmi1::Resolution self, Model m, ParticleIndex id) -> Resolution
916 __init__(IMP::pmi1::Resolution self, _ParticleAdaptor d) -> Resolution
918 this = _IMP_pmi1.new_Resolution(*args)
920 self.this.append(this)
921 except __builtin__.Exception:
924 def get_is_setup(*args):
926 get_is_setup(Model m, ParticleIndex pi) -> bool
927 get_is_setup(_ParticleAdaptor p) -> bool
929 return _IMP_pmi1.Resolution_get_is_setup(*args)
931 get_is_setup = staticmethod(get_is_setup)
933 def show(self, *args):
935 show(Resolution self, _ostream out)
936 show(Resolution self)
938 return _IMP_pmi1.Resolution_show(self, *args)
943 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
944 setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
946 return _IMP_pmi1.Resolution_setup_particle(*args)
948 setup_particle = staticmethod(setup_particle)
950 def get_resolution_key():
951 """get_resolution_key() -> FloatKey"""
952 return _IMP_pmi1.Resolution_get_resolution_key()
954 get_resolution_key = staticmethod(get_resolution_key)
956 def add_attribute(self, *args):
958 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
959 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
960 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
961 add_attribute(Resolution self, StringKey a0, IMP::String a1)
962 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
963 add_attribute(Resolution self, ObjectKey a0, Object a1)
965 return _IMP_pmi1.Resolution_add_attribute(self, *args)
968 def get_value(self, *args):
970 get_value(Resolution self, FloatKey a0) -> IMP::Float
971 get_value(Resolution self, IntKey a0) -> IMP::Int
972 get_value(Resolution self, StringKey a0) -> IMP::String
973 get_value(Resolution self, ParticleIndexKey a0) -> Particle
974 get_value(Resolution self, ObjectKey a0) -> Object
976 return _IMP_pmi1.Resolution_get_value(self, *args)
979 def set_value(self, *args):
981 set_value(Resolution self, FloatKey a0, IMP::Float a1)
982 set_value(Resolution self, IntKey a0, IMP::Int a1)
983 set_value(Resolution self, StringKey a0, IMP::String a1)
984 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
985 set_value(Resolution self, ObjectKey a0, Object a1)
987 return _IMP_pmi1.Resolution_set_value(self, *args)
990 def remove_attribute(self, *args):
992 remove_attribute(Resolution self, FloatKey a0)
993 remove_attribute(Resolution self, IntKey a0)
994 remove_attribute(Resolution self, StringKey a0)
995 remove_attribute(Resolution self, ParticleIndexKey a0)
996 remove_attribute(Resolution self, ObjectKey a0)
998 return _IMP_pmi1.Resolution_remove_attribute(self, *args)
1001 def has_attribute(self, *args):
1003 has_attribute(Resolution self, FloatKey a0) -> bool
1004 has_attribute(Resolution self, IntKey a0) -> bool
1005 has_attribute(Resolution self, StringKey a0) -> bool
1006 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
1007 has_attribute(Resolution self, ObjectKey a0) -> bool
1009 return _IMP_pmi1.Resolution_has_attribute(self, *args)
1012 def get_derivative(self, a0):
1013 """get_derivative(Resolution self, FloatKey a0) -> double"""
1014 return _IMP_pmi1.Resolution_get_derivative(self, a0)
1018 """get_name(Resolution self) -> std::string"""
1019 return _IMP_pmi1.Resolution_get_name(self)
1022 def clear_caches(self):
1023 """clear_caches(Resolution self)"""
1024 return _IMP_pmi1.Resolution_clear_caches(self)
1027 def set_name(self, a0):
1028 """set_name(Resolution self, std::string a0)"""
1029 return _IMP_pmi1.Resolution_set_name(self, a0)
1033 """set_check_level(Resolution self, IMP::CheckLevel a0)"""
1034 return _IMP_pmi1.Resolution_set_check_level(self, a0)
1037 def add_to_derivative(self, a0, a1, a2):
1038 """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1039 return _IMP_pmi1.Resolution_add_to_derivative(self, a0, a1, a2)
1042 def set_is_optimized(self, a0, a1):
1043 """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1044 return _IMP_pmi1.Resolution_set_is_optimized(self, a0, a1)
1047 def get_is_optimized(self, a0):
1048 """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1049 return _IMP_pmi1.Resolution_get_is_optimized(self, a0)
1053 """get_check_level(Resolution self) -> IMP::CheckLevel"""
1054 return _IMP_pmi1.Resolution_get_check_level(self)
1057 def __eq__(self, *args):
1059 __eq__(Resolution self, Resolution o) -> bool
1060 __eq__(Resolution self, Particle d) -> bool
1062 return _IMP_pmi1.Resolution___eq__(self, *args)
1065 def __ne__(self, *args):
1067 __ne__(Resolution self, Resolution o) -> bool
1068 __ne__(Resolution self, Particle d) -> bool
1070 return _IMP_pmi1.Resolution___ne__(self, *args)
1073 def __le__(self, *args):
1075 __le__(Resolution self, Resolution o) -> bool
1076 __le__(Resolution self, Particle d) -> bool
1078 return _IMP_pmi1.Resolution___le__(self, *args)
1081 def __lt__(self, *args):
1083 __lt__(Resolution self, Resolution o) -> bool
1084 __lt__(Resolution self, Particle d) -> bool
1086 return _IMP_pmi1.Resolution___lt__(self, *args)
1089 def __ge__(self, *args):
1091 __ge__(Resolution self, Resolution o) -> bool
1092 __ge__(Resolution self, Particle d) -> bool
1094 return _IMP_pmi1.Resolution___ge__(self, *args)
1097 def __gt__(self, *args):
1099 __gt__(Resolution self, Resolution o) -> bool
1100 __gt__(Resolution self, Particle d) -> bool
1102 return _IMP_pmi1.Resolution___gt__(self, *args)
1106 """__hash__(Resolution self) -> std::size_t"""
1107 return _IMP_pmi1.Resolution___hash__(self)
1111 """__str__(Resolution self) -> std::string"""
1112 return _IMP_pmi1.Resolution___str__(self)
1116 """__repr__(Resolution self) -> std::string"""
1117 return _IMP_pmi1.Resolution___repr__(self)
1119 __swig_destroy__ = _IMP_pmi1.delete_Resolution
1120 __del__ =
lambda self:
None
1121 Resolution_swigregister = _IMP_pmi1.Resolution_swigregister
1122 Resolution_swigregister(Resolution)
1124 def Resolution_get_is_setup(*args):
1126 get_is_setup(Model m, ParticleIndex pi) -> bool
1127 Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1129 return _IMP_pmi1.Resolution_get_is_setup(*args)
1131 def Resolution_setup_particle(*args):
1133 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1134 Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1136 return _IMP_pmi1.Resolution_setup_particle(*args)
1138 def Resolution_get_resolution_key():
1139 """Resolution_get_resolution_key() -> FloatKey"""
1140 return _IMP_pmi1.Resolution_get_resolution_key()
1143 """Proxy of C++ IMP::pmi1::Symmetric class."""
1145 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1147 def get_symmetric(self):
1148 """get_symmetric(Symmetric self) -> IMP::Float"""
1149 return _IMP_pmi1.Symmetric_get_symmetric(self)
1152 def set_symmetric(self, d):
1153 """set_symmetric(Symmetric self, IMP::Float d)"""
1154 return _IMP_pmi1.Symmetric_set_symmetric(self, d)
1157 def __init__(self, *args):
1159 __init__(IMP::pmi1::Symmetric self) -> Symmetric
1160 __init__(IMP::pmi1::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1161 __init__(IMP::pmi1::Symmetric self, _ParticleAdaptor d) -> Symmetric
1163 this = _IMP_pmi1.new_Symmetric(*args)
1165 self.this.append(this)
1166 except __builtin__.Exception:
1169 def get_is_setup(*args):
1171 get_is_setup(Model m, ParticleIndex pi) -> bool
1172 get_is_setup(_ParticleAdaptor p) -> bool
1174 return _IMP_pmi1.Symmetric_get_is_setup(*args)
1176 get_is_setup = staticmethod(get_is_setup)
1178 def show(self, *args):
1180 show(Symmetric self, _ostream out)
1181 show(Symmetric self)
1183 return _IMP_pmi1.Symmetric_show(self, *args)
1188 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1189 setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1191 return _IMP_pmi1.Symmetric_setup_particle(*args)
1193 setup_particle = staticmethod(setup_particle)
1195 def get_symmetric_key():
1196 """get_symmetric_key() -> FloatKey"""
1197 return _IMP_pmi1.Symmetric_get_symmetric_key()
1199 get_symmetric_key = staticmethod(get_symmetric_key)
1201 def add_attribute(self, *args):
1203 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1204 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1205 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1206 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1207 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1208 add_attribute(Symmetric self, ObjectKey a0, Object a1)
1210 return _IMP_pmi1.Symmetric_add_attribute(self, *args)
1213 def get_value(self, *args):
1215 get_value(Symmetric self, FloatKey a0) -> IMP::Float
1216 get_value(Symmetric self, IntKey a0) -> IMP::Int
1217 get_value(Symmetric self, StringKey a0) -> IMP::String
1218 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1219 get_value(Symmetric self, ObjectKey a0) -> Object
1221 return _IMP_pmi1.Symmetric_get_value(self, *args)
1224 def set_value(self, *args):
1226 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1227 set_value(Symmetric self, IntKey a0, IMP::Int a1)
1228 set_value(Symmetric self, StringKey a0, IMP::String a1)
1229 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1230 set_value(Symmetric self, ObjectKey a0, Object a1)
1232 return _IMP_pmi1.Symmetric_set_value(self, *args)
1235 def remove_attribute(self, *args):
1237 remove_attribute(Symmetric self, FloatKey a0)
1238 remove_attribute(Symmetric self, IntKey a0)
1239 remove_attribute(Symmetric self, StringKey a0)
1240 remove_attribute(Symmetric self, ParticleIndexKey a0)
1241 remove_attribute(Symmetric self, ObjectKey a0)
1243 return _IMP_pmi1.Symmetric_remove_attribute(self, *args)
1246 def has_attribute(self, *args):
1248 has_attribute(Symmetric self, FloatKey a0) -> bool
1249 has_attribute(Symmetric self, IntKey a0) -> bool
1250 has_attribute(Symmetric self, StringKey a0) -> bool
1251 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1252 has_attribute(Symmetric self, ObjectKey a0) -> bool
1254 return _IMP_pmi1.Symmetric_has_attribute(self, *args)
1257 def get_derivative(self, a0):
1258 """get_derivative(Symmetric self, FloatKey a0) -> double"""
1259 return _IMP_pmi1.Symmetric_get_derivative(self, a0)
1263 """get_name(Symmetric self) -> std::string"""
1264 return _IMP_pmi1.Symmetric_get_name(self)
1267 def clear_caches(self):
1268 """clear_caches(Symmetric self)"""
1269 return _IMP_pmi1.Symmetric_clear_caches(self)
1272 def set_name(self, a0):
1273 """set_name(Symmetric self, std::string a0)"""
1274 return _IMP_pmi1.Symmetric_set_name(self, a0)
1278 """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1279 return _IMP_pmi1.Symmetric_set_check_level(self, a0)
1282 def add_to_derivative(self, a0, a1, a2):
1283 """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1284 return _IMP_pmi1.Symmetric_add_to_derivative(self, a0, a1, a2)
1287 def set_is_optimized(self, a0, a1):
1288 """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1289 return _IMP_pmi1.Symmetric_set_is_optimized(self, a0, a1)
1292 def get_is_optimized(self, a0):
1293 """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1294 return _IMP_pmi1.Symmetric_get_is_optimized(self, a0)
1298 """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1299 return _IMP_pmi1.Symmetric_get_check_level(self)
1302 def __eq__(self, *args):
1304 __eq__(Symmetric self, Symmetric o) -> bool
1305 __eq__(Symmetric self, Particle d) -> bool
1307 return _IMP_pmi1.Symmetric___eq__(self, *args)
1310 def __ne__(self, *args):
1312 __ne__(Symmetric self, Symmetric o) -> bool
1313 __ne__(Symmetric self, Particle d) -> bool
1315 return _IMP_pmi1.Symmetric___ne__(self, *args)
1318 def __le__(self, *args):
1320 __le__(Symmetric self, Symmetric o) -> bool
1321 __le__(Symmetric self, Particle d) -> bool
1323 return _IMP_pmi1.Symmetric___le__(self, *args)
1326 def __lt__(self, *args):
1328 __lt__(Symmetric self, Symmetric o) -> bool
1329 __lt__(Symmetric self, Particle d) -> bool
1331 return _IMP_pmi1.Symmetric___lt__(self, *args)
1334 def __ge__(self, *args):
1336 __ge__(Symmetric self, Symmetric o) -> bool
1337 __ge__(Symmetric self, Particle d) -> bool
1339 return _IMP_pmi1.Symmetric___ge__(self, *args)
1342 def __gt__(self, *args):
1344 __gt__(Symmetric self, Symmetric o) -> bool
1345 __gt__(Symmetric self, Particle d) -> bool
1347 return _IMP_pmi1.Symmetric___gt__(self, *args)
1351 """__hash__(Symmetric self) -> std::size_t"""
1352 return _IMP_pmi1.Symmetric___hash__(self)
1356 """__str__(Symmetric self) -> std::string"""
1357 return _IMP_pmi1.Symmetric___str__(self)
1361 """__repr__(Symmetric self) -> std::string"""
1362 return _IMP_pmi1.Symmetric___repr__(self)
1364 __swig_destroy__ = _IMP_pmi1.delete_Symmetric
1365 __del__ =
lambda self:
None
1366 Symmetric_swigregister = _IMP_pmi1.Symmetric_swigregister
1367 Symmetric_swigregister(Symmetric)
1369 def Symmetric_get_is_setup(*args):
1371 get_is_setup(Model m, ParticleIndex pi) -> bool
1372 Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1374 return _IMP_pmi1.Symmetric_get_is_setup(*args)
1376 def Symmetric_setup_particle(*args):
1378 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1379 Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1381 return _IMP_pmi1.Symmetric_setup_particle(*args)
1383 def Symmetric_get_symmetric_key():
1384 """Symmetric_get_symmetric_key() -> FloatKey"""
1385 return _IMP_pmi1.Symmetric_get_symmetric_key()
1388 """Proxy of C++ IMP::pmi1::SigmoidRestraintSphere class."""
1390 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1392 def __init__(self, *args):
1394 __init__(IMP::pmi1::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0, std::string name) -> SigmoidRestraintSphere
1395 __init__(IMP::pmi1::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1396 __init__(IMP::pmi1::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude) -> SigmoidRestraintSphere
1398 this = _IMP_pmi1.new_SigmoidRestraintSphere(*args)
1400 self.this.append(this)
1401 except __builtin__.Exception:
1404 def set_amplitude(self, amplitude):
1405 """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1406 return _IMP_pmi1.SigmoidRestraintSphere_set_amplitude(self, amplitude)
1409 def increment_amplitude(self, amplitude):
1410 """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1411 return _IMP_pmi1.SigmoidRestraintSphere_increment_amplitude(self, amplitude)
1414 def get_amplitude(self):
1415 """get_amplitude(SigmoidRestraintSphere self) -> double"""
1416 return _IMP_pmi1.SigmoidRestraintSphere_get_amplitude(self)
1419 def do_get_inputs(self):
1420 """do_get_inputs(SigmoidRestraintSphere self) -> IMP::ModelObjectsTemp"""
1421 return _IMP_pmi1.SigmoidRestraintSphere_do_get_inputs(self)
1424 def get_version_info(self):
1425 """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1426 return _IMP_pmi1.SigmoidRestraintSphere_get_version_info(self)
1430 """__str__(SigmoidRestraintSphere self) -> std::string"""
1431 return _IMP_pmi1.SigmoidRestraintSphere___str__(self)
1435 """__repr__(SigmoidRestraintSphere self) -> std::string"""
1436 return _IMP_pmi1.SigmoidRestraintSphere___repr__(self)
1441 return _object_cast_to_SigmoidRestraintSphere(o)
1443 SigmoidRestraintSphere_swigregister = _IMP_pmi1.SigmoidRestraintSphere_swigregister
1444 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1447 """Proxy of C++ IMP::pmi1::TransformMover class."""
1449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1451 def __init__(self, *args):
1453 __init__(IMP::pmi1::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1454 __init__(IMP::pmi1::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1455 __init__(IMP::pmi1::TransformMover self, Model m, _ParticleIndexAdaptor p1i, _ParticleIndexAdaptor p2i, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1457 this = _IMP_pmi1.new_TransformMover(*args)
1459 self.this.append(this)
1460 except __builtin__.Exception:
1463 def add_xyz_particle(self, pi):
1464 """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1465 return _IMP_pmi1.TransformMover_add_xyz_particle(self, pi)
1468 def add_rigid_body_particle(self, pi):
1469 """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1470 return _IMP_pmi1.TransformMover_add_rigid_body_particle(self, pi)
1473 def set_maximum_translation(self, mt):
1474 """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1475 return _IMP_pmi1.TransformMover_set_maximum_translation(self, mt)
1478 def set_maximum_rotation(self, mr):
1479 """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1480 return _IMP_pmi1.TransformMover_set_maximum_rotation(self, mr)
1483 def get_maximum_translation(self):
1484 """get_maximum_translation(TransformMover self) -> IMP::Float"""
1485 return _IMP_pmi1.TransformMover_get_maximum_translation(self)
1488 def get_maximum_rotation(self):
1489 """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1490 return _IMP_pmi1.TransformMover_get_maximum_rotation(self)
1493 def get_last_transformation(self):
1494 """get_last_transformation(TransformMover self) -> Transformation3D"""
1495 return _IMP_pmi1.TransformMover_get_last_transformation(self)
1498 def get_version_info(self):
1499 """get_version_info(TransformMover self) -> VersionInfo"""
1500 return _IMP_pmi1.TransformMover_get_version_info(self)
1504 """__str__(TransformMover self) -> std::string"""
1505 return _IMP_pmi1.TransformMover___str__(self)
1509 """__repr__(TransformMover self) -> std::string"""
1510 return _IMP_pmi1.TransformMover___repr__(self)
1515 return _object_cast_to_TransformMover(o)
1517 TransformMover_swigregister = _IMP_pmi1.TransformMover_swigregister
1518 TransformMover_swigregister(TransformMover)
1522 """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1523 return _IMP_pmi1.create_elastic_network(ps, dist_cutoff, strength)
1525 def get_dihedral_angle(p1, p2, p3, p4):
1526 """get_dihedral_angle(Atom p1, Atom p2, Atom p3, Atom p4) -> IMP::Float"""
1527 return _IMP_pmi1.get_dihedral_angle(p1, p2, p3, p4)
1529 def get_bipartite_minimum_sphere_distance(m1, m2):
1530 """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1531 return _IMP_pmi1.get_bipartite_minimum_sphere_distance(m1, m2)
1533 def get_list_of_bipartite_minimum_sphere_distance(pss):
1534 """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1535 return _IMP_pmi1.get_list_of_bipartite_minimum_sphere_distance(pss)
1537 """Proxy of C++ IMP::pmi1::InternalCoordinatesConstraint class."""
1539 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1542 """__init__(IMP::pmi1::InternalCoordinatesConstraint self) -> InternalCoordinatesConstraint"""
1543 this = _IMP_pmi1.new_InternalCoordinatesConstraint()
1545 self.this.append(this)
1546 except __builtin__.Exception:
1549 def do_get_inputs(self, m, pis):
1550 """do_get_inputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1551 return _IMP_pmi1.InternalCoordinatesConstraint_do_get_inputs(self, m, pis)
1554 def do_get_outputs(self, m, pis):
1555 """do_get_outputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1556 return _IMP_pmi1.InternalCoordinatesConstraint_do_get_outputs(self, m, pis)
1559 def get_version_info(self):
1560 """get_version_info(InternalCoordinatesConstraint self) -> VersionInfo"""
1561 return _IMP_pmi1.InternalCoordinatesConstraint_get_version_info(self)
1565 """__str__(InternalCoordinatesConstraint self) -> std::string"""
1566 return _IMP_pmi1.InternalCoordinatesConstraint___str__(self)
1570 """__repr__(InternalCoordinatesConstraint self) -> std::string"""
1571 return _IMP_pmi1.InternalCoordinatesConstraint___repr__(self)
1576 return _object_cast_to_InternalCoordinatesConstraint(o)
1578 InternalCoordinatesConstraint_swigregister = _IMP_pmi1.InternalCoordinatesConstraint_swigregister
1579 InternalCoordinatesConstraint_swigregister(InternalCoordinatesConstraint)
1582 def get_module_version():
1583 """get_module_version() -> std::string const"""
1584 return _IMP_pmi1.get_module_version()
1587 """get_example_path(std::string fname) -> std::string"""
1588 return _IMP_pmi1.get_example_path(fname)
1591 """get_data_path(std::string fname) -> std::string"""
1592 return _IMP_pmi1.get_data_path(fname)
1594 from .
import _version_check
1595 _version_check.check_version(get_module_version())
1596 __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.
def deprecated_module
Mark a Python module as deprecated.
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.
static Molecule setup_particle(Model *m, ParticleIndex pi)
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.
Interface to specialized Particle types (e.g. atoms)
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.