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