IMP logo
IMP Reference Guide  2.20.1
The Integrative Modeling Platform
cnmultifit/__init__.py
1 # This file was automatically generated by SWIG (https://www.swig.org).
2 # Version 4.1.1
3 #
4 # Do not make changes to this file unless you know what you are doing - modify
5 # the SWIG interface file instead.
6 
7 
8 # This wrapper is part of IMP,
9 # Copyright 2007-2024 IMP Inventors. All rights reserved.
10 
11 from __future__ import print_function, division, absolute_import
12 
13 
14 
15 from sys import version_info as _swig_python_version_info
16 import _IMP_cnmultifit
17 
18 try:
19  import builtins as __builtin__
20 except ImportError:
21  import __builtin__
22 
23 def _swig_repr(self):
24  try:
25  strthis = "proxy of " + self.this.__repr__()
26  except __builtin__.Exception:
27  strthis = ""
28  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
29 
30 
31 def _swig_setattr_nondynamic_instance_variable(set):
32  def set_instance_attr(self, name, value):
33  if name == "this":
34  set(self, name, value)
35  elif name == "thisown":
36  self.this.own(value)
37  elif hasattr(self, name) and isinstance(getattr(type(self), name), property):
38  set(self, name, value)
39  else:
40  raise AttributeError("You cannot add instance attributes to %s" % self)
41  return set_instance_attr
42 
43 
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):
47  set(cls, name, value)
48  else:
49  raise AttributeError("You cannot add class attributes to %s" % cls)
50  return set_class_attr
51 
52 
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"""
55  def wrapper(cls):
56  return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
57  return wrapper
58 
59 
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__)
63 
64 
65 import weakref
66 
67 class IMP_CNMULTIFIT_SwigPyIterator(object):
68  r"""Proxy of C++ swig::IMP_CNMULTIFIT_SwigPyIterator class."""
69 
70  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
71 
72  def __init__(self, *args, **kwargs):
73  raise AttributeError("No constructor defined - class is abstract")
74  __repr__ = _swig_repr
75  __swig_destroy__ = _IMP_cnmultifit.delete_IMP_CNMULTIFIT_SwigPyIterator
76 
77  def value(self):
78  r"""value(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
79  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_value(self)
80 
81  def incr(self, n=1):
82  r"""incr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator"""
83  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_incr(self, n)
84 
85  def decr(self, n=1):
86  r"""decr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator"""
87  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_decr(self, n)
88 
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)
92 
93  def equal(self, x):
94  r"""equal(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
95  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_equal(self, x)
96 
97  def copy(self):
98  r"""copy(IMP_CNMULTIFIT_SwigPyIterator self) -> IMP_CNMULTIFIT_SwigPyIterator"""
99  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_copy(self)
100 
101  def next(self):
102  r"""next(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
103  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_next(self)
104 
105  def __next__(self):
106  r"""__next__(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
107  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___next__(self)
108 
109  def previous(self):
110  r"""previous(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
111  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_previous(self)
112 
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)
116 
117  def __eq__(self, x):
118  r"""__eq__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
119  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___eq__(self, x)
120 
121  def __ne__(self, x):
122  r"""__ne__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
123  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___ne__(self, x)
124 
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)
128 
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)
132 
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)
136 
137  def __sub__(self, *args):
138  r"""
139  __sub__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator
140  __sub__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> ptrdiff_t
141  """
142  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___sub__(self, *args)
143  def __iter__(self):
144  return self
145 
146 # Register IMP_CNMULTIFIT_SwigPyIterator in _IMP_cnmultifit:
147 _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_swigregister(IMP_CNMULTIFIT_SwigPyIterator)
148 
149 _value_types=[]
150 _object_types=[]
151 _raii_types=[]
152 _plural_types=[]
153 
154 IMP_DEBUG = _IMP_cnmultifit.IMP_DEBUG
155 
156 IMP_RELEASE = _IMP_cnmultifit.IMP_RELEASE
157 
158 IMP_SILENT = _IMP_cnmultifit.IMP_SILENT
159 
160 IMP_PROGRESS = _IMP_cnmultifit.IMP_PROGRESS
161 
162 IMP_TERSE = _IMP_cnmultifit.IMP_TERSE
163 
164 IMP_VERBOSE = _IMP_cnmultifit.IMP_VERBOSE
165 
166 IMP_MEMORY = _IMP_cnmultifit.IMP_MEMORY
167 
168 IMP_NONE = _IMP_cnmultifit.IMP_NONE
169 
170 IMP_USAGE = _IMP_cnmultifit.IMP_USAGE
171 
172 IMP_INTERNAL = _IMP_cnmultifit.IMP_INTERNAL
173 
174 IMP_KERNEL_HAS_LOG4CXX = _IMP_cnmultifit.IMP_KERNEL_HAS_LOG4CXX
175 
176 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_cnmultifit.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
177 
178 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_cnmultifit.IMP_COMPILER_HAS_DEBUG_VECTOR
179 
180 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_cnmultifit.IMP_COMPILER_HAS_RANDOM_SHUFFLE
181 
182 IMP_COMPILER_HAS_THREE_WAY = _IMP_cnmultifit.IMP_COMPILER_HAS_THREE_WAY
183 
184 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_KERNEL_HAS_BOOST_RANDOM
185 
186 IMP_KERNEL_HAS_NUMPY = _IMP_cnmultifit.IMP_KERNEL_HAS_NUMPY
187 
188 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_cnmultifit.IMP_KERNEL_HAS_GPERFTOOLS
189 
190 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_cnmultifit.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
191 
192 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_cnmultifit.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
193 
194 IMPKERNEL_SHOW_WARNINGS = _IMP_cnmultifit.IMPKERNEL_SHOW_WARNINGS
195 
196 
197 import sys
198 class _DirectorObjects(object):
199  """@internal Simple class to keep references to director objects
200  to prevent premature deletion."""
201  def __init__(self):
202  self._objects = []
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)
208  def cleanup(self):
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]
215 # Do in two steps so the references are kept until the end of the
216 # function (deleting references may trigger a fresh call to this method)
217  self._objects = objs
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()
222 
223 class _ostream(object):
224  r"""Proxy of C++ std::ostream class."""
225 
226  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
227 
228  def __init__(self, *args, **kwargs):
229  raise AttributeError("No constructor defined")
230  __repr__ = _swig_repr
231 
232  def write(self, osa_buf):
233  r"""write(_ostream self, char const * osa_buf)"""
234  return _IMP_cnmultifit._ostream_write(self, osa_buf)
235 
236 # Register _ostream in _IMP_cnmultifit:
237 _IMP_cnmultifit._ostream_swigregister(_ostream)
238 IMP_C_OPEN_BINARY = _IMP_cnmultifit.IMP_C_OPEN_BINARY
239 
240 import IMP
241 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_FILESYSTEM
242 
243 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
244 
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_RANDOM
246 
247 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_SYSTEM
248 
249 IMP_CGAL_HAS_NUMPY = _IMP_cnmultifit.IMP_CGAL_HAS_NUMPY
250 
251 IMPCGAL_SHOW_WARNINGS = _IMP_cnmultifit.IMPCGAL_SHOW_WARNINGS
252 
253 import IMP.cgal
254 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_IMP_CGAL
255 
256 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
257 
258 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
259 
260 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_RANDOM
261 
262 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_SYSTEM
263 
264 IMP_ALGEBRA_HAS_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_CGAL
265 
266 IMP_ALGEBRA_HAS_NUMPY = _IMP_cnmultifit.IMP_ALGEBRA_HAS_NUMPY
267 
268 IMP_ALGEBRA_HAS_ANN = _IMP_cnmultifit.IMP_ALGEBRA_HAS_ANN
269 
270 IMPALGEBRA_SHOW_WARNINGS = _IMP_cnmultifit.IMPALGEBRA_SHOW_WARNINGS
271 
272 import IMP.algebra
273 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_IMP_CGAL
274 
275 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
276 
277 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
278 
279 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_RANDOM
280 
281 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_SYSTEM
282 
283 IMP_DISPLAY_HAS_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_CGAL
284 
285 IMP_DISPLAY_HAS_NUMPY = _IMP_cnmultifit.IMP_DISPLAY_HAS_NUMPY
286 
287 IMPDISPLAY_SHOW_WARNINGS = _IMP_cnmultifit.IMPDISPLAY_SHOW_WARNINGS
288 
289 import IMP.display
290 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
291 
292 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
293 
294 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
295 
296 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
297 
298 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
299 
300 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_CGAL
301 
302 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_HDF5
303 
304 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_NUMPY
305 
306 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_cnmultifit.IMPSCOREFUNCTOR_SHOW_WARNINGS
307 
308 import IMP.score_functor
309 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_IMP_CGAL
310 
311 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
312 
313 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
314 
315 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_RANDOM
316 
317 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_SYSTEM
318 
319 IMP_STATISTICS_HAS_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_CGAL
320 
321 IMP_STATISTICS_HAS_NUMPY = _IMP_cnmultifit.IMP_STATISTICS_HAS_NUMPY
322 
323 IMPSTATISTICS_SHOW_WARNINGS = _IMP_cnmultifit.IMPSTATISTICS_SHOW_WARNINGS
324 
325 import IMP.statistics
326 IMP_CORE_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_CGAL
327 
328 IMP_CORE_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_KERNEL
329 
330 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_FILESYSTEM
331 
332 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
333 
334 IMP_CORE_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_RANDOM
335 
336 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_SYSTEM
337 
338 IMP_CORE_HAS_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_CGAL
339 
340 IMP_CORE_HAS_HDF5 = _IMP_cnmultifit.IMP_CORE_HAS_HDF5
341 
342 IMP_CORE_HAS_NUMPY = _IMP_cnmultifit.IMP_CORE_HAS_NUMPY
343 
344 IMPCORE_SHOW_WARNINGS = _IMP_cnmultifit.IMPCORE_SHOW_WARNINGS
345 
346 import IMP.core
347 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_ALGEBRA
348 
349 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_CGAL
350 
351 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_DISPLAY
352 
353 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_KERNEL
354 
355 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
356 
357 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
358 
359 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
360 
361 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_RANDOM
362 
363 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_SYSTEM
364 
365 IMP_CONTAINER_HAS_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_CGAL
366 
367 IMP_CONTAINER_HAS_HDF5 = _IMP_cnmultifit.IMP_CONTAINER_HAS_HDF5
368 
369 IMP_CONTAINER_HAS_NUMPY = _IMP_cnmultifit.IMP_CONTAINER_HAS_NUMPY
370 
371 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_CONTAINER_HAS_PYTHON_IHM
372 
373 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_cnmultifit.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
374 
375 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_cnmultifit.IMP_CONTAINER_HAS_ROBIN_MAP
376 
377 IMPCONTAINER_SHOW_WARNINGS = _IMP_cnmultifit.IMPCONTAINER_SHOW_WARNINGS
378 
379 import IMP.container
380 IMP_ATOM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_CGAL
381 
382 IMP_ATOM_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_KERNEL
383 
384 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
385 
386 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
387 
388 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_RANDOM
389 
390 IMP_ATOM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_REGEX
391 
392 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_SYSTEM
393 
394 IMP_ATOM_HAS_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_CGAL
395 
396 IMP_ATOM_HAS_HDF5 = _IMP_cnmultifit.IMP_ATOM_HAS_HDF5
397 
398 IMP_ATOM_HAS_NUMPY = _IMP_cnmultifit.IMP_ATOM_HAS_NUMPY
399 
400 IMP_ATOM_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_ATOM_HAS_PYTHON_IHM
401 
402 IMPATOM_SHOW_WARNINGS = _IMP_cnmultifit.IMPATOM_SHOW_WARNINGS
403 
404 IMP_ATOM_TYPE_INDEX = _IMP_cnmultifit.IMP_ATOM_TYPE_INDEX
405 
406 IMP_RESIDUE_TYPE_INDEX = _IMP_cnmultifit.IMP_RESIDUE_TYPE_INDEX
407 
408 IMP_HIERARCHY_TYPE_INDEX = _IMP_cnmultifit.IMP_HIERARCHY_TYPE_INDEX
409 
410 IMP_CHAIN_TYPE_INDEX = _IMP_cnmultifit.IMP_CHAIN_TYPE_INDEX
411 
412 import IMP.atom
413 IMP_EM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_EM_HAS_IMP_CGAL
414 
415 IMP_EM_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_EM_HAS_IMP_CONTAINER
416 
417 IMP_EM_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_EM_HAS_IMP_DISPLAY
418 
419 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_EM_HAS_IMP_SCORE_FUNCTOR
420 
421 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_FILESYSTEM
422 
423 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
424 
425 IMP_EM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_RANDOM
426 
427 IMP_EM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_EM_HAS_BOOST_REGEX
428 
429 IMP_EM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_SYSTEM
430 
431 IMP_EM_HAS_CGAL = _IMP_cnmultifit.IMP_EM_HAS_CGAL
432 
433 IMP_EM_HAS_HDF5 = _IMP_cnmultifit.IMP_EM_HAS_HDF5
434 
435 IMP_EM_HAS_NUMPY = _IMP_cnmultifit.IMP_EM_HAS_NUMPY
436 
437 IMP_EM_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_EM_HAS_PYTHON_IHM
438 
439 IMPEM_SHOW_WARNINGS = _IMP_cnmultifit.IMPEM_SHOW_WARNINGS
440 
441 import IMP.em
442 IMP_SAXS_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_CGAL
443 
444 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_CONTAINER
445 
446 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_DISPLAY
447 
448 IMP_SAXS_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_KERNEL
449 
450 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
451 
452 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_FILESYSTEM
453 
454 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
455 
456 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_RANDOM
457 
458 IMP_SAXS_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_REGEX
459 
460 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_SAXS_HAS_BOOST_SYSTEM
461 
462 IMP_SAXS_HAS_CGAL = _IMP_cnmultifit.IMP_SAXS_HAS_CGAL
463 
464 IMP_SAXS_HAS_HDF5 = _IMP_cnmultifit.IMP_SAXS_HAS_HDF5
465 
466 IMP_SAXS_HAS_NUMPY = _IMP_cnmultifit.IMP_SAXS_HAS_NUMPY
467 
468 IMP_SAXS_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_SAXS_HAS_PYTHON_IHM
469 
470 IMPSAXS_SHOW_WARNINGS = _IMP_cnmultifit.IMPSAXS_SHOW_WARNINGS
471 
472 import IMP.saxs
473 IMP_ISD_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ISD_HAS_IMP_CGAL
474 
475 IMP_ISD_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_ISD_HAS_IMP_DISPLAY
476 
477 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
478 
479 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_FILESYSTEM
480 
481 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
482 
483 IMP_ISD_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_RANDOM
484 
485 IMP_ISD_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_REGEX
486 
487 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ISD_HAS_BOOST_SYSTEM
488 
489 IMP_ISD_HAS_CGAL = _IMP_cnmultifit.IMP_ISD_HAS_CGAL
490 
491 IMP_ISD_HAS_HDF5 = _IMP_cnmultifit.IMP_ISD_HAS_HDF5
492 
493 IMP_ISD_HAS_NUMPY = _IMP_cnmultifit.IMP_ISD_HAS_NUMPY
494 
495 IMP_ISD_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_ISD_HAS_PYTHON_IHM
496 
497 IMPISD_SHOW_WARNINGS = _IMP_cnmultifit.IMPISD_SHOW_WARNINGS
498 
499 import IMP.isd
500 IMP_RMF_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_IMP_CGAL
501 
502 IMP_RMF_HAS_IMP_EM = _IMP_cnmultifit.IMP_RMF_HAS_IMP_EM
503 
504 IMP_RMF_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_RMF_HAS_IMP_SAXS
505 
506 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
507 
508 IMP_RMF_HAS_IMP_STATISTICS = _IMP_cnmultifit.IMP_RMF_HAS_IMP_STATISTICS
509 
510 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_FILESYSTEM
511 
512 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
513 
514 IMP_RMF_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_RANDOM
515 
516 IMP_RMF_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_REGEX
517 
518 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_SYSTEM
519 
520 IMP_RMF_HAS_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_CGAL
521 
522 IMP_RMF_HAS_HDF5 = _IMP_cnmultifit.IMP_RMF_HAS_HDF5
523 
524 IMP_RMF_HAS_NUMPY = _IMP_cnmultifit.IMP_RMF_HAS_NUMPY
525 
526 IMP_RMF_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_RMF_HAS_PYTHON_IHM
527 
528 IMPRMF_SHOW_WARNINGS = _IMP_cnmultifit.IMPRMF_SHOW_WARNINGS
529 
530 import IMP.rmf
531 import RMF
532 IMP_DOMINO_HAS_IMP_ATOM = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_ATOM
533 
534 IMP_DOMINO_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_CGAL
535 
536 IMP_DOMINO_HAS_IMP_EM = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_EM
537 
538 IMP_DOMINO_HAS_IMP_ISD = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_ISD
539 
540 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_KERNEL
541 
542 IMP_DOMINO_HAS_IMP_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_RMF
543 
544 IMP_DOMINO_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_SAXS
545 
546 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
547 
548 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_FILESYSTEM
549 
550 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
551 
552 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_RANDOM
553 
554 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_REGEX
555 
556 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_SYSTEM
557 
558 IMP_DOMINO_HAS_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_CGAL
559 
560 IMP_DOMINO_HAS_HDF5 = _IMP_cnmultifit.IMP_DOMINO_HAS_HDF5
561 
562 IMP_DOMINO_HAS_NUMPY = _IMP_cnmultifit.IMP_DOMINO_HAS_NUMPY
563 
564 IMP_DOMINO_HAS_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_RMF
565 
566 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_DOMINO_HAS_PYTHON_IHM
567 
568 IMPDOMINO_SHOW_WARNINGS = _IMP_cnmultifit.IMPDOMINO_SHOW_WARNINGS
569 
570 import RMF_HDF5
571 import IMP.domino
572 IMP_MULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CGAL
573 
574 IMP_MULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CONTAINER
575 
576 IMP_MULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_DISPLAY
577 
578 IMP_MULTIFIT_HAS_IMP_ISD = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_ISD
579 
580 IMP_MULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_KERNEL
581 
582 IMP_MULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_RMF
583 
584 IMP_MULTIFIT_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_SAXS
585 
586 IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR
587 
588 IMP_MULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_GRAPH
589 
590 IMP_MULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_RANDOM
591 
592 IMP_MULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_REGEX
593 
594 IMP_MULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_SYSTEM
595 
596 IMP_MULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_CGAL
597 
598 IMP_MULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_MULTIFIT_HAS_HDF5
599 
600 IMP_MULTIFIT_HAS_NUMPY = _IMP_cnmultifit.IMP_MULTIFIT_HAS_NUMPY
601 
602 IMP_MULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_RMF
603 
604 IMP_MULTIFIT_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_PYTHON_IHM
605 
606 IMPMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPMULTIFIT_SHOW_WARNINGS
607 
608 import IMP.multifit
609 IMP_CNMULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CGAL
610 
611 IMP_CNMULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CONTAINER
612 
613 IMP_CNMULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DISPLAY
614 
615 IMP_CNMULTIFIT_HAS_IMP_DOMINO = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DOMINO
616 
617 IMP_CNMULTIFIT_HAS_IMP_ISD = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_ISD
618 
619 IMP_CNMULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_KERNEL
620 
621 IMP_CNMULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_RMF
622 
623 IMP_CNMULTIFIT_HAS_IMP_SAXS = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_SAXS
624 
625 IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR
626 
627 IMP_CNMULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_GRAPH
628 
629 IMP_CNMULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_RANDOM
630 
631 IMP_CNMULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_REGEX
632 
633 IMP_CNMULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_SYSTEM
634 
635 IMP_CNMULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_CGAL
636 
637 IMP_CNMULTIFIT_HAS_FFTW3 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_FFTW3
638 
639 IMP_CNMULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_HDF5
640 
641 IMP_CNMULTIFIT_HAS_NUMPY = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_NUMPY
642 
643 IMP_CNMULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_RMF
644 
645 IMP_CNMULTIFIT_HAS_PYTHON_IHM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_PYTHON_IHM
646 
647 IMPCNMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPCNMULTIFIT_SHOW_WARNINGS
648 
649 
650 AlignSymmetrics=list
651 _plural_types.append("AlignSymmetrics")
652 _value_types.append("AlignSymmetric")
653 
654 
655 CnSymmAxisDetectors=list
656 _plural_types.append("CnSymmAxisDetectors")
657 _value_types.append("CnSymmAxisDetector")
658 
659 
660 MolCnSymmAxisDetectors=list
661 _plural_types.append("MolCnSymmAxisDetectors")
662 _value_types.append("MolCnSymmAxisDetector")
663 
664 class CnSymmAxisDetector(object):
665  r"""Proxy of C++ IMP::cnmultifit::CnSymmAxisDetector class."""
666 
667  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
668 
669  def __init__(self, *args):
670  r"""
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
673  """
674  _IMP_cnmultifit.CnSymmAxisDetector_swiginit(self, _IMP_cnmultifit.new_CnSymmAxisDetector(*args))
675 
676  def get_pca(self):
677  r"""get_pca(CnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
678  return _IMP_cnmultifit.CnSymmAxisDetector_get_pca(self)
679 
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)
683 
684  def get_symmetry_axis(self):
685  r"""get_symmetry_axis(CnSymmAxisDetector self) -> Vector3D"""
686  return _IMP_cnmultifit.CnSymmAxisDetector_get_symmetry_axis(self)
687 
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)
691 
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)
695 
696  def show(self, *args):
697  r"""show(CnSymmAxisDetector self, _ostream out=std::cout)"""
698  return _IMP_cnmultifit.CnSymmAxisDetector_show(self, *args)
699 
700  def __str__(self):
701  r"""__str__(CnSymmAxisDetector self) -> std::string"""
702  return _IMP_cnmultifit.CnSymmAxisDetector___str__(self)
703 
704  def __repr__(self):
705  r"""__repr__(CnSymmAxisDetector self) -> std::string"""
706  return _IMP_cnmultifit.CnSymmAxisDetector___repr__(self)
707  __swig_destroy__ = _IMP_cnmultifit.delete_CnSymmAxisDetector
708 
709 # Register CnSymmAxisDetector in _IMP_cnmultifit:
710 _IMP_cnmultifit.CnSymmAxisDetector_swigregister(CnSymmAxisDetector)
711 class MolCnSymmAxisDetector(object):
712  r"""Proxy of C++ IMP::cnmultifit::MolCnSymmAxisDetector class."""
713 
714  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
715 
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))
719 
720  def get_pca(self):
721  r"""get_pca(MolCnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
722  return _IMP_cnmultifit.MolCnSymmAxisDetector_get_pca(self)
723 
724  def get_symmetry_axis(self):
725  r"""get_symmetry_axis(MolCnSymmAxisDetector self) -> Vector3D"""
726  return _IMP_cnmultifit.MolCnSymmAxisDetector_get_symmetry_axis(self)
727 
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)
731 
732  def show(self, *args):
733  r"""show(MolCnSymmAxisDetector self, _ostream out=std::cout)"""
734  return _IMP_cnmultifit.MolCnSymmAxisDetector_show(self, *args)
735 
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)
739 
740  def __str__(self):
741  r"""__str__(MolCnSymmAxisDetector self) -> std::string"""
742  return _IMP_cnmultifit.MolCnSymmAxisDetector___str__(self)
743 
744  def __repr__(self):
745  r"""__repr__(MolCnSymmAxisDetector self) -> std::string"""
746  return _IMP_cnmultifit.MolCnSymmAxisDetector___repr__(self)
747  __swig_destroy__ = _IMP_cnmultifit.delete_MolCnSymmAxisDetector
748 
749 # Register MolCnSymmAxisDetector in _IMP_cnmultifit:
750 _IMP_cnmultifit.MolCnSymmAxisDetector_swigregister(MolCnSymmAxisDetector)
751 class AlignSymmetric(object):
752  r"""Proxy of C++ IMP::cnmultifit::AlignSymmetric class."""
753 
754  thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
755 
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))
759 
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)
763 
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)
767 
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)
771 
772  def show(self, *args):
773  r"""show(AlignSymmetric self, _ostream out=std::cout)"""
774  return _IMP_cnmultifit.AlignSymmetric_show(self, *args)
775 
776  def __str__(self):
777  r"""__str__(AlignSymmetric self) -> std::string"""
778  return _IMP_cnmultifit.AlignSymmetric___str__(self)
779 
780  def __repr__(self):
781  r"""__repr__(AlignSymmetric self) -> std::string"""
782  return _IMP_cnmultifit.AlignSymmetric___repr__(self)
783  __swig_destroy__ = _IMP_cnmultifit.delete_AlignSymmetric
784 
785 # Register AlignSymmetric in _IMP_cnmultifit:
786 _IMP_cnmultifit.AlignSymmetric_swigregister(AlignSymmetric)
787 
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)
791 
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)
795 
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)
799 
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)
803 
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)
807 
808 def fit_cn_assembly(*args):
809  r"""
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
812  """
813  return _IMP_cnmultifit.fit_cn_assembly(*args)
814 
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)
818 
819 def cn_symm_score(mhs, center, direction, symm_deg):
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)
822 
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)
826 
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)
830 
831 def get_cn_rmsd(mh1, mh2):
832  r"""get_cn_rmsd(IMP::atom::Hierarchies mh1, IMP::atom::Hierarchies mh2) -> float"""
833  return _IMP_cnmultifit.get_cn_rmsd(mh1, mh2)
834 
835 def do_all_fitting(*args):
836  r"""do_all_fitting(std::string const param_filename, std::string const chimera_filename="")"""
837  return _IMP_cnmultifit.do_all_fitting(*args)
838 
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)
842 
843 _all_commands = ["build", "rmsd", "surface",
844  "param", "chimera_models"]
845 
846 
847 def get_module_version():
848  r"""get_module_version() -> std::string const"""
849  return _IMP_cnmultifit.get_module_version()
850 
851 def get_example_path(fname):
852  r"""get_example_path(std::string fname) -> std::string"""
853  return _IMP_cnmultifit.get_example_path(fname)
854 
855 def get_data_path(fname):
856  r"""get_data_path(std::string fname) -> std::string"""
857  return _IMP_cnmultifit.get_data_path(fname)
858 
859 from . import _version_check
860 _version_check.check_version(get_module_version())
861 __version__ = get_module_version()
862 
863 
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 &center, 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 ...