IMP logo
IMP Reference Guide  2.10.1
The Integrative Modeling Platform
pmi/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.10
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2018 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
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():
18  import importlib
19  pkg = __name__.rpartition('.')[0]
20  mname = '.'.join((pkg, '_IMP_pmi')).lstrip('.')
21  try:
22  return importlib.import_module(mname)
23  except ImportError:
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
30  import imp
31  fp = None
32  try:
33  fp, pathname, description = imp.find_module('_IMP_pmi', [dirname(__file__)])
34  except ImportError:
35  import _IMP_pmi
36  return _IMP_pmi
37  if fp is not None:
38  try:
39  _mod = imp.load_module('_IMP_pmi', fp, pathname, description)
40  finally:
41  fp.close()
42  return _mod
43  _IMP_pmi = swig_import_helper()
44  del swig_import_helper
45 else:
46  import _IMP_pmi
47 del _swig_python_version_info
48 try:
49  _swig_property = property
50 except NameError:
51  pass # Python < 2.2 doesn't have 'property'.
52 
53 try:
54  import builtins as __builtin__
55 except ImportError:
56  import __builtin__
57 
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59  if (name == "thisown"):
60  return self.this.own(value)
61  if (name == "this"):
62  if type(value).__name__ == 'SwigPyObject':
63  self.__dict__[name] = value
64  return
65  method = class_type.__swig_setmethods__.get(name, None)
66  if method:
67  return method(self, value)
68  if (not static):
69  object.__setattr__(self, name, value)
70  else:
71  raise AttributeError("You cannot add attributes to %s" % self)
72 
73 
74 def _swig_setattr(self, class_type, name, value):
75  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
76 
77 
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)
82  if method:
83  return method(self)
84  raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 
86 
87 def _swig_repr(self):
88  try:
89  strthis = "proxy of " + self.this.__repr__()
90  except __builtin__.Exception:
91  strthis = ""
92  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 
94 
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)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_PMI_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_PMI_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
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
123 
124  def value(self):
125  """value(IMP_PMI_SwigPyIterator self) -> PyObject *"""
126  return _IMP_pmi.IMP_PMI_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
132  incr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
133  """
134  return _IMP_pmi.IMP_PMI_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
140  decr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
141  """
142  return _IMP_pmi.IMP_PMI_SwigPyIterator_decr(self, n)
143 
144 
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)
148 
149 
150  def equal(self, x):
151  """equal(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
152  return _IMP_pmi.IMP_PMI_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator"""
157  return _IMP_pmi.IMP_PMI_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_PMI_SwigPyIterator self) -> PyObject *"""
162  return _IMP_pmi.IMP_PMI_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_PMI_SwigPyIterator self) -> PyObject *"""
167  return _IMP_pmi.IMP_PMI_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_PMI_SwigPyIterator self) -> PyObject *"""
172  return _IMP_pmi.IMP_PMI_SwigPyIterator_previous(self)
173 
174 
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)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
182  return _IMP_pmi.IMP_PMI_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
187  return _IMP_pmi.IMP_PMI_SwigPyIterator___ne__(self, x)
188 
189 
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)
193 
194 
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)
198 
199 
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)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator
208  __sub__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_pmi.IMP_PMI_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_PMI_SwigPyIterator_swigregister = _IMP_pmi.IMP_PMI_SwigPyIterator_swigregister
215 IMP_PMI_SwigPyIterator_swigregister(IMP_PMI_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
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
242 
243 import sys
244 class _DirectorObjects(object):
245  """@internal Simple class to keep references to director objects
246  to prevent premature deletion."""
247  def __init__(self):
248  self._objects = []
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)
254  def cleanup(self):
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]
261 # Do in two steps so the references are kept until the end of the
262 # function (deleting references may trigger a fresh call to this method)
263  self._objects = objs
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()
268 
269 class _ostream(object):
270  """Proxy of C++ std::ostream class."""
271 
272  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
273 
274  def __init__(self, *args, **kwargs):
275  raise AttributeError("No constructor defined")
276  __repr__ = _swig_repr
277 
278  def write(self, osa_buf):
279  """write(_ostream self, char const * osa_buf)"""
280  return _IMP_pmi._ostream_write(self, osa_buf)
281 
282 _ostream_swigregister = _IMP_pmi._ostream_swigregister
283 _ostream_swigregister(_ostream)
284 
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_pmi.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_pmi.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_pmi.IMP_C_OPEN_BINARY
289 import IMP
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
295 import IMP.cgal
296 IMP_MMCIF_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_FILESYSTEM
297 IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS
298 IMP_MMCIF_HAS_BOOST_RANDOM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_RANDOM
299 IMP_MMCIF_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_SYSTEM
300 IMPMMCIF_SHOW_WARNINGS = _IMP_pmi.IMPMMCIF_SHOW_WARNINGS
301 import IMP.mmcif
302 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
303 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
304 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
305 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
306 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
307 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
308 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
309 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
310 import IMP.algebra
311 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
312 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
313 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
314 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
315 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
316 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
317 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
318 import IMP.display
319 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
320 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
322 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
323 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
324 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
325 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
326 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
327 import IMP.score_functor
328 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
329 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
330 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
331 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
332 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
333 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
334 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS
335 import IMP.statistics
336 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
337 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
338 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
339 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
340 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
341 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
342 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
343 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
344 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
345 import IMP.core
346 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
347 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
348 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
349 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
350 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
351 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
352 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
353 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
354 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
355 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
356 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
357 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_pmi.IMP_CONTAINER_HAS_PYTHON_IHM
358 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_pmi.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
359 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_pmi.IMP_CONTAINER_HAS_ROBIN_MAP
360 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
361 import IMP.container
362 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
363 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
364 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
365 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
366 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
367 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
368 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
369 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
370 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
371 IMP_ATOM_HAS_PYTHON_IHM = _IMP_pmi.IMP_ATOM_HAS_PYTHON_IHM
372 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
373 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
374 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
375 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
376 IMP_CHAIN_TYPE_INDEX = _IMP_pmi.IMP_CHAIN_TYPE_INDEX
377 import IMP.atom
378 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
379 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
380 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
381 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
382 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
383 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
384 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
385 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
386 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
387 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
388 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
389 IMP_EM_HAS_PYTHON_IHM = _IMP_pmi.IMP_EM_HAS_PYTHON_IHM
390 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
391 import IMP.em
392 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
393 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
394 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
395 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
396 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
397 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
398 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
399 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
400 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
401 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
402 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
403 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
404 IMP_SAXS_HAS_PYTHON_IHM = _IMP_pmi.IMP_SAXS_HAS_PYTHON_IHM
405 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
406 import IMP.saxs
407 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
408 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
409 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
410 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
411 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
412 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
413 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
414 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
415 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
416 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
417 IMP_ISD_HAS_PYTHON_IHM = _IMP_pmi.IMP_ISD_HAS_PYTHON_IHM
418 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
419 import IMP.isd
420 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
421 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
422 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
423 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
424 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
425 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
426 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
427 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
428 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
429 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
430 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
431 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
432 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
433 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
434 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
435 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
436 IMP_PMI_HAS_PYTHON_IHM = _IMP_pmi.IMP_PMI_HAS_PYTHON_IHM
437 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
438 
439 _object_types.append("CompositeRestraint")
440 
441 
442 def _object_cast_to_CompositeRestraint(o):
443  """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
444  return _IMP_pmi._object_cast_to_CompositeRestraint(o)
445 
446 def Uncertainties(l=[]):
447  return [Uncertainty(x) for x in l]
448 _plural_types.append("Uncertainties")
449 
450 
451 _value_types.append("Uncertainty")
452 
453 
454 def Resolutions(l=[]):
455  return [Resolution(x) for x in l]
456 _plural_types.append("Resolutions")
457 
458 
459 _value_types.append("Resolution")
460 
461 
462 def Symmetrics(l=[]):
463  return [Symmetric(x) for x in l]
464 _plural_types.append("Symmetrics")
465 
466 
467 _value_types.append("Symmetric")
468 
469 
470 _object_types.append("SigmoidRestraintSphere")
471 
472 
473 def _object_cast_to_SigmoidRestraintSphere(o):
474  """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
475  return _IMP_pmi._object_cast_to_SigmoidRestraintSphere(o)
476 
477 _object_types.append("TransformMover")
478 
479 
480 def _object_cast_to_TransformMover(o):
481  """_object_cast_to_TransformMover(Object o) -> TransformMover"""
482  return _IMP_pmi._object_cast_to_TransformMover(o)
483 
484 _object_types.append("MembraneRestraint")
485 
486 
487 def _object_cast_to_MembraneRestraint(o):
488  """_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
489  return _IMP_pmi._object_cast_to_MembraneRestraint(o)
490 
491 _object_types.append("InternalCoordinatesConstraint")
492 
493 
494 def _object_cast_to_InternalCoordinatesConstraint(o):
495  """_object_cast_to_InternalCoordinatesConstraint(Object o) -> InternalCoordinatesConstraint"""
496  return _IMP_pmi._object_cast_to_InternalCoordinatesConstraint(o)
497 
498 def deprecated_pmi1_object(version, help_message):
499  """Mark a PMI1 class as deprecated. Point to its replacement or IMP.pmi1"""
500  return IMP.deprecated_object(version,
501  "This is a PMI1 class. New applications of PMI should use PMI2 "
502  "classes. In this case, %s. If you need to use PMI1 classes, "
503  "for example to maintain a published protocol, use the legacy "
504  "IMP.pmi1 module instead of IMP.pmi." % help_message)
505 
507  """Proxy of C++ IMP::pmi::MembraneRestraint class."""
508 
509  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
510 
511  def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
512  """__init__(IMP::pmi::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
513  this = _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
514  try:
515  self.this.append(this)
516  except __builtin__.Exception:
517  self.this = this
518 
519  def add_particles_below(self, particles):
520  """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
521  return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
522 
523 
524  def add_particles_above(self, particles):
525  """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
526  return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
527 
528 
529  def add_particles_inside(self, particles):
530  """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
531  return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
532 
533 
534  def get_score(self, prob):
535  """get_score(MembraneRestraint self, double prob) -> double"""
536  return _IMP_pmi.MembraneRestraint_get_score(self, prob)
537 
538 
539  def get_probability_above(self, z, z_slope_center_upper):
540  """get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
541  return _IMP_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
542 
543 
544  def get_score_above(self, z, z_slope_center_upper):
545  """get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
546  return _IMP_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
547 
548 
549  def get_probability_below(self, z, z_slope_center_lower):
550  """get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
551  return _IMP_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
552 
553 
554  def get_score_below(self, z, z_slope_center_lower):
555  """get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
556  return _IMP_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
557 
558 
559  def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
560  """get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
561  return _IMP_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
562 
563 
564  def __str__(self):
565  """__str__(MembraneRestraint self) -> std::string"""
566  return _IMP_pmi.MembraneRestraint___str__(self)
567 
568 
569  def __repr__(self):
570  """__repr__(MembraneRestraint self) -> std::string"""
571  return _IMP_pmi.MembraneRestraint___repr__(self)
572 
573 
574  @staticmethod
575  def get_from(o):
576  return _object_cast_to_MembraneRestraint(o)
577 
578 MembraneRestraint_swigregister = _IMP_pmi.MembraneRestraint_swigregister
579 MembraneRestraint_swigregister(MembraneRestraint)
580 
582  """Proxy of C++ IMP::pmi::CompositeRestraint class."""
583 
584  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
585 
586  def __init__(self, *args):
587  """
588  __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
589  __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
590  """
591  this = _IMP_pmi.new_CompositeRestraint(*args)
592  try:
593  self.this.append(this)
594  except __builtin__.Exception:
595  self.this = this
596 
597  def add_composite_particle(self, pi):
598  """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
599  return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
600 
601 
602  def get_number_of_elements(self):
603  """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
604  return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
605 
606 
607  def do_get_inputs(self):
608  """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
609  return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
610 
611 
612  def get_version_info(self):
613  """get_version_info(CompositeRestraint self) -> VersionInfo"""
614  return _IMP_pmi.CompositeRestraint_get_version_info(self)
615 
616 
617  def get_probability(self):
618  """get_probability(CompositeRestraint self) -> double"""
619  return _IMP_pmi.CompositeRestraint_get_probability(self)
620 
621 
622  def __str__(self):
623  """__str__(CompositeRestraint self) -> std::string"""
624  return _IMP_pmi.CompositeRestraint___str__(self)
625 
626 
627  def __repr__(self):
628  """__repr__(CompositeRestraint self) -> std::string"""
629  return _IMP_pmi.CompositeRestraint___repr__(self)
630 
631 
632  @staticmethod
633  def get_from(o):
634  return _object_cast_to_CompositeRestraint(o)
635 
636 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
637 CompositeRestraint_swigregister(CompositeRestraint)
638 
640  """Proxy of C++ IMP::pmi::Uncertainty class."""
641 
642  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
643 
644  def get_uncertainty(self):
645  """get_uncertainty(Uncertainty self) -> IMP::Float"""
646  return _IMP_pmi.Uncertainty_get_uncertainty(self)
647 
648 
649  def set_uncertainty(self, d):
650  """set_uncertainty(Uncertainty self, IMP::Float d)"""
651  return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
652 
653 
654  def __init__(self, *args):
655  """
656  __init__(IMP::pmi::Uncertainty self) -> Uncertainty
657  __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
658  __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
659  """
660  this = _IMP_pmi.new_Uncertainty(*args)
661  try:
662  self.this.append(this)
663  except __builtin__.Exception:
664  self.this = this
665 
666  def get_is_setup(*args):
667  """
668  get_is_setup(Model m, ParticleIndex pi) -> bool
669  get_is_setup(_ParticleAdaptor p) -> bool
670  """
671  return _IMP_pmi.Uncertainty_get_is_setup(*args)
672 
673  get_is_setup = staticmethod(get_is_setup)
674 
675  def show(self, *args):
676  """
677  show(Uncertainty self, _ostream out)
678  show(Uncertainty self)
679  """
680  return _IMP_pmi.Uncertainty_show(self, *args)
681 
682 
683  def setup_particle(*args):
684  """
685  setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
686  setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
687  """
688  return _IMP_pmi.Uncertainty_setup_particle(*args)
689 
690  setup_particle = staticmethod(setup_particle)
691 
692  def get_uncertainty_key():
693  """get_uncertainty_key() -> FloatKey"""
694  return _IMP_pmi.Uncertainty_get_uncertainty_key()
695 
696  get_uncertainty_key = staticmethod(get_uncertainty_key)
697 
698  def add_attribute(self, *args):
699  """
700  add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
701  add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
702  add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
703  add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
704  add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
705  add_attribute(Uncertainty self, ObjectKey a0, Object a1)
706  """
707  return _IMP_pmi.Uncertainty_add_attribute(self, *args)
708 
709 
710  def get_value(self, *args):
711  """
712  get_value(Uncertainty self, FloatKey a0) -> IMP::Float
713  get_value(Uncertainty self, IntKey a0) -> IMP::Int
714  get_value(Uncertainty self, StringKey a0) -> IMP::String
715  get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
716  get_value(Uncertainty self, ObjectKey a0) -> Object
717  """
718  return _IMP_pmi.Uncertainty_get_value(self, *args)
719 
720 
721  def set_value(self, *args):
722  """
723  set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
724  set_value(Uncertainty self, IntKey a0, IMP::Int a1)
725  set_value(Uncertainty self, StringKey a0, IMP::String a1)
726  set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
727  set_value(Uncertainty self, ObjectKey a0, Object a1)
728  """
729  return _IMP_pmi.Uncertainty_set_value(self, *args)
730 
731 
732  def remove_attribute(self, *args):
733  """
734  remove_attribute(Uncertainty self, FloatKey a0)
735  remove_attribute(Uncertainty self, IntKey a0)
736  remove_attribute(Uncertainty self, StringKey a0)
737  remove_attribute(Uncertainty self, ParticleIndexKey a0)
738  remove_attribute(Uncertainty self, ObjectKey a0)
739  """
740  return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
741 
742 
743  def has_attribute(self, *args):
744  """
745  has_attribute(Uncertainty self, FloatKey a0) -> bool
746  has_attribute(Uncertainty self, IntKey a0) -> bool
747  has_attribute(Uncertainty self, StringKey a0) -> bool
748  has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
749  has_attribute(Uncertainty self, ObjectKey a0) -> bool
750  """
751  return _IMP_pmi.Uncertainty_has_attribute(self, *args)
752 
753 
754  def get_derivative(self, a0):
755  """get_derivative(Uncertainty self, FloatKey a0) -> double"""
756  return _IMP_pmi.Uncertainty_get_derivative(self, a0)
757 
758 
759  def get_name(self):
760  """get_name(Uncertainty self) -> std::string"""
761  return _IMP_pmi.Uncertainty_get_name(self)
762 
763 
764  def clear_caches(self):
765  """clear_caches(Uncertainty self)"""
766  return _IMP_pmi.Uncertainty_clear_caches(self)
767 
768 
769  def set_name(self, a0):
770  """set_name(Uncertainty self, std::string a0)"""
771  return _IMP_pmi.Uncertainty_set_name(self, a0)
772 
773 
774  def set_check_level(self, a0):
775  """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
776  return _IMP_pmi.Uncertainty_set_check_level(self, a0)
777 
778 
779  def add_to_derivative(self, a0, a1, a2):
780  """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
781  return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
782 
783 
784  def set_is_optimized(self, a0, a1):
785  """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
786  return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
787 
788 
789  def get_is_optimized(self, a0):
790  """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
791  return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
792 
793 
794  def get_check_level(self):
795  """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
796  return _IMP_pmi.Uncertainty_get_check_level(self)
797 
798 
799  def __eq__(self, *args):
800  """
801  __eq__(Uncertainty self, Uncertainty o) -> bool
802  __eq__(Uncertainty self, Particle d) -> bool
803  """
804  return _IMP_pmi.Uncertainty___eq__(self, *args)
805 
806 
807  def __ne__(self, *args):
808  """
809  __ne__(Uncertainty self, Uncertainty o) -> bool
810  __ne__(Uncertainty self, Particle d) -> bool
811  """
812  return _IMP_pmi.Uncertainty___ne__(self, *args)
813 
814 
815  def __le__(self, *args):
816  """
817  __le__(Uncertainty self, Uncertainty o) -> bool
818  __le__(Uncertainty self, Particle d) -> bool
819  """
820  return _IMP_pmi.Uncertainty___le__(self, *args)
821 
822 
823  def __lt__(self, *args):
824  """
825  __lt__(Uncertainty self, Uncertainty o) -> bool
826  __lt__(Uncertainty self, Particle d) -> bool
827  """
828  return _IMP_pmi.Uncertainty___lt__(self, *args)
829 
830 
831  def __ge__(self, *args):
832  """
833  __ge__(Uncertainty self, Uncertainty o) -> bool
834  __ge__(Uncertainty self, Particle d) -> bool
835  """
836  return _IMP_pmi.Uncertainty___ge__(self, *args)
837 
838 
839  def __gt__(self, *args):
840  """
841  __gt__(Uncertainty self, Uncertainty o) -> bool
842  __gt__(Uncertainty self, Particle d) -> bool
843  """
844  return _IMP_pmi.Uncertainty___gt__(self, *args)
845 
846 
847  def __hash__(self):
848  """__hash__(Uncertainty self) -> std::size_t"""
849  return _IMP_pmi.Uncertainty___hash__(self)
850 
851 
852  def __str__(self):
853  """__str__(Uncertainty self) -> std::string"""
854  return _IMP_pmi.Uncertainty___str__(self)
855 
856 
857  def __repr__(self):
858  """__repr__(Uncertainty self) -> std::string"""
859  return _IMP_pmi.Uncertainty___repr__(self)
860 
861  __swig_destroy__ = _IMP_pmi.delete_Uncertainty
862  __del__ = lambda self: None
863 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
864 Uncertainty_swigregister(Uncertainty)
865 
866 def Uncertainty_get_is_setup(*args):
867  """
868  get_is_setup(Model m, ParticleIndex pi) -> bool
869  Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
870  """
871  return _IMP_pmi.Uncertainty_get_is_setup(*args)
872 
873 def Uncertainty_setup_particle(*args):
874  """
875  setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
876  Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
877  """
878  return _IMP_pmi.Uncertainty_setup_particle(*args)
879 
880 def Uncertainty_get_uncertainty_key():
881  """Uncertainty_get_uncertainty_key() -> FloatKey"""
882  return _IMP_pmi.Uncertainty_get_uncertainty_key()
883 
885  """Proxy of C++ IMP::pmi::Resolution class."""
886 
887  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
888 
889  def get_resolution(self):
890  """get_resolution(Resolution self) -> IMP::Float"""
891  return _IMP_pmi.Resolution_get_resolution(self)
892 
893 
894  def set_resolution(self, d):
895  """set_resolution(Resolution self, IMP::Float d)"""
896  return _IMP_pmi.Resolution_set_resolution(self, d)
897 
898 
899  def __init__(self, *args):
900  """
901  __init__(IMP::pmi::Resolution self) -> Resolution
902  __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
903  __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
904  """
905  this = _IMP_pmi.new_Resolution(*args)
906  try:
907  self.this.append(this)
908  except __builtin__.Exception:
909  self.this = this
910 
911  def get_is_setup(*args):
912  """
913  get_is_setup(Model m, ParticleIndex pi) -> bool
914  get_is_setup(_ParticleAdaptor p) -> bool
915  """
916  return _IMP_pmi.Resolution_get_is_setup(*args)
917 
918  get_is_setup = staticmethod(get_is_setup)
919 
920  def show(self, *args):
921  """
922  show(Resolution self, _ostream out)
923  show(Resolution self)
924  """
925  return _IMP_pmi.Resolution_show(self, *args)
926 
927 
928  def setup_particle(*args):
929  """
930  setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
931  setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
932  """
933  return _IMP_pmi.Resolution_setup_particle(*args)
934 
935  setup_particle = staticmethod(setup_particle)
936 
937  def get_resolution_key():
938  """get_resolution_key() -> FloatKey"""
939  return _IMP_pmi.Resolution_get_resolution_key()
940 
941  get_resolution_key = staticmethod(get_resolution_key)
942 
943  def add_attribute(self, *args):
944  """
945  add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
946  add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
947  add_attribute(Resolution self, IntKey a0, IMP::Int a1)
948  add_attribute(Resolution self, StringKey a0, IMP::String a1)
949  add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
950  add_attribute(Resolution self, ObjectKey a0, Object a1)
951  """
952  return _IMP_pmi.Resolution_add_attribute(self, *args)
953 
954 
955  def get_value(self, *args):
956  """
957  get_value(Resolution self, FloatKey a0) -> IMP::Float
958  get_value(Resolution self, IntKey a0) -> IMP::Int
959  get_value(Resolution self, StringKey a0) -> IMP::String
960  get_value(Resolution self, ParticleIndexKey a0) -> Particle
961  get_value(Resolution self, ObjectKey a0) -> Object
962  """
963  return _IMP_pmi.Resolution_get_value(self, *args)
964 
965 
966  def set_value(self, *args):
967  """
968  set_value(Resolution self, FloatKey a0, IMP::Float a1)
969  set_value(Resolution self, IntKey a0, IMP::Int a1)
970  set_value(Resolution self, StringKey a0, IMP::String a1)
971  set_value(Resolution self, ParticleIndexKey a0, Particle a1)
972  set_value(Resolution self, ObjectKey a0, Object a1)
973  """
974  return _IMP_pmi.Resolution_set_value(self, *args)
975 
976 
977  def remove_attribute(self, *args):
978  """
979  remove_attribute(Resolution self, FloatKey a0)
980  remove_attribute(Resolution self, IntKey a0)
981  remove_attribute(Resolution self, StringKey a0)
982  remove_attribute(Resolution self, ParticleIndexKey a0)
983  remove_attribute(Resolution self, ObjectKey a0)
984  """
985  return _IMP_pmi.Resolution_remove_attribute(self, *args)
986 
987 
988  def has_attribute(self, *args):
989  """
990  has_attribute(Resolution self, FloatKey a0) -> bool
991  has_attribute(Resolution self, IntKey a0) -> bool
992  has_attribute(Resolution self, StringKey a0) -> bool
993  has_attribute(Resolution self, ParticleIndexKey a0) -> bool
994  has_attribute(Resolution self, ObjectKey a0) -> bool
995  """
996  return _IMP_pmi.Resolution_has_attribute(self, *args)
997 
998 
999  def get_derivative(self, a0):
1000  """get_derivative(Resolution self, FloatKey a0) -> double"""
1001  return _IMP_pmi.Resolution_get_derivative(self, a0)
1002 
1003 
1004  def get_name(self):
1005  """get_name(Resolution self) -> std::string"""
1006  return _IMP_pmi.Resolution_get_name(self)
1007 
1008 
1009  def clear_caches(self):
1010  """clear_caches(Resolution self)"""
1011  return _IMP_pmi.Resolution_clear_caches(self)
1012 
1013 
1014  def set_name(self, a0):
1015  """set_name(Resolution self, std::string a0)"""
1016  return _IMP_pmi.Resolution_set_name(self, a0)
1017 
1018 
1019  def set_check_level(self, a0):
1020  """set_check_level(Resolution self, IMP::CheckLevel a0)"""
1021  return _IMP_pmi.Resolution_set_check_level(self, a0)
1022 
1023 
1024  def add_to_derivative(self, a0, a1, a2):
1025  """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1026  return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1027 
1028 
1029  def set_is_optimized(self, a0, a1):
1030  """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1031  return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1032 
1033 
1034  def get_is_optimized(self, a0):
1035  """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1036  return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1037 
1038 
1039  def get_check_level(self):
1040  """get_check_level(Resolution self) -> IMP::CheckLevel"""
1041  return _IMP_pmi.Resolution_get_check_level(self)
1042 
1043 
1044  def __eq__(self, *args):
1045  """
1046  __eq__(Resolution self, Resolution o) -> bool
1047  __eq__(Resolution self, Particle d) -> bool
1048  """
1049  return _IMP_pmi.Resolution___eq__(self, *args)
1050 
1051 
1052  def __ne__(self, *args):
1053  """
1054  __ne__(Resolution self, Resolution o) -> bool
1055  __ne__(Resolution self, Particle d) -> bool
1056  """
1057  return _IMP_pmi.Resolution___ne__(self, *args)
1058 
1059 
1060  def __le__(self, *args):
1061  """
1062  __le__(Resolution self, Resolution o) -> bool
1063  __le__(Resolution self, Particle d) -> bool
1064  """
1065  return _IMP_pmi.Resolution___le__(self, *args)
1066 
1067 
1068  def __lt__(self, *args):
1069  """
1070  __lt__(Resolution self, Resolution o) -> bool
1071  __lt__(Resolution self, Particle d) -> bool
1072  """
1073  return _IMP_pmi.Resolution___lt__(self, *args)
1074 
1075 
1076  def __ge__(self, *args):
1077  """
1078  __ge__(Resolution self, Resolution o) -> bool
1079  __ge__(Resolution self, Particle d) -> bool
1080  """
1081  return _IMP_pmi.Resolution___ge__(self, *args)
1082 
1083 
1084  def __gt__(self, *args):
1085  """
1086  __gt__(Resolution self, Resolution o) -> bool
1087  __gt__(Resolution self, Particle d) -> bool
1088  """
1089  return _IMP_pmi.Resolution___gt__(self, *args)
1090 
1091 
1092  def __hash__(self):
1093  """__hash__(Resolution self) -> std::size_t"""
1094  return _IMP_pmi.Resolution___hash__(self)
1095 
1096 
1097  def __str__(self):
1098  """__str__(Resolution self) -> std::string"""
1099  return _IMP_pmi.Resolution___str__(self)
1100 
1101 
1102  def __repr__(self):
1103  """__repr__(Resolution self) -> std::string"""
1104  return _IMP_pmi.Resolution___repr__(self)
1105 
1106  __swig_destroy__ = _IMP_pmi.delete_Resolution
1107  __del__ = lambda self: None
1108 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1109 Resolution_swigregister(Resolution)
1110 
1111 def Resolution_get_is_setup(*args):
1112  """
1113  get_is_setup(Model m, ParticleIndex pi) -> bool
1114  Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1115  """
1116  return _IMP_pmi.Resolution_get_is_setup(*args)
1117 
1118 def Resolution_setup_particle(*args):
1119  """
1120  setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1121  Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1122  """
1123  return _IMP_pmi.Resolution_setup_particle(*args)
1124 
1125 def Resolution_get_resolution_key():
1126  """Resolution_get_resolution_key() -> FloatKey"""
1127  return _IMP_pmi.Resolution_get_resolution_key()
1128 
1129 class Symmetric(IMP.Decorator):
1130  """Proxy of C++ IMP::pmi::Symmetric class."""
1131 
1132  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1133 
1134  def get_symmetric(self):
1135  """get_symmetric(Symmetric self) -> IMP::Float"""
1136  return _IMP_pmi.Symmetric_get_symmetric(self)
1137 
1138 
1139  def set_symmetric(self, d):
1140  """set_symmetric(Symmetric self, IMP::Float d)"""
1141  return _IMP_pmi.Symmetric_set_symmetric(self, d)
1142 
1143 
1144  def __init__(self, *args):
1145  """
1146  __init__(IMP::pmi::Symmetric self) -> Symmetric
1147  __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1148  __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1149  """
1150  this = _IMP_pmi.new_Symmetric(*args)
1151  try:
1152  self.this.append(this)
1153  except __builtin__.Exception:
1154  self.this = this
1155 
1156  def get_is_setup(*args):
1157  """
1158  get_is_setup(Model m, ParticleIndex pi) -> bool
1159  get_is_setup(_ParticleAdaptor p) -> bool
1160  """
1161  return _IMP_pmi.Symmetric_get_is_setup(*args)
1162 
1163  get_is_setup = staticmethod(get_is_setup)
1164 
1165  def show(self, *args):
1166  """
1167  show(Symmetric self, _ostream out)
1168  show(Symmetric self)
1169  """
1170  return _IMP_pmi.Symmetric_show(self, *args)
1171 
1172 
1173  def setup_particle(*args):
1174  """
1175  setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1176  setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1177  """
1178  return _IMP_pmi.Symmetric_setup_particle(*args)
1179 
1180  setup_particle = staticmethod(setup_particle)
1181 
1182  def get_symmetric_key():
1183  """get_symmetric_key() -> FloatKey"""
1184  return _IMP_pmi.Symmetric_get_symmetric_key()
1185 
1186  get_symmetric_key = staticmethod(get_symmetric_key)
1187 
1188  def add_attribute(self, *args):
1189  """
1190  add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1191  add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1192  add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1193  add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1194  add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1195  add_attribute(Symmetric self, ObjectKey a0, Object a1)
1196  """
1197  return _IMP_pmi.Symmetric_add_attribute(self, *args)
1198 
1199 
1200  def get_value(self, *args):
1201  """
1202  get_value(Symmetric self, FloatKey a0) -> IMP::Float
1203  get_value(Symmetric self, IntKey a0) -> IMP::Int
1204  get_value(Symmetric self, StringKey a0) -> IMP::String
1205  get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1206  get_value(Symmetric self, ObjectKey a0) -> Object
1207  """
1208  return _IMP_pmi.Symmetric_get_value(self, *args)
1209 
1210 
1211  def set_value(self, *args):
1212  """
1213  set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1214  set_value(Symmetric self, IntKey a0, IMP::Int a1)
1215  set_value(Symmetric self, StringKey a0, IMP::String a1)
1216  set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1217  set_value(Symmetric self, ObjectKey a0, Object a1)
1218  """
1219  return _IMP_pmi.Symmetric_set_value(self, *args)
1220 
1221 
1222  def remove_attribute(self, *args):
1223  """
1224  remove_attribute(Symmetric self, FloatKey a0)
1225  remove_attribute(Symmetric self, IntKey a0)
1226  remove_attribute(Symmetric self, StringKey a0)
1227  remove_attribute(Symmetric self, ParticleIndexKey a0)
1228  remove_attribute(Symmetric self, ObjectKey a0)
1229  """
1230  return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1231 
1232 
1233  def has_attribute(self, *args):
1234  """
1235  has_attribute(Symmetric self, FloatKey a0) -> bool
1236  has_attribute(Symmetric self, IntKey a0) -> bool
1237  has_attribute(Symmetric self, StringKey a0) -> bool
1238  has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1239  has_attribute(Symmetric self, ObjectKey a0) -> bool
1240  """
1241  return _IMP_pmi.Symmetric_has_attribute(self, *args)
1242 
1243 
1244  def get_derivative(self, a0):
1245  """get_derivative(Symmetric self, FloatKey a0) -> double"""
1246  return _IMP_pmi.Symmetric_get_derivative(self, a0)
1247 
1248 
1249  def get_name(self):
1250  """get_name(Symmetric self) -> std::string"""
1251  return _IMP_pmi.Symmetric_get_name(self)
1252 
1253 
1254  def clear_caches(self):
1255  """clear_caches(Symmetric self)"""
1256  return _IMP_pmi.Symmetric_clear_caches(self)
1257 
1258 
1259  def set_name(self, a0):
1260  """set_name(Symmetric self, std::string a0)"""
1261  return _IMP_pmi.Symmetric_set_name(self, a0)
1262 
1263 
1264  def set_check_level(self, a0):
1265  """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1266  return _IMP_pmi.Symmetric_set_check_level(self, a0)
1267 
1268 
1269  def add_to_derivative(self, a0, a1, a2):
1270  """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1271  return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1272 
1273 
1274  def set_is_optimized(self, a0, a1):
1275  """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1276  return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1277 
1278 
1279  def get_is_optimized(self, a0):
1280  """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1281  return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1282 
1283 
1284  def get_check_level(self):
1285  """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1286  return _IMP_pmi.Symmetric_get_check_level(self)
1287 
1288 
1289  def __eq__(self, *args):
1290  """
1291  __eq__(Symmetric self, Symmetric o) -> bool
1292  __eq__(Symmetric self, Particle d) -> bool
1293  """
1294  return _IMP_pmi.Symmetric___eq__(self, *args)
1295 
1296 
1297  def __ne__(self, *args):
1298  """
1299  __ne__(Symmetric self, Symmetric o) -> bool
1300  __ne__(Symmetric self, Particle d) -> bool
1301  """
1302  return _IMP_pmi.Symmetric___ne__(self, *args)
1303 
1304 
1305  def __le__(self, *args):
1306  """
1307  __le__(Symmetric self, Symmetric o) -> bool
1308  __le__(Symmetric self, Particle d) -> bool
1309  """
1310  return _IMP_pmi.Symmetric___le__(self, *args)
1311 
1312 
1313  def __lt__(self, *args):
1314  """
1315  __lt__(Symmetric self, Symmetric o) -> bool
1316  __lt__(Symmetric self, Particle d) -> bool
1317  """
1318  return _IMP_pmi.Symmetric___lt__(self, *args)
1319 
1320 
1321  def __ge__(self, *args):
1322  """
1323  __ge__(Symmetric self, Symmetric o) -> bool
1324  __ge__(Symmetric self, Particle d) -> bool
1325  """
1326  return _IMP_pmi.Symmetric___ge__(self, *args)
1327 
1328 
1329  def __gt__(self, *args):
1330  """
1331  __gt__(Symmetric self, Symmetric o) -> bool
1332  __gt__(Symmetric self, Particle d) -> bool
1333  """
1334  return _IMP_pmi.Symmetric___gt__(self, *args)
1335 
1336 
1337  def __hash__(self):
1338  """__hash__(Symmetric self) -> std::size_t"""
1339  return _IMP_pmi.Symmetric___hash__(self)
1340 
1341 
1342  def __str__(self):
1343  """__str__(Symmetric self) -> std::string"""
1344  return _IMP_pmi.Symmetric___str__(self)
1345 
1346 
1347  def __repr__(self):
1348  """__repr__(Symmetric self) -> std::string"""
1349  return _IMP_pmi.Symmetric___repr__(self)
1350 
1351  __swig_destroy__ = _IMP_pmi.delete_Symmetric
1352  __del__ = lambda self: None
1353 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1354 Symmetric_swigregister(Symmetric)
1355 
1356 def Symmetric_get_is_setup(*args):
1357  """
1358  get_is_setup(Model m, ParticleIndex pi) -> bool
1359  Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1360  """
1361  return _IMP_pmi.Symmetric_get_is_setup(*args)
1362 
1363 def Symmetric_setup_particle(*args):
1364  """
1365  setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1366  Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1367  """
1368  return _IMP_pmi.Symmetric_setup_particle(*args)
1369 
1370 def Symmetric_get_symmetric_key():
1371  """Symmetric_get_symmetric_key() -> FloatKey"""
1372  return _IMP_pmi.Symmetric_get_symmetric_key()
1373 
1375  """Proxy of C++ IMP::pmi::SigmoidRestraintSphere class."""
1376 
1377  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1378 
1379  def __init__(self, *args):
1380  """
1381  __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
1382  __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1383  __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude) -> SigmoidRestraintSphere
1384  """
1385  this = _IMP_pmi.new_SigmoidRestraintSphere(*args)
1386  try:
1387  self.this.append(this)
1388  except __builtin__.Exception:
1389  self.this = this
1390 
1391  def set_amplitude(self, amplitude):
1392  """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1393  return _IMP_pmi.SigmoidRestraintSphere_set_amplitude(self, amplitude)
1394 
1395 
1396  def increment_amplitude(self, amplitude):
1397  """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1398  return _IMP_pmi.SigmoidRestraintSphere_increment_amplitude(self, amplitude)
1399 
1400 
1401  def get_amplitude(self):
1402  """get_amplitude(SigmoidRestraintSphere self) -> double"""
1403  return _IMP_pmi.SigmoidRestraintSphere_get_amplitude(self)
1404 
1405 
1406  def do_get_inputs(self):
1407  """do_get_inputs(SigmoidRestraintSphere self) -> IMP::ModelObjectsTemp"""
1408  return _IMP_pmi.SigmoidRestraintSphere_do_get_inputs(self)
1409 
1410 
1411  def get_version_info(self):
1412  """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1413  return _IMP_pmi.SigmoidRestraintSphere_get_version_info(self)
1414 
1415 
1416  def __str__(self):
1417  """__str__(SigmoidRestraintSphere self) -> std::string"""
1418  return _IMP_pmi.SigmoidRestraintSphere___str__(self)
1419 
1420 
1421  def __repr__(self):
1422  """__repr__(SigmoidRestraintSphere self) -> std::string"""
1423  return _IMP_pmi.SigmoidRestraintSphere___repr__(self)
1424 
1425 
1426  @staticmethod
1427  def get_from(o):
1428  return _object_cast_to_SigmoidRestraintSphere(o)
1429 
1430 SigmoidRestraintSphere_swigregister = _IMP_pmi.SigmoidRestraintSphere_swigregister
1431 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1432 
1434  """Proxy of C++ IMP::pmi::TransformMover class."""
1435 
1436  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1437 
1438  def __init__(self, *args):
1439  """
1440  __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1441  __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1442  __init__(IMP::pmi::TransformMover self, Model m, _ParticleIndexAdaptor p1i, _ParticleIndexAdaptor p2i, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1443  """
1444  this = _IMP_pmi.new_TransformMover(*args)
1445  try:
1446  self.this.append(this)
1447  except __builtin__.Exception:
1448  self.this = this
1449 
1450  def add_xyz_particle(self, pi):
1451  """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1452  return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1453 
1454 
1455  def add_rigid_body_particle(self, pi):
1456  """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1457  return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1458 
1459 
1460  def set_maximum_translation(self, mt):
1461  """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1462  return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1463 
1464 
1465  def set_maximum_rotation(self, mr):
1466  """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1467  return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1468 
1469 
1470  def get_maximum_translation(self):
1471  """get_maximum_translation(TransformMover self) -> IMP::Float"""
1472  return _IMP_pmi.TransformMover_get_maximum_translation(self)
1473 
1474 
1475  def get_maximum_rotation(self):
1476  """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1477  return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1478 
1479 
1480  def get_last_transformation(self):
1481  """get_last_transformation(TransformMover self) -> Transformation3D"""
1482  return _IMP_pmi.TransformMover_get_last_transformation(self)
1483 
1484 
1485  def get_version_info(self):
1486  """get_version_info(TransformMover self) -> VersionInfo"""
1487  return _IMP_pmi.TransformMover_get_version_info(self)
1488 
1489 
1490  def __str__(self):
1491  """__str__(TransformMover self) -> std::string"""
1492  return _IMP_pmi.TransformMover___str__(self)
1493 
1494 
1495  def __repr__(self):
1496  """__repr__(TransformMover self) -> std::string"""
1497  return _IMP_pmi.TransformMover___repr__(self)
1498 
1499 
1500  @staticmethod
1501  def get_from(o):
1502  return _object_cast_to_TransformMover(o)
1503 
1504 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1505 TransformMover_swigregister(TransformMover)
1506 
1507 
1508 def create_elastic_network(ps, dist_cutoff, strength):
1509  """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1510  return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1511 
1512 def get_dihedral_angle(p1, p2, p3, p4):
1513  """get_dihedral_angle(Atom p1, Atom p2, Atom p3, Atom p4) -> IMP::Float"""
1514  return _IMP_pmi.get_dihedral_angle(p1, p2, p3, p4)
1515 
1516 def get_bipartite_minimum_sphere_distance(m1, m2):
1517  """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1518  return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1519 
1520 def get_list_of_bipartite_minimum_sphere_distance(pss):
1521  """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1522  return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1523 
1525  """get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1526  return _IMP_pmi.get_molecule_name_and_copy(h)
1527 
1528 def get_is_canonical(h):
1529  """get_is_canonical(Hierarchy h) -> bool"""
1530  return _IMP_pmi.get_is_canonical(h)
1532  """Proxy of C++ IMP::pmi::InternalCoordinatesConstraint class."""
1533 
1534  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1535 
1536  def __init__(self):
1537  """__init__(IMP::pmi::InternalCoordinatesConstraint self) -> InternalCoordinatesConstraint"""
1538  this = _IMP_pmi.new_InternalCoordinatesConstraint()
1539  try:
1540  self.this.append(this)
1541  except __builtin__.Exception:
1542  self.this = this
1543 
1544  def do_get_inputs(self, m, pis):
1545  """do_get_inputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1546  return _IMP_pmi.InternalCoordinatesConstraint_do_get_inputs(self, m, pis)
1547 
1548 
1549  def do_get_outputs(self, m, pis):
1550  """do_get_outputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1551  return _IMP_pmi.InternalCoordinatesConstraint_do_get_outputs(self, m, pis)
1552 
1553 
1554  def get_version_info(self):
1555  """get_version_info(InternalCoordinatesConstraint self) -> VersionInfo"""
1556  return _IMP_pmi.InternalCoordinatesConstraint_get_version_info(self)
1557 
1558 
1559  def __str__(self):
1560  """__str__(InternalCoordinatesConstraint self) -> std::string"""
1561  return _IMP_pmi.InternalCoordinatesConstraint___str__(self)
1562 
1563 
1564  def __repr__(self):
1565  """__repr__(InternalCoordinatesConstraint self) -> std::string"""
1566  return _IMP_pmi.InternalCoordinatesConstraint___repr__(self)
1567 
1568 
1569  @staticmethod
1570  def get_from(o):
1571  return _object_cast_to_InternalCoordinatesConstraint(o)
1572 
1573 InternalCoordinatesConstraint_swigregister = _IMP_pmi.InternalCoordinatesConstraint_swigregister
1574 InternalCoordinatesConstraint_swigregister(InternalCoordinatesConstraint)
1575 
1576 
1577 def get_module_version():
1578  """get_module_version() -> std::string const"""
1579  return _IMP_pmi.get_module_version()
1580 
1581 def get_example_path(fname):
1582  """get_example_path(std::string fname) -> std::string"""
1583  return _IMP_pmi.get_example_path(fname)
1584 
1585 def get_data_path(fname):
1586  """get_data_path(std::string fname) -> std::string"""
1587  return _IMP_pmi.get_data_path(fname)
1588 
1589 from . import _version_check
1590 _version_check.check_version(get_module_version())
1591 __version__ = get_module_version()
1592 
1593 
1594 
A base class for modifiers of ParticlesTemp.
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:81
A base class for ISD Restraints.
Various classes to hold sets of particles.
Support for output of models in mmCIF format.
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Add symmetric attribute to a particle.
Definition: Symmetric.h:23
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Add uncertainty to a particle.
Definition: Uncertainty.h:24
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
Add resolution to a particle.
Definition: Resolution.h:24
def deprecated_pmi1_object
Mark a PMI1 class as deprecated.
std::string get_molecule_name_and_copy(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and get the "molname.copynum".
Definition: utilities.h:85
RestraintSet * create_elastic_network(const Particles &ps, Float dist_cutoff, Float strength)
Create an elastic network restraint set.
Definition: utilities.h:26
A base class for classes which perturb particles.
A restraint for ambiguous cross-linking MS data and multiple state approach.
Simple sigmoidal score calculated between sphere surfaces.
Basic utilities for handling cryo-electron microscopy 3D density maps.
Modify the transformation of a rigid body.
bool get_is_canonical(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and check if the root is named System.
Definition: utilities.h:91
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
def deprecated_object
Python decorator to mark a class as deprecated.
Definition: __init__.py:9687
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.
Definition: exception.h:73
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:54