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