IMP  2.4.0
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 def _swig_setattr_nondynamic_method(set):
73  def set_attr(self,name,value):
74  if (name == "thisown"): return self.this.own(value)
75  if hasattr(self,name) or (name == "this"):
76  set(self,name,value)
77  else:
78  raise AttributeError("You cannot add attributes to %s" % self)
79  return set_attr
80 
81 
82 try:
83  import weakref
84  weakref_proxy = weakref.proxy
85 except:
86  weakref_proxy = lambda x: x
87 
88 
89 class IMP_CNMULTIFIT_SwigPyIterator(object):
90  """Proxy of C++ swig::IMP_CNMULTIFIT_SwigPyIterator class"""
91  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
92  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
93  __repr__ = _swig_repr
94  __swig_destroy__ = _IMP_cnmultifit.delete_IMP_CNMULTIFIT_SwigPyIterator
95  __del__ = lambda self : None;
96  def value(self):
97  """value(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
98  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_value(self)
99 
100  def incr(self, n=1):
101  """
102  incr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator
103  incr(IMP_CNMULTIFIT_SwigPyIterator self) -> IMP_CNMULTIFIT_SwigPyIterator
104  """
105  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_incr(self, n)
106 
107  def decr(self, n=1):
108  """
109  decr(IMP_CNMULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_CNMULTIFIT_SwigPyIterator
110  decr(IMP_CNMULTIFIT_SwigPyIterator self) -> IMP_CNMULTIFIT_SwigPyIterator
111  """
112  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_decr(self, n)
113 
114  def distance(self, *args):
115  """distance(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> ptrdiff_t"""
116  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_distance(self, *args)
117 
118  def equal(self, *args):
119  """equal(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
120  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_equal(self, *args)
121 
122  def copy(self):
123  """copy(IMP_CNMULTIFIT_SwigPyIterator self) -> IMP_CNMULTIFIT_SwigPyIterator"""
124  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_copy(self)
125 
126  def next(self):
127  """next(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
128  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_next(self)
129 
130  def __next__(self):
131  """__next__(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
132  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___next__(self)
133 
134  def previous(self):
135  """previous(IMP_CNMULTIFIT_SwigPyIterator self) -> PyObject *"""
136  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_previous(self)
137 
138  def advance(self, *args):
139  """advance(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
140  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_advance(self, *args)
141 
142  def __eq__(self, *args):
143  """__eq__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
144  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___eq__(self, *args)
145 
146  def __ne__(self, *args):
147  """__ne__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> bool"""
148  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___ne__(self, *args)
149 
150  def __iadd__(self, *args):
151  """__iadd__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
152  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___iadd__(self, *args)
153 
154  def __isub__(self, *args):
155  """__isub__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
156  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___isub__(self, *args)
157 
158  def __add__(self, *args):
159  """__add__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator"""
160  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___add__(self, *args)
161 
162  def __sub__(self, *args):
163  """
164  __sub__(IMP_CNMULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_CNMULTIFIT_SwigPyIterator
165  __sub__(IMP_CNMULTIFIT_SwigPyIterator self, IMP_CNMULTIFIT_SwigPyIterator x) -> ptrdiff_t
166  """
167  return _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator___sub__(self, *args)
168 
169  def __iter__(self): return self
170 IMP_CNMULTIFIT_SwigPyIterator_swigregister = _IMP_cnmultifit.IMP_CNMULTIFIT_SwigPyIterator_swigregister
171 IMP_CNMULTIFIT_SwigPyIterator_swigregister(IMP_CNMULTIFIT_SwigPyIterator)
172 
173 _value_types=[]
174 _object_types=[]
175 _raii_types=[]
176 _plural_types=[]
177 
178 IMP_DEBUG = _IMP_cnmultifit.IMP_DEBUG
179 IMP_RELEASE = _IMP_cnmultifit.IMP_RELEASE
180 IMP_SILENT = _IMP_cnmultifit.IMP_SILENT
181 IMP_PROGRESS = _IMP_cnmultifit.IMP_PROGRESS
182 IMP_TERSE = _IMP_cnmultifit.IMP_TERSE
183 IMP_VERBOSE = _IMP_cnmultifit.IMP_VERBOSE
184 IMP_MEMORY = _IMP_cnmultifit.IMP_MEMORY
185 IMP_NONE = _IMP_cnmultifit.IMP_NONE
186 IMP_USAGE = _IMP_cnmultifit.IMP_USAGE
187 IMP_INTERNAL = _IMP_cnmultifit.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_cnmultifit.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_cnmultifit.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_cnmultifit.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_cnmultifit.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_cnmultifit.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_cnmultifit.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_cnmultifit.IMPBASE_SHOW_WARNINGS
196 import sys
197 class _DirectorObjects(object):
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  """Proxy of C++ std::ostream class"""
224  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
225  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
226  __repr__ = _swig_repr
227  def write(self, *args):
228  """write(_ostream self, char const * osa_buf)"""
229  return _IMP_cnmultifit._ostream_write(self, *args)
230 
231 _ostream_swigregister = _IMP_cnmultifit._ostream_swigregister
232 _ostream_swigregister(_ostream)
233 
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_cnmultifit.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_cnmultifit.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_cnmultifit.IMP_HAS_NOEXCEPT
237 import IMP.base
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_cnmultifit.IMPCGAL_SHOW_WARNINGS
243 import IMP.cgal
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_cnmultifit.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_cnmultifit.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_cnmultifit.IMPALGEBRA_SHOW_WARNINGS
252 import IMP.algebra
253 IMP_KERNEL_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_KERNEL_HAS_IMP_CGAL
254 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
255 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_KERNEL_HAS_BOOST_RANDOM
256 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_KERNEL_HAS_BOOST_SYSTEM
257 IMP_KERNEL_HAS_CGAL = _IMP_cnmultifit.IMP_KERNEL_HAS_CGAL
258 IMPKERNEL_SHOW_WARNINGS = _IMP_cnmultifit.IMPKERNEL_SHOW_WARNINGS
259 import IMP.kernel
260 IMP_DISPLAY_HAS_IMP_BASE = _IMP_cnmultifit.IMP_DISPLAY_HAS_IMP_BASE
261 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_IMP_CGAL
262 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
263 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
264 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_RANDOM
265 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DISPLAY_HAS_BOOST_SYSTEM
266 IMP_DISPLAY_HAS_CGAL = _IMP_cnmultifit.IMP_DISPLAY_HAS_CGAL
267 IMPDISPLAY_SHOW_WARNINGS = _IMP_cnmultifit.IMPDISPLAY_SHOW_WARNINGS
268 import IMP.display
269 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
270 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
271 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
272 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
273 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
274 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_CGAL
275 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_cnmultifit.IMP_SCORE_FUNCTOR_HAS_HDF5
276 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_cnmultifit.IMPSCOREFUNCTOR_SHOW_WARNINGS
277 import IMP.score_functor
278 IMP_STATISTICS_HAS_IMP_BASE = _IMP_cnmultifit.IMP_STATISTICS_HAS_IMP_BASE
279 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_IMP_CGAL
280 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
281 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
282 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_RANDOM
283 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_STATISTICS_HAS_BOOST_SYSTEM
284 IMP_STATISTICS_HAS_CGAL = _IMP_cnmultifit.IMP_STATISTICS_HAS_CGAL
285 IMPSTATISTICS_SHOW_WARNINGS = _IMP_cnmultifit.IMPSTATISTICS_SHOW_WARNINGS
286 import IMP.statistics
287 IMP_CORE_HAS_IMP_BASE = _IMP_cnmultifit.IMP_CORE_HAS_IMP_BASE
288 IMP_CORE_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_CGAL
289 IMP_CORE_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CORE_HAS_IMP_KERNEL
290 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_FILESYSTEM
291 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CORE_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_RANDOM
293 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CORE_HAS_BOOST_SYSTEM
294 IMP_CORE_HAS_CGAL = _IMP_cnmultifit.IMP_CORE_HAS_CGAL
295 IMP_CORE_HAS_HDF5 = _IMP_cnmultifit.IMP_CORE_HAS_HDF5
296 IMPCORE_SHOW_WARNINGS = _IMP_cnmultifit.IMPCORE_SHOW_WARNINGS
297 import IMP.core
298 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_ALGEBRA
299 IMP_CONTAINER_HAS_IMP_BASE = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_BASE
300 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_CGAL
301 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_DISPLAY
302 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_KERNEL
303 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
304 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
305 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
306 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_RANDOM
307 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CONTAINER_HAS_BOOST_SYSTEM
308 IMP_CONTAINER_HAS_CGAL = _IMP_cnmultifit.IMP_CONTAINER_HAS_CGAL
309 IMP_CONTAINER_HAS_HDF5 = _IMP_cnmultifit.IMP_CONTAINER_HAS_HDF5
310 IMPCONTAINER_SHOW_WARNINGS = _IMP_cnmultifit.IMPCONTAINER_SHOW_WARNINGS
311 import IMP.container
312 IMP_ATOM_HAS_IMP_BASE = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_BASE
313 IMP_ATOM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_CGAL
314 IMP_ATOM_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_KERNEL
315 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
316 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
317 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_RANDOM
318 IMP_ATOM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_REGEX
319 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_ATOM_HAS_BOOST_SYSTEM
320 IMP_ATOM_HAS_CGAL = _IMP_cnmultifit.IMP_ATOM_HAS_CGAL
321 IMP_ATOM_HAS_HDF5 = _IMP_cnmultifit.IMP_ATOM_HAS_HDF5
322 IMPATOM_SHOW_WARNINGS = _IMP_cnmultifit.IMPATOM_SHOW_WARNINGS
323 IMP_ATOM_TYPE_INDEX = _IMP_cnmultifit.IMP_ATOM_TYPE_INDEX
324 IMP_RESIDUE_TYPE_INDEX = _IMP_cnmultifit.IMP_RESIDUE_TYPE_INDEX
325 IMP_HIERARCHY_TYPE_INDEX = _IMP_cnmultifit.IMP_HIERARCHY_TYPE_INDEX
326 import IMP.atom
327 IMP_EM_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_EM_HAS_IMP_CGAL
328 IMP_EM_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_EM_HAS_IMP_CONTAINER
329 IMP_EM_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_EM_HAS_IMP_DISPLAY
330 IMP_EM_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_EM_HAS_IMP_KERNEL
331 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_EM_HAS_IMP_SCORE_FUNCTOR
332 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_FILESYSTEM
333 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
334 IMP_EM_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_RANDOM
335 IMP_EM_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_EM_HAS_BOOST_REGEX
336 IMP_EM_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_EM_HAS_BOOST_SYSTEM
337 IMP_EM_HAS_CGAL = _IMP_cnmultifit.IMP_EM_HAS_CGAL
338 IMP_EM_HAS_HDF5 = _IMP_cnmultifit.IMP_EM_HAS_HDF5
339 IMPEM_SHOW_WARNINGS = _IMP_cnmultifit.IMPEM_SHOW_WARNINGS
340 import IMP.em
341 IMP_RMF_HAS_IMP_BASE = _IMP_cnmultifit.IMP_RMF_HAS_IMP_BASE
342 IMP_RMF_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_IMP_CGAL
343 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
344 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_FILESYSTEM
345 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
346 IMP_RMF_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_RANDOM
347 IMP_RMF_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_REGEX
348 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_RMF_HAS_BOOST_SYSTEM
349 IMP_RMF_HAS_CGAL = _IMP_cnmultifit.IMP_RMF_HAS_CGAL
350 IMP_RMF_HAS_HDF5 = _IMP_cnmultifit.IMP_RMF_HAS_HDF5
351 IMPRMF_SHOW_WARNINGS = _IMP_cnmultifit.IMPRMF_SHOW_WARNINGS
352 import IMP.rmf
353 import RMF
354 IMP_DOMINO_HAS_IMP_ATOM = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_ATOM
355 IMP_DOMINO_HAS_IMP_BASE = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_BASE
356 IMP_DOMINO_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_CGAL
357 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_KERNEL
358 IMP_DOMINO_HAS_IMP_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_RMF
359 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
360 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_FILESYSTEM
361 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
362 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_RANDOM
363 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_REGEX
364 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_DOMINO_HAS_BOOST_SYSTEM
365 IMP_DOMINO_HAS_CGAL = _IMP_cnmultifit.IMP_DOMINO_HAS_CGAL
366 IMP_DOMINO_HAS_HDF5 = _IMP_cnmultifit.IMP_DOMINO_HAS_HDF5
367 IMP_DOMINO_HAS_RMF = _IMP_cnmultifit.IMP_DOMINO_HAS_RMF
368 IMPDOMINO_SHOW_WARNINGS = _IMP_cnmultifit.IMPDOMINO_SHOW_WARNINGS
369 import RMF_HDF5
370 import IMP.domino
371 IMP_MULTIFIT_HAS_IMP_BASE = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_BASE
372 IMP_MULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CGAL
373 IMP_MULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_CONTAINER
374 IMP_MULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_DISPLAY
375 IMP_MULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_KERNEL
376 IMP_MULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_RMF
377 IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR
378 IMP_MULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_GRAPH
379 IMP_MULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_RANDOM
380 IMP_MULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_REGEX
381 IMP_MULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_MULTIFIT_HAS_BOOST_SYSTEM
382 IMP_MULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_MULTIFIT_HAS_CGAL
383 IMP_MULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_MULTIFIT_HAS_HDF5
384 IMP_MULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_MULTIFIT_HAS_RMF
385 IMPMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPMULTIFIT_SHOW_WARNINGS
386 import IMP.multifit
387 IMP_CNMULTIFIT_HAS_IMP_BASE = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_BASE
388 IMP_CNMULTIFIT_HAS_IMP_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CGAL
389 IMP_CNMULTIFIT_HAS_IMP_CONTAINER = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_CONTAINER
390 IMP_CNMULTIFIT_HAS_IMP_DISPLAY = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DISPLAY
391 IMP_CNMULTIFIT_HAS_IMP_DOMINO = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_DOMINO
392 IMP_CNMULTIFIT_HAS_IMP_KERNEL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_KERNEL
393 IMP_CNMULTIFIT_HAS_IMP_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_RMF
394 IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_IMP_SCORE_FUNCTOR
395 IMP_CNMULTIFIT_HAS_BOOST_GRAPH = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_GRAPH
396 IMP_CNMULTIFIT_HAS_BOOST_RANDOM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_RANDOM
397 IMP_CNMULTIFIT_HAS_BOOST_REGEX = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_REGEX
398 IMP_CNMULTIFIT_HAS_BOOST_SYSTEM = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_BOOST_SYSTEM
399 IMP_CNMULTIFIT_HAS_CGAL = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_CGAL
400 IMP_CNMULTIFIT_HAS_FFTW3 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_FFTW3
401 IMP_CNMULTIFIT_HAS_HDF5 = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_HDF5
402 IMP_CNMULTIFIT_HAS_RMF = _IMP_cnmultifit.IMP_CNMULTIFIT_HAS_RMF
403 IMPCNMULTIFIT_SHOW_WARNINGS = _IMP_cnmultifit.IMPCNMULTIFIT_SHOW_WARNINGS
404 AlignSymmetrics=list
405 _plural_types.append("AlignSymmetrics")
406 _value_types.append("AlignSymmetric")
407 
408 CnSymmAxisDetectors=list
409 _plural_types.append("CnSymmAxisDetectors")
410 _value_types.append("CnSymmAxisDetector")
411 
412 MolCnSymmAxisDetectors=list
413 _plural_types.append("MolCnSymmAxisDetectors")
414 _value_types.append("MolCnSymmAxisDetector")
415 
416 class CnSymmAxisDetector(object):
417  """Proxy of C++ IMP::cnmultifit::CnSymmAxisDetector class"""
418  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
419  def __init__(self, *args):
420  """
421  __init__(IMP::cnmultifit::CnSymmAxisDetector self, int symm_deg, DensityMap dmap, float density_threshold, float top_p=0.8) -> CnSymmAxisDetector
422  __init__(IMP::cnmultifit::CnSymmAxisDetector self, int symm_deg, DensityMap dmap, float density_threshold) -> CnSymmAxisDetector
423  __init__(IMP::cnmultifit::CnSymmAxisDetector self, int symm_deg, IMP::atom::Hierarchies const & mhs) -> CnSymmAxisDetector
424  """
425  this = _IMP_cnmultifit.new_CnSymmAxisDetector(*args)
426  try: self.this.append(this)
427  except: self.this = this
428  def get_pca(self):
429  """get_pca(CnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
430  return _IMP_cnmultifit.CnSymmAxisDetector_get_pca(self)
431 
432  def calc_symm_score(self, *args):
433  """calc_symm_score(CnSymmAxisDetector self, int symm_axis_ind) -> float"""
434  return _IMP_cnmultifit.CnSymmAxisDetector_calc_symm_score(self, *args)
435 
436  def get_symmetry_axis(self):
437  """get_symmetry_axis(CnSymmAxisDetector self) -> Vector3D"""
438  return _IMP_cnmultifit.CnSymmAxisDetector_get_symmetry_axis(self)
439 
440  def get_symmetry_axis_index(self):
441  """get_symmetry_axis_index(CnSymmAxisDetector self) -> int"""
442  return _IMP_cnmultifit.CnSymmAxisDetector_get_symmetry_axis_index(self)
443 
444  def get_non_symmetry_axis_length(self):
445  """get_non_symmetry_axis_length(CnSymmAxisDetector self) -> int"""
446  return _IMP_cnmultifit.CnSymmAxisDetector_get_non_symmetry_axis_length(self)
447 
448  def show(self, *args):
449  """
450  show(CnSymmAxisDetector self, _ostream out=std::cout)
451  show(CnSymmAxisDetector self)
452  """
453  return _IMP_cnmultifit.CnSymmAxisDetector_show(self, *args)
454 
455  def __str__(self):
456  """__str__(CnSymmAxisDetector self) -> std::string"""
457  return _IMP_cnmultifit.CnSymmAxisDetector___str__(self)
458 
459  def __repr__(self):
460  """__repr__(CnSymmAxisDetector self) -> std::string"""
461  return _IMP_cnmultifit.CnSymmAxisDetector___repr__(self)
462 
463  __swig_destroy__ = _IMP_cnmultifit.delete_CnSymmAxisDetector
464  __del__ = lambda self : None;
465 CnSymmAxisDetector_swigregister = _IMP_cnmultifit.CnSymmAxisDetector_swigregister
466 CnSymmAxisDetector_swigregister(CnSymmAxisDetector)
467 
468 class MolCnSymmAxisDetector(object):
469  """Proxy of C++ IMP::cnmultifit::MolCnSymmAxisDetector class"""
470  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
471  def __init__(self, *args):
472  """__init__(IMP::cnmultifit::MolCnSymmAxisDetector self, int symm_deg, IMP::atom::Hierarchies const & mhs) -> MolCnSymmAxisDetector"""
473  this = _IMP_cnmultifit.new_MolCnSymmAxisDetector(*args)
474  try: self.this.append(this)
475  except: self.this = this
476  def get_pca(self):
477  """get_pca(MolCnSymmAxisDetector self) -> PrincipalComponentAnalysis3D"""
478  return _IMP_cnmultifit.MolCnSymmAxisDetector_get_pca(self)
479 
480  def get_symmetry_axis(self):
481  """get_symmetry_axis(MolCnSymmAxisDetector self) -> Vector3D"""
482  return _IMP_cnmultifit.MolCnSymmAxisDetector_get_symmetry_axis(self)
483 
484  def get_symmetry_axis_index(self):
485  """get_symmetry_axis_index(MolCnSymmAxisDetector self) -> int"""
486  return _IMP_cnmultifit.MolCnSymmAxisDetector_get_symmetry_axis_index(self)
487 
488  def show(self, *args):
489  """
490  show(MolCnSymmAxisDetector self, _ostream out=std::cout)
491  show(MolCnSymmAxisDetector self)
492  """
493  return _IMP_cnmultifit.MolCnSymmAxisDetector_show(self, *args)
494 
495  def calc_symm_score(self, *args):
496  """calc_symm_score(MolCnSymmAxisDetector self, int symm_axis_ind) -> float"""
497  return _IMP_cnmultifit.MolCnSymmAxisDetector_calc_symm_score(self, *args)
498 
499  def __str__(self):
500  """__str__(MolCnSymmAxisDetector self) -> std::string"""
501  return _IMP_cnmultifit.MolCnSymmAxisDetector___str__(self)
502 
503  def __repr__(self):
504  """__repr__(MolCnSymmAxisDetector self) -> std::string"""
505  return _IMP_cnmultifit.MolCnSymmAxisDetector___repr__(self)
506 
507  __swig_destroy__ = _IMP_cnmultifit.delete_MolCnSymmAxisDetector
508  __del__ = lambda self : None;
509 MolCnSymmAxisDetector_swigregister = _IMP_cnmultifit.MolCnSymmAxisDetector_swigregister
510 MolCnSymmAxisDetector_swigregister(MolCnSymmAxisDetector)
511 
512 class AlignSymmetric(object):
513  """Proxy of C++ IMP::cnmultifit::AlignSymmetric class"""
514  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
515  def __init__(self, *args):
516  """__init__(IMP::cnmultifit::AlignSymmetric self, DensityMap dmap, float threshold, int cn_symm_deg) -> AlignSymmetric"""
517  this = _IMP_cnmultifit.new_AlignSymmetric(*args)
518  try: self.this.append(this)
519  except: self.this = this
520  def get_sorted_principal_values(self):
521  """get_sorted_principal_values(AlignSymmetric self) -> IMP::Floats"""
522  return _IMP_cnmultifit.AlignSymmetric_get_sorted_principal_values(self)
523 
524  def score_alignment(self, *args):
525  """score_alignment(AlignSymmetric self, IMP::atom::Hierarchies mhs, float max_allowed_diff) -> int"""
526  return _IMP_cnmultifit.AlignSymmetric_score_alignment(self, *args)
527 
528  def get_symm_axis_alignments_from_model_to_density(self, *args):
529  """
530  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
531  get_symm_axis_alignments_from_model_to_density(AlignSymmetric self, IMP::atom::Hierarchies mhs, bool sample_translation) -> IMP::algebra::Transformation3Ds
532  """
533  return _IMP_cnmultifit.AlignSymmetric_get_symm_axis_alignments_from_model_to_density(self, *args)
534 
535  def show(self, *args):
536  """
537  show(AlignSymmetric self, _ostream out=std::cout)
538  show(AlignSymmetric self)
539  """
540  return _IMP_cnmultifit.AlignSymmetric_show(self, *args)
541 
542  def __str__(self):
543  """__str__(AlignSymmetric self) -> std::string"""
544  return _IMP_cnmultifit.AlignSymmetric___str__(self)
545 
546  def __repr__(self):
547  """__repr__(AlignSymmetric self) -> std::string"""
548  return _IMP_cnmultifit.AlignSymmetric___repr__(self)
549 
550  __swig_destroy__ = _IMP_cnmultifit.delete_AlignSymmetric
551  __del__ = lambda self : None;
552 AlignSymmetric_swigregister = _IMP_cnmultifit.AlignSymmetric_swigregister
553 AlignSymmetric_swigregister(AlignSymmetric)
554 
555 
556 def generate_cn_transformations(*args):
557  """generate_cn_transformations(IMP::atom::Hierarchies mhs, int symm_deg) -> IMP::algebra::Transformation3Ds"""
558  return _IMP_cnmultifit.generate_cn_transformations(*args)
559 
560 def generate_translations_along_symm_axis(*args):
561  """generate_translations_along_symm_axis(IMP::atom::Hierarchies mhs, int symm_deg) -> IMP::algebra::Transformation3Ds"""
562  return _IMP_cnmultifit.generate_translations_along_symm_axis(*args)
563 
564 def symmetry_local_fitting(*args):
565  """symmetry_local_fitting(IMP::atom::Hierarchies mhs, int cn_symm_deg, int dn_symm_deg, DensityMap dmap, int num_of_trans_to_consider) -> FittingSolutions"""
566  return _IMP_cnmultifit.symmetry_local_fitting(*args)
567 
568 def build_cn_dens_assembly(*args):
569  """
570  build_cn_dens_assembly(DensityMap subunit_dens, DensityHeader asmb_dens_header, Transformation3D monomer_t,
571  int symm_deg) -> DensityMap
572  """
573  return _IMP_cnmultifit.build_cn_dens_assembly(*args)
574 
575 def transform_cn_assembly(*args):
576  """transform_cn_assembly(IMP::atom::Hierarchies mhs, Transformation3D monomer_t)"""
577  return _IMP_cnmultifit.transform_cn_assembly(*args)
578 
579 def fit_cn_assembly(*args):
580  """
581  fit_cn_assembly(IMP::atom::Hierarchies mhs, int dn_symm_deg, DensityMap dmap, float threshold, AlignSymmetric aligner,
582  bool sample_translation=False, bool fine_rotational_sampling=True) -> FittingSolutions
583  fit_cn_assembly(IMP::atom::Hierarchies mhs, int dn_symm_deg, DensityMap dmap, float threshold, AlignSymmetric aligner,
584  bool sample_translation=False) -> FittingSolutions
585  fit_cn_assembly(IMP::atom::Hierarchies mhs, int dn_symm_deg, DensityMap dmap, float threshold, AlignSymmetric aligner) -> FittingSolutions
586  fit_cn_assembly(DensityMap asmb_map, MolCnSymmAxisDetector symm_mol, DensityMap dmap, CnSymmAxisDetector symm_map,
587  int symm_deg, float threshold) -> FittingSolutions
588  """
589  return _IMP_cnmultifit.fit_cn_assembly(*args)
590 
591 def pca_matching(*args):
592  """pca_matching(PrincipalComponentAnalysis3D pca1, PrincipalComponentAnalysis3D pca2, float resolution) -> bool"""
593  return _IMP_cnmultifit.pca_matching(*args)
594 
595 def cn_symm_score(*args):
596  """cn_symm_score(IMP::atom::Hierarchies mhs, Vector3D center, Vector3D direction, int symm_deg) -> float"""
597  return _IMP_cnmultifit.cn_symm_score(*args)
598 
599 def prune_by_pca(*args):
600  """
601  prune_by_pca(std::string const & param_fn, IMP::multifit::FittingSolutionRecords const & sols,
602  int dn=1) -> IMP::multifit::FittingSolutionRecords
603  prune_by_pca(std::string const & param_fn, IMP::multifit::FittingSolutionRecords const & sols) -> IMP::multifit::FittingSolutionRecords
604  """
605  return _IMP_cnmultifit.prune_by_pca(*args)
606 
607 def calc_transformation_around_axis(*args):
608  """calc_transformation_around_axis(Vector3D a, Vector3D b, float angle_rad) -> Transformation3D"""
609  return _IMP_cnmultifit.calc_transformation_around_axis(*args)
610 
611 def get_cn_rmsd(*args):
612  """get_cn_rmsd(IMP::atom::Hierarchies mh1, IMP::atom::Hierarchies mh2) -> float"""
613  return _IMP_cnmultifit.get_cn_rmsd(*args)
614 
615 def do_all_fitting(*args):
616  """
617  do_all_fitting(std::string const param_filename, std::string const chimera_filename="")
618  do_all_fitting(std::string const param_filename)
619  """
620  return _IMP_cnmultifit.do_all_fitting(*args)
621 
622 def get_rmsd_for_models(*args):
623  """
624  get_rmsd_for_models(std::string const param_filename, std::string const trans_filename, std::string const ref_filename,
625  int start_model=0, int end_model=-1) -> IMP::Floats
626  get_rmsd_for_models(std::string const param_filename, std::string const trans_filename, std::string const ref_filename,
627  int start_model=0) -> IMP::Floats
628  get_rmsd_for_models(std::string const param_filename, std::string const trans_filename, std::string const ref_filename) -> IMP::Floats
629  """
630  return _IMP_cnmultifit.get_rmsd_for_models(*args)
631 _all_commands = ["build", "rmsd", "surface",
632  "param", "chimera_models"]
633 
634 
635 def get_module_version():
636  """get_module_version() -> std::string const"""
637  return _IMP_cnmultifit.get_module_version()
638 
639 def get_example_path(*args):
640  """get_example_path(std::string fname) -> std::string"""
641  return _IMP_cnmultifit.get_example_path(*args)
642 
643 def get_data_path(*args):
644  """get_data_path(std::string fname) -> std::string"""
645  return _IMP_cnmultifit.get_data_path(*args)
646 from . import _version_check
647 _version_check.check_version(get_module_version())
648 
649 
650 
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_example_path(std::string file_name)
Return the path to installed example data for this module.
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.
std::string get_data_path(std::string file_name)
Return the full path to installed data.
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.
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.