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