11 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 import _IMP_cnmultifit
19 import builtins
as __builtin__
25 strthis =
"proxy of " + self.this.__repr__()
26 except __builtin__.Exception:
28 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
31 def _swig_setattr_nondynamic_instance_variable(set):
32 def set_instance_attr(self, name, value):
34 set(self, name, value)
35 elif name ==
"thisown":
37 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
38 set(self, name, value)
40 raise AttributeError(
"You cannot add instance attributes to %s" % self)
41 return set_instance_attr
44 def _swig_setattr_nondynamic_class_variable(set):
45 def set_class_attr(cls, name, value):
46 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
49 raise AttributeError(
"You cannot add class attributes to %s" % cls)
53 def _swig_add_metaclass(metaclass):
54 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
56 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
60 class _SwigNonDynamicMeta(type):
61 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
62 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
67 class IMP_CNMULTIFIT_SwigPyIterator(object):
68 r"""Proxy of C++ swig::IMP_CNMULTIFIT_SwigPyIterator class."""
70 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
72 def __init__(self, *args, **kwargs):
73 raise AttributeError(
"No constructor defined - class is abstract")
75 __swig_destroy__ = _IMP_cnmultifit.delete_IMP_CNMULTIFIT_SwigPyIterator
78 r"""value(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
79 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_value(self)
82 r"""incr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator"""
83 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_incr(self, n)
86 r"""decr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator"""
87 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_decr(self, n)
89 def distance(self, x):
90 r"""distance(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> ptrdiff_t"""
91 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_distance(self, x)
94 r"""equal(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
95 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_equal(self, x)
98 r"""copy(IMP_CNMULTIFIT_SwigPyIterator self) -> IMP_CNMULTIFIT_SwigPyIterator"""
99 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_copy(self)
102 r"""next(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
103 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_next(self)
106 r"""__next__(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
107 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___next__(self)
110 r"""previous(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
111 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_previous(self)
113 def advance(self, n):
114 r"""advance(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
115 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_advance(self, n)
118 r"""__eq__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
119 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___eq__(self, x)
122 r"""__ne__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
123 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___ne__(self, x)
125 def __iadd__(self, n):
126 r"""__iadd__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
127 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___iadd__(self, n)
129 def __isub__(self, n):
130 r"""__isub__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
131 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___isub__(self, n)
133 def __add__(self, n):
134 r"""__add__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
135 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___add__(self, n)
137 def __sub__(self, *args):
139 __sub__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator
140 __sub__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> ptrdiff_t
142 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___sub__(self, *args)
147 _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_swigregister(IMP_CNMULTIFIT_SwigPyIterator)
154 IMP_DEBUG = _IMP_cnmultifit.IMP_DEBUG
156 IMP_RELEASE = _IMP_cnmultifit.IMP_RELEASE
158 IMP_SILENT = _IMP_cnmultifit.IMP_SILENT
160 IMP_PROGRESS = _IMP_cnmultifit.IMP_PROGRESS
162 IMP_TERSE = _IMP_cnmultifit.IMP_TERSE
164 IMP_VERBOSE = _IMP_cnmultifit.IMP_VERBOSE
166 IMP_MEMORY = _IMP_cnmultifit.IMP_MEMORY
168 IMP_NONE = _IMP_cnmultifit.IMP_NONE
170 IMP_USAGE = _IMP_cnmultifit.IMP_USAGE
172 IMP_INTERNAL = _IMP_cnmultifit.IMP_INTERNAL
174 IMP_KERNEL_HAS_LOG4CXX = _IMP_cnmultifit.IMP_KERNEL_HAS_LOG4CXX
176 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_cnmultifit.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
178 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_cnmultifit.IMP_COMPILER_HAS_DEBUG_VECTOR
180 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_cnmultifit.IMP_COMPILER_HAS_RANDOM_SHUFFLE
182 IMP_COMPILER_HAS_THREE_WAY = _IMP_cnmultifit.IMP_COMPILER_HAS_THREE_WAY
184 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_KERNEL_HAS_BOOST_RANDOM
186 IMP_KERNEL_HAS_NUMPY = _IMP_cnmultifit.IMP_KERNEL_HAS_NUMPY
188 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_cnmultifit.IMP_KERNEL_HAS_GPERFTOOLS
190 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_cnmultifit.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
192 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_cnmultifit.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
194 IMPKERNEL_SHOW_WARNINGS = _IMP_cnmultifit.IMPKERNEL_SHOW_WARNINGS
198 class _DirectorObjects(object):
199 """@internal Simple class to keep references to director objects
200 to prevent premature deletion."""
203 def register(self, obj):
204 """Take a reference to a director object; will only work for
205 refcounted C++ classes"""
206 if hasattr(obj,
'get_ref_count'):
207 self._objects.append(obj)
209 """Only drop our reference and allow cleanup by Python if no other
210 Python references exist (we hold 3 references: one in self._objects,
211 one in x, and one in the argument list for getrefcount) *and* no
212 other C++ references exist (the Python object always holds one)"""
213 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
214 or x.get_ref_count() > 1]
218 def get_object_count(self):
219 """Get number of director objects (useful for testing only)"""
220 return len(self._objects)
221 _director_objects = _DirectorObjects()
223 class _ostream(object):
224 r"""Proxy of C++ std::ostream class."""
226 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
228 def __init__(self, *args, **kwargs):
229 raise AttributeError(
"No constructor defined")
230 __repr__ = _swig_repr
232 def write(self, osa_buf):
233 r"""write(_ostream self, char const * osa_buf)"""
234 return _IMP_cnmultifit._ostream_write(self, osa_buf)
237 _IMP_cnmultifit._ostream_swigregister(_ostream)
238 IMP_C_OPEN_BINARY = _IMP_cnmultifit.IMP_C_OPEN_BINARY
241 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_FILESYSTEM
243 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_RANDOM
247 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_SYSTEM
249 IMP_CGAL_HAS_NUMPY = _IMP_cnmultifit.IMP_CGAL_HAS_NUMPY
251 IMPCGAL_SHOW_WARNINGS = _IMP_cnmultifit.IMPCGAL_SHOW_WARNINGS
254 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_IMP_CGAL
256 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
258 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
260 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_RANDOM
262 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_SYSTEM
264 IMP_ALGEBRA_HAS_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_CGAL
266 IMP_ALGEBRA_HAS_NUMPY = _IMP_cnmultifit.IMP_ALGEBRA_HAS_NUMPY
268 IMP_ALGEBRA_HAS_ANN = _IMP_cnmultifit.IMP_ALGEBRA_HAS_ANN
270 IMPALGEBRA_SHOW_WARNINGS = _IMP_cnmultifit.IMPALGEBRA_SHOW_WARNINGS
273 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_IMP_CGAL
275 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
277 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
279 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_RANDOM
281 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_SYSTEM
283 IMP_DISPLAY_HAS_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_CGAL
285 IMP_DISPLAY_HAS_NUMPY = _IMP_cnmultifit.IMP_DISPLAY_HAS_NUMPY
287 IMPDISPLAY_SHOW_WARNINGS = _IMP_cnmultifit.IMPDISPLAY_SHOW_WARNINGS
290 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
292 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
294 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
296 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
298 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
300 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_CGAL
302 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_HDF5
304 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_NUMPY
306 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_cnmultifit.IMPSCOREFUNCTOR_SHOW_WARNINGS
309 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_IMP_CGAL
311 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
313 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
315 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_RANDOM
317 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_SYSTEM
319 IMP_STATISTICS_HAS_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_CGAL
321 IMP_STATISTICS_HAS_NUMPY = _IMP_cnmultifit.IMP_STATISTICS_HAS_NUMPY
323 IMPSTATISTICS_SHOW_WARNINGS = _IMP_cnmultifit.IMPSTATISTICS_SHOW_WARNINGS
326 IMP_CORE_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_CGAL
328 IMP_CORE_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_KERNEL
330 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_FILESYSTEM
332 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
334 IMP_CORE_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_RANDOM
336 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_SYSTEM
338 IMP_CORE_HAS_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_CGAL
340 IMP_CORE_HAS_HDF5 = _IMP_cnmultifit.IMP_CORE_HAS_HDF5
342 IMP_CORE_HAS_NUMPY = _IMP_cnmultifit.IMP_CORE_HAS_NUMPY
344 IMPCORE_SHOW_WARNINGS = _IMP_cnmultifit.IMPCORE_SHOW_WARNINGS
347 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_ALGEBRA
349 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_CGAL
351 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_DISPLAY
353 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_KERNEL
355 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
357 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
359 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
361 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_RANDOM
363 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_SYSTEM
365 IMP_CONTAINER_HAS_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_CGAL
367 IMP_CONTAINER_HAS_HDF5 = _IMP_cnmultifit.IMP_CONTAINER_HAS_HDF5
369 IMP_CONTAINER_HAS_NUMPY = _IMP_cnmultifit.IMP_CONTAINER_HAS_NUMPY
371 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_CONTAINER_HAS_PYTHON_IHM
373 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_cnmultifit.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
375 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_cnmultifit.IMP_CONTAINER_HAS_ROBIN_MAP
377 IMPCONTAINER_SHOW_WARNINGS = _IMP_cnmultifit.IMPCONTAINER_SHOW_WARNINGS
380 IMP_ATOM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_CGAL
382 IMP_ATOM_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_KERNEL
384 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
386 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
388 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_RANDOM
390 IMP_ATOM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_REGEX
392 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_SYSTEM
394 IMP_ATOM_HAS_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_CGAL
396 IMP_ATOM_HAS_HDF5 = _IMP_cnmultifit.IMP_ATOM_HAS_HDF5
398 IMP_ATOM_HAS_NUMPY = _IMP_cnmultifit.IMP_ATOM_HAS_NUMPY
400 IMP_ATOM_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_ATOM_HAS_PYTHON_IHM
402 IMPATOM_SHOW_WARNINGS = _IMP_cnmultifit.IMPATOM_SHOW_WARNINGS
404 IMP_ATOM_TYPE_INDEX = _IMP_cnmultifit.IMP_ATOM_TYPE_INDEX
406 IMP_RESIDUE_TYPE_INDEX = _IMP_cnmultifit.IMP_RESIDUE_TYPE_INDEX
408 IMP_HIERARCHY_TYPE_INDEX = _IMP_cnmultifit.IMP_HIERARCHY_TYPE_INDEX
410 IMP_CHAIN_TYPE_INDEX = _IMP_cnmultifit.IMP_CHAIN_TYPE_INDEX
413 IMP_EM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_EM_HAS_IMP_CGAL
415 IMP_EM_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_EM_HAS_IMP_CONTAINER
417 IMP_EM_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_EM_HAS_IMP_DISPLAY
419 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_EM_HAS_IMP_SCORE_FUNCTOR
421 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_FILESYSTEM
423 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
425 IMP_EM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_RANDOM
427 IMP_EM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_EM_HAS_BOOST_REGEX
429 IMP_EM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_SYSTEM
431 IMP_EM_HAS_CGAL = _IMP_cnmultifit.IMP_EM_HAS_CGAL
433 IMP_EM_HAS_HDF5 = _IMP_cnmultifit.IMP_EM_HAS_HDF5
435 IMP_EM_HAS_NUMPY = _IMP_cnmultifit.IMP_EM_HAS_NUMPY
437 IMP_EM_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_EM_HAS_PYTHON_IHM
439 IMPEM_SHOW_WARNINGS = _IMP_cnmultifit.IMPEM_SHOW_WARNINGS
442 IMP_SAXS_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_CGAL
444 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_CONTAINER
446 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_DISPLAY
448 IMP_SAXS_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_KERNEL
450 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
452 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_FILESYSTEM
454 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
456 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_RANDOM
458 IMP_SAXS_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_REGEX
460 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_SYSTEM
462 IMP_SAXS_HAS_CGAL = _IMP_cnmultifit.IMP_SAXS_HAS_CGAL
464 IMP_SAXS_HAS_HDF5 = _IMP_cnmultifit.IMP_SAXS_HAS_HDF5
466 IMP_SAXS_HAS_NUMPY = _IMP_cnmultifit.IMP_SAXS_HAS_NUMPY
468 IMP_SAXS_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_SAXS_HAS_PYTHON_IHM
470 IMPSAXS_SHOW_WARNINGS = _IMP_cnmultifit.IMPSAXS_SHOW_WARNINGS
473 IMP_ISD_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ISD_HAS_IMP_CGAL
475 IMP_ISD_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_ISD_HAS_IMP_DISPLAY
477 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
479 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_FILESYSTEM
481 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
483 IMP_ISD_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_RANDOM
485 IMP_ISD_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_REGEX
487 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_SYSTEM
489 IMP_ISD_HAS_CGAL = _IMP_cnmultifit.IMP_ISD_HAS_CGAL
491 IMP_ISD_HAS_HDF5 = _IMP_cnmultifit.IMP_ISD_HAS_HDF5
493 IMP_ISD_HAS_NUMPY = _IMP_cnmultifit.IMP_ISD_HAS_NUMPY
495 IMP_ISD_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_ISD_HAS_PYTHON_IHM
497 IMPISD_SHOW_WARNINGS = _IMP_cnmultifit.IMPISD_SHOW_WARNINGS
500 IMP_RMF_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_IMP_CGAL
502 IMP_RMF_HAS_IMP_EM = _IMP_cnmultifit.IMP_RMF_HAS_IMP_EM
504 IMP_RMF_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_RMF_HAS_IMP_SAXS
506 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
508 IMP_RMF_HAS_IMP_STATISTICS = _IMP_cnmultifit.IMP_RMF_HAS_IMP_STATISTICS
510 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_FILESYSTEM
512 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
514 IMP_RMF_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_RANDOM
516 IMP_RMF_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_REGEX
518 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_SYSTEM
520 IMP_RMF_HAS_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_CGAL
522 IMP_RMF_HAS_HDF5 = _IMP_cnmultifit.IMP_RMF_HAS_HDF5
524 IMP_RMF_HAS_NUMPY = _IMP_cnmultifit.IMP_RMF_HAS_NUMPY
526 IMP_RMF_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_RMF_HAS_PYTHON_IHM
528 IMPRMF_SHOW_WARNINGS = _IMP_cnmultifit.IMPRMF_SHOW_WARNINGS
532 IMP_DOMINO_HAS_IMP_ATOM = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_ATOM
534 IMP_DOMINO_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_CGAL
536 IMP_DOMINO_HAS_IMP_EM = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_EM
538 IMP_DOMINO_HAS_IMP_ISD = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_ISD
540 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_KERNEL
542 IMP_DOMINO_HAS_IMP_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_RMF
544 IMP_DOMINO_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_SAXS
546 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
548 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_FILESYSTEM
550 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
552 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_RANDOM
554 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_REGEX
556 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_SYSTEM
558 IMP_DOMINO_HAS_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_CGAL
560 IMP_DOMINO_HAS_HDF5 = _IMP_cnmultifit.IMP_DOMINO_HAS_HDF5
562 IMP_DOMINO_HAS_NUMPY = _IMP_cnmultifit.IMP_DOMINO_HAS_NUMPY
564 IMP_DOMINO_HAS_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_RMF
566 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_DOMINO_HAS_PYTHON_IHM
568 IMPDOMINO_SHOW_WARNINGS = _IMP_cnmultifit.IMPDOMINO_SHOW_WARNINGS
572 IMP_MULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CGAL
574 IMP_MULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CONTAINER
576 IMP_MULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_DISPLAY
578 IMP_MULTIFIT_HAS_IMP_ISD = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_ISD
580 IMP_MULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_KERNEL
582 IMP_MULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_RMF
584 IMP_MULTIFIT_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_SAXS
586 IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR
588 IMP_MULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_GRAPH
590 IMP_MULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_RANDOM
592 IMP_MULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_REGEX
594 IMP_MULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_SYSTEM
596 IMP_MULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_CGAL
598 IMP_MULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_MULTIFIT_HAS_HDF5
600 IMP_MULTIFIT_HAS_NUMPY = _IMP_cnmultifit.IMP_MULTIFIT_HAS_NUMPY
602 IMP_MULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_RMF
604 IMP_MULTIFIT_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_PYTHON_IHM
606 IMPMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPMULTIFIT_SHOW_WARNINGS
609 IMP_CNMULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CGAL
611 IMP_CNMULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CONTAINER
613 IMP_CNMULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DISPLAY
615 IMP_CNMULTIFIT_HAS_IMP_DOMINO = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DOMINO
617 IMP_CNMULTIFIT_HAS_IMP_ISD = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_ISD
619 IMP_CNMULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_KERNEL
621 IMP_CNMULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_RMF
623 IMP_CNMULTIFIT_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_SAXS
625 IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR
627 IMP_CNMULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_GRAPH
629 IMP_CNMULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_RANDOM
631 IMP_CNMULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_REGEX
633 IMP_CNMULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_SYSTEM
635 IMP_CNMULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_CGAL
637 IMP_CNMULTIFIT_HAS_FFTW3 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_FFTW3
639 IMP_CNMULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_HDF5
641 IMP_CNMULTIFIT_HAS_NUMPY = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_NUMPY
643 IMP_CNMULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_RMF
645 IMP_CNMULTIFIT_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_PYTHON_IHM
647 IMPCNMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPCNMULTIFIT_SHOW_WARNINGS
651 _plural_types.append(
"AlignSymmetrics")
652 _value_types.append(
"AlignSymmetric")
655 CnSymmAxisDetectors=list
656 _plural_types.append(
"CnSymmAxisDetectors")
657 _value_types.append(
"CnSymmAxisDetector")
660 MolCnSymmAxisDetectors=list
661 _plural_types.append(
"MolCnSymmAxisDetectors")
662 _value_types.append(
"MolCnSymmAxisDetector")
664 class CnSymmAxisDetector(object):
665 r"""Proxy of C++ IMP::cnmultifit::CnSymmAxisDetector class."""
667 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
669 def __init__(self, *args):
671 __init__(CnSymmAxisDetector self, int symm_deg, DensityMap dmap, float density_threshold, float top_p=0.8) -> CnSymmAxisDetector
672 __init__(CnSymmAxisDetector self, int symm_deg, IMP::atom::Hierarchies const & mhs) -> CnSymmAxisDetector
674 _IMP_cnmultifit.CnSymmAxisDetector_swiginit(self, _IMP_cnmultifit.new_CnSymmAxisDetector(*args))
677 r"""get_pca(CnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
678 return _IMP_cnmultifit.CnSymmAxisDetector_get_pca(self)
680 def calc_symm_score(self, symm_axis_ind):
681 r"""calc_symm_score(CnSymmAxisDetector self, int symm_axis_ind) -> float"""
682 return _IMP_cnmultifit.CnSymmAxisDetector_calc_symm_score(self, symm_axis_ind)
684 def get_symmetry_axis(self):
685 r"""get_symmetry_axis(CnSymmAxisDetector self) -> Vector3D"""
686 return _IMP_cnmultifit.CnSymmAxisDetector_get_symmetry_axis(self)
688 def get_symmetry_axis_index(self):
689 r"""get_symmetry_axis_index(CnSymmAxisDetector self) -> int"""
690 return _IMP_cnmultifit.CnSymmAxisDetector_get_symmetry_axis_index(self)
692 def get_non_symmetry_axis_length(self):
693 r"""get_non_symmetry_axis_length(CnSymmAxisDetector self) -> int"""
694 return _IMP_cnmultifit.CnSymmAxisDetector_get_non_symmetry_axis_length(self)
696 def show(self, *args):
697 r"""show(CnSymmAxisDetector self, _ostream out=std::cout)"""
698 return _IMP_cnmultifit.CnSymmAxisDetector_show(self, *args)
701 r"""__str__(CnSymmAxisDetector self) -> std::string"""
702 return _IMP_cnmultifit.CnSymmAxisDetector___str__(self)
705 r"""__repr__(CnSymmAxisDetector self) -> std::string"""
706 return _IMP_cnmultifit.CnSymmAxisDetector___repr__(self)
707 __swig_destroy__ = _IMP_cnmultifit.delete_CnSymmAxisDetector
710 _IMP_cnmultifit.CnSymmAxisDetector_swigregister(CnSymmAxisDetector)
711 class MolCnSymmAxisDetector(object):
712 r"""Proxy of C++ IMP::cnmultifit::MolCnSymmAxisDetector class."""
714 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
716 def __init__(self, symm_deg, mhs):
717 r"""__init__(MolCnSymmAxisDetector self, int symm_deg, IMP::atom::Hierarchies const & mhs) -> MolCnSymmAxisDetector"""
718 _IMP_cnmultifit.MolCnSymmAxisDetector_swiginit(self, _IMP_cnmultifit.new_MolCnSymmAxisDetector(symm_deg, mhs))
721 r"""get_pca(MolCnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
722 return _IMP_cnmultifit.MolCnSymmAxisDetector_get_pca(self)
724 def get_symmetry_axis(self):
725 r"""get_symmetry_axis(MolCnSymmAxisDetector self) -> Vector3D"""
726 return _IMP_cnmultifit.MolCnSymmAxisDetector_get_symmetry_axis(self)
728 def get_symmetry_axis_index(self):
729 r"""get_symmetry_axis_index(MolCnSymmAxisDetector self) -> int"""
730 return _IMP_cnmultifit.MolCnSymmAxisDetector_get_symmetry_axis_index(self)
732 def show(self, *args):
733 r"""show(MolCnSymmAxisDetector self, _ostream out=std::cout)"""
734 return _IMP_cnmultifit.MolCnSymmAxisDetector_show(self, *args)
736 def calc_symm_score(self, symm_axis_ind):
737 r"""calc_symm_score(MolCnSymmAxisDetector self, int symm_axis_ind) -> float"""
738 return _IMP_cnmultifit.MolCnSymmAxisDetector_calc_symm_score(self, symm_axis_ind)
741 r"""__str__(MolCnSymmAxisDetector self) -> std::string"""
742 return _IMP_cnmultifit.MolCnSymmAxisDetector___str__(self)
745 r"""__repr__(MolCnSymmAxisDetector self) -> std::string"""
746 return _IMP_cnmultifit.MolCnSymmAxisDetector___repr__(self)
747 __swig_destroy__ = _IMP_cnmultifit.delete_MolCnSymmAxisDetector
750 _IMP_cnmultifit.MolCnSymmAxisDetector_swigregister(MolCnSymmAxisDetector)
751 class AlignSymmetric(object):
752 r"""Proxy of C++ IMP::cnmultifit::AlignSymmetric class."""
754 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
756 def __init__(self, dmap, threshold, cn_symm_deg):
757 r"""__init__(AlignSymmetric self, DensityMap dmap, float threshold, int cn_symm_deg) -> AlignSymmetric"""
758 _IMP_cnmultifit.AlignSymmetric_swiginit(self, _IMP_cnmultifit.new_AlignSymmetric(dmap, threshold, cn_symm_deg))
760 def get_sorted_principal_values(self):
761 r"""get_sorted_principal_values(AlignSymmetric self) -> IMP::Floats"""
762 return _IMP_cnmultifit.AlignSymmetric_get_sorted_principal_values(self)
764 def score_alignment(self, mhs, max_allowed_diff):
765 r"""score_alignment(AlignSymmetric self, IMP::atom::Hierarchies mhs, float max_allowed_diff) -> int"""
766 return _IMP_cnmultifit.AlignSymmetric_score_alignment(self, mhs, max_allowed_diff)
768 def get_symm_axis_alignments_from_model_to_density(self, mhs, sample_translation, fine_rotation_sampling=True):
769 r"""get_symm_axis_alignments_from_model_to_density(AlignSymmetric self, IMP::atom::Hierarchies mhs, bool sample_translation, bool fine_rotation_sampling=True) -> IMP::algebra::Transformation3Ds"""
770 return _IMP_cnmultifit.AlignSymmetric_get_symm_axis_alignments_from_model_to_density(self, mhs, sample_translation, fine_rotation_sampling)
772 def show(self, *args):
773 r"""show(AlignSymmetric self, _ostream out=std::cout)"""
774 return _IMP_cnmultifit.AlignSymmetric_show(self, *args)
777 r"""__str__(AlignSymmetric self) -> std::string"""
778 return _IMP_cnmultifit.AlignSymmetric___str__(self)
781 r"""__repr__(AlignSymmetric self) -> std::string"""
782 return _IMP_cnmultifit.AlignSymmetric___repr__(self)
783 __swig_destroy__ = _IMP_cnmultifit.delete_AlignSymmetric
786 _IMP_cnmultifit.AlignSymmetric_swigregister(AlignSymmetric)
788 def generate_cn_transformations(mhs, symm_deg):
789 r"""generate_cn_transformations(IMP::atom::Hierarchies mhs, int symm_deg) -> IMP::algebra::Transformation3Ds"""
790 return _IMP_cnmultifit.generate_cn_transformations(mhs, symm_deg)
792 def generate_translations_along_symm_axis(mhs, symm_deg):
793 r"""generate_translations_along_symm_axis(IMP::atom::Hierarchies mhs, int symm_deg) -> IMP::algebra::Transformation3Ds"""
794 return _IMP_cnmultifit.generate_translations_along_symm_axis(mhs, symm_deg)
796 def symmetry_local_fitting(mhs, cn_symm_deg, dn_symm_deg, dmap, num_of_trans_to_consider):
797 r"""symmetry_local_fitting(IMP::atom::Hierarchies mhs, int cn_symm_deg, int dn_symm_deg, DensityMap dmap, int num_of_trans_to_consider) -> FittingSolutions"""
798 return _IMP_cnmultifit.symmetry_local_fitting(mhs, cn_symm_deg, dn_symm_deg, dmap, num_of_trans_to_consider)
800 def build_cn_dens_assembly(subunit_dens, asmb_dens_header, monomer_t, symm_deg):
801 r"""build_cn_dens_assembly(DensityMap subunit_dens, DensityHeader asmb_dens_header, Transformation3D monomer_t, int symm_deg) -> DensityMap"""
802 return _IMP_cnmultifit.build_cn_dens_assembly(subunit_dens, asmb_dens_header, monomer_t, symm_deg)
804 def transform_cn_assembly(mhs, monomer_t):
805 r"""transform_cn_assembly(IMP::atom::Hierarchies mhs, Transformation3D monomer_t)"""
806 return _IMP_cnmultifit.transform_cn_assembly(mhs, monomer_t)
810 fit_cn_assembly(IMP::atom::Hierarchies mhs, int dn_symm_deg, DensityMap dmap, float threshold, AlignSymmetric aligner, bool sample_translation=False, bool fine_rotational_sampling=True) -> FittingSolutions
811 fit_cn_assembly(DensityMap asmb_map, MolCnSymmAxisDetector symm_mol, DensityMap dmap, CnSymmAxisDetector symm_map, int symm_deg, float threshold) -> FittingSolutions
813 return _IMP_cnmultifit.fit_cn_assembly(*args)
815 def pca_matching(pca1, pca2, resolution):
816 r"""pca_matching(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2, float resolution) -> bool"""
817 return _IMP_cnmultifit.pca_matching(pca1, pca2, resolution)
820 r"""cn_symm_score(IMP::atom::Hierarchies mhs, Vector3D center, Vector3D direction, int symm_deg) -> float"""
821 return _IMP_cnmultifit.cn_symm_score(mhs, center, direction, symm_deg)
823 def prune_by_pca(param_fn, sols, dn=1):
824 r"""prune_by_pca(std::string const & param_fn, IMP::multifit::FittingSolutionRecords const & sols, int dn=1) -> IMP::multifit::FittingSolutionRecords"""
825 return _IMP_cnmultifit.prune_by_pca(param_fn, sols, dn)
827 def calc_transformation_around_axis(a, b, angle_rad):
828 r"""calc_transformation_around_axis(Vector3D a, Vector3D b, float angle_rad) -> Transformation3D"""
829 return _IMP_cnmultifit.calc_transformation_around_axis(a, b, angle_rad)
832 r"""get_cn_rmsd(IMP::atom::Hierarchies mh1, IMP::atom::Hierarchies mh2) -> float"""
833 return _IMP_cnmultifit.get_cn_rmsd(mh1, mh2)
836 r"""do_all_fitting(std::string const param_filename, std::string const chimera_filename="")"""
837 return _IMP_cnmultifit.do_all_fitting(*args)
839 def get_rmsd_for_models(param_filename, trans_filename, ref_filename, start_model=0, end_model=-1):
840 r"""get_rmsd_for_models(std::string const param_filename, std::string const trans_filename, std::string const ref_filename, int start_model=0, int end_model=-1) -> IMP::Floats"""
841 return _IMP_cnmultifit.get_rmsd_for_models(param_filename, trans_filename, ref_filename, start_model, end_model)
843 _all_commands = [
"build",
"rmsd",
"surface",
844 "param",
"chimera_models"]
848 r"""get_module_version() -> std::string const"""
849 return _IMP_cnmultifit.get_module_version()
852 r"""get_example_path(std::string fname) -> std::string"""
853 return _IMP_cnmultifit.get_example_path(fname)
856 r"""get_data_path(std::string fname) -> std::string"""
857 return _IMP_cnmultifit.get_data_path(fname)
859 from .
import _version_check
Various classes to hold sets of particles.
void do_all_fitting(const std::string param_filename, const std::string chimera_filename="")
High level interface to build cyclic symmetric complexes.
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
float cn_symm_score(atom::Hierarchies mhs, const algebra::Vector3D ¢er, const algebra::Vector3D &direction, int symm_deg)
scores an input vector as a symmetry axis
Fitting atomic structures into a cryo-electron microscopy density map.
Basic utilities for handling cryo-electron microscopy 3D density maps.
float get_cn_rmsd(atom::Hierarchies mh1, atom::Hierarchies mh2)
Find correspondence between the two rings and calculate rmsd.
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
em::FittingSolutions fit_cn_assembly(atom::Hierarchies mhs, int dn_symm_deg, em::DensityMap *dmap, float threshold, const AlignSymmetric &aligner, bool sample_translation=false, bool fine_rotational_sampling=true)
Fit a symmetric model to its density.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
Support for the RMF file format for storing hierarchical molecular data and markup.
Divide-and-conquer inferential optimization in discrete space.
Support for small angle X-ray scattering (SAXS) data.
std::string get_module_version()
Return the version of this module, as a string.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...