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