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