IMP logo
IMP Reference Guide  2.6.2
The Integrative Modeling Platform
pmi/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.8
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-2016 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
16 if version_info >= (2, 6, 0):
17  def swig_import_helper():
18  from os.path import dirname
19  import imp
20  fp = None
21  try:
22  fp, pathname, description = imp.find_module('_IMP_pmi', [dirname(__file__)])
23  except ImportError:
24  import _IMP_pmi
25  return _IMP_pmi
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_pmi', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_pmi = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_pmi
36 del version_info
37 try:
38  _swig_property = property
39 except NameError:
40  pass # Python < 2.2 doesn't have 'property'.
41 
42 
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44  if (name == "thisown"):
45  return self.this.own(value)
46  if (name == "this"):
47  if type(value).__name__ == 'SwigPyObject':
48  self.__dict__[name] = value
49  return
50  method = class_type.__swig_setmethods__.get(name, None)
51  if method:
52  return method(self, value)
53  if (not static):
54  object.__setattr__(self, name, value)
55  else:
56  raise AttributeError("You cannot add attributes to %s" % self)
57 
58 
59 def _swig_setattr(self, class_type, name, value):
60  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61 
62 
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64  if (name == "thisown"):
65  return self.this.own()
66  method = class_type.__swig_getmethods__.get(name, None)
67  if method:
68  return method(self)
69  if (not static):
70  return object.__getattr__(self, name)
71  else:
72  raise AttributeError(name)
73 
74 def _swig_getattr(self, class_type, name):
75  return _swig_getattr_nondynamic(self, class_type, name, 0)
76 
77 
78 def _swig_repr(self):
79  try:
80  strthis = "proxy of " + self.this.__repr__()
81  except Exception:
82  strthis = ""
83  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
84 
85 try:
86  _object = object
87  _newclass = 1
88 except AttributeError:
89  class _object:
90  pass
91  _newclass = 0
92 
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 Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_PMI_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_PMI_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
118  def __init__(self, *args, **kwargs):
119  raise AttributeError("No constructor defined - class is abstract")
120  __repr__ = _swig_repr
121  __swig_destroy__ = _IMP_pmi.delete_IMP_PMI_SwigPyIterator
122  __del__ = lambda self: None
123 
124  def value(self):
125  """value(IMP_PMI_SwigPyIterator self) -> PyObject *"""
126  return _IMP_pmi.IMP_PMI_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
132  incr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
133  """
134  return _IMP_pmi.IMP_PMI_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
140  decr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
141  """
142  return _IMP_pmi.IMP_PMI_SwigPyIterator_decr(self, n)
143 
144 
145  def distance(self, x):
146  """distance(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t"""
147  return _IMP_pmi.IMP_PMI_SwigPyIterator_distance(self, x)
148 
149 
150  def equal(self, x):
151  """equal(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
152  return _IMP_pmi.IMP_PMI_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator"""
157  return _IMP_pmi.IMP_PMI_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_PMI_SwigPyIterator self) -> PyObject *"""
162  return _IMP_pmi.IMP_PMI_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_PMI_SwigPyIterator self) -> PyObject *"""
167  return _IMP_pmi.IMP_PMI_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_PMI_SwigPyIterator self) -> PyObject *"""
172  return _IMP_pmi.IMP_PMI_SwigPyIterator_previous(self)
173 
174 
175  def advance(self, n):
176  """advance(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
177  return _IMP_pmi.IMP_PMI_SwigPyIterator_advance(self, n)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
182  return _IMP_pmi.IMP_PMI_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
187  return _IMP_pmi.IMP_PMI_SwigPyIterator___ne__(self, x)
188 
189 
190  def __iadd__(self, n):
191  """__iadd__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
192  return _IMP_pmi.IMP_PMI_SwigPyIterator___iadd__(self, n)
193 
194 
195  def __isub__(self, n):
196  """__isub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
197  return _IMP_pmi.IMP_PMI_SwigPyIterator___isub__(self, n)
198 
199 
200  def __add__(self, n):
201  """__add__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
202  return _IMP_pmi.IMP_PMI_SwigPyIterator___add__(self, n)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator
208  __sub__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_pmi.IMP_PMI_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_PMI_SwigPyIterator_swigregister = _IMP_pmi.IMP_PMI_SwigPyIterator_swigregister
215 IMP_PMI_SwigPyIterator_swigregister(IMP_PMI_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
223 
224 _IMP_pmi.IMP_DEBUG_swigconstant(_IMP_pmi)
225 IMP_DEBUG = _IMP_pmi.IMP_DEBUG
226 
227 _IMP_pmi.IMP_RELEASE_swigconstant(_IMP_pmi)
228 IMP_RELEASE = _IMP_pmi.IMP_RELEASE
229 
230 _IMP_pmi.IMP_SILENT_swigconstant(_IMP_pmi)
231 IMP_SILENT = _IMP_pmi.IMP_SILENT
232 
233 _IMP_pmi.IMP_PROGRESS_swigconstant(_IMP_pmi)
234 IMP_PROGRESS = _IMP_pmi.IMP_PROGRESS
235 
236 _IMP_pmi.IMP_TERSE_swigconstant(_IMP_pmi)
237 IMP_TERSE = _IMP_pmi.IMP_TERSE
238 
239 _IMP_pmi.IMP_VERBOSE_swigconstant(_IMP_pmi)
240 IMP_VERBOSE = _IMP_pmi.IMP_VERBOSE
241 
242 _IMP_pmi.IMP_MEMORY_swigconstant(_IMP_pmi)
243 IMP_MEMORY = _IMP_pmi.IMP_MEMORY
244 
245 _IMP_pmi.IMP_NONE_swigconstant(_IMP_pmi)
246 IMP_NONE = _IMP_pmi.IMP_NONE
247 
248 _IMP_pmi.IMP_USAGE_swigconstant(_IMP_pmi)
249 IMP_USAGE = _IMP_pmi.IMP_USAGE
250 
251 _IMP_pmi.IMP_INTERNAL_swigconstant(_IMP_pmi)
252 IMP_INTERNAL = _IMP_pmi.IMP_INTERNAL
253 
254 _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_pmi)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX
256 
257 _IMP_pmi.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_pmi)
258 IMP_COMPILER_HAS_AUTO = _IMP_pmi.IMP_COMPILER_HAS_AUTO
259 
260 _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_pmi)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR
262 
263 _IMP_pmi.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_pmi)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_pmi.IMP_COMPILER_HAS_UNIQUE_PTR
265 
266 _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM
268 
269 _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_pmi)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS
271 
272 _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_pmi)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
274 
275 _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_pmi)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
277 
278 _IMP_pmi.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_pmi)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi.IMPKERNEL_SHOW_WARNINGS
280 
281 import sys
282 class _DirectorObjects(object):
283  """@internal Simple class to keep references to director objects
284  to prevent premature deletion."""
285  def __init__(self):
286  self._objects = []
287  def register(self, obj):
288  """Take a reference to a director object; will only work for
289  refcounted C++ classes"""
290  if hasattr(obj, 'get_ref_count'):
291  self._objects.append(obj)
292  def cleanup(self):
293  """Only drop our reference and allow cleanup by Python if no other
294  Python references exist (we hold 3 references: one in self._objects,
295  one in x, and one in the argument list for getrefcount) *and* no
296  other C++ references exist (the Python object always holds one)"""
297  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
298  or x.get_ref_count() > 1]
299 # Do in two steps so the references are kept until the end of the
300 # function (deleting references may trigger a fresh call to this method)
301  self._objects = objs
302  def get_object_count(self):
303  """Get number of director objects (useful for testing only)"""
304  return len(self._objects)
305 _director_objects = _DirectorObjects()
306 
307 class _ostream(object):
308  """Proxy of C++ std::ostream class."""
309 
310  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
311 
312  def __init__(self, *args, **kwargs):
313  raise AttributeError("No constructor defined")
314  __repr__ = _swig_repr
315 
316  def write(self, osa_buf):
317  """write(_ostream self, char const * osa_buf)"""
318  return _IMP_pmi._ostream_write(self, osa_buf)
319 
320 _ostream_swigregister = _IMP_pmi._ostream_swigregister
321 _ostream_swigregister(_ostream)
322 
323 
324 _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_pmi)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE
326 
327 _IMP_pmi.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_pmi)
328 IMP_COMPILER_HAS_FINAL = _IMP_pmi.IMP_COMPILER_HAS_FINAL
329 
330 _IMP_pmi.IMP_HAS_NOEXCEPT_swigconstant(_IMP_pmi)
331 IMP_HAS_NOEXCEPT = _IMP_pmi.IMP_HAS_NOEXCEPT
332 import IMP
333 
334 _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
336 
337 _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
339 
340 _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
342 
343 _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
345 
346 _IMP_pmi.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_pmi)
347 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
348 import IMP.cgal
349 
350 _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
352 
353 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
355 
356 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
358 
359 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
361 
362 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
364 
365 _IMP_pmi.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_pmi)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
367 
368 _IMP_pmi.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_pmi)
369 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
370 
371 _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_pmi)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
373 import IMP.algebra
374 
375 _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
376 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
377 
378 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
379 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
380 
381 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
382 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
383 
384 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
385 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
386 
387 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
388 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
389 
390 _IMP_pmi.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_pmi)
391 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
392 
393 _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_pmi)
394 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
395 import IMP.display
396 
397 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
398 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
399 
400 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
401 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
402 
403 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
404 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
405 
406 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
407 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
408 
409 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
411 
412 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_pmi)
413 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
414 
415 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_pmi)
416 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
417 
418 _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_pmi)
419 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
420 import IMP.score_functor
421 
422 _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
423 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
424 
425 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
426 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
427 
428 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
429 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
430 
431 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
432 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
433 
434 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
435 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
436 
437 _IMP_pmi.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_pmi)
438 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
439 
440 _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_pmi)
441 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS
442 import IMP.statistics
443 
444 _IMP_pmi.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
445 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
446 
447 _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
448 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
449 
450 _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
451 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
452 
453 _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
454 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
455 
456 _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
457 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
458 
459 _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
460 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
461 
462 _IMP_pmi.IMP_CORE_HAS_CGAL_swigconstant(_IMP_pmi)
463 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
464 
465 _IMP_pmi.IMP_CORE_HAS_HDF5_swigconstant(_IMP_pmi)
466 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
467 
468 _IMP_pmi.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_pmi)
469 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
470 import IMP.core
471 
472 _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_pmi)
473 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
474 
475 _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
476 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
477 
478 _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
479 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
480 
481 _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
482 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
483 
484 _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
485 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
486 
487 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
488 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
489 
490 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
491 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
492 
493 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
494 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
495 
496 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
497 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
498 
499 _IMP_pmi.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_pmi)
500 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
501 
502 _IMP_pmi.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_pmi)
503 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
504 
505 _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_pmi)
506 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
507 import IMP.container
508 
509 _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
510 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
511 
512 _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
513 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
514 
515 _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
516 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
517 
518 _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
519 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
520 
521 _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
522 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
523 
524 _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
525 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
526 
527 _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
528 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
529 
530 _IMP_pmi.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_pmi)
531 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
532 
533 _IMP_pmi.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_pmi)
534 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
535 
536 _IMP_pmi.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_pmi)
537 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
538 
539 _IMP_pmi.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_pmi)
540 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
541 
542 _IMP_pmi.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_pmi)
543 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
544 
545 _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_pmi)
546 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
547 import IMP.atom
548 
549 _IMP_pmi.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
550 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
551 
552 _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_pmi)
553 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
554 
555 _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
556 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
557 
558 _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
559 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
560 
561 _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
562 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
563 
564 _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
565 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
566 
567 _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
568 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
569 
570 _IMP_pmi.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
571 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
572 
573 _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
574 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
575 
576 _IMP_pmi.IMP_EM_HAS_CGAL_swigconstant(_IMP_pmi)
577 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
578 
579 _IMP_pmi.IMP_EM_HAS_HDF5_swigconstant(_IMP_pmi)
580 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
581 
582 _IMP_pmi.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_pmi)
583 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
584 import IMP.em
585 
586 _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
587 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
588 
589 _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_pmi)
590 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
591 
592 _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
593 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
594 
595 _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
596 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
597 
598 _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
599 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
600 
601 _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
602 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
603 
604 _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
605 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
606 
607 _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
608 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
609 
610 _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
611 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
612 
613 _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
614 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
615 
616 _IMP_pmi.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_pmi)
617 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
618 
619 _IMP_pmi.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_pmi)
620 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
621 
622 _IMP_pmi.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_pmi)
623 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
624 import IMP.saxs
625 
626 _IMP_pmi.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
627 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
628 
629 _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
630 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
631 
632 _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
633 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
634 
635 _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
636 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
637 
638 _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
639 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
640 
641 _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
642 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
643 
644 _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
645 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
646 
647 _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
648 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
649 
650 _IMP_pmi.IMP_ISD_HAS_CGAL_swigconstant(_IMP_pmi)
651 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
652 
653 _IMP_pmi.IMP_ISD_HAS_HDF5_swigconstant(_IMP_pmi)
654 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
655 
656 _IMP_pmi.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_pmi)
657 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
658 import IMP.isd
659 
660 _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA_swigconstant(_IMP_pmi)
661 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
662 
663 _IMP_pmi.IMP_PMI_HAS_IMP_ATOM_swigconstant(_IMP_pmi)
664 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
665 
666 _IMP_pmi.IMP_PMI_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
667 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
668 
669 _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
670 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
671 
672 _IMP_pmi.IMP_PMI_HAS_IMP_EM_swigconstant(_IMP_pmi)
673 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
674 
675 _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
676 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
677 
678 _IMP_pmi.IMP_PMI_HAS_IMP_SAXS_swigconstant(_IMP_pmi)
679 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
680 
681 _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
682 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
683 
684 _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS_swigconstant(_IMP_pmi)
685 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
686 
687 _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
688 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
689 
690 _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
691 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
692 
693 _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
694 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
695 
696 _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
697 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
698 
699 _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
700 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
701 
702 _IMP_pmi.IMP_PMI_HAS_CGAL_swigconstant(_IMP_pmi)
703 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
704 
705 _IMP_pmi.IMP_PMI_HAS_HDF5_swigconstant(_IMP_pmi)
706 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
707 
708 _IMP_pmi.IMPPMI_SHOW_WARNINGS_swigconstant(_IMP_pmi)
709 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
710 
711 _object_types.append("MembraneRestraint")
712 
713 
714 def _object_cast_to_MembraneRestraint(o):
715  """_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
716  return _IMP_pmi._object_cast_to_MembraneRestraint(o)
717 
718 _object_types.append("CompositeRestraint")
719 
720 
721 def _object_cast_to_CompositeRestraint(o):
722  """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
723  return _IMP_pmi._object_cast_to_CompositeRestraint(o)
724 
725 def Uncertainties(l=[]):
726  return [Uncertainty(x) for x in l]
727 _plural_types.append("Uncertainties")
728 
729 
730 _value_types.append("Uncertainty")
731 
732 
733 def Resolutions(l=[]):
734  return [Resolution(x) for x in l]
735 _plural_types.append("Resolutions")
736 
737 
738 _value_types.append("Resolution")
739 
740 
741 def Symmetrics(l=[]):
742  return [Symmetric(x) for x in l]
743 _plural_types.append("Symmetrics")
744 
745 
746 _value_types.append("Symmetric")
747 
748 
749 _object_types.append("SigmoidRestraintSphere")
750 
751 
752 def _object_cast_to_SigmoidRestraintSphere(o):
753  """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
754  return _IMP_pmi._object_cast_to_SigmoidRestraintSphere(o)
755 
756 _object_types.append("TransformMover")
757 
758 
759 def _object_cast_to_TransformMover(o):
760  """_object_cast_to_TransformMover(Object o) -> TransformMover"""
761  return _IMP_pmi._object_cast_to_TransformMover(o)
762 class MembraneRestraint(IMP.isd.ISDRestraint):
763  """Proxy of C++ IMP::pmi::MembraneRestraint class."""
764 
765  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
766 
767  def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
768  """__init__(IMP::pmi::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
769  this = _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
770  try:
771  self.this.append(this)
772  except Exception:
773  self.this = this
774 
775  def add_particles_below(self, particles):
776  """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
777  return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
778 
779 
780  def add_particles_above(self, particles):
781  """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
782  return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
783 
784 
785  def add_particles_inside(self, particles):
786  """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
787  return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
788 
789 
790  def get_score(self, prob):
791  """get_score(MembraneRestraint self, double prob) -> double"""
792  return _IMP_pmi.MembraneRestraint_get_score(self, prob)
793 
794 
795  def get_probability_above(self, z, z_slope_center_upper):
796  """get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
797  return _IMP_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
798 
799 
800  def get_score_above(self, z, z_slope_center_upper):
801  """get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
802  return _IMP_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
803 
804 
805  def get_probability_below(self, z, z_slope_center_lower):
806  """get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
807  return _IMP_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
808 
809 
810  def get_score_below(self, z, z_slope_center_lower):
811  """get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
812  return _IMP_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
813 
814 
815  def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
816  """get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
817  return _IMP_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
818 
819 
820  def __str__(self):
821  """__str__(MembraneRestraint self) -> std::string"""
822  return _IMP_pmi.MembraneRestraint___str__(self)
823 
824 
825  def __repr__(self):
826  """__repr__(MembraneRestraint self) -> std::string"""
827  return _IMP_pmi.MembraneRestraint___repr__(self)
828 
829 
830  @staticmethod
831  def get_from(o):
832  return _object_cast_to_MembraneRestraint(o)
833 
834 MembraneRestraint_swigregister = _IMP_pmi.MembraneRestraint_swigregister
835 MembraneRestraint_swigregister(MembraneRestraint)
836 
837 class CompositeRestraint(IMP.Restraint):
838  """Proxy of C++ IMP::pmi::CompositeRestraint class."""
839 
840  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
841 
842  def __init__(self, *args):
843  """
844  __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
845  __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
846  """
847  this = _IMP_pmi.new_CompositeRestraint(*args)
848  try:
849  self.this.append(this)
850  except Exception:
851  self.this = this
852 
853  def add_composite_particle(self, pi):
854  """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
855  return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
856 
857 
858  def get_number_of_elements(self):
859  """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
860  return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
861 
862 
863  def do_get_inputs(self):
864  """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
865  return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
866 
867 
868  def get_version_info(self):
869  """get_version_info(CompositeRestraint self) -> VersionInfo"""
870  return _IMP_pmi.CompositeRestraint_get_version_info(self)
871 
872 
873  def get_probability(self):
874  """get_probability(CompositeRestraint self) -> double"""
875  return _IMP_pmi.CompositeRestraint_get_probability(self)
876 
877 
878  def __str__(self):
879  """__str__(CompositeRestraint self) -> std::string"""
880  return _IMP_pmi.CompositeRestraint___str__(self)
881 
882 
883  def __repr__(self):
884  """__repr__(CompositeRestraint self) -> std::string"""
885  return _IMP_pmi.CompositeRestraint___repr__(self)
886 
887 
888  @staticmethod
889  def get_from(o):
890  return _object_cast_to_CompositeRestraint(o)
891 
892 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
893 CompositeRestraint_swigregister(CompositeRestraint)
894 
895 class Uncertainty(IMP.Decorator):
896  """Proxy of C++ IMP::pmi::Uncertainty class."""
897 
898  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
899 
900  def get_uncertainty(self):
901  """get_uncertainty(Uncertainty self) -> IMP::Float"""
902  return _IMP_pmi.Uncertainty_get_uncertainty(self)
903 
904 
905  def set_uncertainty(self, d):
906  """set_uncertainty(Uncertainty self, IMP::Float d)"""
907  return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
908 
909 
910  def __init__(self, *args):
911  """
912  __init__(IMP::pmi::Uncertainty self) -> Uncertainty
913  __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
914  __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
915  """
916  this = _IMP_pmi.new_Uncertainty(*args)
917  try:
918  self.this.append(this)
919  except Exception:
920  self.this = this
921 
922  def get_is_setup(*args):
923  """
924  get_is_setup(Model m, ParticleIndex pi) -> bool
925  get_is_setup(_ParticleAdaptor p) -> bool
926  """
927  return _IMP_pmi.Uncertainty_get_is_setup(*args)
928 
929  get_is_setup = staticmethod(get_is_setup)
930 
931  def show(self, *args):
932  """
933  show(Uncertainty self, _ostream out)
934  show(Uncertainty self)
935  """
936  return _IMP_pmi.Uncertainty_show(self, *args)
937 
938 
939  def setup_particle(*args):
940  """
941  setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
942  setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
943  """
944  return _IMP_pmi.Uncertainty_setup_particle(*args)
945 
946  setup_particle = staticmethod(setup_particle)
947 
948  def get_uncertainty_key():
949  """get_uncertainty_key() -> FloatKey"""
950  return _IMP_pmi.Uncertainty_get_uncertainty_key()
951 
952  get_uncertainty_key = staticmethod(get_uncertainty_key)
953 
954  def add_attribute(self, *args):
955  """
956  add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
957  add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
958  add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
959  add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
960  add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
961  add_attribute(Uncertainty self, ObjectKey a0, Object a1)
962  """
963  return _IMP_pmi.Uncertainty_add_attribute(self, *args)
964 
965 
966  def get_value(self, *args):
967  """
968  get_value(Uncertainty self, FloatKey a0) -> IMP::Float
969  get_value(Uncertainty self, IntKey a0) -> IMP::Int
970  get_value(Uncertainty self, StringKey a0) -> IMP::String
971  get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
972  get_value(Uncertainty self, ObjectKey a0) -> Object
973  """
974  return _IMP_pmi.Uncertainty_get_value(self, *args)
975 
976 
977  def set_value(self, *args):
978  """
979  set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
980  set_value(Uncertainty self, IntKey a0, IMP::Int a1)
981  set_value(Uncertainty self, StringKey a0, IMP::String a1)
982  set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
983  set_value(Uncertainty self, ObjectKey a0, Object a1)
984  """
985  return _IMP_pmi.Uncertainty_set_value(self, *args)
986 
987 
988  def remove_attribute(self, *args):
989  """
990  remove_attribute(Uncertainty self, FloatKey a0)
991  remove_attribute(Uncertainty self, IntKey a0)
992  remove_attribute(Uncertainty self, StringKey a0)
993  remove_attribute(Uncertainty self, ParticleIndexKey a0)
994  remove_attribute(Uncertainty self, ObjectKey a0)
995  """
996  return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
997 
998 
999  def has_attribute(self, *args):
1000  """
1001  has_attribute(Uncertainty self, FloatKey a0) -> bool
1002  has_attribute(Uncertainty self, IntKey a0) -> bool
1003  has_attribute(Uncertainty self, StringKey a0) -> bool
1004  has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
1005  has_attribute(Uncertainty self, ObjectKey a0) -> bool
1006  """
1007  return _IMP_pmi.Uncertainty_has_attribute(self, *args)
1008 
1009 
1010  def get_derivative(self, a0):
1011  """get_derivative(Uncertainty self, FloatKey a0) -> double"""
1012  return _IMP_pmi.Uncertainty_get_derivative(self, a0)
1013 
1014 
1015  def get_name(self):
1016  """get_name(Uncertainty self) -> std::string"""
1017  return _IMP_pmi.Uncertainty_get_name(self)
1018 
1019 
1020  def clear_caches(self):
1021  """clear_caches(Uncertainty self)"""
1022  return _IMP_pmi.Uncertainty_clear_caches(self)
1023 
1024 
1025  def set_name(self, a0):
1026  """set_name(Uncertainty self, std::string a0)"""
1027  return _IMP_pmi.Uncertainty_set_name(self, a0)
1028 
1029 
1030  def set_check_level(self, a0):
1031  """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
1032  return _IMP_pmi.Uncertainty_set_check_level(self, a0)
1033 
1034 
1035  def add_to_derivative(self, a0, a1, a2):
1036  """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1037  return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
1038 
1039 
1040  def set_is_optimized(self, a0, a1):
1041  """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
1042  return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
1043 
1044 
1045  def get_is_optimized(self, a0):
1046  """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
1047  return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
1048 
1049 
1050  def get_check_level(self):
1051  """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
1052  return _IMP_pmi.Uncertainty_get_check_level(self)
1053 
1054 
1055  def __eq__(self, *args):
1056  """
1057  __eq__(Uncertainty self, Uncertainty o) -> bool
1058  __eq__(Uncertainty self, Particle d) -> bool
1059  """
1060  return _IMP_pmi.Uncertainty___eq__(self, *args)
1061 
1062 
1063  def __ne__(self, *args):
1064  """
1065  __ne__(Uncertainty self, Uncertainty o) -> bool
1066  __ne__(Uncertainty self, Particle d) -> bool
1067  """
1068  return _IMP_pmi.Uncertainty___ne__(self, *args)
1069 
1070 
1071  def __le__(self, *args):
1072  """
1073  __le__(Uncertainty self, Uncertainty o) -> bool
1074  __le__(Uncertainty self, Particle d) -> bool
1075  """
1076  return _IMP_pmi.Uncertainty___le__(self, *args)
1077 
1078 
1079  def __lt__(self, *args):
1080  """
1081  __lt__(Uncertainty self, Uncertainty o) -> bool
1082  __lt__(Uncertainty self, Particle d) -> bool
1083  """
1084  return _IMP_pmi.Uncertainty___lt__(self, *args)
1085 
1086 
1087  def __ge__(self, *args):
1088  """
1089  __ge__(Uncertainty self, Uncertainty o) -> bool
1090  __ge__(Uncertainty self, Particle d) -> bool
1091  """
1092  return _IMP_pmi.Uncertainty___ge__(self, *args)
1093 
1094 
1095  def __gt__(self, *args):
1096  """
1097  __gt__(Uncertainty self, Uncertainty o) -> bool
1098  __gt__(Uncertainty self, Particle d) -> bool
1099  """
1100  return _IMP_pmi.Uncertainty___gt__(self, *args)
1101 
1102 
1103  def __hash__(self):
1104  """__hash__(Uncertainty self) -> std::size_t"""
1105  return _IMP_pmi.Uncertainty___hash__(self)
1106 
1107 
1108  def __str__(self):
1109  """__str__(Uncertainty self) -> std::string"""
1110  return _IMP_pmi.Uncertainty___str__(self)
1111 
1112 
1113  def __repr__(self):
1114  """__repr__(Uncertainty self) -> std::string"""
1115  return _IMP_pmi.Uncertainty___repr__(self)
1116 
1117  __swig_destroy__ = _IMP_pmi.delete_Uncertainty
1118  __del__ = lambda self: None
1119 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
1120 Uncertainty_swigregister(Uncertainty)
1121 
1122 def Uncertainty_get_is_setup(*args):
1123  """
1124  get_is_setup(Model m, ParticleIndex pi) -> bool
1125  Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
1126  """
1127  return _IMP_pmi.Uncertainty_get_is_setup(*args)
1128 
1129 def Uncertainty_setup_particle(*args):
1130  """
1131  setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
1132  Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
1133  """
1134  return _IMP_pmi.Uncertainty_setup_particle(*args)
1135 
1136 def Uncertainty_get_uncertainty_key():
1137  """Uncertainty_get_uncertainty_key() -> FloatKey"""
1138  return _IMP_pmi.Uncertainty_get_uncertainty_key()
1139 
1140 class Resolution(IMP.Decorator):
1141  """Proxy of C++ IMP::pmi::Resolution class."""
1142 
1143  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1144 
1145  def get_resolution(self):
1146  """get_resolution(Resolution self) -> IMP::Float"""
1147  return _IMP_pmi.Resolution_get_resolution(self)
1148 
1149 
1150  def set_resolution(self, d):
1151  """set_resolution(Resolution self, IMP::Float d)"""
1152  return _IMP_pmi.Resolution_set_resolution(self, d)
1153 
1154 
1155  def __init__(self, *args):
1156  """
1157  __init__(IMP::pmi::Resolution self) -> Resolution
1158  __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
1159  __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
1160  """
1161  this = _IMP_pmi.new_Resolution(*args)
1162  try:
1163  self.this.append(this)
1164  except Exception:
1165  self.this = this
1166 
1167  def get_is_setup(*args):
1168  """
1169  get_is_setup(Model m, ParticleIndex pi) -> bool
1170  get_is_setup(_ParticleAdaptor p) -> bool
1171  """
1172  return _IMP_pmi.Resolution_get_is_setup(*args)
1173 
1174  get_is_setup = staticmethod(get_is_setup)
1175 
1176  def show(self, *args):
1177  """
1178  show(Resolution self, _ostream out)
1179  show(Resolution self)
1180  """
1181  return _IMP_pmi.Resolution_show(self, *args)
1182 
1183 
1184  def setup_particle(*args):
1185  """
1186  setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1187  setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1188  """
1189  return _IMP_pmi.Resolution_setup_particle(*args)
1190 
1191  setup_particle = staticmethod(setup_particle)
1192 
1193  def get_resolution_key():
1194  """get_resolution_key() -> FloatKey"""
1195  return _IMP_pmi.Resolution_get_resolution_key()
1196 
1197  get_resolution_key = staticmethod(get_resolution_key)
1198 
1199  def add_attribute(self, *args):
1200  """
1201  add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
1202  add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
1203  add_attribute(Resolution self, IntKey a0, IMP::Int a1)
1204  add_attribute(Resolution self, StringKey a0, IMP::String a1)
1205  add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
1206  add_attribute(Resolution self, ObjectKey a0, Object a1)
1207  """
1208  return _IMP_pmi.Resolution_add_attribute(self, *args)
1209 
1210 
1211  def get_value(self, *args):
1212  """
1213  get_value(Resolution self, FloatKey a0) -> IMP::Float
1214  get_value(Resolution self, IntKey a0) -> IMP::Int
1215  get_value(Resolution self, StringKey a0) -> IMP::String
1216  get_value(Resolution self, ParticleIndexKey a0) -> Particle
1217  get_value(Resolution self, ObjectKey a0) -> Object
1218  """
1219  return _IMP_pmi.Resolution_get_value(self, *args)
1220 
1221 
1222  def set_value(self, *args):
1223  """
1224  set_value(Resolution self, FloatKey a0, IMP::Float a1)
1225  set_value(Resolution self, IntKey a0, IMP::Int a1)
1226  set_value(Resolution self, StringKey a0, IMP::String a1)
1227  set_value(Resolution self, ParticleIndexKey a0, Particle a1)
1228  set_value(Resolution self, ObjectKey a0, Object a1)
1229  """
1230  return _IMP_pmi.Resolution_set_value(self, *args)
1231 
1232 
1233  def remove_attribute(self, *args):
1234  """
1235  remove_attribute(Resolution self, FloatKey a0)
1236  remove_attribute(Resolution self, IntKey a0)
1237  remove_attribute(Resolution self, StringKey a0)
1238  remove_attribute(Resolution self, ParticleIndexKey a0)
1239  remove_attribute(Resolution self, ObjectKey a0)
1240  """
1241  return _IMP_pmi.Resolution_remove_attribute(self, *args)
1242 
1243 
1244  def has_attribute(self, *args):
1245  """
1246  has_attribute(Resolution self, FloatKey a0) -> bool
1247  has_attribute(Resolution self, IntKey a0) -> bool
1248  has_attribute(Resolution self, StringKey a0) -> bool
1249  has_attribute(Resolution self, ParticleIndexKey a0) -> bool
1250  has_attribute(Resolution self, ObjectKey a0) -> bool
1251  """
1252  return _IMP_pmi.Resolution_has_attribute(self, *args)
1253 
1254 
1255  def get_derivative(self, a0):
1256  """get_derivative(Resolution self, FloatKey a0) -> double"""
1257  return _IMP_pmi.Resolution_get_derivative(self, a0)
1258 
1259 
1260  def get_name(self):
1261  """get_name(Resolution self) -> std::string"""
1262  return _IMP_pmi.Resolution_get_name(self)
1263 
1264 
1265  def clear_caches(self):
1266  """clear_caches(Resolution self)"""
1267  return _IMP_pmi.Resolution_clear_caches(self)
1268 
1269 
1270  def set_name(self, a0):
1271  """set_name(Resolution self, std::string a0)"""
1272  return _IMP_pmi.Resolution_set_name(self, a0)
1273 
1274 
1275  def set_check_level(self, a0):
1276  """set_check_level(Resolution self, IMP::CheckLevel a0)"""
1277  return _IMP_pmi.Resolution_set_check_level(self, a0)
1278 
1279 
1280  def add_to_derivative(self, a0, a1, a2):
1281  """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1282  return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1283 
1284 
1285  def set_is_optimized(self, a0, a1):
1286  """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1287  return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1288 
1289 
1290  def get_is_optimized(self, a0):
1291  """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1292  return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1293 
1294 
1295  def get_check_level(self):
1296  """get_check_level(Resolution self) -> IMP::CheckLevel"""
1297  return _IMP_pmi.Resolution_get_check_level(self)
1298 
1299 
1300  def __eq__(self, *args):
1301  """
1302  __eq__(Resolution self, Resolution o) -> bool
1303  __eq__(Resolution self, Particle d) -> bool
1304  """
1305  return _IMP_pmi.Resolution___eq__(self, *args)
1306 
1307 
1308  def __ne__(self, *args):
1309  """
1310  __ne__(Resolution self, Resolution o) -> bool
1311  __ne__(Resolution self, Particle d) -> bool
1312  """
1313  return _IMP_pmi.Resolution___ne__(self, *args)
1314 
1315 
1316  def __le__(self, *args):
1317  """
1318  __le__(Resolution self, Resolution o) -> bool
1319  __le__(Resolution self, Particle d) -> bool
1320  """
1321  return _IMP_pmi.Resolution___le__(self, *args)
1322 
1323 
1324  def __lt__(self, *args):
1325  """
1326  __lt__(Resolution self, Resolution o) -> bool
1327  __lt__(Resolution self, Particle d) -> bool
1328  """
1329  return _IMP_pmi.Resolution___lt__(self, *args)
1330 
1331 
1332  def __ge__(self, *args):
1333  """
1334  __ge__(Resolution self, Resolution o) -> bool
1335  __ge__(Resolution self, Particle d) -> bool
1336  """
1337  return _IMP_pmi.Resolution___ge__(self, *args)
1338 
1339 
1340  def __gt__(self, *args):
1341  """
1342  __gt__(Resolution self, Resolution o) -> bool
1343  __gt__(Resolution self, Particle d) -> bool
1344  """
1345  return _IMP_pmi.Resolution___gt__(self, *args)
1346 
1347 
1348  def __hash__(self):
1349  """__hash__(Resolution self) -> std::size_t"""
1350  return _IMP_pmi.Resolution___hash__(self)
1351 
1352 
1353  def __str__(self):
1354  """__str__(Resolution self) -> std::string"""
1355  return _IMP_pmi.Resolution___str__(self)
1356 
1357 
1358  def __repr__(self):
1359  """__repr__(Resolution self) -> std::string"""
1360  return _IMP_pmi.Resolution___repr__(self)
1361 
1362  __swig_destroy__ = _IMP_pmi.delete_Resolution
1363  __del__ = lambda self: None
1364 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1365 Resolution_swigregister(Resolution)
1366 
1367 def Resolution_get_is_setup(*args):
1368  """
1369  get_is_setup(Model m, ParticleIndex pi) -> bool
1370  Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1371  """
1372  return _IMP_pmi.Resolution_get_is_setup(*args)
1373 
1374 def Resolution_setup_particle(*args):
1375  """
1376  setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1377  Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1378  """
1379  return _IMP_pmi.Resolution_setup_particle(*args)
1380 
1381 def Resolution_get_resolution_key():
1382  """Resolution_get_resolution_key() -> FloatKey"""
1383  return _IMP_pmi.Resolution_get_resolution_key()
1384 
1385 class Symmetric(IMP.Decorator):
1386  """Proxy of C++ IMP::pmi::Symmetric class."""
1387 
1388  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1389 
1390  def get_symmetric(self):
1391  """get_symmetric(Symmetric self) -> IMP::Float"""
1392  return _IMP_pmi.Symmetric_get_symmetric(self)
1393 
1394 
1395  def set_symmetric(self, d):
1396  """set_symmetric(Symmetric self, IMP::Float d)"""
1397  return _IMP_pmi.Symmetric_set_symmetric(self, d)
1398 
1399 
1400  def __init__(self, *args):
1401  """
1402  __init__(IMP::pmi::Symmetric self) -> Symmetric
1403  __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1404  __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1405  """
1406  this = _IMP_pmi.new_Symmetric(*args)
1407  try:
1408  self.this.append(this)
1409  except Exception:
1410  self.this = this
1411 
1412  def get_is_setup(*args):
1413  """
1414  get_is_setup(Model m, ParticleIndex pi) -> bool
1415  get_is_setup(_ParticleAdaptor p) -> bool
1416  """
1417  return _IMP_pmi.Symmetric_get_is_setup(*args)
1418 
1419  get_is_setup = staticmethod(get_is_setup)
1420 
1421  def show(self, *args):
1422  """
1423  show(Symmetric self, _ostream out)
1424  show(Symmetric self)
1425  """
1426  return _IMP_pmi.Symmetric_show(self, *args)
1427 
1428 
1429  def setup_particle(*args):
1430  """
1431  setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1432  setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1433  """
1434  return _IMP_pmi.Symmetric_setup_particle(*args)
1435 
1436  setup_particle = staticmethod(setup_particle)
1437 
1438  def get_symmetric_key():
1439  """get_symmetric_key() -> FloatKey"""
1440  return _IMP_pmi.Symmetric_get_symmetric_key()
1441 
1442  get_symmetric_key = staticmethod(get_symmetric_key)
1443 
1444  def add_attribute(self, *args):
1445  """
1446  add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1447  add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1448  add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1449  add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1450  add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1451  add_attribute(Symmetric self, ObjectKey a0, Object a1)
1452  """
1453  return _IMP_pmi.Symmetric_add_attribute(self, *args)
1454 
1455 
1456  def get_value(self, *args):
1457  """
1458  get_value(Symmetric self, FloatKey a0) -> IMP::Float
1459  get_value(Symmetric self, IntKey a0) -> IMP::Int
1460  get_value(Symmetric self, StringKey a0) -> IMP::String
1461  get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1462  get_value(Symmetric self, ObjectKey a0) -> Object
1463  """
1464  return _IMP_pmi.Symmetric_get_value(self, *args)
1465 
1466 
1467  def set_value(self, *args):
1468  """
1469  set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1470  set_value(Symmetric self, IntKey a0, IMP::Int a1)
1471  set_value(Symmetric self, StringKey a0, IMP::String a1)
1472  set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1473  set_value(Symmetric self, ObjectKey a0, Object a1)
1474  """
1475  return _IMP_pmi.Symmetric_set_value(self, *args)
1476 
1477 
1478  def remove_attribute(self, *args):
1479  """
1480  remove_attribute(Symmetric self, FloatKey a0)
1481  remove_attribute(Symmetric self, IntKey a0)
1482  remove_attribute(Symmetric self, StringKey a0)
1483  remove_attribute(Symmetric self, ParticleIndexKey a0)
1484  remove_attribute(Symmetric self, ObjectKey a0)
1485  """
1486  return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1487 
1488 
1489  def has_attribute(self, *args):
1490  """
1491  has_attribute(Symmetric self, FloatKey a0) -> bool
1492  has_attribute(Symmetric self, IntKey a0) -> bool
1493  has_attribute(Symmetric self, StringKey a0) -> bool
1494  has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1495  has_attribute(Symmetric self, ObjectKey a0) -> bool
1496  """
1497  return _IMP_pmi.Symmetric_has_attribute(self, *args)
1498 
1499 
1500  def get_derivative(self, a0):
1501  """get_derivative(Symmetric self, FloatKey a0) -> double"""
1502  return _IMP_pmi.Symmetric_get_derivative(self, a0)
1503 
1504 
1505  def get_name(self):
1506  """get_name(Symmetric self) -> std::string"""
1507  return _IMP_pmi.Symmetric_get_name(self)
1508 
1509 
1510  def clear_caches(self):
1511  """clear_caches(Symmetric self)"""
1512  return _IMP_pmi.Symmetric_clear_caches(self)
1513 
1514 
1515  def set_name(self, a0):
1516  """set_name(Symmetric self, std::string a0)"""
1517  return _IMP_pmi.Symmetric_set_name(self, a0)
1518 
1519 
1520  def set_check_level(self, a0):
1521  """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1522  return _IMP_pmi.Symmetric_set_check_level(self, a0)
1523 
1524 
1525  def add_to_derivative(self, a0, a1, a2):
1526  """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1527  return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1528 
1529 
1530  def set_is_optimized(self, a0, a1):
1531  """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1532  return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1533 
1534 
1535  def get_is_optimized(self, a0):
1536  """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1537  return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1538 
1539 
1540  def get_check_level(self):
1541  """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1542  return _IMP_pmi.Symmetric_get_check_level(self)
1543 
1544 
1545  def __eq__(self, *args):
1546  """
1547  __eq__(Symmetric self, Symmetric o) -> bool
1548  __eq__(Symmetric self, Particle d) -> bool
1549  """
1550  return _IMP_pmi.Symmetric___eq__(self, *args)
1551 
1552 
1553  def __ne__(self, *args):
1554  """
1555  __ne__(Symmetric self, Symmetric o) -> bool
1556  __ne__(Symmetric self, Particle d) -> bool
1557  """
1558  return _IMP_pmi.Symmetric___ne__(self, *args)
1559 
1560 
1561  def __le__(self, *args):
1562  """
1563  __le__(Symmetric self, Symmetric o) -> bool
1564  __le__(Symmetric self, Particle d) -> bool
1565  """
1566  return _IMP_pmi.Symmetric___le__(self, *args)
1567 
1568 
1569  def __lt__(self, *args):
1570  """
1571  __lt__(Symmetric self, Symmetric o) -> bool
1572  __lt__(Symmetric self, Particle d) -> bool
1573  """
1574  return _IMP_pmi.Symmetric___lt__(self, *args)
1575 
1576 
1577  def __ge__(self, *args):
1578  """
1579  __ge__(Symmetric self, Symmetric o) -> bool
1580  __ge__(Symmetric self, Particle d) -> bool
1581  """
1582  return _IMP_pmi.Symmetric___ge__(self, *args)
1583 
1584 
1585  def __gt__(self, *args):
1586  """
1587  __gt__(Symmetric self, Symmetric o) -> bool
1588  __gt__(Symmetric self, Particle d) -> bool
1589  """
1590  return _IMP_pmi.Symmetric___gt__(self, *args)
1591 
1592 
1593  def __hash__(self):
1594  """__hash__(Symmetric self) -> std::size_t"""
1595  return _IMP_pmi.Symmetric___hash__(self)
1596 
1597 
1598  def __str__(self):
1599  """__str__(Symmetric self) -> std::string"""
1600  return _IMP_pmi.Symmetric___str__(self)
1601 
1602 
1603  def __repr__(self):
1604  """__repr__(Symmetric self) -> std::string"""
1605  return _IMP_pmi.Symmetric___repr__(self)
1606 
1607  __swig_destroy__ = _IMP_pmi.delete_Symmetric
1608  __del__ = lambda self: None
1609 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1610 Symmetric_swigregister(Symmetric)
1611 
1612 def Symmetric_get_is_setup(*args):
1613  """
1614  get_is_setup(Model m, ParticleIndex pi) -> bool
1615  Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1616  """
1617  return _IMP_pmi.Symmetric_get_is_setup(*args)
1618 
1619 def Symmetric_setup_particle(*args):
1620  """
1621  setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1622  Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1623  """
1624  return _IMP_pmi.Symmetric_setup_particle(*args)
1625 
1626 def Symmetric_get_symmetric_key():
1627  """Symmetric_get_symmetric_key() -> FloatKey"""
1628  return _IMP_pmi.Symmetric_get_symmetric_key()
1629 
1630 class SigmoidRestraintSphere(IMP.Restraint):
1631  """Proxy of C++ IMP::pmi::SigmoidRestraintSphere class."""
1632 
1633  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1634 
1635  def __init__(self, *args):
1636  """
1637  __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0, std::string name) -> SigmoidRestraintSphere
1638  __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1639  __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude) -> SigmoidRestraintSphere
1640  """
1641  this = _IMP_pmi.new_SigmoidRestraintSphere(*args)
1642  try:
1643  self.this.append(this)
1644  except Exception:
1645  self.this = this
1646 
1647  def set_amplitude(self, amplitude):
1648  """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1649  return _IMP_pmi.SigmoidRestraintSphere_set_amplitude(self, amplitude)
1650 
1651 
1652  def increment_amplitude(self, amplitude):
1653  """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1654  return _IMP_pmi.SigmoidRestraintSphere_increment_amplitude(self, amplitude)
1655 
1656 
1657  def get_amplitude(self):
1658  """get_amplitude(SigmoidRestraintSphere self) -> double"""
1659  return _IMP_pmi.SigmoidRestraintSphere_get_amplitude(self)
1660 
1661 
1662  def do_get_inputs(self):
1663  """do_get_inputs(SigmoidRestraintSphere self) -> IMP::ModelObjectsTemp"""
1664  return _IMP_pmi.SigmoidRestraintSphere_do_get_inputs(self)
1665 
1666 
1667  def get_version_info(self):
1668  """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1669  return _IMP_pmi.SigmoidRestraintSphere_get_version_info(self)
1670 
1671 
1672  def __str__(self):
1673  """__str__(SigmoidRestraintSphere self) -> std::string"""
1674  return _IMP_pmi.SigmoidRestraintSphere___str__(self)
1675 
1676 
1677  def __repr__(self):
1678  """__repr__(SigmoidRestraintSphere self) -> std::string"""
1679  return _IMP_pmi.SigmoidRestraintSphere___repr__(self)
1680 
1681 
1682  @staticmethod
1683  def get_from(o):
1684  return _object_cast_to_SigmoidRestraintSphere(o)
1685 
1686 SigmoidRestraintSphere_swigregister = _IMP_pmi.SigmoidRestraintSphere_swigregister
1687 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1688 
1689 class TransformMover(IMP.core.MonteCarloMover):
1690  """Proxy of C++ IMP::pmi::TransformMover class."""
1691 
1692  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1693 
1694  def __init__(self, *args):
1695  """
1696  __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1697  __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1698  """
1699  this = _IMP_pmi.new_TransformMover(*args)
1700  try:
1701  self.this.append(this)
1702  except Exception:
1703  self.this = this
1704 
1705  def add_xyz_particle(self, pi):
1706  """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1707  return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1708 
1709 
1710  def add_rigid_body_particle(self, pi):
1711  """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1712  return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1713 
1714 
1715  def set_maximum_translation(self, mt):
1716  """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1717  return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1718 
1719 
1720  def set_maximum_rotation(self, mr):
1721  """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1722  return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1723 
1724 
1725  def get_maximum_translation(self):
1726  """get_maximum_translation(TransformMover self) -> IMP::Float"""
1727  return _IMP_pmi.TransformMover_get_maximum_translation(self)
1728 
1729 
1730  def get_maximum_rotation(self):
1731  """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1732  return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1733 
1734 
1735  def get_last_transformation(self):
1736  """get_last_transformation(TransformMover self) -> Transformation3D"""
1737  return _IMP_pmi.TransformMover_get_last_transformation(self)
1738 
1739 
1740  def get_version_info(self):
1741  """get_version_info(TransformMover self) -> VersionInfo"""
1742  return _IMP_pmi.TransformMover_get_version_info(self)
1743 
1744 
1745  def __str__(self):
1746  """__str__(TransformMover self) -> std::string"""
1747  return _IMP_pmi.TransformMover___str__(self)
1748 
1749 
1750  def __repr__(self):
1751  """__repr__(TransformMover self) -> std::string"""
1752  return _IMP_pmi.TransformMover___repr__(self)
1753 
1754 
1755  @staticmethod
1756  def get_from(o):
1757  return _object_cast_to_TransformMover(o)
1758 
1759 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1760 TransformMover_swigregister(TransformMover)
1761 
1762 
1763 def create_elastic_network(ps, dist_cutoff, strength):
1764  """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1765  return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1766 
1767 def get_bipartite_minimum_sphere_distance(m1, m2):
1768  """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1769  return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1770 
1771 def get_list_of_bipartite_minimum_sphere_distance(pss):
1772  """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1773  return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1774 
1776  """get_parent_representation(Hierarchy h) -> Hierarchy"""
1777  return _IMP_pmi.get_parent_representation(h)
1778 
1780  """get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1781  return _IMP_pmi.get_molecule_name_and_copy(h)
1782 
1783 def get_is_canonical(h):
1784  """get_is_canonical(Hierarchy h) -> bool"""
1785  return _IMP_pmi.get_is_canonical(h)
1786 
1787 def get_module_version():
1788  """get_module_version() -> std::string const"""
1789  return _IMP_pmi.get_module_version()
1790 
1791 def get_example_path(fname):
1792  """get_example_path(std::string fname) -> std::string"""
1793  return _IMP_pmi.get_example_path(fname)
1794 
1795 def get_data_path(fname):
1796  """get_data_path(std::string fname) -> std::string"""
1797  return _IMP_pmi.get_data_path(fname)
1798 
1799 from . import _version_check
1800 _version_check.check_version(get_module_version())
1801 __version__ = get_module_version()
1802 
1803 
1804 
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:81
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
A base class for ISD Restraints.
Definition: ISDRestraint.h:19
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
Composable functors to implement scores via compile-time composition.
def __init__
Constructor.
Code to compute statistical measures.
std::string get_molecule_name_and_copy(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and get the "molname.copynum".
Definition: utilities.h:87
RestraintSet * create_elastic_network(const Particles &ps, Float dist_cutoff, Float strength)
Create an elastic network restraint set.
Definition: utilities.h:23
A base class for classes which perturb particles.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Basic utilities for handling cryo-electron microscopy 3D density maps.
bool get_is_canonical(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and check if the root is named System.
Definition: utilities.h:98
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
atom::Hierarchy get_parent_representation(atom::Hierarchy h)
Get the parent, or if non-tree Representation get the fake parent.
Definition: utilities.h:75
double get_resolution(Model *m, ParticleIndex pi)
Estimate the resolution of the hierarchy as used by Representation.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
Support for small angle X-ray scattering (SAXS) data.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Definition: exception.h:73
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:52