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