IMP logo
IMP Reference Guide  develop.04681809d8,2020/01/26
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-2020 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_NUMPY = _IMP_pmi.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi.IMPKERNEL_SHOW_WARNINGS
243 
244 import sys
245 class _DirectorObjects(object):
246  """@internal Simple class to keep references to director objects
247  to prevent premature deletion."""
248  def __init__(self):
249  self._objects = []
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)
255  def cleanup(self):
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]
262 # Do in two steps so the references are kept until the end of the
263 # function (deleting references may trigger a fresh call to this method)
264  self._objects = objs
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()
269 
270 class _ostream(object):
271  """Proxy of C++ std::ostream class."""
272 
273  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
274 
275  def __init__(self, *args, **kwargs):
276  raise AttributeError("No constructor defined")
277  __repr__ = _swig_repr
278 
279  def write(self, osa_buf):
280  """write(_ostream self, char const * osa_buf)"""
281  return _IMP_pmi._ostream_write(self, osa_buf)
282 
283 _ostream_swigregister = _IMP_pmi._ostream_swigregister
284 _ostream_swigregister(_ostream)
285 
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_pmi.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_pmi.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_pmi.IMP_C_OPEN_BINARY
290 import IMP
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_pmi.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
297 import IMP.cgal
298 IMP_MMCIF_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_FILESYSTEM
299 IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_MMCIF_HAS_BOOST_PROGRAMOPTIONS
300 IMP_MMCIF_HAS_BOOST_RANDOM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_RANDOM
301 IMP_MMCIF_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_MMCIF_HAS_BOOST_SYSTEM
302 IMP_MMCIF_HAS_NUMPY = _IMP_pmi.IMP_MMCIF_HAS_NUMPY
303 IMPMMCIF_SHOW_WARNINGS = _IMP_pmi.IMPMMCIF_SHOW_WARNINGS
304 import IMP.mmcif
305 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
306 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
307 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
308 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
309 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
310 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
311 IMP_ALGEBRA_HAS_NUMPY = _IMP_pmi.IMP_ALGEBRA_HAS_NUMPY
312 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
313 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
314 import IMP.algebra
315 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
316 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
317 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
318 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
319 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
320 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
321 IMP_DISPLAY_HAS_NUMPY = _IMP_pmi.IMP_DISPLAY_HAS_NUMPY
322 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
323 import IMP.display
324 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
325 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
326 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
327 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
328 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
329 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
330 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
331 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_NUMPY
332 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
333 import IMP.score_functor
334 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
335 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
336 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
337 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
338 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
339 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
340 IMP_STATISTICS_HAS_NUMPY = _IMP_pmi.IMP_STATISTICS_HAS_NUMPY
341 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS
342 import IMP.statistics
343 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
344 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
345 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
346 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
347 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
348 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
349 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
350 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
351 IMP_CORE_HAS_NUMPY = _IMP_pmi.IMP_CORE_HAS_NUMPY
352 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
353 import IMP.core
354 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
355 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
356 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
357 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
358 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
359 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
360 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
361 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
362 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
363 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
364 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
365 IMP_CONTAINER_HAS_NUMPY = _IMP_pmi.IMP_CONTAINER_HAS_NUMPY
366 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_pmi.IMP_CONTAINER_HAS_PYTHON_IHM
367 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_pmi.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
368 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_pmi.IMP_CONTAINER_HAS_ROBIN_MAP
369 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
370 import IMP.container
371 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
372 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
373 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
374 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
375 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
376 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
377 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
378 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
379 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
380 IMP_ATOM_HAS_NUMPY = _IMP_pmi.IMP_ATOM_HAS_NUMPY
381 IMP_ATOM_HAS_PYTHON_IHM = _IMP_pmi.IMP_ATOM_HAS_PYTHON_IHM
382 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
383 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
384 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
385 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
386 IMP_CHAIN_TYPE_INDEX = _IMP_pmi.IMP_CHAIN_TYPE_INDEX
387 import IMP.atom
388 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
389 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
390 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
391 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
392 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
393 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
394 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
395 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
396 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
397 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
398 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
399 IMP_EM_HAS_NUMPY = _IMP_pmi.IMP_EM_HAS_NUMPY
400 IMP_EM_HAS_PYTHON_IHM = _IMP_pmi.IMP_EM_HAS_PYTHON_IHM
401 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
402 import IMP.em
403 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
404 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
405 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
406 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
407 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
408 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
409 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
410 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
411 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
412 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
413 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
414 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
415 IMP_SAXS_HAS_NUMPY = _IMP_pmi.IMP_SAXS_HAS_NUMPY
416 IMP_SAXS_HAS_PYTHON_IHM = _IMP_pmi.IMP_SAXS_HAS_PYTHON_IHM
417 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
418 import IMP.saxs
419 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
420 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
421 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
422 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
423 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
424 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
425 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
426 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
427 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
428 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
429 IMP_ISD_HAS_NUMPY = _IMP_pmi.IMP_ISD_HAS_NUMPY
430 IMP_ISD_HAS_PYTHON_IHM = _IMP_pmi.IMP_ISD_HAS_PYTHON_IHM
431 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
432 import IMP.isd
433 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
434 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
435 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
436 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
437 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
438 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
439 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
440 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
441 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
442 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
443 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
444 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
445 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
446 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
447 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
448 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
449 IMP_PMI_HAS_NUMPY = _IMP_pmi.IMP_PMI_HAS_NUMPY
450 IMP_PMI_HAS_PYTHON_IHM = _IMP_pmi.IMP_PMI_HAS_PYTHON_IHM
451 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
452 
453 _object_types.append("CompositeRestraint")
454 
455 
456 def _object_cast_to_CompositeRestraint(o):
457  """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
458  return _IMP_pmi._object_cast_to_CompositeRestraint(o)
459 
460 def Uncertainties(l=[]):
461  return [Uncertainty(x) for x in l]
462 _plural_types.append("Uncertainties")
463 
464 
465 _value_types.append("Uncertainty")
466 
467 
468 def Resolutions(l=[]):
469  return [Resolution(x) for x in l]
470 _plural_types.append("Resolutions")
471 
472 
473 _value_types.append("Resolution")
474 
475 
476 def Symmetrics(l=[]):
477  return [Symmetric(x) for x in l]
478 _plural_types.append("Symmetrics")
479 
480 
481 _value_types.append("Symmetric")
482 
483 
484 _object_types.append("TransformMover")
485 
486 
487 def _object_cast_to_TransformMover(o):
488  """_object_cast_to_TransformMover(Object o) -> TransformMover"""
489  return _IMP_pmi._object_cast_to_TransformMover(o)
490 
491 _object_types.append("MembraneRestraint")
492 
493 
494 def _object_cast_to_MembraneRestraint(o):
495  """_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
496  return _IMP_pmi._object_cast_to_MembraneRestraint(o)
497 
498 _object_types.append("InternalCoordinatesConstraint")
499 
500 
501 def _object_cast_to_InternalCoordinatesConstraint(o):
502  """_object_cast_to_InternalCoordinatesConstraint(Object o) -> InternalCoordinatesConstraint"""
503  return _IMP_pmi._object_cast_to_InternalCoordinatesConstraint(o)
504 
505 class StructureWarning(UserWarning):
506  """Warning related to handling of structures"""
507  pass
508 
509 
510 class ParameterWarning(UserWarning):
511  """Warning for probably incorrect input parameters"""
512  pass
513 
514 
515 class MissingFileWarning(UserWarning):
516  """Warning for an expected, but missing, file"""
517  pass
518 
519 class MembraneRestraint(IMP.isd.ISDRestraint):
520  """Proxy of C++ IMP::pmi::MembraneRestraint class."""
521 
522  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
523 
524  def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
525  """__init__(IMP::pmi::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
526  this = _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
527  try:
528  self.this.append(this)
529  except __builtin__.Exception:
530  self.this = this
531 
532  def add_particles_below(self, particles):
533  """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
534  return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
535 
536 
537  def add_particles_above(self, particles):
538  """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
539  return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
540 
541 
542  def add_particles_inside(self, particles):
543  """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
544  return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
545 
546 
547  def get_score(self, prob):
548  """get_score(MembraneRestraint self, double prob) -> double"""
549  return _IMP_pmi.MembraneRestraint_get_score(self, prob)
550 
551 
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_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
555 
556 
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_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
560 
561 
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_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
565 
566 
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_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
570 
571 
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_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
575 
576 
577  def __str__(self):
578  """__str__(MembraneRestraint self) -> std::string"""
579  return _IMP_pmi.MembraneRestraint___str__(self)
580 
581 
582  def __repr__(self):
583  """__repr__(MembraneRestraint self) -> std::string"""
584  return _IMP_pmi.MembraneRestraint___repr__(self)
585 
586 
587  @staticmethod
588  def get_from(o):
589  return _object_cast_to_MembraneRestraint(o)
590 
591 MembraneRestraint_swigregister = _IMP_pmi.MembraneRestraint_swigregister
592 MembraneRestraint_swigregister(MembraneRestraint)
593 
594 class CompositeRestraint(IMP.Restraint):
595  """Proxy of C++ IMP::pmi::CompositeRestraint class."""
596 
597  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
598 
599  def __init__(self, *args):
600  """
601  __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
602  __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
603  """
604  this = _IMP_pmi.new_CompositeRestraint(*args)
605  try:
606  self.this.append(this)
607  except __builtin__.Exception:
608  self.this = this
609 
610  def add_composite_particle(self, pi):
611  """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
612  return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
613 
614 
615  def get_number_of_elements(self):
616  """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
617  return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
618 
619 
620  def do_get_inputs(self):
621  """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
622  return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
623 
624 
625  def get_version_info(self):
626  """get_version_info(CompositeRestraint self) -> VersionInfo"""
627  return _IMP_pmi.CompositeRestraint_get_version_info(self)
628 
629 
630  def get_probability(self):
631  """get_probability(CompositeRestraint self) -> double"""
632  return _IMP_pmi.CompositeRestraint_get_probability(self)
633 
634 
635  def __str__(self):
636  """__str__(CompositeRestraint self) -> std::string"""
637  return _IMP_pmi.CompositeRestraint___str__(self)
638 
639 
640  def __repr__(self):
641  """__repr__(CompositeRestraint self) -> std::string"""
642  return _IMP_pmi.CompositeRestraint___repr__(self)
643 
644 
645  @staticmethod
646  def get_from(o):
647  return _object_cast_to_CompositeRestraint(o)
648 
649 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
650 CompositeRestraint_swigregister(CompositeRestraint)
651 
652 class Uncertainty(IMP.Decorator):
653  """Proxy of C++ IMP::pmi::Uncertainty class."""
654 
655  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
656 
657  def get_uncertainty(self):
658  """get_uncertainty(Uncertainty self) -> IMP::Float"""
659  return _IMP_pmi.Uncertainty_get_uncertainty(self)
660 
661 
662  def set_uncertainty(self, d):
663  """set_uncertainty(Uncertainty self, IMP::Float d)"""
664  return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
665 
666 
667  def __init__(self, *args):
668  """
669  __init__(IMP::pmi::Uncertainty self) -> Uncertainty
670  __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
671  __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
672  """
673  this = _IMP_pmi.new_Uncertainty(*args)
674  try:
675  self.this.append(this)
676  except __builtin__.Exception:
677  self.this = this
678 
679  def get_is_setup(*args):
680  """
681  get_is_setup(Model m, ParticleIndex pi) -> bool
682  get_is_setup(_ParticleAdaptor p) -> bool
683  """
684  return _IMP_pmi.Uncertainty_get_is_setup(*args)
685 
686  get_is_setup = staticmethod(get_is_setup)
687 
688  def show(self, *args):
689  """
690  show(Uncertainty self, _ostream out)
691  show(Uncertainty self)
692  """
693  return _IMP_pmi.Uncertainty_show(self, *args)
694 
695 
696  def setup_particle(*args):
697  """
698  setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
699  setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
700  """
701  return _IMP_pmi.Uncertainty_setup_particle(*args)
702 
703  setup_particle = staticmethod(setup_particle)
704 
705  def get_uncertainty_key():
706  """get_uncertainty_key() -> FloatKey"""
707  return _IMP_pmi.Uncertainty_get_uncertainty_key()
708 
709  get_uncertainty_key = staticmethod(get_uncertainty_key)
710 
711  def add_attribute(self, *args):
712  """
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)
719  """
720  return _IMP_pmi.Uncertainty_add_attribute(self, *args)
721 
722 
723  def get_value(self, *args):
724  """
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
730  """
731  return _IMP_pmi.Uncertainty_get_value(self, *args)
732 
733 
734  def set_value(self, *args):
735  """
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)
741  """
742  return _IMP_pmi.Uncertainty_set_value(self, *args)
743 
744 
745  def remove_attribute(self, *args):
746  """
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)
752  """
753  return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
754 
755 
756  def has_attribute(self, *args):
757  """
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
763  """
764  return _IMP_pmi.Uncertainty_has_attribute(self, *args)
765 
766 
767  def get_derivative(self, a0):
768  """get_derivative(Uncertainty self, FloatKey a0) -> double"""
769  return _IMP_pmi.Uncertainty_get_derivative(self, a0)
770 
771 
772  def get_name(self):
773  """get_name(Uncertainty self) -> std::string"""
774  return _IMP_pmi.Uncertainty_get_name(self)
775 
776 
777  def clear_caches(self):
778  """clear_caches(Uncertainty self)"""
779  return _IMP_pmi.Uncertainty_clear_caches(self)
780 
781 
782  def set_name(self, a0):
783  """set_name(Uncertainty self, std::string a0)"""
784  return _IMP_pmi.Uncertainty_set_name(self, a0)
785 
786 
787  def set_check_level(self, a0):
788  """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
789  return _IMP_pmi.Uncertainty_set_check_level(self, a0)
790 
791 
792  def add_to_derivative(self, a0, a1, a2):
793  """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
794  return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
795 
796 
797  def set_is_optimized(self, a0, a1):
798  """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
799  return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
800 
801 
802  def get_is_optimized(self, a0):
803  """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
804  return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
805 
806 
807  def get_check_level(self):
808  """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
809  return _IMP_pmi.Uncertainty_get_check_level(self)
810 
811 
812  def __eq__(self, *args):
813  """
814  __eq__(Uncertainty self, Uncertainty o) -> bool
815  __eq__(Uncertainty self, Particle d) -> bool
816  """
817  return _IMP_pmi.Uncertainty___eq__(self, *args)
818 
819 
820  def __ne__(self, *args):
821  """
822  __ne__(Uncertainty self, Uncertainty o) -> bool
823  __ne__(Uncertainty self, Particle d) -> bool
824  """
825  return _IMP_pmi.Uncertainty___ne__(self, *args)
826 
827 
828  def __le__(self, *args):
829  """
830  __le__(Uncertainty self, Uncertainty o) -> bool
831  __le__(Uncertainty self, Particle d) -> bool
832  """
833  return _IMP_pmi.Uncertainty___le__(self, *args)
834 
835 
836  def __lt__(self, *args):
837  """
838  __lt__(Uncertainty self, Uncertainty o) -> bool
839  __lt__(Uncertainty self, Particle d) -> bool
840  """
841  return _IMP_pmi.Uncertainty___lt__(self, *args)
842 
843 
844  def __ge__(self, *args):
845  """
846  __ge__(Uncertainty self, Uncertainty o) -> bool
847  __ge__(Uncertainty self, Particle d) -> bool
848  """
849  return _IMP_pmi.Uncertainty___ge__(self, *args)
850 
851 
852  def __gt__(self, *args):
853  """
854  __gt__(Uncertainty self, Uncertainty o) -> bool
855  __gt__(Uncertainty self, Particle d) -> bool
856  """
857  return _IMP_pmi.Uncertainty___gt__(self, *args)
858 
859 
860  def __hash__(self):
861  """__hash__(Uncertainty self) -> std::size_t"""
862  return _IMP_pmi.Uncertainty___hash__(self)
863 
864 
865  def __str__(self):
866  """__str__(Uncertainty self) -> std::string"""
867  return _IMP_pmi.Uncertainty___str__(self)
868 
869 
870  def __repr__(self):
871  """__repr__(Uncertainty self) -> std::string"""
872  return _IMP_pmi.Uncertainty___repr__(self)
873 
874  __swig_destroy__ = _IMP_pmi.delete_Uncertainty
875  __del__ = lambda self: None
876 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
877 Uncertainty_swigregister(Uncertainty)
878 
879 def Uncertainty_get_is_setup(*args):
880  """
881  get_is_setup(Model m, ParticleIndex pi) -> bool
882  Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
883  """
884  return _IMP_pmi.Uncertainty_get_is_setup(*args)
885 
886 def Uncertainty_setup_particle(*args):
887  """
888  setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
889  Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
890  """
891  return _IMP_pmi.Uncertainty_setup_particle(*args)
892 
893 def Uncertainty_get_uncertainty_key():
894  """Uncertainty_get_uncertainty_key() -> FloatKey"""
895  return _IMP_pmi.Uncertainty_get_uncertainty_key()
896 
897 class Resolution(IMP.Decorator):
898  """Proxy of C++ IMP::pmi::Resolution class."""
899 
900  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
901 
902  def get_resolution(self):
903  """get_resolution(Resolution self) -> IMP::Float"""
904  return _IMP_pmi.Resolution_get_resolution(self)
905 
906 
907  def set_resolution(self, d):
908  """set_resolution(Resolution self, IMP::Float d)"""
909  return _IMP_pmi.Resolution_set_resolution(self, d)
910 
911 
912  def __init__(self, *args):
913  """
914  __init__(IMP::pmi::Resolution self) -> Resolution
915  __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
916  __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
917  """
918  this = _IMP_pmi.new_Resolution(*args)
919  try:
920  self.this.append(this)
921  except __builtin__.Exception:
922  self.this = this
923 
924  def get_is_setup(*args):
925  """
926  get_is_setup(Model m, ParticleIndex pi) -> bool
927  get_is_setup(_ParticleAdaptor p) -> bool
928  """
929  return _IMP_pmi.Resolution_get_is_setup(*args)
930 
931  get_is_setup = staticmethod(get_is_setup)
932 
933  def show(self, *args):
934  """
935  show(Resolution self, _ostream out)
936  show(Resolution self)
937  """
938  return _IMP_pmi.Resolution_show(self, *args)
939 
940 
941  def setup_particle(*args):
942  """
943  setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
944  setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
945  """
946  return _IMP_pmi.Resolution_setup_particle(*args)
947 
948  setup_particle = staticmethod(setup_particle)
949 
950  def get_resolution_key():
951  """get_resolution_key() -> FloatKey"""
952  return _IMP_pmi.Resolution_get_resolution_key()
953 
954  get_resolution_key = staticmethod(get_resolution_key)
955 
956  def add_attribute(self, *args):
957  """
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)
964  """
965  return _IMP_pmi.Resolution_add_attribute(self, *args)
966 
967 
968  def get_value(self, *args):
969  """
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
975  """
976  return _IMP_pmi.Resolution_get_value(self, *args)
977 
978 
979  def set_value(self, *args):
980  """
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)
986  """
987  return _IMP_pmi.Resolution_set_value(self, *args)
988 
989 
990  def remove_attribute(self, *args):
991  """
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)
997  """
998  return _IMP_pmi.Resolution_remove_attribute(self, *args)
999 
1000 
1001  def has_attribute(self, *args):
1002  """
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
1008  """
1009  return _IMP_pmi.Resolution_has_attribute(self, *args)
1010 
1011 
1012  def get_derivative(self, a0):
1013  """get_derivative(Resolution self, FloatKey a0) -> double"""
1014  return _IMP_pmi.Resolution_get_derivative(self, a0)
1015 
1016 
1017  def get_name(self):
1018  """get_name(Resolution self) -> std::string"""
1019  return _IMP_pmi.Resolution_get_name(self)
1020 
1021 
1022  def clear_caches(self):
1023  """clear_caches(Resolution self)"""
1024  return _IMP_pmi.Resolution_clear_caches(self)
1025 
1026 
1027  def set_name(self, a0):
1028  """set_name(Resolution self, std::string a0)"""
1029  return _IMP_pmi.Resolution_set_name(self, a0)
1030 
1031 
1032  def set_check_level(self, a0):
1033  """set_check_level(Resolution self, IMP::CheckLevel a0)"""
1034  return _IMP_pmi.Resolution_set_check_level(self, a0)
1035 
1036 
1037  def add_to_derivative(self, a0, a1, a2):
1038  """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1039  return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1040 
1041 
1042  def set_is_optimized(self, a0, a1):
1043  """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1044  return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1045 
1046 
1047  def get_is_optimized(self, a0):
1048  """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1049  return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1050 
1051 
1052  def get_check_level(self):
1053  """get_check_level(Resolution self) -> IMP::CheckLevel"""
1054  return _IMP_pmi.Resolution_get_check_level(self)
1055 
1056 
1057  def __eq__(self, *args):
1058  """
1059  __eq__(Resolution self, Resolution o) -> bool
1060  __eq__(Resolution self, Particle d) -> bool
1061  """
1062  return _IMP_pmi.Resolution___eq__(self, *args)
1063 
1064 
1065  def __ne__(self, *args):
1066  """
1067  __ne__(Resolution self, Resolution o) -> bool
1068  __ne__(Resolution self, Particle d) -> bool
1069  """
1070  return _IMP_pmi.Resolution___ne__(self, *args)
1071 
1072 
1073  def __le__(self, *args):
1074  """
1075  __le__(Resolution self, Resolution o) -> bool
1076  __le__(Resolution self, Particle d) -> bool
1077  """
1078  return _IMP_pmi.Resolution___le__(self, *args)
1079 
1080 
1081  def __lt__(self, *args):
1082  """
1083  __lt__(Resolution self, Resolution o) -> bool
1084  __lt__(Resolution self, Particle d) -> bool
1085  """
1086  return _IMP_pmi.Resolution___lt__(self, *args)
1087 
1088 
1089  def __ge__(self, *args):
1090  """
1091  __ge__(Resolution self, Resolution o) -> bool
1092  __ge__(Resolution self, Particle d) -> bool
1093  """
1094  return _IMP_pmi.Resolution___ge__(self, *args)
1095 
1096 
1097  def __gt__(self, *args):
1098  """
1099  __gt__(Resolution self, Resolution o) -> bool
1100  __gt__(Resolution self, Particle d) -> bool
1101  """
1102  return _IMP_pmi.Resolution___gt__(self, *args)
1103 
1104 
1105  def __hash__(self):
1106  """__hash__(Resolution self) -> std::size_t"""
1107  return _IMP_pmi.Resolution___hash__(self)
1108 
1109 
1110  def __str__(self):
1111  """__str__(Resolution self) -> std::string"""
1112  return _IMP_pmi.Resolution___str__(self)
1113 
1114 
1115  def __repr__(self):
1116  """__repr__(Resolution self) -> std::string"""
1117  return _IMP_pmi.Resolution___repr__(self)
1118 
1119  __swig_destroy__ = _IMP_pmi.delete_Resolution
1120  __del__ = lambda self: None
1121 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1122 Resolution_swigregister(Resolution)
1123 
1124 def Resolution_get_is_setup(*args):
1125  """
1126  get_is_setup(Model m, ParticleIndex pi) -> bool
1127  Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1128  """
1129  return _IMP_pmi.Resolution_get_is_setup(*args)
1130 
1131 def Resolution_setup_particle(*args):
1132  """
1133  setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1134  Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1135  """
1136  return _IMP_pmi.Resolution_setup_particle(*args)
1137 
1138 def Resolution_get_resolution_key():
1139  """Resolution_get_resolution_key() -> FloatKey"""
1140  return _IMP_pmi.Resolution_get_resolution_key()
1141 
1142 class Symmetric(IMP.Decorator):
1143  """Proxy of C++ IMP::pmi::Symmetric class."""
1144 
1145  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1146 
1147  def get_symmetric(self):
1148  """get_symmetric(Symmetric self) -> IMP::Float"""
1149  return _IMP_pmi.Symmetric_get_symmetric(self)
1150 
1151 
1152  def set_symmetric(self, d):
1153  """set_symmetric(Symmetric self, IMP::Float d)"""
1154  return _IMP_pmi.Symmetric_set_symmetric(self, d)
1155 
1156 
1157  def __init__(self, *args):
1158  """
1159  __init__(IMP::pmi::Symmetric self) -> Symmetric
1160  __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1161  __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1162  """
1163  this = _IMP_pmi.new_Symmetric(*args)
1164  try:
1165  self.this.append(this)
1166  except __builtin__.Exception:
1167  self.this = this
1168 
1169  def get_is_setup(*args):
1170  """
1171  get_is_setup(Model m, ParticleIndex pi) -> bool
1172  get_is_setup(_ParticleAdaptor p) -> bool
1173  """
1174  return _IMP_pmi.Symmetric_get_is_setup(*args)
1175 
1176  get_is_setup = staticmethod(get_is_setup)
1177 
1178  def show(self, *args):
1179  """
1180  show(Symmetric self, _ostream out)
1181  show(Symmetric self)
1182  """
1183  return _IMP_pmi.Symmetric_show(self, *args)
1184 
1185 
1186  def setup_particle(*args):
1187  """
1188  setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1189  setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1190  """
1191  return _IMP_pmi.Symmetric_setup_particle(*args)
1192 
1193  setup_particle = staticmethod(setup_particle)
1194 
1195  def get_symmetric_key():
1196  """get_symmetric_key() -> FloatKey"""
1197  return _IMP_pmi.Symmetric_get_symmetric_key()
1198 
1199  get_symmetric_key = staticmethod(get_symmetric_key)
1200 
1201  def add_attribute(self, *args):
1202  """
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)
1209  """
1210  return _IMP_pmi.Symmetric_add_attribute(self, *args)
1211 
1212 
1213  def get_value(self, *args):
1214  """
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
1220  """
1221  return _IMP_pmi.Symmetric_get_value(self, *args)
1222 
1223 
1224  def set_value(self, *args):
1225  """
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)
1231  """
1232  return _IMP_pmi.Symmetric_set_value(self, *args)
1233 
1234 
1235  def remove_attribute(self, *args):
1236  """
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)
1242  """
1243  return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1244 
1245 
1246  def has_attribute(self, *args):
1247  """
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
1253  """
1254  return _IMP_pmi.Symmetric_has_attribute(self, *args)
1255 
1256 
1257  def get_derivative(self, a0):
1258  """get_derivative(Symmetric self, FloatKey a0) -> double"""
1259  return _IMP_pmi.Symmetric_get_derivative(self, a0)
1260 
1261 
1262  def get_name(self):
1263  """get_name(Symmetric self) -> std::string"""
1264  return _IMP_pmi.Symmetric_get_name(self)
1265 
1266 
1267  def clear_caches(self):
1268  """clear_caches(Symmetric self)"""
1269  return _IMP_pmi.Symmetric_clear_caches(self)
1270 
1271 
1272  def set_name(self, a0):
1273  """set_name(Symmetric self, std::string a0)"""
1274  return _IMP_pmi.Symmetric_set_name(self, a0)
1275 
1276 
1277  def set_check_level(self, a0):
1278  """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1279  return _IMP_pmi.Symmetric_set_check_level(self, a0)
1280 
1281 
1282  def add_to_derivative(self, a0, a1, a2):
1283  """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1284  return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1285 
1286 
1287  def set_is_optimized(self, a0, a1):
1288  """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1289  return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1290 
1291 
1292  def get_is_optimized(self, a0):
1293  """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1294  return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1295 
1296 
1297  def get_check_level(self):
1298  """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1299  return _IMP_pmi.Symmetric_get_check_level(self)
1300 
1301 
1302  def __eq__(self, *args):
1303  """
1304  __eq__(Symmetric self, Symmetric o) -> bool
1305  __eq__(Symmetric self, Particle d) -> bool
1306  """
1307  return _IMP_pmi.Symmetric___eq__(self, *args)
1308 
1309 
1310  def __ne__(self, *args):
1311  """
1312  __ne__(Symmetric self, Symmetric o) -> bool
1313  __ne__(Symmetric self, Particle d) -> bool
1314  """
1315  return _IMP_pmi.Symmetric___ne__(self, *args)
1316 
1317 
1318  def __le__(self, *args):
1319  """
1320  __le__(Symmetric self, Symmetric o) -> bool
1321  __le__(Symmetric self, Particle d) -> bool
1322  """
1323  return _IMP_pmi.Symmetric___le__(self, *args)
1324 
1325 
1326  def __lt__(self, *args):
1327  """
1328  __lt__(Symmetric self, Symmetric o) -> bool
1329  __lt__(Symmetric self, Particle d) -> bool
1330  """
1331  return _IMP_pmi.Symmetric___lt__(self, *args)
1332 
1333 
1334  def __ge__(self, *args):
1335  """
1336  __ge__(Symmetric self, Symmetric o) -> bool
1337  __ge__(Symmetric self, Particle d) -> bool
1338  """
1339  return _IMP_pmi.Symmetric___ge__(self, *args)
1340 
1341 
1342  def __gt__(self, *args):
1343  """
1344  __gt__(Symmetric self, Symmetric o) -> bool
1345  __gt__(Symmetric self, Particle d) -> bool
1346  """
1347  return _IMP_pmi.Symmetric___gt__(self, *args)
1348 
1349 
1350  def __hash__(self):
1351  """__hash__(Symmetric self) -> std::size_t"""
1352  return _IMP_pmi.Symmetric___hash__(self)
1353 
1354 
1355  def __str__(self):
1356  """__str__(Symmetric self) -> std::string"""
1357  return _IMP_pmi.Symmetric___str__(self)
1358 
1359 
1360  def __repr__(self):
1361  """__repr__(Symmetric self) -> std::string"""
1362  return _IMP_pmi.Symmetric___repr__(self)
1363 
1364  __swig_destroy__ = _IMP_pmi.delete_Symmetric
1365  __del__ = lambda self: None
1366 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1367 Symmetric_swigregister(Symmetric)
1368 
1369 def Symmetric_get_is_setup(*args):
1370  """
1371  get_is_setup(Model m, ParticleIndex pi) -> bool
1372  Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1373  """
1374  return _IMP_pmi.Symmetric_get_is_setup(*args)
1375 
1376 def Symmetric_setup_particle(*args):
1377  """
1378  setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1379  Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1380  """
1381  return _IMP_pmi.Symmetric_setup_particle(*args)
1382 
1383 def Symmetric_get_symmetric_key():
1384  """Symmetric_get_symmetric_key() -> FloatKey"""
1385  return _IMP_pmi.Symmetric_get_symmetric_key()
1386 
1387 class TransformMover(IMP.core.MonteCarloMover):
1388  """Proxy of C++ IMP::pmi::TransformMover class."""
1389 
1390  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1391 
1392  def __init__(self, *args):
1393  """
1394  __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1395  __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1396  __init__(IMP::pmi::TransformMover self, Model m, _ParticleIndexAdaptor p1i, _ParticleIndexAdaptor p2i, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1397  """
1398  this = _IMP_pmi.new_TransformMover(*args)
1399  try:
1400  self.this.append(this)
1401  except __builtin__.Exception:
1402  self.this = this
1403 
1404  def add_xyz_particle(self, pi):
1405  """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1406  return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1407 
1408 
1409  def add_rigid_body_particle(self, pi):
1410  """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1411  return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1412 
1413 
1414  def set_maximum_translation(self, mt):
1415  """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1416  return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1417 
1418 
1419  def set_maximum_rotation(self, mr):
1420  """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1421  return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1422 
1423 
1424  def get_maximum_translation(self):
1425  """get_maximum_translation(TransformMover self) -> IMP::Float"""
1426  return _IMP_pmi.TransformMover_get_maximum_translation(self)
1427 
1428 
1429  def get_maximum_rotation(self):
1430  """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1431  return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1432 
1433 
1434  def get_last_transformation(self):
1435  """get_last_transformation(TransformMover self) -> Transformation3D"""
1436  return _IMP_pmi.TransformMover_get_last_transformation(self)
1437 
1438 
1439  def get_version_info(self):
1440  """get_version_info(TransformMover self) -> VersionInfo"""
1441  return _IMP_pmi.TransformMover_get_version_info(self)
1442 
1443 
1444  def __str__(self):
1445  """__str__(TransformMover self) -> std::string"""
1446  return _IMP_pmi.TransformMover___str__(self)
1447 
1448 
1449  def __repr__(self):
1450  """__repr__(TransformMover self) -> std::string"""
1451  return _IMP_pmi.TransformMover___repr__(self)
1452 
1453 
1454  @staticmethod
1455  def get_from(o):
1456  return _object_cast_to_TransformMover(o)
1457 
1458 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1459 TransformMover_swigregister(TransformMover)
1460 
1461 
1462 def create_elastic_network(ps, dist_cutoff, strength):
1463  """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1464  return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1465 
1466 def get_dihedral_angle(p1, p2, p3, p4):
1467  """get_dihedral_angle(Atom p1, Atom p2, Atom p3, Atom p4) -> IMP::Float"""
1468  return _IMP_pmi.get_dihedral_angle(p1, p2, p3, p4)
1469 
1470 def get_bipartite_minimum_sphere_distance(m1, m2):
1471  """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1472  return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1473 
1474 def get_list_of_bipartite_minimum_sphere_distance(pss):
1475  """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1476  return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1477 
1479  """get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1480  return _IMP_pmi.get_molecule_name_and_copy(h)
1481 
1482 def get_is_canonical(h):
1483  """get_is_canonical(Hierarchy h) -> bool"""
1484  return _IMP_pmi.get_is_canonical(h)
1485 class InternalCoordinatesConstraint(IMP.SingletonModifier):
1486  """Proxy of C++ IMP::pmi::InternalCoordinatesConstraint class."""
1487 
1488  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1489 
1490  def __init__(self):
1491  """__init__(IMP::pmi::InternalCoordinatesConstraint self) -> InternalCoordinatesConstraint"""
1492  this = _IMP_pmi.new_InternalCoordinatesConstraint()
1493  try:
1494  self.this.append(this)
1495  except __builtin__.Exception:
1496  self.this = this
1497 
1498  def do_get_inputs(self, m, pis):
1499  """do_get_inputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1500  return _IMP_pmi.InternalCoordinatesConstraint_do_get_inputs(self, m, pis)
1501 
1502 
1503  def do_get_outputs(self, m, pis):
1504  """do_get_outputs(InternalCoordinatesConstraint self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1505  return _IMP_pmi.InternalCoordinatesConstraint_do_get_outputs(self, m, pis)
1506 
1507 
1508  def get_version_info(self):
1509  """get_version_info(InternalCoordinatesConstraint self) -> VersionInfo"""
1510  return _IMP_pmi.InternalCoordinatesConstraint_get_version_info(self)
1511 
1512 
1513  def __str__(self):
1514  """__str__(InternalCoordinatesConstraint self) -> std::string"""
1515  return _IMP_pmi.InternalCoordinatesConstraint___str__(self)
1516 
1517 
1518  def __repr__(self):
1519  """__repr__(InternalCoordinatesConstraint self) -> std::string"""
1520  return _IMP_pmi.InternalCoordinatesConstraint___repr__(self)
1521 
1522 
1523  @staticmethod
1524  def get_from(o):
1525  return _object_cast_to_InternalCoordinatesConstraint(o)
1526 
1527 InternalCoordinatesConstraint_swigregister = _IMP_pmi.InternalCoordinatesConstraint_swigregister
1528 InternalCoordinatesConstraint_swigregister(InternalCoordinatesConstraint)
1529 
1530 
1531 def get_module_version():
1532  """get_module_version() -> std::string const"""
1533  return _IMP_pmi.get_module_version()
1534 
1535 def get_example_path(fname):
1536  """get_example_path(std::string fname) -> std::string"""
1537  return _IMP_pmi.get_example_path(fname)
1538 
1539 def get_data_path(fname):
1540  """get_data_path(std::string fname) -> std::string"""
1541  return _IMP_pmi.get_data_path(fname)
1542 
1543 from . import _version_check
1544 _version_check.check_version(get_module_version())
1545 __version__ = get_module_version()
1546 
1547 
1548 
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.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
Warning related to handling of structures.
std::string get_molecule_name_and_copy(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and get the "molname.copynum".
Definition: pmi/utilities.h:85
RestraintSet * create_elastic_network(const Particles &ps, Float dist_cutoff, Float strength)
Create an elastic network restraint set.
Definition: pmi/utilities.h:26
A base class for classes which perturb particles.
Basic utilities for handling cryo-electron microscopy 3D density maps.
Warning for an expected, but missing, file.
bool get_is_canonical(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and check if the root is named System.
Definition: pmi/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.
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