IMP logo
IMP Reference Guide  2.18.0
The Integrative Modeling Platform
example/__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 
8 # This wrapper is part of IMP,
9 # Copyright 2007-2022 IMP Inventors. All rights reserved.
10 
11 from __future__ import print_function, division, absolute_import
12 
13 
14 
15 
16 
17 from sys import version_info
18 if version_info >= (2, 6, 0):
19  def swig_import_helper():
20  from os.path import dirname
21  import imp
22  fp = None
23  try:
24  fp, pathname, description = imp.find_module('_IMP_example', [dirname(__file__)])
25  except ImportError:
26  import _IMP_example
27  return _IMP_example
28  if fp is not None:
29  try:
30  _mod = imp.load_module('_IMP_example', fp, pathname, description)
31  finally:
32  fp.close()
33  return _mod
34  _IMP_example = swig_import_helper()
35  del swig_import_helper
36 else:
37  import _IMP_example
38 del version_info
39 try:
40  _swig_property = property
41 except NameError:
42  pass # Python < 2.2 doesn't have 'property'.
43 
44 
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46  if (name == "thisown"):
47  return self.this.own(value)
48  if (name == "this"):
49  if type(value).__name__ == 'SwigPyObject':
50  self.__dict__[name] = value
51  return
52  method = class_type.__swig_setmethods__.get(name, None)
53  if method:
54  return method(self, value)
55  if (not static):
56  object.__setattr__(self, name, value)
57  else:
58  raise AttributeError("You cannot add attributes to %s" % self)
59 
60 
61 def _swig_setattr(self, class_type, name, value):
62  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 
64 
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66  if (name == "thisown"):
67  return self.this.own()
68  method = class_type.__swig_getmethods__.get(name, None)
69  if method:
70  return method(self)
71  if (not static):
72  return object.__getattr__(self, name)
73  else:
74  raise AttributeError(name)
75 
76 def _swig_getattr(self, class_type, name):
77  return _swig_getattr_nondynamic(self, class_type, name, 0)
78 
79 
80 def _swig_repr(self):
81  try:
82  strthis = "proxy of " + self.this.__repr__()
83  except:
84  strthis = ""
85  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
86 
87 try:
88  _object = object
89  _newclass = 1
90 except AttributeError:
91  class _object:
92  pass
93  _newclass = 0
94 
95 
96 
97 def _swig_setattr_nondynamic_method(set):
98  def set_attr(self, name, value):
99  if (name == "thisown"):
100  return self.this.own(value)
101  if hasattr(self, name) or (name == "this"):
102  set(self, name, value)
103  else:
104  raise AttributeError("You cannot add attributes to %s" % self)
105  return set_attr
106 
107 
108 try:
109  import weakref
110  weakref_proxy = weakref.proxy
111 except:
112  weakref_proxy = lambda x: x
113 
114 
115 class IMP_EXAMPLE_SwigPyIterator(object):
116  """Proxy of C++ swig::IMP_EXAMPLE_SwigPyIterator class"""
117  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
118 
119  def __init__(self, *args, **kwargs):
120  raise AttributeError("No constructor defined - class is abstract")
121  __repr__ = _swig_repr
122  __swig_destroy__ = _IMP_example.delete_IMP_EXAMPLE_SwigPyIterator
123  __del__ = lambda self: None
124 
125  def value(self):
126  """value(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
127  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_value(self)
128 
129 
130  def incr(self, n=1):
131  """
132  incr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
133  incr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
134  """
135  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_incr(self, n)
136 
137 
138  def decr(self, n=1):
139  """
140  decr(IMP_EXAMPLE_SwigPyIterator self, size_t n=1) -> IMP_EXAMPLE_SwigPyIterator
141  decr(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator
142  """
143  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_decr(self, n)
144 
145 
146  def distance(self, x):
147  """distance(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t"""
148  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_distance(self, x)
149 
150 
151  def equal(self, x):
152  """equal(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
153  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_equal(self, x)
154 
155 
156  def copy(self):
157  """copy(IMP_EXAMPLE_SwigPyIterator self) -> IMP_EXAMPLE_SwigPyIterator"""
158  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_copy(self)
159 
160 
161  def next(self):
162  """next(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
163  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_next(self)
164 
165 
166  def __next__(self):
167  """__next__(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
168  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___next__(self)
169 
170 
171  def previous(self):
172  """previous(IMP_EXAMPLE_SwigPyIterator self) -> PyObject *"""
173  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_previous(self)
174 
175 
176  def advance(self, n):
177  """advance(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
178  return _IMP_example.IMP_EXAMPLE_SwigPyIterator_advance(self, n)
179 
180 
181  def __eq__(self, x):
182  """__eq__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
183  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___eq__(self, x)
184 
185 
186  def __ne__(self, x):
187  """__ne__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> bool"""
188  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___ne__(self, x)
189 
190 
191  def __iadd__(self, n):
192  """__iadd__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
193  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___iadd__(self, n)
194 
195 
196  def __isub__(self, n):
197  """__isub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
198  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___isub__(self, n)
199 
200 
201  def __add__(self, n):
202  """__add__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator"""
203  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___add__(self, n)
204 
205 
206  def __sub__(self, *args):
207  """
208  __sub__(IMP_EXAMPLE_SwigPyIterator self, ptrdiff_t n) -> IMP_EXAMPLE_SwigPyIterator
209  __sub__(IMP_EXAMPLE_SwigPyIterator self, IMP_EXAMPLE_SwigPyIterator x) -> ptrdiff_t
210  """
211  return _IMP_example.IMP_EXAMPLE_SwigPyIterator___sub__(self, *args)
212 
213  def __iter__(self):
214  return self
215 IMP_EXAMPLE_SwigPyIterator_swigregister = _IMP_example.IMP_EXAMPLE_SwigPyIterator_swigregister
216 IMP_EXAMPLE_SwigPyIterator_swigregister(IMP_EXAMPLE_SwigPyIterator)
217 
218 
219 _value_types=[]
220 _object_types=[]
221 _raii_types=[]
222 _plural_types=[]
223 
224 
225 _IMP_example.IMP_DEBUG_swigconstant(_IMP_example)
226 IMP_DEBUG = _IMP_example.IMP_DEBUG
227 
228 _IMP_example.IMP_RELEASE_swigconstant(_IMP_example)
229 IMP_RELEASE = _IMP_example.IMP_RELEASE
230 
231 _IMP_example.IMP_SILENT_swigconstant(_IMP_example)
232 IMP_SILENT = _IMP_example.IMP_SILENT
233 
234 _IMP_example.IMP_PROGRESS_swigconstant(_IMP_example)
235 IMP_PROGRESS = _IMP_example.IMP_PROGRESS
236 
237 _IMP_example.IMP_TERSE_swigconstant(_IMP_example)
238 IMP_TERSE = _IMP_example.IMP_TERSE
239 
240 _IMP_example.IMP_VERBOSE_swigconstant(_IMP_example)
241 IMP_VERBOSE = _IMP_example.IMP_VERBOSE
242 
243 _IMP_example.IMP_MEMORY_swigconstant(_IMP_example)
244 IMP_MEMORY = _IMP_example.IMP_MEMORY
245 
246 _IMP_example.IMP_NONE_swigconstant(_IMP_example)
247 IMP_NONE = _IMP_example.IMP_NONE
248 
249 _IMP_example.IMP_USAGE_swigconstant(_IMP_example)
250 IMP_USAGE = _IMP_example.IMP_USAGE
251 
252 _IMP_example.IMP_INTERNAL_swigconstant(_IMP_example)
253 IMP_INTERNAL = _IMP_example.IMP_INTERNAL
254 
255 _IMP_example.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_example)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_example.IMP_KERNEL_HAS_LOG4CXX
257 
258 _IMP_example.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_example)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_example.IMP_COMPILER_HAS_DEBUG_VECTOR
260 
261 _IMP_example.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_example)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_example.IMP_COMPILER_HAS_RANDOM_SHUFFLE
263 
264 _IMP_example.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_example)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_example.IMP_COMPILER_HAS_THREE_WAY
266 
267 _IMP_example.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_example.IMP_KERNEL_HAS_BOOST_RANDOM
269 
270 _IMP_example.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_example)
271 IMP_KERNEL_HAS_NUMPY = _IMP_example.IMP_KERNEL_HAS_NUMPY
272 
273 _IMP_example.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_example)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_example.IMP_KERNEL_HAS_GPERFTOOLS
275 
276 _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_example)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
278 
279 _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_example)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_example.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
281 
282 _IMP_example.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_example)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_example.IMPKERNEL_SHOW_WARNINGS
284 
285 import sys
286 class _DirectorObjects(object):
287  """@internal Simple class to keep references to director objects
288  to prevent premature deletion."""
289  def __init__(self):
290  self._objects = []
291  def register(self, obj):
292  """Take a reference to a director object; will only work for
293  refcounted C++ classes"""
294  if hasattr(obj, 'get_ref_count'):
295  self._objects.append(obj)
296  def cleanup(self):
297  """Only drop our reference and allow cleanup by Python if no other
298  Python references exist (we hold 3 references: one in self._objects,
299  one in x, and one in the argument list for getrefcount) *and* no
300  other C++ references exist (the Python object always holds one)"""
301  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
302  or x.get_ref_count() > 1]
303 # Do in two steps so the references are kept until the end of the
304 # function (deleting references may trigger a fresh call to this method)
305  self._objects = objs
306  def get_object_count(self):
307  """Get number of director objects (useful for testing only)"""
308  return len(self._objects)
309 _director_objects = _DirectorObjects()
310 
311 class _ostream(object):
312  """Proxy of C++ std::ostream class"""
313  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
314 
315  def __init__(self, *args, **kwargs):
316  raise AttributeError("No constructor defined")
317  __repr__ = _swig_repr
318 
319  def write(self, osa_buf):
320  """write(_ostream self, char const * osa_buf)"""
321  return _IMP_example._ostream_write(self, osa_buf)
322 
323 _ostream_swigregister = _IMP_example._ostream_swigregister
324 _ostream_swigregister(_ostream)
325 
326 
327 _IMP_example.IMP_HAS_NOEXCEPT_swigconstant(_IMP_example)
328 IMP_HAS_NOEXCEPT = _IMP_example.IMP_HAS_NOEXCEPT
329 
330 _IMP_example.IMP_C_OPEN_BINARY_swigconstant(_IMP_example)
331 IMP_C_OPEN_BINARY = _IMP_example.IMP_C_OPEN_BINARY
332 import IMP
333 
334 _IMP_example.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_FILESYSTEM
336 
337 _IMP_example.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
339 
340 _IMP_example.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_example.IMP_CGAL_HAS_BOOST_RANDOM
342 
343 _IMP_example.IMP_CGAL_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_CGAL_HAS_BOOST_SERIALIZATION
345 
346 _IMP_example.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_example.IMP_CGAL_HAS_BOOST_SYSTEM
348 
349 _IMP_example.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_example)
350 IMP_CGAL_HAS_NUMPY = _IMP_example.IMP_CGAL_HAS_NUMPY
351 
352 _IMP_example.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_example)
353 IMPCGAL_SHOW_WARNINGS = _IMP_example.IMPCGAL_SHOW_WARNINGS
354 import IMP.cgal
355 
356 _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_example)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_example.IMP_ALGEBRA_HAS_IMP_CGAL
358 
359 _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
361 
362 _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
364 
365 _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_RANDOM
367 
368 _IMP_example.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
370 
371 _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_example.IMP_ALGEBRA_HAS_BOOST_SYSTEM
373 
374 _IMP_example.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_example)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_example.IMP_ALGEBRA_HAS_CGAL
376 
377 _IMP_example.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_example)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_example.IMP_ALGEBRA_HAS_NUMPY
379 
380 _IMP_example.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_example)
381 IMP_ALGEBRA_HAS_ANN = _IMP_example.IMP_ALGEBRA_HAS_ANN
382 
383 _IMP_example.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_example)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_example.IMPALGEBRA_SHOW_WARNINGS
385 import IMP.algebra
386 
387 _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_example)
388 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_example.IMP_DISPLAY_HAS_IMP_CGAL
389 
390 _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
391 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
392 
393 _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
394 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
395 
396 _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
397 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_example.IMP_DISPLAY_HAS_BOOST_RANDOM
398 
399 _IMP_example.IMP_DISPLAY_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
400 IMP_DISPLAY_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_DISPLAY_HAS_BOOST_SERIALIZATION
401 
402 _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
403 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_example.IMP_DISPLAY_HAS_BOOST_SYSTEM
404 
405 _IMP_example.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_example)
406 IMP_DISPLAY_HAS_CGAL = _IMP_example.IMP_DISPLAY_HAS_CGAL
407 
408 _IMP_example.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_example)
409 IMP_DISPLAY_HAS_NUMPY = _IMP_example.IMP_DISPLAY_HAS_NUMPY
410 
411 _IMP_example.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_example)
412 IMPDISPLAY_SHOW_WARNINGS = _IMP_example.IMPDISPLAY_SHOW_WARNINGS
413 import IMP.display
414 
415 _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_example)
416 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
417 
418 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
420 
421 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
422 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
423 
424 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
425 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
426 
427 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
428 IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION
429 
430 _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
431 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_example.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
432 
433 _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_example)
434 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_example.IMP_SCORE_FUNCTOR_HAS_CGAL
435 
436 _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_example)
437 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_example.IMP_SCORE_FUNCTOR_HAS_HDF5
438 
439 _IMP_example.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_example)
440 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_example.IMP_SCORE_FUNCTOR_HAS_NUMPY
441 
442 _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_example)
443 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_example.IMPSCOREFUNCTOR_SHOW_WARNINGS
444 import IMP.score_functor
445 
446 _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_example)
447 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_example.IMP_STATISTICS_HAS_IMP_CGAL
448 
449 _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
450 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
451 
452 _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
453 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
454 
455 _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
456 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_example.IMP_STATISTICS_HAS_BOOST_RANDOM
457 
458 _IMP_example.IMP_STATISTICS_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
459 IMP_STATISTICS_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_STATISTICS_HAS_BOOST_SERIALIZATION
460 
461 _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
462 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_example.IMP_STATISTICS_HAS_BOOST_SYSTEM
463 
464 _IMP_example.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_example)
465 IMP_STATISTICS_HAS_CGAL = _IMP_example.IMP_STATISTICS_HAS_CGAL
466 
467 _IMP_example.IMP_STATISTICS_HAS_NUMPY_swigconstant(_IMP_example)
468 IMP_STATISTICS_HAS_NUMPY = _IMP_example.IMP_STATISTICS_HAS_NUMPY
469 
470 _IMP_example.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_example)
471 IMPSTATISTICS_SHOW_WARNINGS = _IMP_example.IMPSTATISTICS_SHOW_WARNINGS
472 import IMP.statistics
473 
474 _IMP_example.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_example)
475 IMP_CORE_HAS_IMP_CGAL = _IMP_example.IMP_CORE_HAS_IMP_CGAL
476 
477 _IMP_example.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_example)
478 IMP_CORE_HAS_IMP_KERNEL = _IMP_example.IMP_CORE_HAS_IMP_KERNEL
479 
480 _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
481 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_FILESYSTEM
482 
483 _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
484 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
485 
486 _IMP_example.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
487 IMP_CORE_HAS_BOOST_RANDOM = _IMP_example.IMP_CORE_HAS_BOOST_RANDOM
488 
489 _IMP_example.IMP_CORE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
490 IMP_CORE_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_CORE_HAS_BOOST_SERIALIZATION
491 
492 _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
493 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_example.IMP_CORE_HAS_BOOST_SYSTEM
494 
495 _IMP_example.IMP_CORE_HAS_CGAL_swigconstant(_IMP_example)
496 IMP_CORE_HAS_CGAL = _IMP_example.IMP_CORE_HAS_CGAL
497 
498 _IMP_example.IMP_CORE_HAS_HDF5_swigconstant(_IMP_example)
499 IMP_CORE_HAS_HDF5 = _IMP_example.IMP_CORE_HAS_HDF5
500 
501 _IMP_example.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_example)
502 IMP_CORE_HAS_NUMPY = _IMP_example.IMP_CORE_HAS_NUMPY
503 
504 _IMP_example.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_example)
505 IMPCORE_SHOW_WARNINGS = _IMP_example.IMPCORE_SHOW_WARNINGS
506 import IMP.core
507 
508 _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_example)
509 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_example.IMP_CONTAINER_HAS_IMP_ALGEBRA
510 
511 _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_example)
512 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_example.IMP_CONTAINER_HAS_IMP_CGAL
513 
514 _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
515 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_example.IMP_CONTAINER_HAS_IMP_DISPLAY
516 
517 _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_example)
518 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_example.IMP_CONTAINER_HAS_IMP_KERNEL
519 
520 _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
521 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
522 
523 _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
524 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
525 
526 _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
527 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
528 
529 _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
530 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_example.IMP_CONTAINER_HAS_BOOST_RANDOM
531 
532 _IMP_example.IMP_CONTAINER_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
533 IMP_CONTAINER_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_CONTAINER_HAS_BOOST_SERIALIZATION
534 
535 _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
536 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_example.IMP_CONTAINER_HAS_BOOST_SYSTEM
537 
538 _IMP_example.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_example)
539 IMP_CONTAINER_HAS_CGAL = _IMP_example.IMP_CONTAINER_HAS_CGAL
540 
541 _IMP_example.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_example)
542 IMP_CONTAINER_HAS_HDF5 = _IMP_example.IMP_CONTAINER_HAS_HDF5
543 
544 _IMP_example.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_example)
545 IMP_CONTAINER_HAS_NUMPY = _IMP_example.IMP_CONTAINER_HAS_NUMPY
546 
547 _IMP_example.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_example)
548 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_example.IMP_CONTAINER_HAS_PYTHON_IHM
549 
550 _IMP_example.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_example)
551 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_example.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
552 
553 _IMP_example.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_example)
554 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_example.IMP_CONTAINER_HAS_ROBIN_MAP
555 
556 _IMP_example.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_example)
557 IMPCONTAINER_SHOW_WARNINGS = _IMP_example.IMPCONTAINER_SHOW_WARNINGS
558 import IMP.container
559 
560 _IMP_example.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_example)
561 IMP_ATOM_HAS_IMP_CGAL = _IMP_example.IMP_ATOM_HAS_IMP_CGAL
562 
563 _IMP_example.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_example)
564 IMP_ATOM_HAS_IMP_KERNEL = _IMP_example.IMP_ATOM_HAS_IMP_KERNEL
565 
566 _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
567 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
568 
569 _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
570 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
571 
572 _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
573 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_example.IMP_ATOM_HAS_BOOST_RANDOM
574 
575 _IMP_example.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_example)
576 IMP_ATOM_HAS_BOOST_REGEX = _IMP_example.IMP_ATOM_HAS_BOOST_REGEX
577 
578 _IMP_example.IMP_ATOM_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
579 IMP_ATOM_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_ATOM_HAS_BOOST_SERIALIZATION
580 
581 _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
582 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_example.IMP_ATOM_HAS_BOOST_SYSTEM
583 
584 _IMP_example.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_example)
585 IMP_ATOM_HAS_CGAL = _IMP_example.IMP_ATOM_HAS_CGAL
586 
587 _IMP_example.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_example)
588 IMP_ATOM_HAS_HDF5 = _IMP_example.IMP_ATOM_HAS_HDF5
589 
590 _IMP_example.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_example)
591 IMP_ATOM_HAS_NUMPY = _IMP_example.IMP_ATOM_HAS_NUMPY
592 
593 _IMP_example.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_example)
594 IMP_ATOM_HAS_PYTHON_IHM = _IMP_example.IMP_ATOM_HAS_PYTHON_IHM
595 
596 _IMP_example.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_example)
597 IMPATOM_SHOW_WARNINGS = _IMP_example.IMPATOM_SHOW_WARNINGS
598 
599 _IMP_example.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_example)
600 IMP_ATOM_TYPE_INDEX = _IMP_example.IMP_ATOM_TYPE_INDEX
601 
602 _IMP_example.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_example)
603 IMP_RESIDUE_TYPE_INDEX = _IMP_example.IMP_RESIDUE_TYPE_INDEX
604 
605 _IMP_example.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_example)
606 IMP_HIERARCHY_TYPE_INDEX = _IMP_example.IMP_HIERARCHY_TYPE_INDEX
607 
608 _IMP_example.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_example)
609 IMP_CHAIN_TYPE_INDEX = _IMP_example.IMP_CHAIN_TYPE_INDEX
610 import IMP.atom
611 
612 _IMP_example.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_example)
613 IMP_EM_HAS_IMP_CGAL = _IMP_example.IMP_EM_HAS_IMP_CGAL
614 
615 _IMP_example.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_example)
616 IMP_EM_HAS_IMP_CONTAINER = _IMP_example.IMP_EM_HAS_IMP_CONTAINER
617 
618 _IMP_example.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
619 IMP_EM_HAS_IMP_DISPLAY = _IMP_example.IMP_EM_HAS_IMP_DISPLAY
620 
621 _IMP_example.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
622 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EM_HAS_IMP_SCORE_FUNCTOR
623 
624 _IMP_example.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
625 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EM_HAS_BOOST_FILESYSTEM
626 
627 _IMP_example.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
628 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
629 
630 _IMP_example.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
631 IMP_EM_HAS_BOOST_RANDOM = _IMP_example.IMP_EM_HAS_BOOST_RANDOM
632 
633 _IMP_example.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_example)
634 IMP_EM_HAS_BOOST_REGEX = _IMP_example.IMP_EM_HAS_BOOST_REGEX
635 
636 _IMP_example.IMP_EM_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
637 IMP_EM_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_EM_HAS_BOOST_SERIALIZATION
638 
639 _IMP_example.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
640 IMP_EM_HAS_BOOST_SYSTEM = _IMP_example.IMP_EM_HAS_BOOST_SYSTEM
641 
642 _IMP_example.IMP_EM_HAS_CGAL_swigconstant(_IMP_example)
643 IMP_EM_HAS_CGAL = _IMP_example.IMP_EM_HAS_CGAL
644 
645 _IMP_example.IMP_EM_HAS_HDF5_swigconstant(_IMP_example)
646 IMP_EM_HAS_HDF5 = _IMP_example.IMP_EM_HAS_HDF5
647 
648 _IMP_example.IMP_EM_HAS_NUMPY_swigconstant(_IMP_example)
649 IMP_EM_HAS_NUMPY = _IMP_example.IMP_EM_HAS_NUMPY
650 
651 _IMP_example.IMP_EM_HAS_PYTHON_IHM_swigconstant(_IMP_example)
652 IMP_EM_HAS_PYTHON_IHM = _IMP_example.IMP_EM_HAS_PYTHON_IHM
653 
654 _IMP_example.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_example)
655 IMPEM_SHOW_WARNINGS = _IMP_example.IMPEM_SHOW_WARNINGS
656 import IMP.em
657 
658 _IMP_example.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_example)
659 IMP_SAXS_HAS_IMP_CGAL = _IMP_example.IMP_SAXS_HAS_IMP_CGAL
660 
661 _IMP_example.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_example)
662 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_example.IMP_SAXS_HAS_IMP_CONTAINER
663 
664 _IMP_example.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
665 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_example.IMP_SAXS_HAS_IMP_DISPLAY
666 
667 _IMP_example.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_example)
668 IMP_SAXS_HAS_IMP_KERNEL = _IMP_example.IMP_SAXS_HAS_IMP_KERNEL
669 
670 _IMP_example.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
671 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
672 
673 _IMP_example.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
674 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_SAXS_HAS_BOOST_FILESYSTEM
675 
676 _IMP_example.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
677 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
678 
679 _IMP_example.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
680 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_example.IMP_SAXS_HAS_BOOST_RANDOM
681 
682 _IMP_example.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_example)
683 IMP_SAXS_HAS_BOOST_REGEX = _IMP_example.IMP_SAXS_HAS_BOOST_REGEX
684 
685 _IMP_example.IMP_SAXS_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
686 IMP_SAXS_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_SAXS_HAS_BOOST_SERIALIZATION
687 
688 _IMP_example.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
689 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_example.IMP_SAXS_HAS_BOOST_SYSTEM
690 
691 _IMP_example.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_example)
692 IMP_SAXS_HAS_CGAL = _IMP_example.IMP_SAXS_HAS_CGAL
693 
694 _IMP_example.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_example)
695 IMP_SAXS_HAS_HDF5 = _IMP_example.IMP_SAXS_HAS_HDF5
696 
697 _IMP_example.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_example)
698 IMP_SAXS_HAS_NUMPY = _IMP_example.IMP_SAXS_HAS_NUMPY
699 
700 _IMP_example.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_example)
701 IMP_SAXS_HAS_PYTHON_IHM = _IMP_example.IMP_SAXS_HAS_PYTHON_IHM
702 
703 _IMP_example.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_example)
704 IMPSAXS_SHOW_WARNINGS = _IMP_example.IMPSAXS_SHOW_WARNINGS
705 import IMP.saxs
706 
707 _IMP_example.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_example)
708 IMP_ISD_HAS_IMP_CGAL = _IMP_example.IMP_ISD_HAS_IMP_CGAL
709 
710 _IMP_example.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
711 IMP_ISD_HAS_IMP_DISPLAY = _IMP_example.IMP_ISD_HAS_IMP_DISPLAY
712 
713 _IMP_example.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
714 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
715 
716 _IMP_example.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
717 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_ISD_HAS_BOOST_FILESYSTEM
718 
719 _IMP_example.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
720 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
721 
722 _IMP_example.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
723 IMP_ISD_HAS_BOOST_RANDOM = _IMP_example.IMP_ISD_HAS_BOOST_RANDOM
724 
725 _IMP_example.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_example)
726 IMP_ISD_HAS_BOOST_REGEX = _IMP_example.IMP_ISD_HAS_BOOST_REGEX
727 
728 _IMP_example.IMP_ISD_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
729 IMP_ISD_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_ISD_HAS_BOOST_SERIALIZATION
730 
731 _IMP_example.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
732 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_example.IMP_ISD_HAS_BOOST_SYSTEM
733 
734 _IMP_example.IMP_ISD_HAS_CGAL_swigconstant(_IMP_example)
735 IMP_ISD_HAS_CGAL = _IMP_example.IMP_ISD_HAS_CGAL
736 
737 _IMP_example.IMP_ISD_HAS_HDF5_swigconstant(_IMP_example)
738 IMP_ISD_HAS_HDF5 = _IMP_example.IMP_ISD_HAS_HDF5
739 
740 _IMP_example.IMP_ISD_HAS_NUMPY_swigconstant(_IMP_example)
741 IMP_ISD_HAS_NUMPY = _IMP_example.IMP_ISD_HAS_NUMPY
742 
743 _IMP_example.IMP_ISD_HAS_PYTHON_IHM_swigconstant(_IMP_example)
744 IMP_ISD_HAS_PYTHON_IHM = _IMP_example.IMP_ISD_HAS_PYTHON_IHM
745 
746 _IMP_example.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_example)
747 IMPISD_SHOW_WARNINGS = _IMP_example.IMPISD_SHOW_WARNINGS
748 import IMP.isd
749 
750 _IMP_example.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_example)
751 IMP_RMF_HAS_IMP_CGAL = _IMP_example.IMP_RMF_HAS_IMP_CGAL
752 
753 _IMP_example.IMP_RMF_HAS_IMP_EM_swigconstant(_IMP_example)
754 IMP_RMF_HAS_IMP_EM = _IMP_example.IMP_RMF_HAS_IMP_EM
755 
756 _IMP_example.IMP_RMF_HAS_IMP_SAXS_swigconstant(_IMP_example)
757 IMP_RMF_HAS_IMP_SAXS = _IMP_example.IMP_RMF_HAS_IMP_SAXS
758 
759 _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
760 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
761 
762 _IMP_example.IMP_RMF_HAS_IMP_STATISTICS_swigconstant(_IMP_example)
763 IMP_RMF_HAS_IMP_STATISTICS = _IMP_example.IMP_RMF_HAS_IMP_STATISTICS
764 
765 _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
766 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_FILESYSTEM
767 
768 _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
769 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
770 
771 _IMP_example.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
772 IMP_RMF_HAS_BOOST_RANDOM = _IMP_example.IMP_RMF_HAS_BOOST_RANDOM
773 
774 _IMP_example.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_example)
775 IMP_RMF_HAS_BOOST_REGEX = _IMP_example.IMP_RMF_HAS_BOOST_REGEX
776 
777 _IMP_example.IMP_RMF_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
778 IMP_RMF_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_RMF_HAS_BOOST_SERIALIZATION
779 
780 _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
781 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_example.IMP_RMF_HAS_BOOST_SYSTEM
782 
783 _IMP_example.IMP_RMF_HAS_CGAL_swigconstant(_IMP_example)
784 IMP_RMF_HAS_CGAL = _IMP_example.IMP_RMF_HAS_CGAL
785 
786 _IMP_example.IMP_RMF_HAS_HDF5_swigconstant(_IMP_example)
787 IMP_RMF_HAS_HDF5 = _IMP_example.IMP_RMF_HAS_HDF5
788 
789 _IMP_example.IMP_RMF_HAS_NUMPY_swigconstant(_IMP_example)
790 IMP_RMF_HAS_NUMPY = _IMP_example.IMP_RMF_HAS_NUMPY
791 
792 _IMP_example.IMP_RMF_HAS_PYTHON_IHM_swigconstant(_IMP_example)
793 IMP_RMF_HAS_PYTHON_IHM = _IMP_example.IMP_RMF_HAS_PYTHON_IHM
794 
795 _IMP_example.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_example)
796 IMPRMF_SHOW_WARNINGS = _IMP_example.IMPRMF_SHOW_WARNINGS
797 import IMP.rmf
798 import RMF
799 
800 _IMP_example.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_example)
801 IMP_DOMINO_HAS_IMP_ATOM = _IMP_example.IMP_DOMINO_HAS_IMP_ATOM
802 
803 _IMP_example.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_example)
804 IMP_DOMINO_HAS_IMP_CGAL = _IMP_example.IMP_DOMINO_HAS_IMP_CGAL
805 
806 _IMP_example.IMP_DOMINO_HAS_IMP_EM_swigconstant(_IMP_example)
807 IMP_DOMINO_HAS_IMP_EM = _IMP_example.IMP_DOMINO_HAS_IMP_EM
808 
809 _IMP_example.IMP_DOMINO_HAS_IMP_ISD_swigconstant(_IMP_example)
810 IMP_DOMINO_HAS_IMP_ISD = _IMP_example.IMP_DOMINO_HAS_IMP_ISD
811 
812 _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_example)
813 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_example.IMP_DOMINO_HAS_IMP_KERNEL
814 
815 _IMP_example.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_example)
816 IMP_DOMINO_HAS_IMP_RMF = _IMP_example.IMP_DOMINO_HAS_IMP_RMF
817 
818 _IMP_example.IMP_DOMINO_HAS_IMP_SAXS_swigconstant(_IMP_example)
819 IMP_DOMINO_HAS_IMP_SAXS = _IMP_example.IMP_DOMINO_HAS_IMP_SAXS
820 
821 _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
822 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
823 
824 _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
825 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_FILESYSTEM
826 
827 _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
828 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
829 
830 _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
831 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_example.IMP_DOMINO_HAS_BOOST_RANDOM
832 
833 _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_example)
834 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_example.IMP_DOMINO_HAS_BOOST_REGEX
835 
836 _IMP_example.IMP_DOMINO_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
837 IMP_DOMINO_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_DOMINO_HAS_BOOST_SERIALIZATION
838 
839 _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
840 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_example.IMP_DOMINO_HAS_BOOST_SYSTEM
841 
842 _IMP_example.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_example)
843 IMP_DOMINO_HAS_CGAL = _IMP_example.IMP_DOMINO_HAS_CGAL
844 
845 _IMP_example.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_example)
846 IMP_DOMINO_HAS_HDF5 = _IMP_example.IMP_DOMINO_HAS_HDF5
847 
848 _IMP_example.IMP_DOMINO_HAS_NUMPY_swigconstant(_IMP_example)
849 IMP_DOMINO_HAS_NUMPY = _IMP_example.IMP_DOMINO_HAS_NUMPY
850 
851 _IMP_example.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_example)
852 IMP_DOMINO_HAS_RMF = _IMP_example.IMP_DOMINO_HAS_RMF
853 
854 _IMP_example.IMP_DOMINO_HAS_PYTHON_IHM_swigconstant(_IMP_example)
855 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_example.IMP_DOMINO_HAS_PYTHON_IHM
856 
857 _IMP_example.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_example)
858 IMPDOMINO_SHOW_WARNINGS = _IMP_example.IMPDOMINO_SHOW_WARNINGS
859 import RMF_HDF5
860 import IMP.domino
861 
862 _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA_swigconstant(_IMP_example)
863 IMP_EXAMPLE_HAS_IMP_ALGEBRA = _IMP_example.IMP_EXAMPLE_HAS_IMP_ALGEBRA
864 
865 _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL_swigconstant(_IMP_example)
866 IMP_EXAMPLE_HAS_IMP_CGAL = _IMP_example.IMP_EXAMPLE_HAS_IMP_CGAL
867 
868 _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY_swigconstant(_IMP_example)
869 IMP_EXAMPLE_HAS_IMP_DISPLAY = _IMP_example.IMP_EXAMPLE_HAS_IMP_DISPLAY
870 
871 _IMP_example.IMP_EXAMPLE_HAS_IMP_EM_swigconstant(_IMP_example)
872 IMP_EXAMPLE_HAS_IMP_EM = _IMP_example.IMP_EXAMPLE_HAS_IMP_EM
873 
874 _IMP_example.IMP_EXAMPLE_HAS_IMP_ISD_swigconstant(_IMP_example)
875 IMP_EXAMPLE_HAS_IMP_ISD = _IMP_example.IMP_EXAMPLE_HAS_IMP_ISD
876 
877 _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL_swigconstant(_IMP_example)
878 IMP_EXAMPLE_HAS_IMP_KERNEL = _IMP_example.IMP_EXAMPLE_HAS_IMP_KERNEL
879 
880 _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF_swigconstant(_IMP_example)
881 IMP_EXAMPLE_HAS_IMP_RMF = _IMP_example.IMP_EXAMPLE_HAS_IMP_RMF
882 
883 _IMP_example.IMP_EXAMPLE_HAS_IMP_SAXS_swigconstant(_IMP_example)
884 IMP_EXAMPLE_HAS_IMP_SAXS = _IMP_example.IMP_EXAMPLE_HAS_IMP_SAXS
885 
886 _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_example)
887 IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR = _IMP_example.IMP_EXAMPLE_HAS_IMP_SCORE_FUNCTOR
888 
889 _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS_swigconstant(_IMP_example)
890 IMP_EXAMPLE_HAS_IMP_STATISTICS = _IMP_example.IMP_EXAMPLE_HAS_IMP_STATISTICS
891 
892 _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_example)
893 IMP_EXAMPLE_HAS_BOOST_FILESYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_FILESYSTEM
894 
895 _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH_swigconstant(_IMP_example)
896 IMP_EXAMPLE_HAS_BOOST_GRAPH = _IMP_example.IMP_EXAMPLE_HAS_BOOST_GRAPH
897 
898 _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_example)
899 IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS = _IMP_example.IMP_EXAMPLE_HAS_BOOST_PROGRAMOPTIONS
900 
901 _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM_swigconstant(_IMP_example)
902 IMP_EXAMPLE_HAS_BOOST_RANDOM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_RANDOM
903 
904 _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX_swigconstant(_IMP_example)
905 IMP_EXAMPLE_HAS_BOOST_REGEX = _IMP_example.IMP_EXAMPLE_HAS_BOOST_REGEX
906 
907 _IMP_example.IMP_EXAMPLE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_example)
908 IMP_EXAMPLE_HAS_BOOST_SERIALIZATION = _IMP_example.IMP_EXAMPLE_HAS_BOOST_SERIALIZATION
909 
910 _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM_swigconstant(_IMP_example)
911 IMP_EXAMPLE_HAS_BOOST_SYSTEM = _IMP_example.IMP_EXAMPLE_HAS_BOOST_SYSTEM
912 
913 _IMP_example.IMP_EXAMPLE_HAS_CGAL_swigconstant(_IMP_example)
914 IMP_EXAMPLE_HAS_CGAL = _IMP_example.IMP_EXAMPLE_HAS_CGAL
915 
916 _IMP_example.IMP_EXAMPLE_HAS_HDF5_swigconstant(_IMP_example)
917 IMP_EXAMPLE_HAS_HDF5 = _IMP_example.IMP_EXAMPLE_HAS_HDF5
918 
919 _IMP_example.IMP_EXAMPLE_HAS_NUMPY_swigconstant(_IMP_example)
920 IMP_EXAMPLE_HAS_NUMPY = _IMP_example.IMP_EXAMPLE_HAS_NUMPY
921 
922 _IMP_example.IMP_EXAMPLE_HAS_RMF_swigconstant(_IMP_example)
923 IMP_EXAMPLE_HAS_RMF = _IMP_example.IMP_EXAMPLE_HAS_RMF
924 
925 _IMP_example.IMP_EXAMPLE_HAS_PYTHON_IHM_swigconstant(_IMP_example)
926 IMP_EXAMPLE_HAS_PYTHON_IHM = _IMP_example.IMP_EXAMPLE_HAS_PYTHON_IHM
927 
928 _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY_swigconstant(_IMP_example)
929 IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY = _IMP_example.IMP_EXAMPLE_HAS_EXAMPLEDEPENDENCY
930 
931 _IMP_example.IMPEXAMPLE_SHOW_WARNINGS_swigconstant(_IMP_example)
932 IMPEXAMPLE_SHOW_WARNINGS = _IMP_example.IMPEXAMPLE_SHOW_WARNINGS
933 
934 _object_types.append("ExampleRestraint")
935 
936 
937 def _object_cast_to_ExampleRestraint(o):
938  """_object_cast_to_ExampleRestraint(Object o) -> ExampleRestraint"""
939  return _IMP_example._object_cast_to_ExampleRestraint(o)
940 
941 def ExampleDecorators(l=[]):
942  return [ExampleDecorator(x) for x in l]
943 _plural_types.append("ExampleDecorators")
944 
945 
946 _value_types.append("ExampleDecorator")
947 
948 
949 _object_types.append("ExampleUnaryFunction")
950 
951 
952 def _object_cast_to_ExampleUnaryFunction(o):
953  """_object_cast_to_ExampleUnaryFunction(Object o) -> ExampleUnaryFunction"""
954  return _IMP_example._object_cast_to_ExampleUnaryFunction(o)
955 
956 _object_types.append("ExampleSingletonModifier")
957 
958 
959 def _object_cast_to_ExampleSingletonModifier(o):
960  """_object_cast_to_ExampleSingletonModifier(Object o) -> ExampleSingletonModifier"""
961  return _IMP_example._object_cast_to_ExampleSingletonModifier(o)
962 
963 _object_types.append("ExamplePairScore")
964 
965 
966 def _object_cast_to_ExamplePairScore(o):
967  """_object_cast_to_ExamplePairScore(Object o) -> ExamplePairScore"""
968  return _IMP_example._object_cast_to_ExamplePairScore(o)
969 
970 _object_types.append("ExampleSubsetFilterTable")
971 
972 
973 def _object_cast_to_ExampleSubsetFilterTable(o):
974  """_object_cast_to_ExampleSubsetFilterTable(Object o) -> ExampleSubsetFilterTable"""
975  return _IMP_example._object_cast_to_ExampleSubsetFilterTable(o)
976 
977 _object_types.append("ExampleConstraint")
978 
979 
980 def _object_cast_to_ExampleConstraint(o):
981  """_object_cast_to_ExampleConstraint(Object o) -> ExampleConstraint"""
982  return _IMP_example._object_cast_to_ExampleConstraint(o)
983 
984 _object_types.append("ExampleObject")
985 
986 
987 def _object_cast_to_ExampleObject(o):
988  """_object_cast_to_ExampleObject(Object o) -> ExampleObject"""
989  return _IMP_example._object_cast_to_ExampleObject(o)
990 
991 ExampleTemplateClass3Ds=list
992 _plural_types.append("ExampleTemplateClass3Ds")
993 _value_types.append("ExampleTemplateClass3D")
994 
995 
996 def create_model_and_particles():
997  m = IMP.Model()
1000  IMP.algebra.Vector3D(10,10,10))
1001  for i in range(0,100):
1002  p = m.add_particle("p")
1003  sc.add(p)
1006  d.set_coordinates_are_optimized(True)
1007  return (m, sc)
1008 
1009 
1010 
1012  """An example restraint written in Python.
1013  This should be functionally equivalent to the C++ ExampleRestraint.
1014  """
1015  def __init__(self, m, p, k):
1016  IMP.Restraint.__init__(self, m, "PythonExampleRestraint%1%")
1017  self.p, self.k = p, k
1018 
1019  def do_add_score_and_derivatives(self, sa):
1020  d = IMP.core.XYZ(self.get_model(), self.p)
1021  score = .5 * self.k * d.get_z() * d.get_z()
1022  if sa.get_derivative_accumulator():
1023  deriv = self.k * d.get_z()
1024  d.add_to_derivative(2, deriv, sa.get_derivative_accumulator())
1025  sa.add_score(score)
1026 
1027  def do_get_inputs(self):
1028  return [self.get_model().get_particle(self.p)]
1029 
1030 
1031 
1032 
1034  """An example PairScore written in Python.
1035  This should be functionally equivalent to the C++ ExamplePairScore.
1036  """
1037  def __init__(self, x0, k):
1038  IMP.PairScore.__init__(self)
1039  self.x0, self.k = x0, k
1040 
1041  def evaluate_index(self, m, pip, da):
1042  d0 = IMP.core.XYZ(m, pip[0])
1043  d1 = IMP.core.XYZ(m, pip[1])
1044  diff = (d0.get_coordinates()
1045  - d1.get_coordinates()).get_magnitude() - self.x0
1046  score = .5 * self.k * diff * diff
1047  if da:
1048 # derivatives are requested
1049  delta = d0.get_coordinates() - d1.get_coordinates()
1050  udelta = delta.get_unit_vector()
1051  dv = self.k * diff
1052  d0.add_to_derivatives(udelta * dv, da)
1053  d1.add_to_derivatives(-udelta * dv, da)
1054  return score
1055 
1056  def do_get_inputs(self, m, pis):
1057  return IMP.get_particles(m, pis)
1058 
1059 
1060 
1061 
1063  """An example UnaryFunction written in Python.
1064  This should be functionally equivalent to the C++ ExampleUnaryFunction.
1065  """
1066  def __init__(self, center, k):
1067  IMP.UnaryFunction.__init__(self)
1068  self.center, self.k = center, k
1069 
1070  def evaluate_with_derivative(self, feature):
1071  return (self.evaluate(feature), self.k * (feature - self.center))
1072 
1073  def evaluate(self, feature):
1074  return .5 * self.k * (feature - self.center) * (feature - self.center)
1075 
1076 
1077 
1078 
1080  """An example Constraint written in Python.
1081  This should be functionally equivalent to the C++ ExampleConstraint.
1082  """
1083 
1084  k = None
1085 
1086  def __init__(self, p):
1087  IMP.Constraint.__init__(self, p.get_model(), "ExampleConstraint%1%")
1088  self.p = p
1089  if self.k is None:
1090  PythonExampleConstraint.k = IMP.IntKey("Constraint key")
1091  if not p.has_attribute(self.k):
1092  p.add_attribute(self.k, 0)
1093 
1094  def do_update_attributes(self):
1095  self.p.set_value(self.k, self.p.get_value(self.k) + 1)
1096 
1097  def do_update_derivatives(self, da):
1098  pass
1099 
1100  def do_get_inputs(self):
1101  return [self.p]
1102 
1103  def do_get_outputs(self):
1104  return [self.p]
1105 
1106 
1107 
1108 
1110  """An example SingletonModifier written in Python.
1111  This should be functionally equivalent to the C++
1112  ExampleSingletonModifier.
1113  """
1114 
1115  def __init__(self, bb):
1116  IMP.SingletonModifier.__init__(self, "ExampleSingletonModifier%1%")
1117  self.bb = bb
1118 
1119  def apply_index(self, m, pi):
1120  d = IMP.core.XYZ(m, pi)
1121  for i in range(3):
1122 # shift the coordinate until it is in the box
1123  while d.get_coordinate(i) < self.bb.get_corner(0)[i]:
1124  d.set_coordinate(i,d.get_coordinate(i) + \
1125  (self.bb.get_corner(1)[i] - self.bb.get_corner(0)[i]))
1126  while d.get_coordinate(i) > self.bb.get_corner(1)[i]:
1127  d.set_coordinate(i,d.get_coordinate(i) - \
1128  (self.bb.get_corner(1)[i] - self.bb.get_corner(0)[i]))
1129 
1130  def do_get_inputs(self, m, pis):
1131  return IMP.get_particles(m, pis)
1132 
1133  def do_get_outputs(self, m, pis):
1134  return self.do_get_inputs(m, pis)
1135 
1136 
1138  """Proxy of C++ IMP::example::ExampleRestraint class"""
1139  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1140 
1141  def __init__(self, m, p, k):
1142  """__init__(IMP::example::ExampleRestraint self, Model m, ParticleIndex p, double k) -> ExampleRestraint"""
1143  this = _IMP_example.new_ExampleRestraint(m, p, k)
1144  try:
1145  self.this.append(this)
1146  except:
1147  self.this = this
1148 
1149  def do_add_score_and_derivatives(self, sa):
1150  """do_add_score_and_derivatives(ExampleRestraint self, ScoreAccumulator sa)"""
1151  return _IMP_example.ExampleRestraint_do_add_score_and_derivatives(self, sa)
1152 
1153 
1154  def do_get_inputs(self):
1155  """do_get_inputs(ExampleRestraint self) -> IMP::ModelObjectsTemp"""
1156  return _IMP_example.ExampleRestraint_do_get_inputs(self)
1157 
1158 
1159  def get_version_info(self):
1160  """get_version_info(ExampleRestraint self) -> VersionInfo"""
1161  return _IMP_example.ExampleRestraint_get_version_info(self)
1162 
1163 
1164  def __str__(self):
1165  """__str__(ExampleRestraint self) -> std::string"""
1166  return _IMP_example.ExampleRestraint___str__(self)
1167 
1168 
1169  def __repr__(self):
1170  """__repr__(ExampleRestraint self) -> std::string"""
1171  return _IMP_example.ExampleRestraint___repr__(self)
1172 
1173 
1174  @staticmethod
1175  def get_from(o):
1176  return _object_cast_to_ExampleRestraint(o)
1177 
1178 ExampleRestraint_swigregister = _IMP_example.ExampleRestraint_swigregister
1179 ExampleRestraint_swigregister(ExampleRestraint)
1180 
1182  """Proxy of C++ IMP::example::ExampleDecorator class"""
1183  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1184 
1185  def get_decorator_name(self):
1186  """get_decorator_name(ExampleDecorator self) -> std::string"""
1187  return _IMP_example.ExampleDecorator_get_decorator_name(self)
1188 
1189 
1190  def set_decorator_name(self, nm):
1191  """set_decorator_name(ExampleDecorator self, std::string nm)"""
1192  return _IMP_example.ExampleDecorator_set_decorator_name(self, nm)
1193 
1194 
1195  def __init__(self, *args):
1196  """
1197  __init__(IMP::example::ExampleDecorator self) -> ExampleDecorator
1198  __init__(IMP::example::ExampleDecorator self, Model m, ParticleIndex id) -> ExampleDecorator
1199  __init__(IMP::example::ExampleDecorator self, _ParticleAdaptor d) -> ExampleDecorator
1200  """
1201  this = _IMP_example.new_ExampleDecorator(*args)
1202  try:
1203  self.this.append(this)
1204  except:
1205  self.this = this
1206 
1207  def get_is_setup(*args):
1208  """
1209  get_is_setup(Model m, ParticleIndex pi) -> bool
1210  get_is_setup(_ParticleAdaptor p) -> bool
1211  """
1212  return _IMP_example.ExampleDecorator_get_is_setup(*args)
1213 
1214  get_is_setup = staticmethod(get_is_setup)
1215 
1216  def show(self, *args):
1217  """
1218  show(ExampleDecorator self, _ostream out)
1219  show(ExampleDecorator self)
1220  """
1221  return _IMP_example.ExampleDecorator_show(self, *args)
1222 
1223 
1224  def setup_particle(*args):
1225  """
1226  setup_particle(Model m, ParticleIndex pi, std::string name) -> ExampleDecorator
1227  setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
1228  """
1229  return _IMP_example.ExampleDecorator_setup_particle(*args)
1230 
1231  setup_particle = staticmethod(setup_particle)
1232 
1233  def add_attribute(self, *args):
1234  """
1235  add_attribute(ExampleDecorator self, FloatKey k, IMP::Float v, bool opt)
1236  add_attribute(ExampleDecorator self, FloatKey a0, IMP::Float a1)
1237  add_attribute(ExampleDecorator self, IntKey a0, IMP::Int a1)
1238  add_attribute(ExampleDecorator self, FloatsKey a0, IMP::Floats a1)
1239  add_attribute(ExampleDecorator self, IntsKey a0, IMP::Ints a1)
1240  add_attribute(ExampleDecorator self, StringKey a0, IMP::String a1)
1241  add_attribute(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
1242  add_attribute(ExampleDecorator self, ObjectKey a0, Object a1)
1243  """
1244  return _IMP_example.ExampleDecorator_add_attribute(self, *args)
1245 
1246 
1247  def get_value(self, *args):
1248  """
1249  get_value(ExampleDecorator self, FloatKey a0) -> IMP::Float
1250  get_value(ExampleDecorator self, IntKey a0) -> IMP::Int
1251  get_value(ExampleDecorator self, FloatsKey a0) -> IMP::Floats
1252  get_value(ExampleDecorator self, IntsKey a0) -> IMP::Ints
1253  get_value(ExampleDecorator self, StringKey a0) -> IMP::String
1254  get_value(ExampleDecorator self, ParticleIndexKey a0) -> Particle
1255  get_value(ExampleDecorator self, ObjectKey a0) -> Object
1256  """
1257  return _IMP_example.ExampleDecorator_get_value(self, *args)
1258 
1259 
1260  def set_value(self, *args):
1261  """
1262  set_value(ExampleDecorator self, FloatKey a0, IMP::Float a1)
1263  set_value(ExampleDecorator self, IntKey a0, IMP::Int a1)
1264  set_value(ExampleDecorator self, FloatsKey a0, IMP::Floats a1)
1265  set_value(ExampleDecorator self, IntsKey a0, IMP::Ints a1)
1266  set_value(ExampleDecorator self, StringKey a0, IMP::String a1)
1267  set_value(ExampleDecorator self, ParticleIndexKey a0, Particle a1)
1268  set_value(ExampleDecorator self, ObjectKey a0, Object a1)
1269  """
1270  return _IMP_example.ExampleDecorator_set_value(self, *args)
1271 
1272 
1273  def remove_attribute(self, *args):
1274  """
1275  remove_attribute(ExampleDecorator self, FloatKey a0)
1276  remove_attribute(ExampleDecorator self, IntKey a0)
1277  remove_attribute(ExampleDecorator self, FloatsKey a0)
1278  remove_attribute(ExampleDecorator self, IntsKey a0)
1279  remove_attribute(ExampleDecorator self, StringKey a0)
1280  remove_attribute(ExampleDecorator self, ParticleIndexKey a0)
1281  remove_attribute(ExampleDecorator self, ObjectKey a0)
1282  """
1283  return _IMP_example.ExampleDecorator_remove_attribute(self, *args)
1284 
1285 
1286  def has_attribute(self, *args):
1287  """
1288  has_attribute(ExampleDecorator self, FloatKey a0) -> bool
1289  has_attribute(ExampleDecorator self, IntKey a0) -> bool
1290  has_attribute(ExampleDecorator self, FloatsKey a0) -> bool
1291  has_attribute(ExampleDecorator self, IntsKey a0) -> bool
1292  has_attribute(ExampleDecorator self, StringKey a0) -> bool
1293  has_attribute(ExampleDecorator self, ParticleIndexKey a0) -> bool
1294  has_attribute(ExampleDecorator self, ObjectKey a0) -> bool
1295  """
1296  return _IMP_example.ExampleDecorator_has_attribute(self, *args)
1297 
1298 
1299  def get_derivative(self, a0):
1300  """get_derivative(ExampleDecorator self, FloatKey a0) -> double"""
1301  return _IMP_example.ExampleDecorator_get_derivative(self, a0)
1302 
1303 
1304  def get_name(self):
1305  """get_name(ExampleDecorator self) -> std::string"""
1306  return _IMP_example.ExampleDecorator_get_name(self)
1307 
1308 
1309  def clear_caches(self):
1310  """clear_caches(ExampleDecorator self)"""
1311  return _IMP_example.ExampleDecorator_clear_caches(self)
1312 
1313 
1314  def set_name(self, a0):
1315  """set_name(ExampleDecorator self, std::string a0)"""
1316  return _IMP_example.ExampleDecorator_set_name(self, a0)
1317 
1318 
1319  def set_check_level(self, a0):
1320  """set_check_level(ExampleDecorator self, IMP::CheckLevel a0)"""
1321  return _IMP_example.ExampleDecorator_set_check_level(self, a0)
1322 
1323 
1324  def add_to_derivative(self, a0, a1, a2):
1325  """add_to_derivative(ExampleDecorator self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1326  return _IMP_example.ExampleDecorator_add_to_derivative(self, a0, a1, a2)
1327 
1328 
1329  def set_is_optimized(self, a0, a1):
1330  """set_is_optimized(ExampleDecorator self, FloatKey a0, bool a1)"""
1331  return _IMP_example.ExampleDecorator_set_is_optimized(self, a0, a1)
1332 
1333 
1334  def get_is_optimized(self, a0):
1335  """get_is_optimized(ExampleDecorator self, FloatKey a0) -> bool"""
1336  return _IMP_example.ExampleDecorator_get_is_optimized(self, a0)
1337 
1338 
1339  def get_check_level(self):
1340  """get_check_level(ExampleDecorator self) -> IMP::CheckLevel"""
1341  return _IMP_example.ExampleDecorator_get_check_level(self)
1342 
1343 
1344  def __eq__(self, *args):
1345  """
1346  __eq__(ExampleDecorator self, ExampleDecorator o) -> bool
1347  __eq__(ExampleDecorator self, Particle d) -> bool
1348  """
1349  return _IMP_example.ExampleDecorator___eq__(self, *args)
1350 
1351 
1352  def __ne__(self, *args):
1353  """
1354  __ne__(ExampleDecorator self, ExampleDecorator o) -> bool
1355  __ne__(ExampleDecorator self, Particle d) -> bool
1356  """
1357  return _IMP_example.ExampleDecorator___ne__(self, *args)
1358 
1359 
1360  def __le__(self, *args):
1361  """
1362  __le__(ExampleDecorator self, ExampleDecorator o) -> bool
1363  __le__(ExampleDecorator self, Particle d) -> bool
1364  """
1365  return _IMP_example.ExampleDecorator___le__(self, *args)
1366 
1367 
1368  def __lt__(self, *args):
1369  """
1370  __lt__(ExampleDecorator self, ExampleDecorator o) -> bool
1371  __lt__(ExampleDecorator self, Particle d) -> bool
1372  """
1373  return _IMP_example.ExampleDecorator___lt__(self, *args)
1374 
1375 
1376  def __ge__(self, *args):
1377  """
1378  __ge__(ExampleDecorator self, ExampleDecorator o) -> bool
1379  __ge__(ExampleDecorator self, Particle d) -> bool
1380  """
1381  return _IMP_example.ExampleDecorator___ge__(self, *args)
1382 
1383 
1384  def __gt__(self, *args):
1385  """
1386  __gt__(ExampleDecorator self, ExampleDecorator o) -> bool
1387  __gt__(ExampleDecorator self, Particle d) -> bool
1388  """
1389  return _IMP_example.ExampleDecorator___gt__(self, *args)
1390 
1391 
1392  def __hash__(self):
1393  """__hash__(ExampleDecorator self) -> std::size_t"""
1394  return _IMP_example.ExampleDecorator___hash__(self)
1395 
1396 
1397  def __str__(self):
1398  """__str__(ExampleDecorator self) -> std::string"""
1399  return _IMP_example.ExampleDecorator___str__(self)
1400 
1401 
1402  def __repr__(self):
1403  """__repr__(ExampleDecorator self) -> std::string"""
1404  return _IMP_example.ExampleDecorator___repr__(self)
1405 
1406  __swig_destroy__ = _IMP_example.delete_ExampleDecorator
1407  __del__ = lambda self: None
1408 ExampleDecorator_swigregister = _IMP_example.ExampleDecorator_swigregister
1409 ExampleDecorator_swigregister(ExampleDecorator)
1410 
1411 def ExampleDecorator_get_is_setup(*args):
1412  """
1413  get_is_setup(Model m, ParticleIndex pi) -> bool
1414  ExampleDecorator_get_is_setup(_ParticleAdaptor p) -> bool
1415  """
1416  return _IMP_example.ExampleDecorator_get_is_setup(*args)
1417 
1418 def ExampleDecorator_setup_particle(*args):
1419  """
1420  setup_particle(Model m, ParticleIndex pi, std::string name) -> ExampleDecorator
1421  ExampleDecorator_setup_particle(_ParticleAdaptor decorator, std::string name) -> ExampleDecorator
1422  """
1423  return _IMP_example.ExampleDecorator_setup_particle(*args)
1424 
1425 
1426 def __lshift__(out, n):
1427  """__lshift__(_ostream out, ExampleDecorator n) -> _ostream"""
1428  return _IMP_example.__lshift__(out, n)
1430  """Proxy of C++ IMP::example::ExampleUnaryFunction class"""
1431  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1432 
1433  def __init__(self, center, k):
1434  """__init__(IMP::example::ExampleUnaryFunction self, IMP::Float center, IMP::Float k) -> ExampleUnaryFunction"""
1435  this = _IMP_example.new_ExampleUnaryFunction(center, k)
1436  try:
1437  self.this.append(this)
1438  except:
1439  self.this = this
1440 
1441  def get_version_info(self):
1442  """get_version_info(ExampleUnaryFunction self) -> VersionInfo"""
1443  return _IMP_example.ExampleUnaryFunction_get_version_info(self)
1444 
1445 
1446  def __str__(self):
1447  """__str__(ExampleUnaryFunction self) -> std::string"""
1448  return _IMP_example.ExampleUnaryFunction___str__(self)
1449 
1450 
1451  def __repr__(self):
1452  """__repr__(ExampleUnaryFunction self) -> std::string"""
1453  return _IMP_example.ExampleUnaryFunction___repr__(self)
1454 
1455 
1456  @staticmethod
1457  def get_from(o):
1458  return _object_cast_to_ExampleUnaryFunction(o)
1459 
1460 ExampleUnaryFunction_swigregister = _IMP_example.ExampleUnaryFunction_swigregister
1461 ExampleUnaryFunction_swigregister(ExampleUnaryFunction)
1462 
1463 class ExampleObject(IMP.Object):
1464  """Proxy of C++ IMP::example::ExampleObject class"""
1465  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1466 
1467  def __init__(self, data):
1468  """__init__(IMP::example::ExampleObject self, IMP::Floats const & data) -> ExampleObject"""
1469  this = _IMP_example.new_ExampleObject(data)
1470  try:
1471  self.this.append(this)
1472  except:
1473  self.this = this
1474 
1475  def get_data(self, i):
1476  """get_data(ExampleObject self, unsigned int i) -> double"""
1477  return _IMP_example.ExampleObject_get_data(self, i)
1478 
1479 
1480  def get_version_info(self):
1481  """get_version_info(ExampleObject self) -> VersionInfo"""
1482  return _IMP_example.ExampleObject_get_version_info(self)
1483 
1484 
1485  def __str__(self):
1486  """__str__(ExampleObject self) -> std::string"""
1487  return _IMP_example.ExampleObject___str__(self)
1488 
1489 
1490  def __repr__(self):
1491  """__repr__(ExampleObject self) -> std::string"""
1492  return _IMP_example.ExampleObject___repr__(self)
1493 
1494 
1495  @staticmethod
1496  def get_from(o):
1497  return _object_cast_to_ExampleObject(o)
1498 
1499 ExampleObject_swigregister = _IMP_example.ExampleObject_swigregister
1500 ExampleObject_swigregister(ExampleObject)
1501 
1503  """Proxy of C++ IMP::example::ExampleSingletonModifier class"""
1504  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1505 
1506  def __init__(self, bb):
1507  """__init__(IMP::example::ExampleSingletonModifier self, BoundingBox3D bb) -> ExampleSingletonModifier"""
1508  this = _IMP_example.new_ExampleSingletonModifier(bb)
1509  try:
1510  self.this.append(this)
1511  except:
1512  self.this = this
1513 
1514  def do_get_inputs(self, m, pis):
1515  """do_get_inputs(ExampleSingletonModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1516  return _IMP_example.ExampleSingletonModifier_do_get_inputs(self, m, pis)
1517 
1518 
1519  def do_get_outputs(self, m, pis):
1520  """do_get_outputs(ExampleSingletonModifier self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1521  return _IMP_example.ExampleSingletonModifier_do_get_outputs(self, m, pis)
1522 
1523 
1524  def get_version_info(self):
1525  """get_version_info(ExampleSingletonModifier self) -> VersionInfo"""
1526  return _IMP_example.ExampleSingletonModifier_get_version_info(self)
1527 
1528 
1529  def __str__(self):
1530  """__str__(ExampleSingletonModifier self) -> std::string"""
1531  return _IMP_example.ExampleSingletonModifier___str__(self)
1532 
1533 
1534  def __repr__(self):
1535  """__repr__(ExampleSingletonModifier self) -> std::string"""
1536  return _IMP_example.ExampleSingletonModifier___repr__(self)
1537 
1538 
1539  @staticmethod
1540  def get_from(o):
1541  return _object_cast_to_ExampleSingletonModifier(o)
1542 
1543 ExampleSingletonModifier_swigregister = _IMP_example.ExampleSingletonModifier_swigregister
1544 ExampleSingletonModifier_swigregister(ExampleSingletonModifier)
1545 
1547  """Proxy of C++ IMP::example::ExamplePairScore class"""
1548  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1549 
1550  def __init__(self, x0, k):
1551  """__init__(IMP::example::ExamplePairScore self, double x0, double k) -> ExamplePairScore"""
1552  this = _IMP_example.new_ExamplePairScore(x0, k)
1553  try:
1554  self.this.append(this)
1555  except:
1556  self.this = this
1557 
1558  def do_get_inputs(self, m, pis):
1559  """do_get_inputs(ExamplePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1560  return _IMP_example.ExamplePairScore_do_get_inputs(self, m, pis)
1561 
1562 
1563  def get_version_info(self):
1564  """get_version_info(ExamplePairScore self) -> VersionInfo"""
1565  return _IMP_example.ExamplePairScore_get_version_info(self)
1566 
1567 
1568  def __str__(self):
1569  """__str__(ExamplePairScore self) -> std::string"""
1570  return _IMP_example.ExamplePairScore___str__(self)
1571 
1572 
1573  def __repr__(self):
1574  """__repr__(ExamplePairScore self) -> std::string"""
1575  return _IMP_example.ExamplePairScore___repr__(self)
1576 
1577 
1578  @staticmethod
1579  def get_from(o):
1580  return _object_cast_to_ExamplePairScore(o)
1581 
1582 ExamplePairScore_swigregister = _IMP_example.ExamplePairScore_swigregister
1583 ExamplePairScore_swigregister(ExamplePairScore)
1584 
1586  """Proxy of C++ IMP::example::ExampleSubsetFilterTable class"""
1587  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1588 
1589  def __init__(self, max_diff, pt):
1590  """__init__(IMP::example::ExampleSubsetFilterTable self, unsigned int max_diff, IMP::ParticlesTemp const & pt) -> ExampleSubsetFilterTable"""
1591  this = _IMP_example.new_ExampleSubsetFilterTable(max_diff, pt)
1592  try:
1593  self.this.append(this)
1594  except:
1595  self.this = this
1596 
1597  def get_version_info(self):
1598  """get_version_info(ExampleSubsetFilterTable self) -> VersionInfo"""
1599  return _IMP_example.ExampleSubsetFilterTable_get_version_info(self)
1600 
1601 
1602  def __str__(self):
1603  """__str__(ExampleSubsetFilterTable self) -> std::string"""
1604  return _IMP_example.ExampleSubsetFilterTable___str__(self)
1605 
1606 
1607  def __repr__(self):
1608  """__repr__(ExampleSubsetFilterTable self) -> std::string"""
1609  return _IMP_example.ExampleSubsetFilterTable___repr__(self)
1610 
1611 
1612  @staticmethod
1613  def get_from(o):
1614  return _object_cast_to_ExampleSubsetFilterTable(o)
1615 
1616 ExampleSubsetFilterTable_swigregister = _IMP_example.ExampleSubsetFilterTable_swigregister
1617 ExampleSubsetFilterTable_swigregister(ExampleSubsetFilterTable)
1618 
1620  """Proxy of C++ IMP::example::ExampleConstraint class"""
1621  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1622 
1623  def __init__(self, p):
1624  """__init__(IMP::example::ExampleConstraint self, Particle p) -> ExampleConstraint"""
1625  this = _IMP_example.new_ExampleConstraint(p)
1626  try:
1627  self.this.append(this)
1628  except:
1629  self.this = this
1630 
1631  def do_get_inputs(self):
1632  """do_get_inputs(ExampleConstraint self) -> IMP::ModelObjectsTemp"""
1633  return _IMP_example.ExampleConstraint_do_get_inputs(self)
1634 
1635 
1636  def do_get_outputs(self):
1637  """do_get_outputs(ExampleConstraint self) -> IMP::ModelObjectsTemp"""
1638  return _IMP_example.ExampleConstraint_do_get_outputs(self)
1639 
1640 
1641  def get_key():
1642  """get_key() -> IntKey"""
1643  return _IMP_example.ExampleConstraint_get_key()
1644 
1645  get_key = staticmethod(get_key)
1646 
1647  def get_version_info(self):
1648  """get_version_info(ExampleConstraint self) -> VersionInfo"""
1649  return _IMP_example.ExampleConstraint_get_version_info(self)
1650 
1651 
1652  def __str__(self):
1653  """__str__(ExampleConstraint self) -> std::string"""
1654  return _IMP_example.ExampleConstraint___str__(self)
1655 
1656 
1657  def __repr__(self):
1658  """__repr__(ExampleConstraint self) -> std::string"""
1659  return _IMP_example.ExampleConstraint___repr__(self)
1660 
1661 
1662  @staticmethod
1663  def get_from(o):
1664  return _object_cast_to_ExampleConstraint(o)
1665 
1666 ExampleConstraint_swigregister = _IMP_example.ExampleConstraint_swigregister
1667 ExampleConstraint_swigregister(ExampleConstraint)
1668 
1669 def ExampleConstraint_get_key():
1670  """ExampleConstraint_get_key() -> IntKey"""
1671  return _IMP_example.ExampleConstraint_get_key()
1672 
1673 
1674 def get_number_of_incidences(psa, psb, point_distance):
1675  """get_number_of_incidences(IMP::ParticlesTemp const & psa, IMP::ParticlesTemp const & psb, double point_distance) -> unsigned int"""
1676  return _IMP_example.get_number_of_incidences(psa, psb, point_distance)
1677 
1678 def create_chain_restraint(m, ps, length_factor, k, name):
1679  """create_chain_restraint(Model m, IMP::ParticleIndexes const & ps, double length_factor, double k, std::string name) -> Restraint"""
1680  return _IMP_example.create_chain_restraint(m, ps, length_factor, k, name)
1681 
1682 def create_excluded_volume(m, ps, k, name):
1683  """create_excluded_volume(Model m, IMP::ParticleIndexes const & ps, double k, std::string name) -> Restraint"""
1684  return _IMP_example.create_excluded_volume(m, ps, k, name)
1685 class ExampleTemplateClass3D(object):
1686  """Proxy of C++ IMP::example::ExampleTemplateClassD<(3)> class"""
1687  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1688 
1689  def __init__(self, *args):
1690  """
1691  __init__(IMP::example::ExampleTemplateClassD<(3)> self) -> ExampleTemplateClass3D
1692  __init__(IMP::example::ExampleTemplateClassD<(3)> self, Vector3D a, Vector3D b) -> ExampleTemplateClass3D
1693  """
1694  this = _IMP_example.new_ExampleTemplateClass3D(*args)
1695  try:
1696  self.this.append(this)
1697  except:
1698  self.this = this
1699 
1700  def get_point(self, i):
1701  """get_point(ExampleTemplateClass3D self, unsigned int i) -> Vector3D"""
1702  return _IMP_example.ExampleTemplateClass3D_get_point(self, i)
1703 
1704 
1705  def show(self, *args):
1706  """
1707  show(ExampleTemplateClass3D self, _ostream out)
1708  show(ExampleTemplateClass3D self)
1709  """
1710  return _IMP_example.ExampleTemplateClass3D_show(self, *args)
1711 
1712 
1713  def __str__(self):
1714  """__str__(ExampleTemplateClass3D self) -> std::string"""
1715  return _IMP_example.ExampleTemplateClass3D___str__(self)
1716 
1717 
1718  def __repr__(self):
1719  """__repr__(ExampleTemplateClass3D self) -> std::string"""
1720  return _IMP_example.ExampleTemplateClass3D___repr__(self)
1721 
1722  __swig_destroy__ = _IMP_example.delete_ExampleTemplateClass3D
1723  __del__ = lambda self: None
1724 ExampleTemplateClass3D_swigregister = _IMP_example.ExampleTemplateClass3D_swigregister
1725 ExampleTemplateClass3D_swigregister(ExampleTemplateClass3D)
1726 
1727 
1728 def get_module_version():
1729  """get_module_version() -> std::string const"""
1730  return _IMP_example.get_module_version()
1731 
1732 def get_example_path(fname):
1733  """get_example_path(std::string fname) -> std::string"""
1734  return _IMP_example.get_example_path(fname)
1735 
1736 def get_data_path(fname):
1737  """get_data_path(std::string fname) -> std::string"""
1738  return _IMP_example.get_data_path(fname)
1739 
1740 from . import _version_check
1741 _version_check.check_version(get_module_version())
1742 __version__ = get_module_version()
1743 
1744 
1745 
unsigned int get_number_of_incidences(const ParticlesTemp &psa, const ParticlesTemp &psb, double point_distance)
Definition: counting.h:23
A base class for modifiers of ParticlesTemp.
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:42
virtual double evaluate(double feature) const
Calculate score with respect to the given feature.
Definition: UnaryFunction.h:33
An example PairScore written in Python.
An example SingletonModifier written in Python.
Various classes to hold sets of particles.
static XYZR setup_particle(Model *m, ParticleIndex pi)
Definition: XYZR.h:48
An example UnaryFunction written in Python.
Make CGAL functionality available to IMP.
A line segment templated on the dimension.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
Get the particles from a list of indexes.
virtual void clear_caches()
Definition: Object.h:227
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the outputs.
Composable functors to implement scores via compile-time composition.
Restraint * create_excluded_volume(Model *m, const ParticleIndexes &ps, double k, std::string name)
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
Code to compute statistical measures.
Implement a constraint on the Model.
Definition: Constraint.h:49
Class for storing model, its restraints, constraints, and particles.
Definition: Model.h:73
An example simple object which is reference counted.
Definition: ExampleObject.h:29
A simple decorator which adds a name to a particle.
An example Constraint written in Python.
Common base class for heavy weight IMP objects.
Definition: Object.h:106
Store a list of ParticleIndexes.
An example restraint written in Python.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
Restrain a particle to be in the x,y plane.
Basic utilities for handling cryo-electron microscopy 3D density maps.
A decorator for a particle with x,y,z coordinates.
Definition: XYZ.h:30
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
virtual ModelObjectsTemp do_get_outputs() const =0
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...
virtual void apply_index(Model *m, ParticleIndex v) const =0
std::string get_module_version()
Return the version of this module, as a string.
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
Definition: Object.h:173
virtual DerivativePair evaluate_with_derivative(double feature) const
Calculate score and derivative with respect to the given feature.
Definition: UnaryFunction.h:48
VectorD< 3 > Vector3D
Definition: VectorD.h:421
void set_check_level(CheckLevel l)
Apply a harmonic to the distance between two particles.
Restraint * create_chain_restraint(Model *m, const ParticleIndexes &ps, double length_factor, double k, std::string name)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Model * get_model() const
Definition: ModelObject.h:42
A trivial constraint that just increments a counter.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Support for the RMF file format for storing hierarchical molecular data and markup.
Abstract single variable functor class for score functions.
Definition: UnaryFunction.h:25
virtual ModelObjectsTemp do_get_inputs() const =0
Divide-and-conquer inferential optimization in discrete space.
virtual double evaluate_index(Model *m, const ParticleIndexPair &vt, DerivativeAccumulator *da) const =0
Compute the score and the derivative if needed.
Support for small angle X-ray scattering (SAXS) data.
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:53