IMP  2.3.1
The Integrative Modeling Platform
cnmultifit/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.2
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 
9 
10 
11 from sys import version_info
12 if version_info >= (2,6,0):
13  def swig_import_helper():
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_IMP_cnmultifit', [dirname(__file__)])
19  except ImportError:
20  import _IMP_cnmultifit
21  return _IMP_cnmultifit
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_IMP_cnmultifit', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _IMP_cnmultifit = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _IMP_cnmultifit
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38  if (name == "thisown"): return self.this.own(value)
39  if (name == "this"):
40  if type(value).__name__ == 'SwigPyObject':
41  self.__dict__[name] = value
42  return
43  method = class_type.__swig_setmethods__.get(name,None)
44  if method: return method(self,value)
45  if (not static):
46  self.__dict__[name] = value
47  else:
48  raise AttributeError("You cannot add attributes to %s" % self)
49 
50 def _swig_setattr(self,class_type,name,value):
51  return _swig_setattr_nondynamic(self,class_type,name,value,0)
52 
53 def _swig_getattr(self,class_type,name):
54  if (name == "thisown"): return self.this.own()
55  method = class_type.__swig_getmethods__.get(name,None)
56  if method: return method(self)
57  raise AttributeError(name)
58 
59 def _swig_repr(self):
60  try: strthis = "proxy of " + self.this.__repr__()
61  except: strthis = ""
62  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63 
64 try:
65  _object = object
66  _newclass = 1
67 except AttributeError:
68  class _object : pass
69  _newclass = 0
70 
71 
72 try:
73  import weakref
74  weakref_proxy = weakref.proxy
75 except:
76  weakref_proxy = lambda x: x
77 
78 
79 class IMP_CNMULTIFIT_SwigPyIterator(_object):
80  """Proxy of C++ swig::IMP_CNMULTIFIT_SwigPyIterator class"""
81  __swig_setmethods__ = {}
82  __setattr__ = lambda self, name, value: _swig_setattr(self, IMP_CNMULTIFIT_SwigPyIterator, name, value)
83  __swig_getmethods__ = {}
84  __getattr__ = lambda self, name: _swig_getattr(self, IMP_CNMULTIFIT_SwigPyIterator, name)
85  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
86  __repr__ = _swig_repr
87  __swig_destroy__ = _IMP_cnmultifit.delete_IMP_CNMULTIFIT_SwigPyIterator
88  __del__ = lambda self : None;
89  def value(self):
90  """value(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
91  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_value(self)
92 
93  def incr(self, n=1):
94  """
95  incr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator
96  incr(IMP_CNMULTIFIT_SwigPyIterator self) -> IMP_CNMULTIFIT_SwigPyIterator
97  """
98  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_incr(self, n)
99 
100  def decr(self, n=1):
101  """
102  decr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator
103  decr(IMP_CNMULTIFIT_SwigPyIterator self) -> IMP_CNMULTIFIT_SwigPyIterator
104  """
105  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_decr(self, n)
106 
107  def distance(self, *args):
108  """distance(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> ptrdiff_t"""
109  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_distance(self, *args)
110 
111  def equal(self, *args):
112  """equal(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
113  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_equal(self, *args)
114 
115  def copy(self):
116  """copy(IMP_CNMULTIFIT_SwigPyIterator self) -> IMP_CNMULTIFIT_SwigPyIterator"""
117  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_copy(self)
118 
119  def next(self):
120  """next(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
121  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_next(self)
122 
123  def __next__(self):
124  """__next__(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
125  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___next__(self)
126 
127  def previous(self):
128  """previous(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
129  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_previous(self)
130 
131  def advance(self, *args):
132  """advance(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
133  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_advance(self, *args)
134 
135  def __eq__(self, *args):
136  """__eq__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
137  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___eq__(self, *args)
138 
139  def __ne__(self, *args):
140  """__ne__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
141  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___ne__(self, *args)
142 
143  def __iadd__(self, *args):
144  """__iadd__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
145  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___iadd__(self, *args)
146 
147  def __isub__(self, *args):
148  """__isub__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
149  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___isub__(self, *args)
150 
151  def __add__(self, *args):
152  """__add__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
153  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___add__(self, *args)
154 
155  def __sub__(self, *args):
156  """
157  __sub__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator
158  __sub__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> ptrdiff_t
159  """
160  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___sub__(self, *args)
161 
162  def __iter__(self): return self
163 IMP_CNMULTIFIT_SwigPyIterator_swigregister = _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_swigregister
164 IMP_CNMULTIFIT_SwigPyIterator_swigregister(IMP_CNMULTIFIT_SwigPyIterator)
165 
166 _value_types=[]
167 _object_types=[]
168 _raii_types=[]
169 _plural_types=[]
170 
171 IMP_DEBUG = _IMP_cnmultifit.IMP_DEBUG
172 IMP_RELEASE = _IMP_cnmultifit.IMP_RELEASE
173 IMP_SILENT = _IMP_cnmultifit.IMP_SILENT
174 IMP_PROGRESS = _IMP_cnmultifit.IMP_PROGRESS
175 IMP_TERSE = _IMP_cnmultifit.IMP_TERSE
176 IMP_VERBOSE = _IMP_cnmultifit.IMP_VERBOSE
177 IMP_MEMORY = _IMP_cnmultifit.IMP_MEMORY
178 IMP_NONE = _IMP_cnmultifit.IMP_NONE
179 IMP_USAGE = _IMP_cnmultifit.IMP_USAGE
180 IMP_INTERNAL = _IMP_cnmultifit.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_cnmultifit.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_cnmultifit.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_cnmultifit.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_cnmultifit.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_cnmultifit.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_cnmultifit.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_cnmultifit.IMPBASE_SHOW_WARNINGS
189 import sys
190 class _DirectorObjects(object):
191  """@internal Simple class to keep references to director objects
192  to prevent premature deletion."""
193  def __init__(self):
194  self._objects = []
195  def register(self, obj):
196  """Take a reference to a director object; will only work for
197  refcounted C++ classes"""
198  if hasattr(obj, 'get_ref_count'):
199  self._objects.append(obj)
200  def cleanup(self):
201  """Only drop our reference and allow cleanup by Python if no other
202  Python references exist (we hold 3 references: one in self._objects,
203  one in x, and one in the argument list for getrefcount) *and* no
204  other C++ references exist (the Python object always holds one)"""
205  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
206  or x.get_ref_count() > 1]
207 
208 
209  self._objects = objs
210  def get_object_count(self):
211  """Get number of director objects (useful for testing only)"""
212  return len(self._objects)
213 _director_objects = _DirectorObjects()
214 
215 DEFAULT_CHECK = _IMP_cnmultifit.DEFAULT_CHECK
216 NONE = _IMP_cnmultifit.NONE
217 USAGE = _IMP_cnmultifit.USAGE
218 USAGE_AND_INTERNAL = _IMP_cnmultifit.USAGE_AND_INTERNAL
219 
220 def set_check_level(*args):
221  """set_check_level(IMP::base::CheckLevel tf)"""
222  return _IMP_cnmultifit.set_check_level(*args)
223 
224 def get_check_level():
225  """get_check_level() -> IMP::base::CheckLevel"""
226  return _IMP_cnmultifit.get_check_level()
227 class _ostream(_object):
228  """Proxy of C++ std::ostream class"""
229  __swig_setmethods__ = {}
230  __setattr__ = lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231  __swig_getmethods__ = {}
232  __getattr__ = lambda self, name: _swig_getattr(self, _ostream, name)
233  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
234  __repr__ = _swig_repr
235  def write(self, *args):
236  """write(_ostream self, char const * osa_buf)"""
237  return _IMP_cnmultifit._ostream_write(self, *args)
238 
239 _ostream_swigregister = _IMP_cnmultifit._ostream_swigregister
240 _ostream_swigregister(_ostream)
241 
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_cnmultifit.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_cnmultifit.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_cnmultifit.IMP_HAS_NOEXCEPT
245 import IMP.base
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_cnmultifit.IMPCGAL_SHOW_WARNINGS
251 import IMP.cgal
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_cnmultifit.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_cnmultifit.IMPALGEBRA_SHOW_WARNINGS
260 import IMP.algebra
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_cnmultifit.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_cnmultifit.IMPKERNEL_SHOW_WARNINGS
267 import IMP.kernel
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_cnmultifit.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_cnmultifit.IMPDISPLAY_SHOW_WARNINGS
276 import IMP.display
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_HDF5
284 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_cnmultifit.IMPSCOREFUNCTOR_SHOW_WARNINGS
285 import IMP.score_functor
286 IMP_STATISTICS_HAS_IMP_BASE = _IMP_cnmultifit.IMP_STATISTICS_HAS_IMP_BASE
287 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_IMP_CGAL
288 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
289 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
290 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_RANDOM
291 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_SYSTEM
292 IMP_STATISTICS_HAS_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_CGAL
293 IMPSTATISTICS_SHOW_WARNINGS = _IMP_cnmultifit.IMPSTATISTICS_SHOW_WARNINGS
294 import IMP.statistics
295 IMP_CORE_HAS_IMP_BASE = _IMP_cnmultifit.IMP_CORE_HAS_IMP_BASE
296 IMP_CORE_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_CGAL
297 IMP_CORE_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_KERNEL
298 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_FILESYSTEM
299 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
300 IMP_CORE_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_RANDOM
301 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_SYSTEM
302 IMP_CORE_HAS_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_CGAL
303 IMP_CORE_HAS_HDF5 = _IMP_cnmultifit.IMP_CORE_HAS_HDF5
304 IMPCORE_SHOW_WARNINGS = _IMP_cnmultifit.IMPCORE_SHOW_WARNINGS
305 import IMP.core
306 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_ALGEBRA
307 IMP_CONTAINER_HAS_IMP_BASE = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_BASE
308 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_CGAL
309 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_DISPLAY
310 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_KERNEL
311 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
312 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
313 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
314 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_RANDOM
315 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_SYSTEM
316 IMP_CONTAINER_HAS_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_CGAL
317 IMP_CONTAINER_HAS_HDF5 = _IMP_cnmultifit.IMP_CONTAINER_HAS_HDF5
318 IMPCONTAINER_SHOW_WARNINGS = _IMP_cnmultifit.IMPCONTAINER_SHOW_WARNINGS
319 import IMP.container
320 IMP_ATOM_HAS_IMP_BASE = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_BASE
321 IMP_ATOM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_CGAL
322 IMP_ATOM_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_KERNEL
323 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
324 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
325 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_RANDOM
326 IMP_ATOM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_REGEX
327 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_SYSTEM
328 IMP_ATOM_HAS_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_CGAL
329 IMP_ATOM_HAS_HDF5 = _IMP_cnmultifit.IMP_ATOM_HAS_HDF5
330 IMPATOM_SHOW_WARNINGS = _IMP_cnmultifit.IMPATOM_SHOW_WARNINGS
331 IMP_ATOM_TYPE_INDEX = _IMP_cnmultifit.IMP_ATOM_TYPE_INDEX
332 IMP_RESIDUE_TYPE_INDEX = _IMP_cnmultifit.IMP_RESIDUE_TYPE_INDEX
333 IMP_HIERARCHY_TYPE_INDEX = _IMP_cnmultifit.IMP_HIERARCHY_TYPE_INDEX
334 import IMP.atom
335 IMP_EM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_EM_HAS_IMP_CGAL
336 IMP_EM_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_EM_HAS_IMP_CONTAINER
337 IMP_EM_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_EM_HAS_IMP_DISPLAY
338 IMP_EM_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_EM_HAS_IMP_KERNEL
339 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_EM_HAS_IMP_SCORE_FUNCTOR
340 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_FILESYSTEM
341 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
342 IMP_EM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_RANDOM
343 IMP_EM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_EM_HAS_BOOST_REGEX
344 IMP_EM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_SYSTEM
345 IMP_EM_HAS_CGAL = _IMP_cnmultifit.IMP_EM_HAS_CGAL
346 IMP_EM_HAS_HDF5 = _IMP_cnmultifit.IMP_EM_HAS_HDF5
347 IMPEM_SHOW_WARNINGS = _IMP_cnmultifit.IMPEM_SHOW_WARNINGS
348 import IMP.em
349 IMP_RMF_HAS_IMP_BASE = _IMP_cnmultifit.IMP_RMF_HAS_IMP_BASE
350 IMP_RMF_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_IMP_CGAL
351 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
352 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_FILESYSTEM
353 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
354 IMP_RMF_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_RANDOM
355 IMP_RMF_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_REGEX
356 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_SYSTEM
357 IMP_RMF_HAS_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_CGAL
358 IMP_RMF_HAS_HDF5 = _IMP_cnmultifit.IMP_RMF_HAS_HDF5
359 IMPRMF_SHOW_WARNINGS = _IMP_cnmultifit.IMPRMF_SHOW_WARNINGS
360 import IMP.rmf
361 import RMF
362 IMP_DOMINO_HAS_IMP_ATOM = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_ATOM
363 IMP_DOMINO_HAS_IMP_BASE = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_BASE
364 IMP_DOMINO_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_CGAL
365 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_KERNEL
366 IMP_DOMINO_HAS_IMP_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_RMF
367 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
368 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_FILESYSTEM
369 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
370 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_RANDOM
371 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_REGEX
372 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_SYSTEM
373 IMP_DOMINO_HAS_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_CGAL
374 IMP_DOMINO_HAS_HDF5 = _IMP_cnmultifit.IMP_DOMINO_HAS_HDF5
375 IMP_DOMINO_HAS_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_RMF
376 IMPDOMINO_SHOW_WARNINGS = _IMP_cnmultifit.IMPDOMINO_SHOW_WARNINGS
377 import RMF_HDF5
378 import IMP.domino
379 IMP_MULTIFIT_HAS_IMP_BASE = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_BASE
380 IMP_MULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CGAL
381 IMP_MULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CONTAINER
382 IMP_MULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_DISPLAY
383 IMP_MULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_KERNEL
384 IMP_MULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_RMF
385 IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR
386 IMP_MULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_GRAPH
387 IMP_MULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_RANDOM
388 IMP_MULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_REGEX
389 IMP_MULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_SYSTEM
390 IMP_MULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_CGAL
391 IMP_MULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_MULTIFIT_HAS_HDF5
392 IMP_MULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_RMF
393 IMPMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPMULTIFIT_SHOW_WARNINGS
394 import IMP.multifit
395 IMP_CNMULTIFIT_HAS_IMP_BASE = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_BASE
396 IMP_CNMULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CGAL
397 IMP_CNMULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CONTAINER
398 IMP_CNMULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DISPLAY
399 IMP_CNMULTIFIT_HAS_IMP_DOMINO = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DOMINO
400 IMP_CNMULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_KERNEL
401 IMP_CNMULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_RMF
402 IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR
403 IMP_CNMULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_GRAPH
404 IMP_CNMULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_RANDOM
405 IMP_CNMULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_REGEX
406 IMP_CNMULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_SYSTEM
407 IMP_CNMULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_CGAL
408 IMP_CNMULTIFIT_HAS_FFTW3 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_FFTW3
409 IMP_CNMULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_HDF5
410 IMP_CNMULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_RMF
411 IMPCNMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPCNMULTIFIT_SHOW_WARNINGS
412 AlignSymmetrics=list
413 _plural_types.append("AlignSymmetrics")
414 _value_types.append("AlignSymmetric")
415 
416 CnSymmAxisDetectors=list
417 _plural_types.append("CnSymmAxisDetectors")
418 _value_types.append("CnSymmAxisDetector")
419 
420 MolCnSymmAxisDetectors=list
421 _plural_types.append("MolCnSymmAxisDetectors")
422 _value_types.append("MolCnSymmAxisDetector")
423 
424 class CnSymmAxisDetector(_object):
425  """Proxy of C++ IMP::cnmultifit::CnSymmAxisDetector class"""
426  __swig_setmethods__ = {}
427  __setattr__ = lambda self, name, value: _swig_setattr(self, CnSymmAxisDetector, name, value)
428  __swig_getmethods__ = {}
429  __getattr__ = lambda self, name: _swig_getattr(self, CnSymmAxisDetector, name)
430  def __init__(self, *args):
431  """
432  __init__(IMP::cnmultifit::CnSymmAxisDetector self, int symm_deg, DensityMap dmap, float density_threshold, float top_p=0.8) -> CnSymmAxisDetector
433  __init__(IMP::cnmultifit::CnSymmAxisDetector self, int symm_deg, DensityMap dmap, float density_threshold) -> CnSymmAxisDetector
434  __init__(IMP::cnmultifit::CnSymmAxisDetector self, int symm_deg, IMP::atom::Hierarchies const & mhs) -> CnSymmAxisDetector
435  """
436  this = _IMP_cnmultifit.new_CnSymmAxisDetector(*args)
437  try: self.this.append(this)
438  except: self.this = this
439  def get_pca(self):
440  """get_pca(CnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
441  return _IMP_cnmultifit.CnSymmAxisDetector_get_pca(self)
442 
443  def calc_symm_score(self, *args):
444  """calc_symm_score(CnSymmAxisDetector self, int symm_axis_ind) -> float"""
445  return _IMP_cnmultifit.CnSymmAxisDetector_calc_symm_score(self, *args)
446 
447  def get_symmetry_axis(self):
448  """get_symmetry_axis(CnSymmAxisDetector self) -> Vector3D"""
449  return _IMP_cnmultifit.CnSymmAxisDetector_get_symmetry_axis(self)
450 
451  def get_symmetry_axis_index(self):
452  """get_symmetry_axis_index(CnSymmAxisDetector self) -> int"""
453  return _IMP_cnmultifit.CnSymmAxisDetector_get_symmetry_axis_index(self)
454 
455  def get_non_symmetry_axis_length(self):
456  """get_non_symmetry_axis_length(CnSymmAxisDetector self) -> int"""
457  return _IMP_cnmultifit.CnSymmAxisDetector_get_non_symmetry_axis_length(self)
458 
459  def show(self, *args):
460  """
461  show(CnSymmAxisDetector self, _ostream out=std::cout)
462  show(CnSymmAxisDetector self)
463  """
464  return _IMP_cnmultifit.CnSymmAxisDetector_show(self, *args)
465 
466  def __str__(self):
467  """__str__(CnSymmAxisDetector self) -> std::string"""
468  return _IMP_cnmultifit.CnSymmAxisDetector___str__(self)
469 
470  def __repr__(self):
471  """__repr__(CnSymmAxisDetector self) -> std::string"""
472  return _IMP_cnmultifit.CnSymmAxisDetector___repr__(self)
473 
474  __swig_destroy__ = _IMP_cnmultifit.delete_CnSymmAxisDetector
475  __del__ = lambda self : None;
476 CnSymmAxisDetector_swigregister = _IMP_cnmultifit.CnSymmAxisDetector_swigregister
477 CnSymmAxisDetector_swigregister(CnSymmAxisDetector)
478 
479 class MolCnSymmAxisDetector(_object):
480  """Proxy of C++ IMP::cnmultifit::MolCnSymmAxisDetector class"""
481  __swig_setmethods__ = {}
482  __setattr__ = lambda self, name, value: _swig_setattr(self, MolCnSymmAxisDetector, name, value)
483  __swig_getmethods__ = {}
484  __getattr__ = lambda self, name: _swig_getattr(self, MolCnSymmAxisDetector, name)
485  def __init__(self, *args):
486  """__init__(IMP::cnmultifit::MolCnSymmAxisDetector self, int symm_deg, IMP::atom::Hierarchies const & mhs) -> MolCnSymmAxisDetector"""
487  this = _IMP_cnmultifit.new_MolCnSymmAxisDetector(*args)
488  try: self.this.append(this)
489  except: self.this = this
490  def get_pca(self):
491  """get_pca(MolCnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
492  return _IMP_cnmultifit.MolCnSymmAxisDetector_get_pca(self)
493 
494  def get_symmetry_axis(self):
495  """get_symmetry_axis(MolCnSymmAxisDetector self) -> Vector3D"""
496  return _IMP_cnmultifit.MolCnSymmAxisDetector_get_symmetry_axis(self)
497 
498  def get_symmetry_axis_index(self):
499  """get_symmetry_axis_index(MolCnSymmAxisDetector self) -> int"""
500  return _IMP_cnmultifit.MolCnSymmAxisDetector_get_symmetry_axis_index(self)
501 
502  def show(self, *args):
503  """
504  show(MolCnSymmAxisDetector self, _ostream out=std::cout)
505  show(MolCnSymmAxisDetector self)
506  """
507  return _IMP_cnmultifit.MolCnSymmAxisDetector_show(self, *args)
508 
509  def calc_symm_score(self, *args):
510  """calc_symm_score(MolCnSymmAxisDetector self, int symm_axis_ind) -> float"""
511  return _IMP_cnmultifit.MolCnSymmAxisDetector_calc_symm_score(self, *args)
512 
513  def __str__(self):
514  """__str__(MolCnSymmAxisDetector self) -> std::string"""
515  return _IMP_cnmultifit.MolCnSymmAxisDetector___str__(self)
516 
517  def __repr__(self):
518  """__repr__(MolCnSymmAxisDetector self) -> std::string"""
519  return _IMP_cnmultifit.MolCnSymmAxisDetector___repr__(self)
520 
521  __swig_destroy__ = _IMP_cnmultifit.delete_MolCnSymmAxisDetector
522  __del__ = lambda self : None;
523 MolCnSymmAxisDetector_swigregister = _IMP_cnmultifit.MolCnSymmAxisDetector_swigregister
524 MolCnSymmAxisDetector_swigregister(MolCnSymmAxisDetector)
525 
526 class AlignSymmetric(_object):
527  """Proxy of C++ IMP::cnmultifit::AlignSymmetric class"""
528  __swig_setmethods__ = {}
529  __setattr__ = lambda self, name, value: _swig_setattr(self, AlignSymmetric, name, value)
530  __swig_getmethods__ = {}
531  __getattr__ = lambda self, name: _swig_getattr(self, AlignSymmetric, name)
532  def __init__(self, *args):
533  """__init__(IMP::cnmultifit::AlignSymmetric self, DensityMap dmap, float threshold, int cn_symm_deg) -> AlignSymmetric"""
534  this = _IMP_cnmultifit.new_AlignSymmetric(*args)
535  try: self.this.append(this)
536  except: self.this = this
537  def get_sorted_principal_values(self):
538  """get_sorted_principal_values(AlignSymmetric self) -> IMP::Floats"""
539  return _IMP_cnmultifit.AlignSymmetric_get_sorted_principal_values(self)
540 
541  def score_alignment(self, *args):
542  """score_alignment(AlignSymmetric self, IMP::atom::Hierarchies mhs, float max_allowed_diff) -> int"""
543  return _IMP_cnmultifit.AlignSymmetric_score_alignment(self, *args)
544 
545  def get_symm_axis_alignments_from_model_to_density(self, *args):
546  """
547  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
548  get_symm_axis_alignments_from_model_to_density(AlignSymmetric self, IMP::atom::Hierarchies mhs, bool sample_translation) -> IMP::algebra::Transformation3Ds
549  """
550  return _IMP_cnmultifit.AlignSymmetric_get_symm_axis_alignments_from_model_to_density(self, *args)
551 
552  def show(self, *args):
553  """
554  show(AlignSymmetric self, _ostream out=std::cout)
555  show(AlignSymmetric self)
556  """
557  return _IMP_cnmultifit.AlignSymmetric_show(self, *args)
558 
559  def __str__(self):
560  """__str__(AlignSymmetric self) -> std::string"""
561  return _IMP_cnmultifit.AlignSymmetric___str__(self)
562 
563  def __repr__(self):
564  """__repr__(AlignSymmetric self) -> std::string"""
565  return _IMP_cnmultifit.AlignSymmetric___repr__(self)
566 
567  __swig_destroy__ = _IMP_cnmultifit.delete_AlignSymmetric
568  __del__ = lambda self : None;
569 AlignSymmetric_swigregister = _IMP_cnmultifit.AlignSymmetric_swigregister
570 AlignSymmetric_swigregister(AlignSymmetric)
571 
572 
573 def generate_cn_transformations(*args):
574  """generate_cn_transformations(IMP::atom::Hierarchies mhs, int symm_deg) -> IMP::algebra::Transformation3Ds"""
575  return _IMP_cnmultifit.generate_cn_transformations(*args)
576 
577 def generate_translations_along_symm_axis(*args):
578  """generate_translations_along_symm_axis(IMP::atom::Hierarchies mhs, int symm_deg) -> IMP::algebra::Transformation3Ds"""
579  return _IMP_cnmultifit.generate_translations_along_symm_axis(*args)
580 
581 def symmetry_local_fitting(*args):
582  """symmetry_local_fitting(IMP::atom::Hierarchies mhs, int cn_symm_deg, int dn_symm_deg, DensityMap dmap, int num_of_trans_to_consider) -> FittingSolutions"""
583  return _IMP_cnmultifit.symmetry_local_fitting(*args)
584 
585 def build_cn_dens_assembly(*args):
586  """
587  build_cn_dens_assembly(DensityMap subunit_dens, DensityHeader asmb_dens_header, Transformation3D monomer_t,
588  int symm_deg) -> DensityMap
589  """
590  return _IMP_cnmultifit.build_cn_dens_assembly(*args)
591 
592 def transform_cn_assembly(*args):
593  """transform_cn_assembly(IMP::atom::Hierarchies mhs, Transformation3D monomer_t)"""
594  return _IMP_cnmultifit.transform_cn_assembly(*args)
595 
596 def fit_cn_assembly(*args):
597  """
598  fit_cn_assembly(IMP::atom::Hierarchies mhs, int dn_symm_deg, DensityMap dmap, float threshold, AlignSymmetric aligner,
599  bool sample_translation=False, bool fine_rotational_sampling=True) -> FittingSolutions
600  fit_cn_assembly(IMP::atom::Hierarchies mhs, int dn_symm_deg, DensityMap dmap, float threshold, AlignSymmetric aligner,
601  bool sample_translation=False) -> FittingSolutions
602  fit_cn_assembly(IMP::atom::Hierarchies mhs, int dn_symm_deg, DensityMap dmap, float threshold, AlignSymmetric aligner) -> FittingSolutions
603  fit_cn_assembly(DensityMap asmb_map, MolCnSymmAxisDetector symm_mol, DensityMap dmap, CnSymmAxisDetector symm_map,
604  int symm_deg, float threshold) -> FittingSolutions
605  """
606  return _IMP_cnmultifit.fit_cn_assembly(*args)
607 
608 def pca_matching(*args):
609  """pca_matching(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2, float resolution) -> bool"""
610  return _IMP_cnmultifit.pca_matching(*args)
611 
612 def cn_symm_score(*args):
613  """cn_symm_score(IMP::atom::Hierarchies mhs, Vector3D center, Vector3D direction, int symm_deg) -> float"""
614  return _IMP_cnmultifit.cn_symm_score(*args)
615 
616 def prune_by_pca(*args):
617  """
618  prune_by_pca(std::string const & param_fn, IMP::multifit::FittingSolutionRecords const & sols,
619  int dn=1) -> IMP::multifit::FittingSolutionRecords
620  prune_by_pca(std::string const & param_fn, IMP::multifit::FittingSolutionRecords const & sols) -> IMP::multifit::FittingSolutionRecords
621  """
622  return _IMP_cnmultifit.prune_by_pca(*args)
623 
624 def calc_transformation_around_axis(*args):
625  """calc_transformation_around_axis(Vector3D a, Vector3D b, float angle_rad) -> Transformation3D"""
626  return _IMP_cnmultifit.calc_transformation_around_axis(*args)
627 
628 def get_cn_rmsd(*args):
629  """get_cn_rmsd(IMP::atom::Hierarchies mh1, IMP::atom::Hierarchies mh2) -> float"""
630  return _IMP_cnmultifit.get_cn_rmsd(*args)
631 
632 def do_all_fitting(*args):
633  """
634  do_all_fitting(std::string const param_filename, std::string const chimera_filename="")
635  do_all_fitting(std::string const param_filename)
636  """
637  return _IMP_cnmultifit.do_all_fitting(*args)
638 
639 def get_rmsd_for_models(*args):
640  """
641  get_rmsd_for_models(std::string const param_filename, std::string const trans_filename, std::string const ref_filename,
642  int start_model=0, int end_model=-1) -> IMP::Floats
643  get_rmsd_for_models(std::string const param_filename, std::string const trans_filename, std::string const ref_filename,
644  int start_model=0) -> IMP::Floats
645  get_rmsd_for_models(std::string const param_filename, std::string const trans_filename, std::string const ref_filename) -> IMP::Floats
646  """
647  return _IMP_cnmultifit.get_rmsd_for_models(*args)
648 _all_commands = ["build", "rmsd", "surface",
649  "param", "chimera_models"]
650 
651 
652 def get_module_version():
653  """get_module_version() -> std::string const"""
654  return _IMP_cnmultifit.get_module_version()
655 
656 def get_example_path(*args):
657  """get_example_path(std::string fname) -> std::string"""
658  return _IMP_cnmultifit.get_example_path(*args)
659 
660 def get_data_path(*args):
661  """get_data_path(std::string fname) -> std::string"""
662  return _IMP_cnmultifit.get_data_path(*args)
663 import _version_check
664 _version_check.check_version(get_module_version())
665 
666 # This file is compatible with both classic and new-style classes.
667 
668 
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.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Definition: exception.h:73
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
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
Base functionality and abstract base classes for representation, scoring and sampling.
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.
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...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
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.
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:81
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.