10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_rmf')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_rmf')
25 _IMP_rmf = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_rmf', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_rmf', fp, pathname, description)
43 _IMP_rmf = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
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)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_RMF_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_RMF_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_rmf.delete_IMP_RMF_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_RMF_SwigPyIterator self) -> PyObject *"""
126 return _IMP_rmf.IMP_RMF_SwigPyIterator_value(self)
131 incr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
132 incr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
134 return _IMP_rmf.IMP_RMF_SwigPyIterator_incr(self, n)
139 decr(IMP_RMF_SwigPyIterator self, size_t n=1) -> IMP_RMF_SwigPyIterator
140 decr(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator
142 return _IMP_rmf.IMP_RMF_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_rmf.IMP_RMF_SwigPyIterator_distance(self, x)
151 """equal(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
152 return _IMP_rmf.IMP_RMF_SwigPyIterator_equal(self, x)
156 """copy(IMP_RMF_SwigPyIterator self) -> IMP_RMF_SwigPyIterator"""
157 return _IMP_rmf.IMP_RMF_SwigPyIterator_copy(self)
161 """next(IMP_RMF_SwigPyIterator self) -> PyObject *"""
162 return _IMP_rmf.IMP_RMF_SwigPyIterator_next(self)
166 """__next__(IMP_RMF_SwigPyIterator self) -> PyObject *"""
167 return _IMP_rmf.IMP_RMF_SwigPyIterator___next__(self)
171 """previous(IMP_RMF_SwigPyIterator self) -> PyObject *"""
172 return _IMP_rmf.IMP_RMF_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
177 return _IMP_rmf.IMP_RMF_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
182 return _IMP_rmf.IMP_RMF_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> bool"""
187 return _IMP_rmf.IMP_RMF_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
192 return _IMP_rmf.IMP_RMF_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
197 return _IMP_rmf.IMP_RMF_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator"""
202 return _IMP_rmf.IMP_RMF_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_RMF_SwigPyIterator self, ptrdiff_t n) -> IMP_RMF_SwigPyIterator
208 __sub__(IMP_RMF_SwigPyIterator self, IMP_RMF_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_rmf.IMP_RMF_SwigPyIterator___sub__(self, *args)
214 IMP_RMF_SwigPyIterator_swigregister = _IMP_rmf.IMP_RMF_SwigPyIterator_swigregister
215 IMP_RMF_SwigPyIterator_swigregister(IMP_RMF_SwigPyIterator)
223 IMP_DEBUG = _IMP_rmf.IMP_DEBUG
224 IMP_RELEASE = _IMP_rmf.IMP_RELEASE
225 IMP_SILENT = _IMP_rmf.IMP_SILENT
226 IMP_PROGRESS = _IMP_rmf.IMP_PROGRESS
227 IMP_TERSE = _IMP_rmf.IMP_TERSE
228 IMP_VERBOSE = _IMP_rmf.IMP_VERBOSE
229 IMP_MEMORY = _IMP_rmf.IMP_MEMORY
230 IMP_NONE = _IMP_rmf.IMP_NONE
231 IMP_USAGE = _IMP_rmf.IMP_USAGE
232 IMP_INTERNAL = _IMP_rmf.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_rmf.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_rmf.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_rmf.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_rmf.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_rmf.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_rmf.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_rmf.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_rmf.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_rmf._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_rmf._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_rmf.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_rmf.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_rmf.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_rmf.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_rmf.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_rmf.IMPCGAL_SHOW_WARNINGS
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_rmf.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_rmf.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_rmf.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_rmf.IMPALGEBRA_SHOW_WARNINGS
308 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_IMP_CGAL
309 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
310 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
311 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_RANDOM
312 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_DISPLAY_HAS_BOOST_SYSTEM
313 IMP_DISPLAY_HAS_CGAL = _IMP_rmf.IMP_DISPLAY_HAS_CGAL
314 IMP_DISPLAY_HAS_NUMPY = _IMP_rmf.IMP_DISPLAY_HAS_NUMPY
315 IMPDISPLAY_SHOW_WARNINGS = _IMP_rmf.IMPDISPLAY_SHOW_WARNINGS
317 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
318 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
319 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
320 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
322 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_CGAL
323 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_HDF5
324 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_rmf.IMP_SCORE_FUNCTOR_HAS_NUMPY
325 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_rmf.IMPSCOREFUNCTOR_SHOW_WARNINGS
327 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_rmf.IMP_STATISTICS_HAS_IMP_CGAL
328 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
329 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
330 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_rmf.IMP_STATISTICS_HAS_BOOST_RANDOM
331 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_STATISTICS_HAS_BOOST_SYSTEM
332 IMP_STATISTICS_HAS_CGAL = _IMP_rmf.IMP_STATISTICS_HAS_CGAL
333 IMP_STATISTICS_HAS_NUMPY = _IMP_rmf.IMP_STATISTICS_HAS_NUMPY
334 IMPSTATISTICS_SHOW_WARNINGS = _IMP_rmf.IMPSTATISTICS_SHOW_WARNINGS
336 IMP_CORE_HAS_IMP_CGAL = _IMP_rmf.IMP_CORE_HAS_IMP_CGAL
337 IMP_CORE_HAS_IMP_KERNEL = _IMP_rmf.IMP_CORE_HAS_IMP_KERNEL
338 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_FILESYSTEM
339 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
340 IMP_CORE_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CORE_HAS_BOOST_RANDOM
341 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CORE_HAS_BOOST_SYSTEM
342 IMP_CORE_HAS_CGAL = _IMP_rmf.IMP_CORE_HAS_CGAL
343 IMP_CORE_HAS_HDF5 = _IMP_rmf.IMP_CORE_HAS_HDF5
344 IMP_CORE_HAS_NUMPY = _IMP_rmf.IMP_CORE_HAS_NUMPY
345 IMPCORE_SHOW_WARNINGS = _IMP_rmf.IMPCORE_SHOW_WARNINGS
347 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_rmf.IMP_CONTAINER_HAS_IMP_ALGEBRA
348 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_CGAL
349 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_rmf.IMP_CONTAINER_HAS_IMP_DISPLAY
350 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_rmf.IMP_CONTAINER_HAS_IMP_KERNEL
351 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
352 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
353 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
354 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_RANDOM
355 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_CONTAINER_HAS_BOOST_SYSTEM
356 IMP_CONTAINER_HAS_CGAL = _IMP_rmf.IMP_CONTAINER_HAS_CGAL
357 IMP_CONTAINER_HAS_HDF5 = _IMP_rmf.IMP_CONTAINER_HAS_HDF5
358 IMP_CONTAINER_HAS_NUMPY = _IMP_rmf.IMP_CONTAINER_HAS_NUMPY
359 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_rmf.IMP_CONTAINER_HAS_PYTHON_IHM
360 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_rmf.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
361 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_rmf.IMP_CONTAINER_HAS_ROBIN_MAP
362 IMPCONTAINER_SHOW_WARNINGS = _IMP_rmf.IMPCONTAINER_SHOW_WARNINGS
364 IMP_ATOM_HAS_IMP_CGAL = _IMP_rmf.IMP_ATOM_HAS_IMP_CGAL
365 IMP_ATOM_HAS_IMP_KERNEL = _IMP_rmf.IMP_ATOM_HAS_IMP_KERNEL
366 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
367 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
368 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ATOM_HAS_BOOST_RANDOM
369 IMP_ATOM_HAS_BOOST_REGEX = _IMP_rmf.IMP_ATOM_HAS_BOOST_REGEX
370 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ATOM_HAS_BOOST_SYSTEM
371 IMP_ATOM_HAS_CGAL = _IMP_rmf.IMP_ATOM_HAS_CGAL
372 IMP_ATOM_HAS_HDF5 = _IMP_rmf.IMP_ATOM_HAS_HDF5
373 IMP_ATOM_HAS_NUMPY = _IMP_rmf.IMP_ATOM_HAS_NUMPY
374 IMP_ATOM_HAS_PYTHON_IHM = _IMP_rmf.IMP_ATOM_HAS_PYTHON_IHM
375 IMPATOM_SHOW_WARNINGS = _IMP_rmf.IMPATOM_SHOW_WARNINGS
376 IMP_ATOM_TYPE_INDEX = _IMP_rmf.IMP_ATOM_TYPE_INDEX
377 IMP_RESIDUE_TYPE_INDEX = _IMP_rmf.IMP_RESIDUE_TYPE_INDEX
378 IMP_HIERARCHY_TYPE_INDEX = _IMP_rmf.IMP_HIERARCHY_TYPE_INDEX
379 IMP_CHAIN_TYPE_INDEX = _IMP_rmf.IMP_CHAIN_TYPE_INDEX
381 IMP_EM_HAS_IMP_CGAL = _IMP_rmf.IMP_EM_HAS_IMP_CGAL
382 IMP_EM_HAS_IMP_CONTAINER = _IMP_rmf.IMP_EM_HAS_IMP_CONTAINER
383 IMP_EM_HAS_IMP_DISPLAY = _IMP_rmf.IMP_EM_HAS_IMP_DISPLAY
384 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_EM_HAS_IMP_SCORE_FUNCTOR
385 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_EM_HAS_BOOST_FILESYSTEM
386 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
387 IMP_EM_HAS_BOOST_RANDOM = _IMP_rmf.IMP_EM_HAS_BOOST_RANDOM
388 IMP_EM_HAS_BOOST_REGEX = _IMP_rmf.IMP_EM_HAS_BOOST_REGEX
389 IMP_EM_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_EM_HAS_BOOST_SYSTEM
390 IMP_EM_HAS_CGAL = _IMP_rmf.IMP_EM_HAS_CGAL
391 IMP_EM_HAS_HDF5 = _IMP_rmf.IMP_EM_HAS_HDF5
392 IMP_EM_HAS_NUMPY = _IMP_rmf.IMP_EM_HAS_NUMPY
393 IMP_EM_HAS_PYTHON_IHM = _IMP_rmf.IMP_EM_HAS_PYTHON_IHM
394 IMPEM_SHOW_WARNINGS = _IMP_rmf.IMPEM_SHOW_WARNINGS
396 IMP_SAXS_HAS_IMP_CGAL = _IMP_rmf.IMP_SAXS_HAS_IMP_CGAL
397 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_rmf.IMP_SAXS_HAS_IMP_CONTAINER
398 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_rmf.IMP_SAXS_HAS_IMP_DISPLAY
399 IMP_SAXS_HAS_IMP_KERNEL = _IMP_rmf.IMP_SAXS_HAS_IMP_KERNEL
400 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
401 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_SAXS_HAS_BOOST_FILESYSTEM
402 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
403 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_rmf.IMP_SAXS_HAS_BOOST_RANDOM
404 IMP_SAXS_HAS_BOOST_REGEX = _IMP_rmf.IMP_SAXS_HAS_BOOST_REGEX
405 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_SAXS_HAS_BOOST_SYSTEM
406 IMP_SAXS_HAS_CGAL = _IMP_rmf.IMP_SAXS_HAS_CGAL
407 IMP_SAXS_HAS_HDF5 = _IMP_rmf.IMP_SAXS_HAS_HDF5
408 IMP_SAXS_HAS_NUMPY = _IMP_rmf.IMP_SAXS_HAS_NUMPY
409 IMP_SAXS_HAS_PYTHON_IHM = _IMP_rmf.IMP_SAXS_HAS_PYTHON_IHM
410 IMPSAXS_SHOW_WARNINGS = _IMP_rmf.IMPSAXS_SHOW_WARNINGS
412 IMP_ISD_HAS_IMP_CGAL = _IMP_rmf.IMP_ISD_HAS_IMP_CGAL
413 IMP_ISD_HAS_IMP_DISPLAY = _IMP_rmf.IMP_ISD_HAS_IMP_DISPLAY
414 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
415 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_ISD_HAS_BOOST_FILESYSTEM
416 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
417 IMP_ISD_HAS_BOOST_RANDOM = _IMP_rmf.IMP_ISD_HAS_BOOST_RANDOM
418 IMP_ISD_HAS_BOOST_REGEX = _IMP_rmf.IMP_ISD_HAS_BOOST_REGEX
419 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_ISD_HAS_BOOST_SYSTEM
420 IMP_ISD_HAS_CGAL = _IMP_rmf.IMP_ISD_HAS_CGAL
421 IMP_ISD_HAS_HDF5 = _IMP_rmf.IMP_ISD_HAS_HDF5
422 IMP_ISD_HAS_NUMPY = _IMP_rmf.IMP_ISD_HAS_NUMPY
423 IMP_ISD_HAS_PYTHON_IHM = _IMP_rmf.IMP_ISD_HAS_PYTHON_IHM
424 IMPISD_SHOW_WARNINGS = _IMP_rmf.IMPISD_SHOW_WARNINGS
426 IMP_RMF_HAS_IMP_CGAL = _IMP_rmf.IMP_RMF_HAS_IMP_CGAL
427 IMP_RMF_HAS_IMP_EM = _IMP_rmf.IMP_RMF_HAS_IMP_EM
428 IMP_RMF_HAS_IMP_SAXS = _IMP_rmf.IMP_RMF_HAS_IMP_SAXS
429 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_rmf.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
430 IMP_RMF_HAS_IMP_STATISTICS = _IMP_rmf.IMP_RMF_HAS_IMP_STATISTICS
431 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_FILESYSTEM
432 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_rmf.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
433 IMP_RMF_HAS_BOOST_RANDOM = _IMP_rmf.IMP_RMF_HAS_BOOST_RANDOM
434 IMP_RMF_HAS_BOOST_REGEX = _IMP_rmf.IMP_RMF_HAS_BOOST_REGEX
435 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_rmf.IMP_RMF_HAS_BOOST_SYSTEM
436 IMP_RMF_HAS_CGAL = _IMP_rmf.IMP_RMF_HAS_CGAL
437 IMP_RMF_HAS_HDF5 = _IMP_rmf.IMP_RMF_HAS_HDF5
438 IMP_RMF_HAS_NUMPY = _IMP_rmf.IMP_RMF_HAS_NUMPY
439 IMP_RMF_HAS_PYTHON_IHM = _IMP_rmf.IMP_RMF_HAS_PYTHON_IHM
440 IMPRMF_SHOW_WARNINGS = _IMP_rmf.IMPRMF_SHOW_WARNINGS
443 _object_types.append(
"SaveOptimizerState")
446 def _object_cast_to_SaveOptimizerState(o):
447 """_object_cast_to_SaveOptimizerState(Object o) -> SaveOptimizerState"""
448 return _IMP_rmf._object_cast_to_SaveOptimizerState(o)
450 _object_types.append(
"LoadLink")
453 def _object_cast_to_LoadLink(o):
454 """_object_cast_to_LoadLink(Object o) -> LoadLink"""
455 return _IMP_rmf._object_cast_to_LoadLink(o)
457 _object_types.append(
"SaveLink")
460 def _object_cast_to_SaveLink(o):
461 """_object_cast_to_SaveLink(Object o) -> SaveLink"""
462 return _IMP_rmf._object_cast_to_SaveLink(o)
464 _object_types.append(
"HierarchySaveLink")
467 def _object_cast_to_HierarchySaveLink(o):
468 """_object_cast_to_HierarchySaveLink(Object o) -> HierarchySaveLink"""
469 return _IMP_rmf._object_cast_to_HierarchySaveLink(o)
471 _object_types.append(
"HierarchyLoadLink")
474 def _object_cast_to_HierarchyLoadLink(o):
475 """_object_cast_to_HierarchyLoadLink(Object o) -> HierarchyLoadLink"""
476 return _IMP_rmf._object_cast_to_HierarchyLoadLink(o)
478 """Proxy of C++ IMP::rmf::LoadLink class."""
480 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
482 def do_load(self, fh):
483 """do_load(LoadLink self, FileConstHandle fh)"""
484 return _IMP_rmf.LoadLink_do_load(self, fh)
487 def __init__(self, name):
488 """__init__(IMP::rmf::LoadLink self, std::string name) -> LoadLink"""
489 if self.__class__ == LoadLink:
493 this = _IMP_rmf.new_LoadLink(_self, name)
495 self.this.append(this)
496 except __builtin__.Exception:
499 if self.__class__ != LoadLink:
500 _director_objects.register(self)
506 """load(LoadLink self, FileConstHandle fh)"""
507 return _IMP_rmf.LoadLink_load(self, fh)
509 __swig_destroy__ = _IMP_rmf.delete_LoadLink
510 __del__ =
lambda self:
None
513 """__str__(LoadLink self) -> std::string"""
514 return _IMP_rmf.LoadLink___str__(self)
518 """__repr__(LoadLink self) -> std::string"""
519 return _IMP_rmf.LoadLink___repr__(self)
524 return _object_cast_to_LoadLink(o)
527 def get_type_name(self):
528 return self.__class__.__name__
529 def do_show(self, out):
531 def get_version_info(self):
532 if"IMP::rmf" ==
"IMP":
533 return VersionInfo(self.__module__,
540 return _object_cast_to_LoadLink(o)
542 def __disown__(self):
544 _IMP_rmf.disown_LoadLink(self)
545 return weakref_proxy(self)
547 def do_destroy(self):
548 """do_destroy(LoadLink self)"""
549 return _IMP_rmf.LoadLink_do_destroy(self)
551 LoadLink_swigregister = _IMP_rmf.LoadLink_swigregister
552 LoadLink_swigregister(LoadLink)
555 """Proxy of C++ IMP::rmf::SaveLink class."""
557 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
559 def do_save(self, hf):
560 """do_save(SaveLink self, FileHandle hf)"""
561 return _IMP_rmf.SaveLink_do_save(self, hf)
564 def __init__(self, name):
565 """__init__(IMP::rmf::SaveLink self, std::string name) -> SaveLink"""
566 if self.__class__ == SaveLink:
570 this = _IMP_rmf.new_SaveLink(_self, name)
572 self.this.append(this)
573 except __builtin__.Exception:
576 if self.__class__ != SaveLink:
577 _director_objects.register(self)
583 """save(SaveLink self, FileHandle fh)"""
584 return _IMP_rmf.SaveLink_save(self, fh)
586 __swig_destroy__ = _IMP_rmf.delete_SaveLink
587 __del__ =
lambda self:
None
590 """__str__(SaveLink self) -> std::string"""
591 return _IMP_rmf.SaveLink___str__(self)
595 """__repr__(SaveLink self) -> std::string"""
596 return _IMP_rmf.SaveLink___repr__(self)
601 return _object_cast_to_SaveLink(o)
604 def get_type_name(self):
605 return self.__class__.__name__
606 def do_show(self, out):
608 def get_version_info(self):
609 if"IMP::rmf" ==
"IMP":
610 return VersionInfo(self.__module__,
617 return _object_cast_to_SaveLink(o)
619 def __disown__(self):
621 _IMP_rmf.disown_SaveLink(self)
622 return weakref_proxy(self)
624 def do_destroy(self):
625 """do_destroy(SaveLink self)"""
626 return _IMP_rmf.SaveLink_do_destroy(self)
628 SaveLink_swigregister = _IMP_rmf.SaveLink_swigregister
629 SaveLink_swigregister(SaveLink)
634 add_hierarchies(FileHandle fh, IMP::atom::Hierarchies const & hs)
635 add_hierarchies(NodeHandle fh, IMP::atom::Hierarchies const & hs)
637 return _IMP_rmf.add_hierarchies(*args)
640 """add_hierarchy(FileHandle fh, Hierarchy hs)"""
641 return _IMP_rmf.add_hierarchy(fh, hs)
644 """create_hierarchies(FileConstHandle fh, Model m) -> IMP::atom::Hierarchies"""
645 return _IMP_rmf.create_hierarchies(fh, m)
648 """link_hierarchies(FileConstHandle fh, IMP::atom::Hierarchies const & hs)"""
649 return _IMP_rmf.link_hierarchies(fh, hs)
653 add_restraints(FileHandle fh, IMP::Restraints const & hs)
654 add_restraints(NodeHandle fh, IMP::Restraints const & hs)
656 return _IMP_rmf.add_restraints(*args)
659 """add_restraint(FileHandle fh, Restraint hs)"""
660 return _IMP_rmf.add_restraint(fh, hs)
663 """create_restraints(FileConstHandle fh, Model m) -> IMP::Restraints"""
664 return _IMP_rmf.create_restraints(fh, m)
667 """link_restraints(FileConstHandle fh, IMP::Restraints const & hs)"""
668 return _IMP_rmf.link_restraints(fh, hs)
671 """add_restraints_as_bonds(FileHandle fh, IMP::Restraints const & rs)"""
672 return _IMP_rmf.add_restraints_as_bonds(fh, rs)
675 """set_maximum_number_of_terms(FileHandle fh, unsigned int num)"""
676 return _IMP_rmf.set_maximum_number_of_terms(fh, num)
680 add_particles(FileHandle fh, IMP::ParticlesTemp const & hs)
681 add_particles(NodeHandle fh, IMP::ParticlesTemp const & hs)
683 return _IMP_rmf.add_particles(*args)
686 """add_particle(FileHandle fh, Particle hs)"""
687 return _IMP_rmf.add_particle(fh, hs)
690 """create_particles(FileConstHandle fh, Model m) -> IMP::ParticlesTemp"""
691 return _IMP_rmf.create_particles(fh, m)
694 """link_particles(FileConstHandle fh, IMP::ParticlesTemp const & hs)"""
695 return _IMP_rmf.link_particles(fh, hs)
699 add_geometries(FileHandle file, IMP::display::GeometriesTemp const & r)
700 add_geometries(NodeHandle parent, IMP::display::GeometriesTemp const & r)
702 return _IMP_rmf.add_geometries(*args)
705 """add_static_geometries(FileHandle parent, IMP::display::GeometriesTemp const & r)"""
706 return _IMP_rmf.add_static_geometries(parent, r)
709 """add_geometry(FileHandle file, Geometry r)"""
710 return _IMP_rmf.add_geometry(file, r)
713 """create_geometries(FileConstHandle parent) -> IMP::display::Geometries"""
714 return _IMP_rmf.create_geometries(parent)
717 """link_geometries(FileConstHandle parent, IMP::display::GeometriesTemp const & r)"""
718 return _IMP_rmf.link_geometries(parent, r)
720 def set_association(nh, o, overwrite=False):
722 set_association(NodeConstHandle nh, Object o, bool overwrite=False)
723 set_association(NodeConstHandle nh, Object o)
725 return _IMP_rmf.set_association(nh, o, overwrite)
727 def get_node_from_association(*args):
729 get_node_from_association(FileConstHandle nh, Object oi) -> NodeConstHandle
730 get_node_from_association(FileHandle nh, Object oi) -> NodeHandle
732 return _IMP_rmf.get_node_from_association(*args)
734 def get_has_associated_node(nh, oi):
735 """get_has_associated_node(FileConstHandle nh, Object oi) -> bool"""
736 return _IMP_rmf.get_has_associated_node(nh, oi)
738 """Proxy of C++ IMP::rmf::SaveOptimizerState class."""
740 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
742 def __init__(self, m, fh):
743 """__init__(IMP::rmf::SaveOptimizerState self, Model m, FileHandle fh) -> SaveOptimizerState"""
744 this = _IMP_rmf.new_SaveOptimizerState(m, fh)
746 self.this.append(this)
747 except __builtin__.Exception:
750 def remove_hierarchy(self, d):
751 """remove_hierarchy(SaveOptimizerState self, Particle d)"""
752 return _IMP_rmf.SaveOptimizerState_remove_hierarchy(self, d)
755 def remove_hierarchies(self, d):
756 """remove_hierarchies(SaveOptimizerState self, IMP::Particles const & d)"""
757 return _IMP_rmf.SaveOptimizerState_remove_hierarchies(self, d)
760 def set_hierarchies(self, ps):
761 """set_hierarchies(SaveOptimizerState self, IMP::Particles const & ps)"""
762 return _IMP_rmf.SaveOptimizerState_set_hierarchies(self, ps)
765 def set_hierarchies_order(self, objs):
766 """set_hierarchies_order(SaveOptimizerState self, IMP::Particles const & objs)"""
767 return _IMP_rmf.SaveOptimizerState_set_hierarchies_order(self, objs)
771 """add_hierarchy(SaveOptimizerState self, Particle obj) -> unsigned int"""
772 return _IMP_rmf.SaveOptimizerState_add_hierarchy(self, obj)
776 """add_hierarchies(SaveOptimizerState self, IMP::Particles const & objs)"""
777 return _IMP_rmf.SaveOptimizerState_add_hierarchies(self, objs)
780 def clear_hierarchies(self):
781 """clear_hierarchies(SaveOptimizerState self)"""
782 return _IMP_rmf.SaveOptimizerState_clear_hierarchies(self)
785 def get_number_of_hierarchies(self):
786 """get_number_of_hierarchies(SaveOptimizerState self) -> unsigned int"""
787 return _IMP_rmf.SaveOptimizerState_get_number_of_hierarchies(self)
790 def get_has_hierarchies(self):
791 """get_has_hierarchies(SaveOptimizerState self) -> bool"""
792 return _IMP_rmf.SaveOptimizerState_get_has_hierarchies(self)
795 def get_hierarchy(self, i):
796 """get_hierarchy(SaveOptimizerState self, unsigned int i) -> Particle"""
797 return _IMP_rmf.SaveOptimizerState_get_hierarchy(self, i)
800 def get_hierarchies(self):
801 """get_hierarchies(SaveOptimizerState self) -> IMP::Particles"""
802 return _IMP_rmf.SaveOptimizerState_get_hierarchies(self)
805 def reserve_hierarchies(self, sz):
806 """reserve_hierarchies(SaveOptimizerState self, unsigned int sz)"""
807 return _IMP_rmf.SaveOptimizerState_reserve_hierarchies(self, sz)
810 def remove_restraint(self, d):
811 """remove_restraint(SaveOptimizerState self, Restraint d)"""
812 return _IMP_rmf.SaveOptimizerState_remove_restraint(self, d)
815 def remove_restraints(self, d):
816 """remove_restraints(SaveOptimizerState self, IMP::Restraints const & d)"""
817 return _IMP_rmf.SaveOptimizerState_remove_restraints(self, d)
820 def set_restraints(self, ps):
821 """set_restraints(SaveOptimizerState self, IMP::Restraints const & ps)"""
822 return _IMP_rmf.SaveOptimizerState_set_restraints(self, ps)
825 def set_restraints_order(self, objs):
826 """set_restraints_order(SaveOptimizerState self, IMP::Restraints const & objs)"""
827 return _IMP_rmf.SaveOptimizerState_set_restraints_order(self, objs)
831 """add_restraint(SaveOptimizerState self, Restraint obj) -> unsigned int"""
832 return _IMP_rmf.SaveOptimizerState_add_restraint(self, obj)
836 """add_restraints(SaveOptimizerState self, IMP::Restraints const & objs)"""
837 return _IMP_rmf.SaveOptimizerState_add_restraints(self, objs)
840 def clear_restraints(self):
841 """clear_restraints(SaveOptimizerState self)"""
842 return _IMP_rmf.SaveOptimizerState_clear_restraints(self)
845 def get_number_of_restraints(self):
846 """get_number_of_restraints(SaveOptimizerState self) -> unsigned int"""
847 return _IMP_rmf.SaveOptimizerState_get_number_of_restraints(self)
850 def get_has_restraints(self):
851 """get_has_restraints(SaveOptimizerState self) -> bool"""
852 return _IMP_rmf.SaveOptimizerState_get_has_restraints(self)
855 def get_restraint(self, i):
856 """get_restraint(SaveOptimizerState self, unsigned int i) -> Restraint"""
857 return _IMP_rmf.SaveOptimizerState_get_restraint(self, i)
860 def get_restraints(self):
861 """get_restraints(SaveOptimizerState self) -> IMP::Restraints"""
862 return _IMP_rmf.SaveOptimizerState_get_restraints(self)
865 def reserve_restraints(self, sz):
866 """reserve_restraints(SaveOptimizerState self, unsigned int sz)"""
867 return _IMP_rmf.SaveOptimizerState_reserve_restraints(self, sz)
870 def remove_particle(self, d):
871 """remove_particle(SaveOptimizerState self, Particle d)"""
872 return _IMP_rmf.SaveOptimizerState_remove_particle(self, d)
875 def remove_particles(self, d):
876 """remove_particles(SaveOptimizerState self, IMP::Particles const & d)"""
877 return _IMP_rmf.SaveOptimizerState_remove_particles(self, d)
880 def set_particles(self, ps):
881 """set_particles(SaveOptimizerState self, IMP::Particles const & ps)"""
882 return _IMP_rmf.SaveOptimizerState_set_particles(self, ps)
885 def set_particles_order(self, objs):
886 """set_particles_order(SaveOptimizerState self, IMP::Particles const & objs)"""
887 return _IMP_rmf.SaveOptimizerState_set_particles_order(self, objs)
891 """add_particle(SaveOptimizerState self, Particle obj) -> unsigned int"""
892 return _IMP_rmf.SaveOptimizerState_add_particle(self, obj)
896 """add_particles(SaveOptimizerState self, IMP::Particles const & objs)"""
897 return _IMP_rmf.SaveOptimizerState_add_particles(self, objs)
900 def clear_particles(self):
901 """clear_particles(SaveOptimizerState self)"""
902 return _IMP_rmf.SaveOptimizerState_clear_particles(self)
905 def get_number_of_particles(self):
906 """get_number_of_particles(SaveOptimizerState self) -> unsigned int"""
907 return _IMP_rmf.SaveOptimizerState_get_number_of_particles(self)
910 def get_has_particles(self):
911 """get_has_particles(SaveOptimizerState self) -> bool"""
912 return _IMP_rmf.SaveOptimizerState_get_has_particles(self)
916 """get_particle(SaveOptimizerState self, unsigned int i) -> Particle"""
917 return _IMP_rmf.SaveOptimizerState_get_particle(self, i)
921 """get_particles(SaveOptimizerState self) -> IMP::Particles"""
922 return _IMP_rmf.SaveOptimizerState_get_particles(self)
925 def reserve_particles(self, sz):
926 """reserve_particles(SaveOptimizerState self, unsigned int sz)"""
927 return _IMP_rmf.SaveOptimizerState_reserve_particles(self, sz)
930 def remove_geometry(self, d):
931 """remove_geometry(SaveOptimizerState self, Geometry d)"""
932 return _IMP_rmf.SaveOptimizerState_remove_geometry(self, d)
935 def remove_geometries(self, d):
936 """remove_geometries(SaveOptimizerState self, IMP::display::Geometries const & d)"""
937 return _IMP_rmf.SaveOptimizerState_remove_geometries(self, d)
940 def set_geometries(self, ps):
941 """set_geometries(SaveOptimizerState self, IMP::display::Geometries const & ps)"""
942 return _IMP_rmf.SaveOptimizerState_set_geometries(self, ps)
945 def set_geometries_order(self, objs):
946 """set_geometries_order(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
947 return _IMP_rmf.SaveOptimizerState_set_geometries_order(self, objs)
951 """add_geometry(SaveOptimizerState self, Geometry obj) -> unsigned int"""
952 return _IMP_rmf.SaveOptimizerState_add_geometry(self, obj)
956 """add_geometries(SaveOptimizerState self, IMP::display::Geometries const & objs)"""
957 return _IMP_rmf.SaveOptimizerState_add_geometries(self, objs)
960 def clear_geometries(self):
961 """clear_geometries(SaveOptimizerState self)"""
962 return _IMP_rmf.SaveOptimizerState_clear_geometries(self)
965 def get_number_of_geometries(self):
966 """get_number_of_geometries(SaveOptimizerState self) -> unsigned int"""
967 return _IMP_rmf.SaveOptimizerState_get_number_of_geometries(self)
970 def get_has_geometries(self):
971 """get_has_geometries(SaveOptimizerState self) -> bool"""
972 return _IMP_rmf.SaveOptimizerState_get_has_geometries(self)
975 def get_geometry(self, i):
976 """get_geometry(SaveOptimizerState self, unsigned int i) -> Geometry"""
977 return _IMP_rmf.SaveOptimizerState_get_geometry(self, i)
980 def get_geometries(self):
981 """get_geometries(SaveOptimizerState self) -> IMP::display::Geometries"""
982 return _IMP_rmf.SaveOptimizerState_get_geometries(self)
985 def reserve_geometries(self, sz):
986 """reserve_geometries(SaveOptimizerState self, unsigned int sz)"""
987 return _IMP_rmf.SaveOptimizerState_reserve_geometries(self, sz)
990 def set_simulator(self, sim):
991 """set_simulator(SaveOptimizerState self, Simulator sim)"""
992 return _IMP_rmf.SaveOptimizerState_set_simulator(self, sim)
995 def update_always(self, *args):
997 update_always(SaveOptimizerState self, std::string name)
998 update_always(SaveOptimizerState self)
1000 return _IMP_rmf.SaveOptimizerState_update_always(self, *args)
1003 def do_update(self, call_num):
1004 """do_update(SaveOptimizerState self, unsigned int call_num)"""
1005 return _IMP_rmf.SaveOptimizerState_do_update(self, call_num)
1008 def get_version_info(self):
1009 """get_version_info(SaveOptimizerState self) -> VersionInfo"""
1010 return _IMP_rmf.SaveOptimizerState_get_version_info(self)
1014 """__str__(SaveOptimizerState self) -> std::string"""
1015 return _IMP_rmf.SaveOptimizerState___str__(self)
1019 """__repr__(SaveOptimizerState self) -> std::string"""
1020 return _IMP_rmf.SaveOptimizerState___repr__(self)
1025 return _object_cast_to_SaveOptimizerState(o)
1027 SaveOptimizerState_swigregister = _IMP_rmf.SaveOptimizerState_swigregister
1028 SaveOptimizerState_swigregister(SaveOptimizerState)
1032 """load_frame(FileConstHandle file, FrameID frame)"""
1033 return _IMP_rmf.load_frame(file, frame)
1037 save_frame(FileHandle file, std::string name) -> FrameID
1038 save_frame(FileHandle file) -> FrameID
1040 return _IMP_rmf.save_frame(*args)
1041 class _ParticleSaveLink(SaveLink):
1042 """Proxy of C++ IMP::rmf::SimpleSaveLink<(IMP::Particle)> class."""
1044 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1046 def __init__(self, *args, **kwargs):
1047 raise AttributeError(
"No constructor defined - class is abstract")
1048 __repr__ = _swig_repr
1050 def add(self, parent, os):
1051 """add(_ParticleSaveLink self, NodeHandle parent, IMP::Vector< Pointer< IMP::Particle > > const & os)"""
1052 return _IMP_rmf._ParticleSaveLink_add(self, parent, os)
1054 __swig_destroy__ = _IMP_rmf.delete__ParticleSaveLink
1055 __del__ =
lambda self:
None
1056 _ParticleSaveLink_swigregister = _IMP_rmf._ParticleSaveLink_swigregister
1057 _ParticleSaveLink_swigregister(_ParticleSaveLink)
1059 class _ParticleLoadLink(LoadLink):
1060 """Proxy of C++ IMP::rmf::SimpleLoadLink<(IMP::Particle)> class."""
1062 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1064 def __init__(self, *args, **kwargs):
1065 raise AttributeError(
"No constructor defined - class is abstract")
1066 __repr__ = _swig_repr
1068 def create(self, *args):
1070 create(_ParticleLoadLink self, NodeConstHandle rt) -> IMP::Vector< Pointer< IMP::Particle > >
1071 create(_ParticleLoadLink self, NodeConstHandle rt, Model m) -> IMP::Vector< Pointer< IMP::Particle > >
1073 return _IMP_rmf._ParticleLoadLink_create(self, *args)
1076 def link(self, rt, ps):
1077 """link(_ParticleLoadLink self, NodeConstHandle rt, IMP::Vector< Pointer< IMP::Particle > > const & ps)"""
1078 return _IMP_rmf._ParticleLoadLink_link(self, rt, ps)
1080 __swig_destroy__ = _IMP_rmf.delete__ParticleLoadLink
1081 __del__ =
lambda self:
None
1082 _ParticleLoadLink_swigregister = _IMP_rmf._ParticleLoadLink_swigregister
1083 _ParticleLoadLink_swigregister(_ParticleLoadLink)
1085 class HierarchyLoadLink(_ParticleLoadLink):
1086 """Proxy of C++ IMP::rmf::HierarchyLoadLink class."""
1088 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1090 def __init__(self, fh):
1091 """__init__(IMP::rmf::HierarchyLoadLink self, FileConstHandle fh) -> HierarchyLoadLink"""
1092 this = _IMP_rmf.new_HierarchyLoadLink(fh)
1094 self.this.append(this)
1095 except __builtin__.Exception:
1099 """get_name() -> char const *"""
1100 return _IMP_rmf.HierarchyLoadLink_get_name()
1102 get_name = staticmethod(get_name)
1104 def get_version_info(self):
1105 """get_version_info(HierarchyLoadLink self) -> VersionInfo"""
1106 return _IMP_rmf.HierarchyLoadLink_get_version_info(self)
1110 """__str__(HierarchyLoadLink self) -> std::string"""
1111 return _IMP_rmf.HierarchyLoadLink___str__(self)
1115 """__repr__(HierarchyLoadLink self) -> std::string"""
1116 return _IMP_rmf.HierarchyLoadLink___repr__(self)
1121 return _object_cast_to_HierarchyLoadLink(o)
1123 HierarchyLoadLink_swigregister = _IMP_rmf.HierarchyLoadLink_swigregister
1124 HierarchyLoadLink_swigregister(HierarchyLoadLink)
1126 def HierarchyLoadLink_get_name():
1127 """HierarchyLoadLink_get_name() -> char const *"""
1128 return _IMP_rmf.HierarchyLoadLink_get_name()
1130 class HierarchySaveLink(_ParticleSaveLink):
1131 """Proxy of C++ IMP::rmf::HierarchySaveLink class."""
1133 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1135 def __init__(self, fh):
1136 """__init__(IMP::rmf::HierarchySaveLink self, FileHandle fh) -> HierarchySaveLink"""
1137 this = _IMP_rmf.new_HierarchySaveLink(fh)
1139 self.this.append(this)
1140 except __builtin__.Exception:
1144 """get_name() -> char const *"""
1145 return _IMP_rmf.HierarchySaveLink_get_name()
1147 get_name = staticmethod(get_name)
1149 def get_version_info(self):
1150 """get_version_info(HierarchySaveLink self) -> VersionInfo"""
1151 return _IMP_rmf.HierarchySaveLink_get_version_info(self)
1155 """__str__(HierarchySaveLink self) -> std::string"""
1156 return _IMP_rmf.HierarchySaveLink___str__(self)
1160 """__repr__(HierarchySaveLink self) -> std::string"""
1161 return _IMP_rmf.HierarchySaveLink___repr__(self)
1166 return _object_cast_to_HierarchySaveLink(o)
1168 HierarchySaveLink_swigregister = _IMP_rmf.HierarchySaveLink_swigregister
1169 HierarchySaveLink_swigregister(HierarchySaveLink)
1171 def HierarchySaveLink_get_name():
1172 """HierarchySaveLink_get_name() -> char const *"""
1173 return _IMP_rmf.HierarchySaveLink_get_name()
1176 suffixes = [
".rmf",
".rmfz"]
1180 """get_module_version() -> std::string const"""
1181 return _IMP_rmf.get_module_version()
1184 """get_example_path(std::string fname) -> std::string"""
1185 return _IMP_rmf.get_example_path(fname)
1188 """get_data_path(std::string fname) -> std::string"""
1189 return _IMP_rmf.get_data_path(fname)
1191 from .
import _version_check
void link_particles(RMF::FileConstHandle fh, const ParticlesTemp &hs)
display::Geometries create_geometries(RMF::FileConstHandle parent)
Create geometry objects for the geometry nodes found in the file.
ParticlesTemp create_particles(RMF::FileConstHandle fh, Model *m)
atom::Hierarchies create_hierarchies(RMF::FileConstHandle fh, Model *m)
RMF::FrameID save_frame(RMF::FileHandle file, std::string name="")
Save the current state of the linked objects as a new RMF frame.
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
Various classes to hold sets of particles.
void add_restraints_as_bonds(RMF::FileHandle fh, const Restraints &rs)
Add a list of restraints to the file as (static) bonds.
Make CGAL functionality available to IMP.
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
void link_restraints(RMF::FileConstHandle fh, const Restraints &hs)
void add_particle(RMF::FileHandle fh, Particle *hs)
void add_hierarchies(RMF::FileHandle fh, const atom::Hierarchies &hs)
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
void add_hierarchy(RMF::FileHandle fh, atom::Hierarchy hs)
std::string get_module_version()
Return the version of this module, as a string.
Common base class for heavy weight IMP objects.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
void link_geometries(RMF::FileConstHandle parent, const display::GeometriesTemp &r)
Link the passed geometry objects to corresponding ones in the file.
Version and module information for Objects.
Basic utilities for handling cryo-electron microscopy 3D density maps.
void load_frame(RMF::FileConstHandle file, RMF::FrameID frame)
Load the given RMF frame into the state of the linked objects.
Particle * get_particle() const
Returns the particle decorated by this decorator.
void set_maximum_number_of_terms(RMF::FileHandle fh, unsigned int num)
Limit the number of restraint terms.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
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...
Restraints create_restraints(RMF::FileConstHandle fh, Model *m)
Shared optimizer state that is invoked upon commitment of new coordinates.
void link_hierarchies(RMF::FileConstHandle fh, const atom::Hierarchies &hs)
void add_geometry(RMF::FileHandle file, display::Geometry *r)
Add a single geometry to the file.
void add_static_geometries(RMF::FileHandle parent, const display::GeometriesTemp &r)
Add geometries, assuming they do not move between frames.
void add_geometries(RMF::FileHandle file, const display::GeometriesTemp &r)
Add geometries to the file.
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.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...