14 from sys
import version_info
as _swig_python_version_info
15 import _IMP_cnmultifit
18 import builtins
as __builtin__
24 strthis =
"proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
30 def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
33 set(self, name, value)
34 elif name ==
"thisown":
36 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
37 set(self, name, value)
39 raise AttributeError(
"You cannot add instance attributes to %s" % self)
40 return set_instance_attr
43 def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value):
45 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
48 raise AttributeError(
"You cannot add class attributes to %s" % cls)
52 def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
59 class _SwigNonDynamicMeta(type):
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
66 class IMP_CNMULTIFIT_SwigPyIterator(object):
67 r"""Proxy of C++ swig::IMP_CNMULTIFIT_SwigPyIterator class."""
69 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
71 def __init__(self, *args, **kwargs):
72 raise AttributeError(
"No constructor defined - class is abstract")
74 __swig_destroy__ = _IMP_cnmultifit.delete_IMP_CNMULTIFIT_SwigPyIterator
77 r"""value(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
78 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_value(self)
81 r"""incr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator"""
82 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_incr(self, n)
85 r"""decr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator"""
86 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_decr(self, n)
88 def distance(self, x):
89 r"""distance(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> ptrdiff_t"""
90 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_distance(self, x)
93 r"""equal(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
94 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_equal(self, x)
97 r"""copy(IMP_CNMULTIFIT_SwigPyIterator self) -> IMP_CNMULTIFIT_SwigPyIterator"""
98 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_copy(self)
101 r"""next(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
102 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_next(self)
105 r"""__next__(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
106 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___next__(self)
109 r"""previous(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
110 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_previous(self)
112 def advance(self, n):
113 r"""advance(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
114 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_advance(self, n)
117 r"""__eq__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
118 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___eq__(self, x)
121 r"""__ne__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
122 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___ne__(self, x)
124 def __iadd__(self, n):
125 r"""__iadd__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
126 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___iadd__(self, n)
128 def __isub__(self, n):
129 r"""__isub__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
130 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___isub__(self, n)
132 def __add__(self, n):
133 r"""__add__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
134 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___add__(self, n)
136 def __sub__(self, *args):
138 __sub__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator
139 __sub__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> ptrdiff_t
141 return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___sub__(self, *args)
146 _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_swigregister(IMP_CNMULTIFIT_SwigPyIterator)
153 IMP_DEBUG = _IMP_cnmultifit.IMP_DEBUG
155 IMP_RELEASE = _IMP_cnmultifit.IMP_RELEASE
157 IMP_SILENT = _IMP_cnmultifit.IMP_SILENT
159 IMP_PROGRESS = _IMP_cnmultifit.IMP_PROGRESS
161 IMP_TERSE = _IMP_cnmultifit.IMP_TERSE
163 IMP_VERBOSE = _IMP_cnmultifit.IMP_VERBOSE
165 IMP_MEMORY = _IMP_cnmultifit.IMP_MEMORY
167 IMP_NONE = _IMP_cnmultifit.IMP_NONE
169 IMP_USAGE = _IMP_cnmultifit.IMP_USAGE
171 IMP_INTERNAL = _IMP_cnmultifit.IMP_INTERNAL
173 IMP_KERNEL_HAS_LOG4CXX = _IMP_cnmultifit.IMP_KERNEL_HAS_LOG4CXX
175 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_cnmultifit.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
177 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_cnmultifit.IMP_COMPILER_HAS_DEBUG_VECTOR
179 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_cnmultifit.IMP_COMPILER_HAS_RANDOM_SHUFFLE
181 IMP_COMPILER_HAS_THREE_WAY = _IMP_cnmultifit.IMP_COMPILER_HAS_THREE_WAY
183 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_KERNEL_HAS_BOOST_RANDOM
185 IMP_KERNEL_HAS_NUMPY = _IMP_cnmultifit.IMP_KERNEL_HAS_NUMPY
187 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_cnmultifit.IMP_KERNEL_HAS_GPERFTOOLS
189 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_cnmultifit.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
191 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_cnmultifit.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
193 IMPKERNEL_SHOW_WARNINGS = _IMP_cnmultifit.IMPKERNEL_SHOW_WARNINGS
197 class _DirectorObjects:
198 """@internal Simple class to keep references to director objects
199 to prevent premature deletion."""
202 def register(self, obj):
203 """Take a reference to a director object; will only work for
204 refcounted C++ classes"""
205 if hasattr(obj,
'get_ref_count'):
206 self._objects.append(obj)
208 """Only drop our reference and allow cleanup by Python if no other
209 Python references exist (we hold 3 references: one in self._objects,
210 one in x, and one in the argument list for getrefcount) *and* no
211 other C++ references exist (the Python object always holds one)"""
212 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
213 or x.get_ref_count() > 1]
217 def get_object_count(self):
218 """Get number of director objects (useful for testing only)"""
219 return len(self._objects)
220 _director_objects = _DirectorObjects()
222 class _ostream(object):
223 r"""Proxy of C++ std::ostream class."""
225 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
227 def __init__(self, *args, **kwargs):
228 raise AttributeError(
"No constructor defined")
229 __repr__ = _swig_repr
231 def write(self, osa_buf):
232 r"""write(_ostream self, char const * osa_buf)"""
233 return _IMP_cnmultifit._ostream_write(self, osa_buf)
236 _IMP_cnmultifit._ostream_swigregister(_ostream)
237 IMP_C_OPEN_BINARY = _IMP_cnmultifit.IMP_C_OPEN_BINARY
240 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_FILESYSTEM
242 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
244 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_RANDOM
246 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_SYSTEM
248 IMP_CGAL_HAS_NUMPY = _IMP_cnmultifit.IMP_CGAL_HAS_NUMPY
250 IMPCGAL_SHOW_WARNINGS = _IMP_cnmultifit.IMPCGAL_SHOW_WARNINGS
253 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_IMP_CGAL
255 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
257 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
259 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_RANDOM
261 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_SYSTEM
263 IMP_ALGEBRA_HAS_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_CGAL
265 IMP_ALGEBRA_HAS_NUMPY = _IMP_cnmultifit.IMP_ALGEBRA_HAS_NUMPY
267 IMP_ALGEBRA_HAS_ANN = _IMP_cnmultifit.IMP_ALGEBRA_HAS_ANN
269 IMPALGEBRA_SHOW_WARNINGS = _IMP_cnmultifit.IMPALGEBRA_SHOW_WARNINGS
272 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_IMP_CGAL
274 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
276 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
278 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_RANDOM
280 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_SYSTEM
282 IMP_DISPLAY_HAS_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_CGAL
284 IMP_DISPLAY_HAS_NUMPY = _IMP_cnmultifit.IMP_DISPLAY_HAS_NUMPY
286 IMPDISPLAY_SHOW_WARNINGS = _IMP_cnmultifit.IMPDISPLAY_SHOW_WARNINGS
289 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
291 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
293 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
295 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
297 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
299 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_CGAL
301 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_HDF5
303 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_NUMPY
305 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_cnmultifit.IMPSCOREFUNCTOR_SHOW_WARNINGS
308 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_IMP_CGAL
310 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
312 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
314 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_RANDOM
316 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_SYSTEM
318 IMP_STATISTICS_HAS_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_CGAL
320 IMP_STATISTICS_HAS_NUMPY = _IMP_cnmultifit.IMP_STATISTICS_HAS_NUMPY
322 IMPSTATISTICS_SHOW_WARNINGS = _IMP_cnmultifit.IMPSTATISTICS_SHOW_WARNINGS
325 IMP_CORE_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_CGAL
327 IMP_CORE_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_KERNEL
329 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_FILESYSTEM
331 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
333 IMP_CORE_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_RANDOM
335 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_SYSTEM
337 IMP_CORE_HAS_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_CGAL
339 IMP_CORE_HAS_HDF5 = _IMP_cnmultifit.IMP_CORE_HAS_HDF5
341 IMP_CORE_HAS_NUMPY = _IMP_cnmultifit.IMP_CORE_HAS_NUMPY
343 IMPCORE_SHOW_WARNINGS = _IMP_cnmultifit.IMPCORE_SHOW_WARNINGS
346 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_ALGEBRA
348 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_CGAL
350 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_DISPLAY
352 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_KERNEL
354 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
356 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
358 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
360 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_RANDOM
362 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_SYSTEM
364 IMP_CONTAINER_HAS_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_CGAL
366 IMP_CONTAINER_HAS_HDF5 = _IMP_cnmultifit.IMP_CONTAINER_HAS_HDF5
368 IMP_CONTAINER_HAS_NUMPY = _IMP_cnmultifit.IMP_CONTAINER_HAS_NUMPY
370 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_CONTAINER_HAS_PYTHON_IHM
372 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_cnmultifit.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
374 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_cnmultifit.IMP_CONTAINER_HAS_ROBIN_MAP
376 IMPCONTAINER_SHOW_WARNINGS = _IMP_cnmultifit.IMPCONTAINER_SHOW_WARNINGS
379 IMP_ATOM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_CGAL
381 IMP_ATOM_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_KERNEL
383 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
385 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
387 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_RANDOM
389 IMP_ATOM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_REGEX
391 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_SYSTEM
393 IMP_ATOM_HAS_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_CGAL
395 IMP_ATOM_HAS_HDF5 = _IMP_cnmultifit.IMP_ATOM_HAS_HDF5
397 IMP_ATOM_HAS_NUMPY = _IMP_cnmultifit.IMP_ATOM_HAS_NUMPY
399 IMP_ATOM_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_ATOM_HAS_PYTHON_IHM
401 IMPATOM_SHOW_WARNINGS = _IMP_cnmultifit.IMPATOM_SHOW_WARNINGS
403 IMP_ATOM_TYPE_INDEX = _IMP_cnmultifit.IMP_ATOM_TYPE_INDEX
405 IMP_RESIDUE_TYPE_INDEX = _IMP_cnmultifit.IMP_RESIDUE_TYPE_INDEX
407 IMP_HIERARCHY_TYPE_INDEX = _IMP_cnmultifit.IMP_HIERARCHY_TYPE_INDEX
409 IMP_CHAIN_TYPE_INDEX = _IMP_cnmultifit.IMP_CHAIN_TYPE_INDEX
412 IMP_EM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_EM_HAS_IMP_CGAL
414 IMP_EM_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_EM_HAS_IMP_CONTAINER
416 IMP_EM_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_EM_HAS_IMP_DISPLAY
418 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_EM_HAS_IMP_SCORE_FUNCTOR
420 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_FILESYSTEM
422 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
424 IMP_EM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_RANDOM
426 IMP_EM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_EM_HAS_BOOST_REGEX
428 IMP_EM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_SYSTEM
430 IMP_EM_HAS_CGAL = _IMP_cnmultifit.IMP_EM_HAS_CGAL
432 IMP_EM_HAS_HDF5 = _IMP_cnmultifit.IMP_EM_HAS_HDF5
434 IMP_EM_HAS_NUMPY = _IMP_cnmultifit.IMP_EM_HAS_NUMPY
436 IMP_EM_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_EM_HAS_PYTHON_IHM
438 IMPEM_SHOW_WARNINGS = _IMP_cnmultifit.IMPEM_SHOW_WARNINGS
441 IMP_SAXS_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_CGAL
443 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_CONTAINER
445 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_DISPLAY
447 IMP_SAXS_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_KERNEL
449 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
451 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_FILESYSTEM
453 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
455 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_RANDOM
457 IMP_SAXS_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_REGEX
459 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_SYSTEM
461 IMP_SAXS_HAS_CGAL = _IMP_cnmultifit.IMP_SAXS_HAS_CGAL
463 IMP_SAXS_HAS_HDF5 = _IMP_cnmultifit.IMP_SAXS_HAS_HDF5
465 IMP_SAXS_HAS_NUMPY = _IMP_cnmultifit.IMP_SAXS_HAS_NUMPY
467 IMP_SAXS_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_SAXS_HAS_PYTHON_IHM
469 IMPSAXS_SHOW_WARNINGS = _IMP_cnmultifit.IMPSAXS_SHOW_WARNINGS
472 IMP_ISD_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ISD_HAS_IMP_CGAL
474 IMP_ISD_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_ISD_HAS_IMP_DISPLAY
476 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
478 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_FILESYSTEM
480 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
482 IMP_ISD_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_RANDOM
484 IMP_ISD_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_REGEX
486 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_SYSTEM
488 IMP_ISD_HAS_CGAL = _IMP_cnmultifit.IMP_ISD_HAS_CGAL
490 IMP_ISD_HAS_HDF5 = _IMP_cnmultifit.IMP_ISD_HAS_HDF5
492 IMP_ISD_HAS_NUMPY = _IMP_cnmultifit.IMP_ISD_HAS_NUMPY
494 IMP_ISD_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_ISD_HAS_PYTHON_IHM
496 IMPISD_SHOW_WARNINGS = _IMP_cnmultifit.IMPISD_SHOW_WARNINGS
499 IMP_RMF_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_IMP_CGAL
501 IMP_RMF_HAS_IMP_EM = _IMP_cnmultifit.IMP_RMF_HAS_IMP_EM
503 IMP_RMF_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_RMF_HAS_IMP_SAXS
505 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
507 IMP_RMF_HAS_IMP_STATISTICS = _IMP_cnmultifit.IMP_RMF_HAS_IMP_STATISTICS
509 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_FILESYSTEM
511 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
513 IMP_RMF_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_RANDOM
515 IMP_RMF_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_REGEX
517 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_SYSTEM
519 IMP_RMF_HAS_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_CGAL
521 IMP_RMF_HAS_HDF5 = _IMP_cnmultifit.IMP_RMF_HAS_HDF5
523 IMP_RMF_HAS_NUMPY = _IMP_cnmultifit.IMP_RMF_HAS_NUMPY
525 IMP_RMF_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_RMF_HAS_PYTHON_IHM
527 IMPRMF_SHOW_WARNINGS = _IMP_cnmultifit.IMPRMF_SHOW_WARNINGS
531 IMP_DOMINO_HAS_IMP_ATOM = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_ATOM
533 IMP_DOMINO_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_CGAL
535 IMP_DOMINO_HAS_IMP_EM = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_EM
537 IMP_DOMINO_HAS_IMP_ISD = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_ISD
539 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_KERNEL
541 IMP_DOMINO_HAS_IMP_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_RMF
543 IMP_DOMINO_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_SAXS
545 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
547 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_FILESYSTEM
549 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
551 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_RANDOM
553 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_REGEX
555 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_SYSTEM
557 IMP_DOMINO_HAS_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_CGAL
559 IMP_DOMINO_HAS_HDF5 = _IMP_cnmultifit.IMP_DOMINO_HAS_HDF5
561 IMP_DOMINO_HAS_NUMPY = _IMP_cnmultifit.IMP_DOMINO_HAS_NUMPY
563 IMP_DOMINO_HAS_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_RMF
565 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_DOMINO_HAS_PYTHON_IHM
567 IMPDOMINO_SHOW_WARNINGS = _IMP_cnmultifit.IMPDOMINO_SHOW_WARNINGS
571 IMP_MULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CGAL
573 IMP_MULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CONTAINER
575 IMP_MULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_DISPLAY
577 IMP_MULTIFIT_HAS_IMP_ISD = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_ISD
579 IMP_MULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_KERNEL
581 IMP_MULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_RMF
583 IMP_MULTIFIT_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_SAXS
585 IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR
587 IMP_MULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_GRAPH
589 IMP_MULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_RANDOM
591 IMP_MULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_REGEX
593 IMP_MULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_SYSTEM
595 IMP_MULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_CGAL
597 IMP_MULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_MULTIFIT_HAS_HDF5
599 IMP_MULTIFIT_HAS_NUMPY = _IMP_cnmultifit.IMP_MULTIFIT_HAS_NUMPY
601 IMP_MULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_RMF
603 IMP_MULTIFIT_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_PYTHON_IHM
605 IMPMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPMULTIFIT_SHOW_WARNINGS
608 IMP_CNMULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CGAL
610 IMP_CNMULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CONTAINER
612 IMP_CNMULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DISPLAY
614 IMP_CNMULTIFIT_HAS_IMP_DOMINO = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DOMINO
616 IMP_CNMULTIFIT_HAS_IMP_ISD = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_ISD
618 IMP_CNMULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_KERNEL
620 IMP_CNMULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_RMF
622 IMP_CNMULTIFIT_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_SAXS
624 IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR
626 IMP_CNMULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_GRAPH
628 IMP_CNMULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_RANDOM
630 IMP_CNMULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_REGEX
632 IMP_CNMULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_SYSTEM
634 IMP_CNMULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_CGAL
636 IMP_CNMULTIFIT_HAS_FFTW3 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_FFTW3
638 IMP_CNMULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_HDF5
640 IMP_CNMULTIFIT_HAS_NUMPY = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_NUMPY
642 IMP_CNMULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_RMF
644 IMP_CNMULTIFIT_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_PYTHON_IHM
646 IMPCNMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPCNMULTIFIT_SHOW_WARNINGS
650 _plural_types.append(
"AlignSymmetrics")
651 _value_types.append(
"AlignSymmetric")
654 CnSymmAxisDetectors=list
655 _plural_types.append(
"CnSymmAxisDetectors")
656 _value_types.append(
"CnSymmAxisDetector")
659 MolCnSymmAxisDetectors=list
660 _plural_types.append(
"MolCnSymmAxisDetectors")
661 _value_types.append(
"MolCnSymmAxisDetector")
663 class CnSymmAxisDetector(object):
664 r"""Proxy of C++ IMP::cnmultifit::CnSymmAxisDetector class."""
666 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
668 def __init__(self, *args):
670 __init__(CnSymmAxisDetector self, int symm_deg, DensityMap dmap, float density_threshold, float top_p=0.8) -> CnSymmAxisDetector
671 __init__(CnSymmAxisDetector self, int symm_deg, IMP::atom::Hierarchies const & mhs) -> CnSymmAxisDetector
673 _IMP_cnmultifit.CnSymmAxisDetector_swiginit(self, _IMP_cnmultifit.new_CnSymmAxisDetector(*args))
676 r"""get_pca(CnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
677 return _IMP_cnmultifit.CnSymmAxisDetector_get_pca(self)
679 def calc_symm_score(self, symm_axis_ind):
680 r"""calc_symm_score(CnSymmAxisDetector self, int symm_axis_ind) -> float"""
681 return _IMP_cnmultifit.CnSymmAxisDetector_calc_symm_score(self, symm_axis_ind)
683 def get_symmetry_axis(self):
684 r"""get_symmetry_axis(CnSymmAxisDetector self) -> Vector3D"""
685 return _IMP_cnmultifit.CnSymmAxisDetector_get_symmetry_axis(self)
687 def get_symmetry_axis_index(self):
688 r"""get_symmetry_axis_index(CnSymmAxisDetector self) -> int"""
689 return _IMP_cnmultifit.CnSymmAxisDetector_get_symmetry_axis_index(self)
691 def get_non_symmetry_axis_length(self):
692 r"""get_non_symmetry_axis_length(CnSymmAxisDetector self) -> int"""
693 return _IMP_cnmultifit.CnSymmAxisDetector_get_non_symmetry_axis_length(self)
695 def show(self, *args):
696 r"""show(CnSymmAxisDetector self, _ostream out=std::cout)"""
697 return _IMP_cnmultifit.CnSymmAxisDetector_show(self, *args)
700 r"""__str__(CnSymmAxisDetector self) -> std::string"""
701 return _IMP_cnmultifit.CnSymmAxisDetector___str__(self)
704 r"""__repr__(CnSymmAxisDetector self) -> std::string"""
705 return _IMP_cnmultifit.CnSymmAxisDetector___repr__(self)
706 __swig_destroy__ = _IMP_cnmultifit.delete_CnSymmAxisDetector
709 _IMP_cnmultifit.CnSymmAxisDetector_swigregister(CnSymmAxisDetector)
710 class MolCnSymmAxisDetector(object):
711 r"""Proxy of C++ IMP::cnmultifit::MolCnSymmAxisDetector class."""
713 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
715 def __init__(self, symm_deg, mhs):
716 r"""__init__(MolCnSymmAxisDetector self, int symm_deg, IMP::atom::Hierarchies const & mhs) -> MolCnSymmAxisDetector"""
717 _IMP_cnmultifit.MolCnSymmAxisDetector_swiginit(self, _IMP_cnmultifit.new_MolCnSymmAxisDetector(symm_deg, mhs))
720 r"""get_pca(MolCnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
721 return _IMP_cnmultifit.MolCnSymmAxisDetector_get_pca(self)
723 def get_symmetry_axis(self):
724 r"""get_symmetry_axis(MolCnSymmAxisDetector self) -> Vector3D"""
725 return _IMP_cnmultifit.MolCnSymmAxisDetector_get_symmetry_axis(self)
727 def get_symmetry_axis_index(self):
728 r"""get_symmetry_axis_index(MolCnSymmAxisDetector self) -> int"""
729 return _IMP_cnmultifit.MolCnSymmAxisDetector_get_symmetry_axis_index(self)
731 def show(self, *args):
732 r"""show(MolCnSymmAxisDetector self, _ostream out=std::cout)"""
733 return _IMP_cnmultifit.MolCnSymmAxisDetector_show(self, *args)
735 def calc_symm_score(self, symm_axis_ind):
736 r"""calc_symm_score(MolCnSymmAxisDetector self, int symm_axis_ind) -> float"""
737 return _IMP_cnmultifit.MolCnSymmAxisDetector_calc_symm_score(self, symm_axis_ind)
740 r"""__str__(MolCnSymmAxisDetector self) -> std::string"""
741 return _IMP_cnmultifit.MolCnSymmAxisDetector___str__(self)
744 r"""__repr__(MolCnSymmAxisDetector self) -> std::string"""
745 return _IMP_cnmultifit.MolCnSymmAxisDetector___repr__(self)
746 __swig_destroy__ = _IMP_cnmultifit.delete_MolCnSymmAxisDetector
749 _IMP_cnmultifit.MolCnSymmAxisDetector_swigregister(MolCnSymmAxisDetector)
750 class AlignSymmetric(object):
751 r"""Proxy of C++ IMP::cnmultifit::AlignSymmetric class."""
753 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
755 def __init__(self, dmap, threshold, cn_symm_deg):
756 r"""__init__(AlignSymmetric self, DensityMap dmap, float threshold, int cn_symm_deg) -> AlignSymmetric"""
757 _IMP_cnmultifit.AlignSymmetric_swiginit(self, _IMP_cnmultifit.new_AlignSymmetric(dmap, threshold, cn_symm_deg))
759 def get_sorted_principal_values(self):
760 r"""get_sorted_principal_values(AlignSymmetric self) -> IMP::Floats"""
761 return _IMP_cnmultifit.AlignSymmetric_get_sorted_principal_values(self)
763 def score_alignment(self, mhs, max_allowed_diff):
764 r"""score_alignment(AlignSymmetric self, IMP::atom::Hierarchies mhs, float max_allowed_diff) -> int"""
765 return _IMP_cnmultifit.AlignSymmetric_score_alignment(self, mhs, max_allowed_diff)
767 def get_symm_axis_alignments_from_model_to_density(self, mhs, sample_translation, fine_rotation_sampling=True):
768 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"""
769 return _IMP_cnmultifit.AlignSymmetric_get_symm_axis_alignments_from_model_to_density(self, mhs, sample_translation, fine_rotation_sampling)
771 def show(self, *args):
772 r"""show(AlignSymmetric self, _ostream out=std::cout)"""
773 return _IMP_cnmultifit.AlignSymmetric_show(self, *args)
776 r"""__str__(AlignSymmetric self) -> std::string"""
777 return _IMP_cnmultifit.AlignSymmetric___str__(self)
780 r"""__repr__(AlignSymmetric self) -> std::string"""
781 return _IMP_cnmultifit.AlignSymmetric___repr__(self)
782 __swig_destroy__ = _IMP_cnmultifit.delete_AlignSymmetric
785 _IMP_cnmultifit.AlignSymmetric_swigregister(AlignSymmetric)
787 def generate_cn_transformations(mhs, symm_deg):
788 r"""generate_cn_transformations(IMP::atom::Hierarchies mhs, int symm_deg) -> IMP::algebra::Transformation3Ds"""
789 return _IMP_cnmultifit.generate_cn_transformations(mhs, symm_deg)
791 def generate_translations_along_symm_axis(mhs, symm_deg):
792 r"""generate_translations_along_symm_axis(IMP::atom::Hierarchies mhs, int symm_deg) -> IMP::algebra::Transformation3Ds"""
793 return _IMP_cnmultifit.generate_translations_along_symm_axis(mhs, symm_deg)
795 def symmetry_local_fitting(mhs, cn_symm_deg, dn_symm_deg, dmap, num_of_trans_to_consider):
796 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"""
797 return _IMP_cnmultifit.symmetry_local_fitting(mhs, cn_symm_deg, dn_symm_deg, dmap, num_of_trans_to_consider)
799 def build_cn_dens_assembly(subunit_dens, asmb_dens_header, monomer_t, symm_deg):
800 r"""build_cn_dens_assembly(DensityMap subunit_dens, DensityHeader asmb_dens_header, Transformation3D monomer_t, int symm_deg) -> DensityMap"""
801 return _IMP_cnmultifit.build_cn_dens_assembly(subunit_dens, asmb_dens_header, monomer_t, symm_deg)
803 def transform_cn_assembly(mhs, monomer_t):
804 r"""transform_cn_assembly(IMP::atom::Hierarchies mhs, Transformation3D monomer_t)"""
805 return _IMP_cnmultifit.transform_cn_assembly(mhs, monomer_t)
809 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
810 fit_cn_assembly(DensityMap asmb_map, MolCnSymmAxisDetector symm_mol, DensityMap dmap, CnSymmAxisDetector symm_map, int symm_deg, float threshold) -> FittingSolutions
812 return _IMP_cnmultifit.fit_cn_assembly(*args)
814 def pca_matching(pca1, pca2, resolution):
815 r"""pca_matching(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2, float resolution) -> bool"""
816 return _IMP_cnmultifit.pca_matching(pca1, pca2, resolution)
819 r"""cn_symm_score(IMP::atom::Hierarchies mhs, Vector3D center, Vector3D direction, int symm_deg) -> float"""
820 return _IMP_cnmultifit.cn_symm_score(mhs, center, direction, symm_deg)
822 def prune_by_pca(param_fn, sols, dn=1):
823 r"""prune_by_pca(std::string const & param_fn, IMP::multifit::FittingSolutionRecords const & sols, int dn=1) -> IMP::multifit::FittingSolutionRecords"""
824 return _IMP_cnmultifit.prune_by_pca(param_fn, sols, dn)
826 def calc_transformation_around_axis(a, b, angle_rad):
827 r"""calc_transformation_around_axis(Vector3D a, Vector3D b, float angle_rad) -> Transformation3D"""
828 return _IMP_cnmultifit.calc_transformation_around_axis(a, b, angle_rad)
831 r"""get_cn_rmsd(IMP::atom::Hierarchies mh1, IMP::atom::Hierarchies mh2) -> float"""
832 return _IMP_cnmultifit.get_cn_rmsd(mh1, mh2)
835 r"""do_all_fitting(std::string const param_filename, std::string const chimera_filename="")"""
836 return _IMP_cnmultifit.do_all_fitting(*args)
838 def get_rmsd_for_models(param_filename, trans_filename, ref_filename, start_model=0, end_model=-1):
839 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"""
840 return _IMP_cnmultifit.get_rmsd_for_models(param_filename, trans_filename, ref_filename, start_model, end_model)
842 _all_commands = [
"build",
"rmsd",
"surface",
843 "param",
"chimera_models"]
847 r"""get_module_version() -> std::string const"""
848 return _IMP_cnmultifit.get_module_version()
851 r"""get_example_path(std::string fname) -> std::string"""
852 return _IMP_cnmultifit.get_example_path(fname)
855 r"""get_data_path(std::string fname) -> std::string"""
856 return _IMP_cnmultifit.get_data_path(fname)
858 from .
import _version_check
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
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.
Composable functors to implement scores via compile-time composition.
std::string get_module_version()
Return the version of this module, as a string.
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.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
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...
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.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...