IMP logo
IMP Reference Guide  2.5.0
The Integrative Modeling Platform
multifit/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.5
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 # This wrapper is part of IMP,
8 # Copyright 2007-2015 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info
16 if version_info >= (2, 6, 0):
17  def swig_import_helper():
18  from os.path import dirname
19  import imp
20  fp = None
21  try:
22  fp, pathname, description = imp.find_module('_IMP_multifit', [dirname(__file__)])
23  except ImportError:
24  import _IMP_multifit
25  return _IMP_multifit
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_multifit', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_multifit = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_multifit
36 del version_info
37 try:
38  _swig_property = property
39 except NameError:
40  pass # Python < 2.2 doesn't have 'property'.
41 
42 
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44  if (name == "thisown"):
45  return self.this.own(value)
46  if (name == "this"):
47  if type(value).__name__ == 'SwigPyObject':
48  self.__dict__[name] = value
49  return
50  method = class_type.__swig_setmethods__.get(name, None)
51  if method:
52  return method(self, value)
53  if (not static):
54  object.__setattr__(self, name, value)
55  else:
56  raise AttributeError("You cannot add attributes to %s" % self)
57 
58 
59 def _swig_setattr(self, class_type, name, value):
60  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61 
62 
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64  if (name == "thisown"):
65  return self.this.own()
66  method = class_type.__swig_getmethods__.get(name, None)
67  if method:
68  return method(self)
69  if (not static):
70  return object.__getattr__(self, name)
71  else:
72  raise AttributeError(name)
73 
74 def _swig_getattr(self, class_type, name):
75  return _swig_getattr_nondynamic(self, class_type, name, 0)
76 
77 
78 def _swig_repr(self):
79  try:
80  strthis = "proxy of " + self.this.__repr__()
81  except:
82  strthis = ""
83  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
84 
85 try:
86  _object = object
87  _newclass = 1
88 except AttributeError:
89  class _object:
90  pass
91  _newclass = 0
92 
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_MULTIFIT_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_MULTIFIT_SwigPyIterator class"""
115  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
116 
117  def __init__(self, *args, **kwargs):
118  raise AttributeError("No constructor defined - class is abstract")
119  __repr__ = _swig_repr
120  __swig_destroy__ = _IMP_multifit.delete_IMP_MULTIFIT_SwigPyIterator
121  __del__ = lambda self: None
122 
123  def value(self):
124  """value(IMP_MULTIFIT_SwigPyIterator self) -> PyObject *"""
125  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_value(self)
126 
127 
128  def incr(self, n=1):
129  """
130  incr(IMP_MULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_MULTIFIT_SwigPyIterator
131  incr(IMP_MULTIFIT_SwigPyIterator self) -> IMP_MULTIFIT_SwigPyIterator
132  """
133  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_incr(self, n)
134 
135 
136  def decr(self, n=1):
137  """
138  decr(IMP_MULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_MULTIFIT_SwigPyIterator
139  decr(IMP_MULTIFIT_SwigPyIterator self) -> IMP_MULTIFIT_SwigPyIterator
140  """
141  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_decr(self, n)
142 
143 
144  def distance(self, x):
145  """distance(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> ptrdiff_t"""
146  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_distance(self, x)
147 
148 
149  def equal(self, x):
150  """equal(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> bool"""
151  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_equal(self, x)
152 
153 
154  def copy(self):
155  """copy(IMP_MULTIFIT_SwigPyIterator self) -> IMP_MULTIFIT_SwigPyIterator"""
156  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_copy(self)
157 
158 
159  def next(self):
160  """next(IMP_MULTIFIT_SwigPyIterator self) -> PyObject *"""
161  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_next(self)
162 
163 
164  def __next__(self):
165  """__next__(IMP_MULTIFIT_SwigPyIterator self) -> PyObject *"""
166  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___next__(self)
167 
168 
169  def previous(self):
170  """previous(IMP_MULTIFIT_SwigPyIterator self) -> PyObject *"""
171  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_previous(self)
172 
173 
174  def advance(self, n):
175  """advance(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator"""
176  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_advance(self, n)
177 
178 
179  def __eq__(self, x):
180  """__eq__(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> bool"""
181  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___eq__(self, x)
182 
183 
184  def __ne__(self, x):
185  """__ne__(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> bool"""
186  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___ne__(self, x)
187 
188 
189  def __iadd__(self, n):
190  """__iadd__(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator"""
191  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___iadd__(self, n)
192 
193 
194  def __isub__(self, n):
195  """__isub__(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator"""
196  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___isub__(self, n)
197 
198 
199  def __add__(self, n):
200  """__add__(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator"""
201  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___add__(self, n)
202 
203 
204  def __sub__(self, *args):
205  """
206  __sub__(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator
207  __sub__(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> ptrdiff_t
208  """
209  return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___sub__(self, *args)
210 
211  def __iter__(self):
212  return self
213 IMP_MULTIFIT_SwigPyIterator_swigregister = _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_swigregister
214 IMP_MULTIFIT_SwigPyIterator_swigregister(IMP_MULTIFIT_SwigPyIterator)
215 
216 _value_types=[]
217 _object_types=[]
218 _raii_types=[]
219 _plural_types=[]
220 
221 
222 _IMP_multifit.IMP_DEBUG_swigconstant(_IMP_multifit)
223 IMP_DEBUG = _IMP_multifit.IMP_DEBUG
224 
225 _IMP_multifit.IMP_RELEASE_swigconstant(_IMP_multifit)
226 IMP_RELEASE = _IMP_multifit.IMP_RELEASE
227 
228 _IMP_multifit.IMP_SILENT_swigconstant(_IMP_multifit)
229 IMP_SILENT = _IMP_multifit.IMP_SILENT
230 
231 _IMP_multifit.IMP_PROGRESS_swigconstant(_IMP_multifit)
232 IMP_PROGRESS = _IMP_multifit.IMP_PROGRESS
233 
234 _IMP_multifit.IMP_TERSE_swigconstant(_IMP_multifit)
235 IMP_TERSE = _IMP_multifit.IMP_TERSE
236 
237 _IMP_multifit.IMP_VERBOSE_swigconstant(_IMP_multifit)
238 IMP_VERBOSE = _IMP_multifit.IMP_VERBOSE
239 
240 _IMP_multifit.IMP_MEMORY_swigconstant(_IMP_multifit)
241 IMP_MEMORY = _IMP_multifit.IMP_MEMORY
242 
243 _IMP_multifit.IMP_NONE_swigconstant(_IMP_multifit)
244 IMP_NONE = _IMP_multifit.IMP_NONE
245 
246 _IMP_multifit.IMP_USAGE_swigconstant(_IMP_multifit)
247 IMP_USAGE = _IMP_multifit.IMP_USAGE
248 
249 _IMP_multifit.IMP_INTERNAL_swigconstant(_IMP_multifit)
250 IMP_INTERNAL = _IMP_multifit.IMP_INTERNAL
251 
252 _IMP_multifit.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_multifit)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_multifit.IMP_KERNEL_HAS_LOG4CXX
254 
255 _IMP_multifit.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_multifit)
256 IMP_COMPILER_HAS_AUTO = _IMP_multifit.IMP_COMPILER_HAS_AUTO
257 
258 _IMP_multifit.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_multifit)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_multifit.IMP_COMPILER_HAS_DEBUG_VECTOR
260 
261 _IMP_multifit.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_multifit.IMP_KERNEL_HAS_BOOST_RANDOM
263 
264 _IMP_multifit.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_multifit)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_multifit.IMP_KERNEL_HAS_GPERFTOOLS
266 
267 _IMP_multifit.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_multifit)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_multifit.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
269 
270 _IMP_multifit.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_multifit)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_multifit.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
272 
273 _IMP_multifit.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_multifit)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_multifit.IMPKERNEL_SHOW_WARNINGS
275 import sys
276 class _DirectorObjects(object):
277  """@internal Simple class to keep references to director objects
278  to prevent premature deletion."""
279  def __init__(self):
280  self._objects = []
281  def register(self, obj):
282  """Take a reference to a director object; will only work for
283  refcounted C++ classes"""
284  if hasattr(obj, 'get_ref_count'):
285  self._objects.append(obj)
286  def cleanup(self):
287  """Only drop our reference and allow cleanup by Python if no other
288  Python references exist (we hold 3 references: one in self._objects,
289  one in x, and one in the argument list for getrefcount) *and* no
290  other C++ references exist (the Python object always holds one)"""
291  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
292  or x.get_ref_count() > 1]
293  # Do in two steps so the references are kept until the end of the
294  # function (deleting references may trigger a fresh call to this method)
295  self._objects = objs
296  def get_object_count(self):
297  """Get number of director objects (useful for testing only)"""
298  return len(self._objects)
299 _director_objects = _DirectorObjects()
300 
301 class _ostream(object):
302  """Proxy of C++ std::ostream class"""
303  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
304 
305  def __init__(self, *args, **kwargs):
306  raise AttributeError("No constructor defined")
307  __repr__ = _swig_repr
308 
309  def write(self, osa_buf):
310  """write(_ostream self, char const * osa_buf)"""
311  return _IMP_multifit._ostream_write(self, osa_buf)
312 
313 _ostream_swigregister = _IMP_multifit._ostream_swigregister
314 _ostream_swigregister(_ostream)
315 
316 
317 _IMP_multifit.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_multifit)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_multifit.IMP_COMPILER_HAS_OVERRIDE
319 
320 _IMP_multifit.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_multifit)
321 IMP_COMPILER_HAS_FINAL = _IMP_multifit.IMP_COMPILER_HAS_FINAL
322 
323 _IMP_multifit.IMP_HAS_NOEXCEPT_swigconstant(_IMP_multifit)
324 IMP_HAS_NOEXCEPT = _IMP_multifit.IMP_HAS_NOEXCEPT
325 import IMP
326 
327 _IMP_multifit.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_CGAL_HAS_BOOST_FILESYSTEM
329 
330 _IMP_multifit.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
332 
333 _IMP_multifit.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_multifit.IMP_CGAL_HAS_BOOST_RANDOM
335 
336 _IMP_multifit.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_CGAL_HAS_BOOST_SYSTEM
338 
339 _IMP_multifit.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_multifit)
340 IMPCGAL_SHOW_WARNINGS = _IMP_multifit.IMPCGAL_SHOW_WARNINGS
341 import IMP.cgal
342 
343 _IMP_multifit.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_multifit.IMP_ALGEBRA_HAS_IMP_CGAL
345 
346 _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
348 
349 _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
351 
352 _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_RANDOM
354 
355 _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_SYSTEM
357 
358 _IMP_multifit.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_multifit)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_multifit.IMP_ALGEBRA_HAS_CGAL
360 
361 _IMP_multifit.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_multifit)
362 IMP_ALGEBRA_HAS_ANN = _IMP_multifit.IMP_ALGEBRA_HAS_ANN
363 
364 _IMP_multifit.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_multifit)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_multifit.IMPALGEBRA_SHOW_WARNINGS
366 import IMP.algebra
367 
368 _IMP_multifit.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
369 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_multifit.IMP_DISPLAY_HAS_IMP_CGAL
370 
371 _IMP_multifit.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
372 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
373 
374 _IMP_multifit.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
375 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
376 
377 _IMP_multifit.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
378 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_multifit.IMP_DISPLAY_HAS_BOOST_RANDOM
379 
380 _IMP_multifit.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
381 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_DISPLAY_HAS_BOOST_SYSTEM
382 
383 _IMP_multifit.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_multifit)
384 IMP_DISPLAY_HAS_CGAL = _IMP_multifit.IMP_DISPLAY_HAS_CGAL
385 
386 _IMP_multifit.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_multifit)
387 IMPDISPLAY_SHOW_WARNINGS = _IMP_multifit.IMPDISPLAY_SHOW_WARNINGS
388 import IMP.display
389 
390 _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
391 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
392 
393 _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
394 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
395 
396 _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
397 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
398 
399 _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
400 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
401 
402 _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
403 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
404 
405 _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_multifit)
406 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_CGAL
407 
408 _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_multifit)
409 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_HDF5
410 
411 _IMP_multifit.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_multifit)
412 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_multifit.IMPSCOREFUNCTOR_SHOW_WARNINGS
413 import IMP.score_functor
414 
415 _IMP_multifit.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
416 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_multifit.IMP_STATISTICS_HAS_IMP_CGAL
417 
418 _IMP_multifit.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
419 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
420 
421 _IMP_multifit.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
422 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
423 
424 _IMP_multifit.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
425 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_multifit.IMP_STATISTICS_HAS_BOOST_RANDOM
426 
427 _IMP_multifit.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
428 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_STATISTICS_HAS_BOOST_SYSTEM
429 
430 _IMP_multifit.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_multifit)
431 IMP_STATISTICS_HAS_CGAL = _IMP_multifit.IMP_STATISTICS_HAS_CGAL
432 
433 _IMP_multifit.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_multifit)
434 IMPSTATISTICS_SHOW_WARNINGS = _IMP_multifit.IMPSTATISTICS_SHOW_WARNINGS
435 import IMP.statistics
436 
437 _IMP_multifit.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
438 IMP_CORE_HAS_IMP_CGAL = _IMP_multifit.IMP_CORE_HAS_IMP_CGAL
439 
440 _IMP_multifit.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_multifit)
441 IMP_CORE_HAS_IMP_KERNEL = _IMP_multifit.IMP_CORE_HAS_IMP_KERNEL
442 
443 _IMP_multifit.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
444 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_CORE_HAS_BOOST_FILESYSTEM
445 
446 _IMP_multifit.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
447 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
448 
449 _IMP_multifit.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
450 IMP_CORE_HAS_BOOST_RANDOM = _IMP_multifit.IMP_CORE_HAS_BOOST_RANDOM
451 
452 _IMP_multifit.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
453 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_CORE_HAS_BOOST_SYSTEM
454 
455 _IMP_multifit.IMP_CORE_HAS_CGAL_swigconstant(_IMP_multifit)
456 IMP_CORE_HAS_CGAL = _IMP_multifit.IMP_CORE_HAS_CGAL
457 
458 _IMP_multifit.IMP_CORE_HAS_HDF5_swigconstant(_IMP_multifit)
459 IMP_CORE_HAS_HDF5 = _IMP_multifit.IMP_CORE_HAS_HDF5
460 
461 _IMP_multifit.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_multifit)
462 IMPCORE_SHOW_WARNINGS = _IMP_multifit.IMPCORE_SHOW_WARNINGS
463 import IMP.core
464 
465 _IMP_multifit.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_multifit)
466 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_multifit.IMP_CONTAINER_HAS_IMP_ALGEBRA
467 
468 _IMP_multifit.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
469 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_multifit.IMP_CONTAINER_HAS_IMP_CGAL
470 
471 _IMP_multifit.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_multifit)
472 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_multifit.IMP_CONTAINER_HAS_IMP_DISPLAY
473 
474 _IMP_multifit.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_multifit)
475 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_multifit.IMP_CONTAINER_HAS_IMP_KERNEL
476 
477 _IMP_multifit.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_multifit)
478 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
479 
480 _IMP_multifit.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
481 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
482 
483 _IMP_multifit.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
484 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
485 
486 _IMP_multifit.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
487 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_multifit.IMP_CONTAINER_HAS_BOOST_RANDOM
488 
489 _IMP_multifit.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
490 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_CONTAINER_HAS_BOOST_SYSTEM
491 
492 _IMP_multifit.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_multifit)
493 IMP_CONTAINER_HAS_CGAL = _IMP_multifit.IMP_CONTAINER_HAS_CGAL
494 
495 _IMP_multifit.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_multifit)
496 IMP_CONTAINER_HAS_HDF5 = _IMP_multifit.IMP_CONTAINER_HAS_HDF5
497 
498 _IMP_multifit.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_multifit)
499 IMPCONTAINER_SHOW_WARNINGS = _IMP_multifit.IMPCONTAINER_SHOW_WARNINGS
500 import IMP.container
501 
502 _IMP_multifit.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
503 IMP_ATOM_HAS_IMP_CGAL = _IMP_multifit.IMP_ATOM_HAS_IMP_CGAL
504 
505 _IMP_multifit.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_multifit)
506 IMP_ATOM_HAS_IMP_KERNEL = _IMP_multifit.IMP_ATOM_HAS_IMP_KERNEL
507 
508 _IMP_multifit.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_multifit)
509 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
510 
511 _IMP_multifit.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
512 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
513 
514 _IMP_multifit.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
515 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_multifit.IMP_ATOM_HAS_BOOST_RANDOM
516 
517 _IMP_multifit.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_multifit)
518 IMP_ATOM_HAS_BOOST_REGEX = _IMP_multifit.IMP_ATOM_HAS_BOOST_REGEX
519 
520 _IMP_multifit.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
521 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_ATOM_HAS_BOOST_SYSTEM
522 
523 _IMP_multifit.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_multifit)
524 IMP_ATOM_HAS_CGAL = _IMP_multifit.IMP_ATOM_HAS_CGAL
525 
526 _IMP_multifit.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_multifit)
527 IMP_ATOM_HAS_HDF5 = _IMP_multifit.IMP_ATOM_HAS_HDF5
528 
529 _IMP_multifit.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_multifit)
530 IMPATOM_SHOW_WARNINGS = _IMP_multifit.IMPATOM_SHOW_WARNINGS
531 
532 _IMP_multifit.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_multifit)
533 IMP_ATOM_TYPE_INDEX = _IMP_multifit.IMP_ATOM_TYPE_INDEX
534 
535 _IMP_multifit.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_multifit)
536 IMP_RESIDUE_TYPE_INDEX = _IMP_multifit.IMP_RESIDUE_TYPE_INDEX
537 
538 _IMP_multifit.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_multifit)
539 IMP_HIERARCHY_TYPE_INDEX = _IMP_multifit.IMP_HIERARCHY_TYPE_INDEX
540 import IMP.atom
541 
542 _IMP_multifit.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
543 IMP_EM_HAS_IMP_CGAL = _IMP_multifit.IMP_EM_HAS_IMP_CGAL
544 
545 _IMP_multifit.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_multifit)
546 IMP_EM_HAS_IMP_CONTAINER = _IMP_multifit.IMP_EM_HAS_IMP_CONTAINER
547 
548 _IMP_multifit.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_multifit)
549 IMP_EM_HAS_IMP_DISPLAY = _IMP_multifit.IMP_EM_HAS_IMP_DISPLAY
550 
551 _IMP_multifit.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_multifit)
552 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_EM_HAS_IMP_SCORE_FUNCTOR
553 
554 _IMP_multifit.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
555 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_EM_HAS_BOOST_FILESYSTEM
556 
557 _IMP_multifit.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
558 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
559 
560 _IMP_multifit.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
561 IMP_EM_HAS_BOOST_RANDOM = _IMP_multifit.IMP_EM_HAS_BOOST_RANDOM
562 
563 _IMP_multifit.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_multifit)
564 IMP_EM_HAS_BOOST_REGEX = _IMP_multifit.IMP_EM_HAS_BOOST_REGEX
565 
566 _IMP_multifit.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
567 IMP_EM_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_EM_HAS_BOOST_SYSTEM
568 
569 _IMP_multifit.IMP_EM_HAS_CGAL_swigconstant(_IMP_multifit)
570 IMP_EM_HAS_CGAL = _IMP_multifit.IMP_EM_HAS_CGAL
571 
572 _IMP_multifit.IMP_EM_HAS_HDF5_swigconstant(_IMP_multifit)
573 IMP_EM_HAS_HDF5 = _IMP_multifit.IMP_EM_HAS_HDF5
574 
575 _IMP_multifit.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_multifit)
576 IMPEM_SHOW_WARNINGS = _IMP_multifit.IMPEM_SHOW_WARNINGS
577 import IMP.em
578 
579 _IMP_multifit.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
580 IMP_RMF_HAS_IMP_CGAL = _IMP_multifit.IMP_RMF_HAS_IMP_CGAL
581 
582 _IMP_multifit.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_multifit)
583 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
584 
585 _IMP_multifit.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
586 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_RMF_HAS_BOOST_FILESYSTEM
587 
588 _IMP_multifit.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
589 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
590 
591 _IMP_multifit.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
592 IMP_RMF_HAS_BOOST_RANDOM = _IMP_multifit.IMP_RMF_HAS_BOOST_RANDOM
593 
594 _IMP_multifit.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_multifit)
595 IMP_RMF_HAS_BOOST_REGEX = _IMP_multifit.IMP_RMF_HAS_BOOST_REGEX
596 
597 _IMP_multifit.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
598 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_RMF_HAS_BOOST_SYSTEM
599 
600 _IMP_multifit.IMP_RMF_HAS_CGAL_swigconstant(_IMP_multifit)
601 IMP_RMF_HAS_CGAL = _IMP_multifit.IMP_RMF_HAS_CGAL
602 
603 _IMP_multifit.IMP_RMF_HAS_HDF5_swigconstant(_IMP_multifit)
604 IMP_RMF_HAS_HDF5 = _IMP_multifit.IMP_RMF_HAS_HDF5
605 
606 _IMP_multifit.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_multifit)
607 IMPRMF_SHOW_WARNINGS = _IMP_multifit.IMPRMF_SHOW_WARNINGS
608 import IMP.rmf
609 import RMF
610 
611 _IMP_multifit.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_multifit)
612 IMP_DOMINO_HAS_IMP_ATOM = _IMP_multifit.IMP_DOMINO_HAS_IMP_ATOM
613 
614 _IMP_multifit.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
615 IMP_DOMINO_HAS_IMP_CGAL = _IMP_multifit.IMP_DOMINO_HAS_IMP_CGAL
616 
617 _IMP_multifit.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_multifit)
618 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_multifit.IMP_DOMINO_HAS_IMP_KERNEL
619 
620 _IMP_multifit.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_multifit)
621 IMP_DOMINO_HAS_IMP_RMF = _IMP_multifit.IMP_DOMINO_HAS_IMP_RMF
622 
623 _IMP_multifit.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_multifit)
624 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
625 
626 _IMP_multifit.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_multifit)
627 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_DOMINO_HAS_BOOST_FILESYSTEM
628 
629 _IMP_multifit.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_multifit)
630 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
631 
632 _IMP_multifit.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
633 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_multifit.IMP_DOMINO_HAS_BOOST_RANDOM
634 
635 _IMP_multifit.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_multifit)
636 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_multifit.IMP_DOMINO_HAS_BOOST_REGEX
637 
638 _IMP_multifit.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
639 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_DOMINO_HAS_BOOST_SYSTEM
640 
641 _IMP_multifit.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_multifit)
642 IMP_DOMINO_HAS_CGAL = _IMP_multifit.IMP_DOMINO_HAS_CGAL
643 
644 _IMP_multifit.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_multifit)
645 IMP_DOMINO_HAS_HDF5 = _IMP_multifit.IMP_DOMINO_HAS_HDF5
646 
647 _IMP_multifit.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_multifit)
648 IMP_DOMINO_HAS_RMF = _IMP_multifit.IMP_DOMINO_HAS_RMF
649 
650 _IMP_multifit.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_multifit)
651 IMPDOMINO_SHOW_WARNINGS = _IMP_multifit.IMPDOMINO_SHOW_WARNINGS
652 import RMF_HDF5
653 import IMP.domino
654 
655 _IMP_multifit.IMP_MULTIFIT_HAS_IMP_CGAL_swigconstant(_IMP_multifit)
656 IMP_MULTIFIT_HAS_IMP_CGAL = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_CGAL
657 
658 _IMP_multifit.IMP_MULTIFIT_HAS_IMP_CONTAINER_swigconstant(_IMP_multifit)
659 IMP_MULTIFIT_HAS_IMP_CONTAINER = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_CONTAINER
660 
661 _IMP_multifit.IMP_MULTIFIT_HAS_IMP_DISPLAY_swigconstant(_IMP_multifit)
662 IMP_MULTIFIT_HAS_IMP_DISPLAY = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_DISPLAY
663 
664 _IMP_multifit.IMP_MULTIFIT_HAS_IMP_KERNEL_swigconstant(_IMP_multifit)
665 IMP_MULTIFIT_HAS_IMP_KERNEL = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_KERNEL
666 
667 _IMP_multifit.IMP_MULTIFIT_HAS_IMP_RMF_swigconstant(_IMP_multifit)
668 IMP_MULTIFIT_HAS_IMP_RMF = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_RMF
669 
670 _IMP_multifit.IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_multifit)
671 IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR
672 
673 _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_GRAPH_swigconstant(_IMP_multifit)
674 IMP_MULTIFIT_HAS_BOOST_GRAPH = _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_GRAPH
675 
676 _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_RANDOM_swigconstant(_IMP_multifit)
677 IMP_MULTIFIT_HAS_BOOST_RANDOM = _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_RANDOM
678 
679 _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_REGEX_swigconstant(_IMP_multifit)
680 IMP_MULTIFIT_HAS_BOOST_REGEX = _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_REGEX
681 
682 _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_SYSTEM_swigconstant(_IMP_multifit)
683 IMP_MULTIFIT_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_SYSTEM
684 
685 _IMP_multifit.IMP_MULTIFIT_HAS_CGAL_swigconstant(_IMP_multifit)
686 IMP_MULTIFIT_HAS_CGAL = _IMP_multifit.IMP_MULTIFIT_HAS_CGAL
687 
688 _IMP_multifit.IMP_MULTIFIT_HAS_HDF5_swigconstant(_IMP_multifit)
689 IMP_MULTIFIT_HAS_HDF5 = _IMP_multifit.IMP_MULTIFIT_HAS_HDF5
690 
691 _IMP_multifit.IMP_MULTIFIT_HAS_RMF_swigconstant(_IMP_multifit)
692 IMP_MULTIFIT_HAS_RMF = _IMP_multifit.IMP_MULTIFIT_HAS_RMF
693 
694 _IMP_multifit.IMPMULTIFIT_SHOW_WARNINGS_swigconstant(_IMP_multifit)
695 IMPMULTIFIT_SHOW_WARNINGS = _IMP_multifit.IMPMULTIFIT_SHOW_WARNINGS
696 _object_types.append("RadiusOfGyrationRestraint")
697 
698 
699 def _object_cast_to_RadiusOfGyrationRestraint(o):
700  """_object_cast_to_RadiusOfGyrationRestraint(Object o) -> RadiusOfGyrationRestraint"""
701  return _IMP_multifit._object_cast_to_RadiusOfGyrationRestraint(o)
702 _object_types.append("ComponentHeader")
703 
704 
705 def _object_cast_to_ComponentHeader(o):
706  """_object_cast_to_ComponentHeader(Object o) -> ComponentHeader"""
707  return _IMP_multifit._object_cast_to_ComponentHeader(o)
708 _object_types.append("AssemblyHeader")
709 
710 
711 def _object_cast_to_AssemblyHeader(o):
712  """_object_cast_to_AssemblyHeader(Object o) -> AssemblyHeader"""
713  return _IMP_multifit._object_cast_to_AssemblyHeader(o)
714 _object_types.append("SettingsData")
715 
716 
717 def _object_cast_to_SettingsData(o):
718  """_object_cast_to_SettingsData(Object o) -> SettingsData"""
719  return _IMP_multifit._object_cast_to_SettingsData(o)
720 _object_types.append("WeightedExcludedVolumeRestraint")
721 
722 
723 def _object_cast_to_WeightedExcludedVolumeRestraint(o):
724  """_object_cast_to_WeightedExcludedVolumeRestraint(Object o) -> WeightedExcludedVolumeRestraint"""
725  return _IMP_multifit._object_cast_to_WeightedExcludedVolumeRestraint(o)
726 _object_types.append("ComplementarityRestraint")
727 
728 
729 def _object_cast_to_ComplementarityRestraint(o):
730  """_object_cast_to_ComplementarityRestraint(Object o) -> ComplementarityRestraint"""
731  return _IMP_multifit._object_cast_to_ComplementarityRestraint(o)
732 ProteinRecordDataList=list
733 _plural_types.append("ProteinRecordDataList")
734 _value_types.append("ProteinRecordData")
735 
736 FittingSolutionRecords=list
737 _plural_types.append("FittingSolutionRecords")
738 _value_types.append("FittingSolutionRecord")
739 
740 AnchorsDataList=list
741 _plural_types.append("AnchorsDataList")
742 _value_types.append("AnchorsData")
743 
744 DominoParamsList=list
745 _plural_types.append("DominoParamsList")
746 _value_types.append("DominoParams")
747 
748 ComplementarityParamsList=list
749 _plural_types.append("ComplementarityParamsList")
750 _value_types.append("ComplementarityParams")
751 
752 XlinkParamsList=list
753 _plural_types.append("XlinkParamsList")
754 _value_types.append("XlinkParams")
755 
756 ConnectivityParamsList=list
757 _plural_types.append("ConnectivityParamsList")
758 _value_types.append("ConnectivityParams")
759 
760 FragmentsParamsList=list
761 _plural_types.append("FragmentsParamsList")
762 _value_types.append("FragmentsParams")
763 
764 RogParamsList=list
765 _plural_types.append("RogParamsList")
766 _value_types.append("RogParams")
767 
768 EVParamsList=list
769 _plural_types.append("EVParamsList")
770 _value_types.append("EVParams")
771 
772 FiltersParamsList=list
773 _plural_types.append("FiltersParamsList")
774 _value_types.append("FiltersParams")
775 
776 AlignmentParamsList=list
777 _plural_types.append("AlignmentParamsList")
778 _value_types.append("AlignmentParams")
779 
780 FittingParamsList=list
781 _plural_types.append("FittingParamsList")
782 _value_types.append("FittingParams")
783 
784 ProteinsAnchorsSamplingSpaces=list
785 _plural_types.append("ProteinsAnchorsSamplingSpaces")
786 _value_types.append("ProteinsAnchorsSamplingSpace")
787 
788 _object_types.append("ProteomicsData")
789 
790 
791 def _object_cast_to_ProteomicsData(o):
792  """_object_cast_to_ProteomicsData(Object o) -> ProteomicsData"""
793  return _IMP_multifit._object_cast_to_ProteomicsData(o)
794 _object_types.append("FFTFitting")
795 
796 
797 def _object_cast_to_FFTFitting(o):
798  """_object_cast_to_FFTFitting(Object o) -> FFTFitting"""
799  return _IMP_multifit._object_cast_to_FFTFitting(o)
800 _object_types.append("FFTFittingOutput")
801 
802 
803 def _object_cast_to_FFTFittingOutput(o):
804  """_object_cast_to_FFTFittingOutput(Object o) -> FFTFittingOutput"""
805  return _IMP_multifit._object_cast_to_FFTFittingOutput(o)
806 _object_types.append("ProbabilisticAnchorGraph")
807 
808 
809 def _object_cast_to_ProbabilisticAnchorGraph(o):
810  """_object_cast_to_ProbabilisticAnchorGraph(Object o) -> ProbabilisticAnchorGraph"""
811  return _IMP_multifit._object_cast_to_ProbabilisticAnchorGraph(o)
812 _object_types.append("Ensemble")
813 
814 
815 def _object_cast_to_Ensemble(o):
816  """_object_cast_to_Ensemble(Object o) -> Ensemble"""
817  return _IMP_multifit._object_cast_to_Ensemble(o)
818 _object_types.append("ProteomicsEMAlignmentAtomic")
819 
820 
821 def _object_cast_to_ProteomicsEMAlignmentAtomic(o):
822  """_object_cast_to_ProteomicsEMAlignmentAtomic(Object o) -> ProteomicsEMAlignmentAtomic"""
823  return _IMP_multifit._object_cast_to_ProteomicsEMAlignmentAtomic(o)
824 
825 def add_surface_index(*args):
826  """
827  add_surface_index(Hierarchy mhd, IMP::Float apix, FloatKey shell_key, FloatKey radius_key, FloatKey weight_key)
828  add_surface_index(Hierarchy mhd, IMP::Float apix, FloatKey shell_key, FloatKey radius_key)
829  add_surface_index(Hierarchy mhd, IMP::Float apix, FloatKey shell_key)
830  add_surface_index(Hierarchy mhd, IMP::Float apix)
831  """
832  return _IMP_multifit.add_surface_index(*args)
833 
835  """
836  create_weighted_excluded_volume_restraint(RigidBody rb1, RigidBody rb2, FloatKey shell_key) -> Restraint
837  create_weighted_excluded_volume_restraint(RigidBody rb1, RigidBody rb2) -> Restraint
838  """
839  return _IMP_multifit.create_weighted_excluded_volume_restraint(*args)
840 class FittingSolutionRecord(object):
841  """Proxy of C++ IMP::multifit::FittingSolutionRecord class"""
842  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
843 
844  def __init__(self):
845  """__init__(IMP::multifit::FittingSolutionRecord self) -> FittingSolutionRecord"""
846  this = _IMP_multifit.new_FittingSolutionRecord()
847  try:
848  self.this.append(this)
849  except:
850  self.this = this
851 
852  def get_index(self):
853  """get_index(FittingSolutionRecord self) -> unsigned int"""
854  return _IMP_multifit.FittingSolutionRecord_get_index(self)
855 
856 
857  def set_index(self, new_ind):
858  """set_index(FittingSolutionRecord self, unsigned int new_ind)"""
859  return _IMP_multifit.FittingSolutionRecord_set_index(self, new_ind)
860 
861 
862  def get_solution_filename(self):
863  """get_solution_filename(FittingSolutionRecord self) -> std::string"""
864  return _IMP_multifit.FittingSolutionRecord_get_solution_filename(self)
865 
866 
867  def set_solution_filename(self, sol_fn):
868  """set_solution_filename(FittingSolutionRecord self, std::string sol_fn)"""
869  return _IMP_multifit.FittingSolutionRecord_set_solution_filename(self, sol_fn)
870 
871 
872  def get_fit_transformation(self):
873  """get_fit_transformation(FittingSolutionRecord self) -> Transformation3D"""
874  return _IMP_multifit.FittingSolutionRecord_get_fit_transformation(self)
875 
876 
877  def set_fit_transformation(self, t):
878  """set_fit_transformation(FittingSolutionRecord self, Transformation3D t)"""
879  return _IMP_multifit.FittingSolutionRecord_set_fit_transformation(self, t)
880 
881 
882  def get_match_size(self):
883  """get_match_size(FittingSolutionRecord self) -> unsigned int"""
884  return _IMP_multifit.FittingSolutionRecord_get_match_size(self)
885 
886 
887  def set_match_size(self, match_size):
888  """set_match_size(FittingSolutionRecord self, unsigned int match_size)"""
889  return _IMP_multifit.FittingSolutionRecord_set_match_size(self, match_size)
890 
891 
892  def get_match_average_distance(self):
893  """get_match_average_distance(FittingSolutionRecord self) -> IMP::Float"""
894  return _IMP_multifit.FittingSolutionRecord_get_match_average_distance(self)
895 
896 
897  def set_match_average_distance(self, match_avg_dist):
898  """set_match_average_distance(FittingSolutionRecord self, IMP::Float match_avg_dist)"""
899  return _IMP_multifit.FittingSolutionRecord_set_match_average_distance(self, match_avg_dist)
900 
901 
902  def get_fitting_score(self):
903  """get_fitting_score(FittingSolutionRecord self) -> IMP::Float"""
904  return _IMP_multifit.FittingSolutionRecord_get_fitting_score(self)
905 
906 
907  def set_fitting_score(self, fit_score):
908  """set_fitting_score(FittingSolutionRecord self, IMP::Float fit_score)"""
909  return _IMP_multifit.FittingSolutionRecord_set_fitting_score(self, fit_score)
910 
911 
912  def get_rmsd_to_reference(self):
913  """get_rmsd_to_reference(FittingSolutionRecord self) -> IMP::Float"""
914  return _IMP_multifit.FittingSolutionRecord_get_rmsd_to_reference(self)
915 
916 
917  def set_rmsd_to_reference(self, rmsd_to_ref):
918  """set_rmsd_to_reference(FittingSolutionRecord self, IMP::Float rmsd_to_ref)"""
919  return _IMP_multifit.FittingSolutionRecord_set_rmsd_to_reference(self, rmsd_to_ref)
920 
921 
922  def get_dock_transformation(self):
923  """get_dock_transformation(FittingSolutionRecord self) -> Transformation3D"""
924  return _IMP_multifit.FittingSolutionRecord_get_dock_transformation(self)
925 
926 
927  def set_dock_transformation(self, t):
928  """set_dock_transformation(FittingSolutionRecord self, Transformation3D t)"""
929  return _IMP_multifit.FittingSolutionRecord_set_dock_transformation(self, t)
930 
931 
932  def get_envelope_penetration_score(self):
933  """get_envelope_penetration_score(FittingSolutionRecord self) -> IMP::Float"""
934  return _IMP_multifit.FittingSolutionRecord_get_envelope_penetration_score(self)
935 
936 
937  def set_envelope_penetration_score(self, s):
938  """set_envelope_penetration_score(FittingSolutionRecord self, IMP::Float s)"""
939  return _IMP_multifit.FittingSolutionRecord_set_envelope_penetration_score(self, s)
940 
941 
942  def show(self, *args):
943  """
944  show(FittingSolutionRecord self, _ostream out)
945  show(FittingSolutionRecord self)
946  """
947  return _IMP_multifit.FittingSolutionRecord_show(self, *args)
948 
949 
950  def get_record_header():
951  """get_record_header() -> std::string"""
952  return _IMP_multifit.FittingSolutionRecord_get_record_header()
953 
954  get_record_header = staticmethod(get_record_header)
955 
956  def __str__(self):
957  """__str__(FittingSolutionRecord self) -> std::string"""
958  return _IMP_multifit.FittingSolutionRecord___str__(self)
959 
960 
961  def __repr__(self):
962  """__repr__(FittingSolutionRecord self) -> std::string"""
963  return _IMP_multifit.FittingSolutionRecord___repr__(self)
964 
965  __swig_destroy__ = _IMP_multifit.delete_FittingSolutionRecord
966  __del__ = lambda self: None
967 FittingSolutionRecord_swigregister = _IMP_multifit.FittingSolutionRecord_swigregister
968 FittingSolutionRecord_swigregister(FittingSolutionRecord)
969 
970 def FittingSolutionRecord_get_record_header():
971  """FittingSolutionRecord_get_record_header() -> std::string"""
972  return _IMP_multifit.FittingSolutionRecord_get_record_header()
973 
974 
975 def pca_based_rigid_fitting(*args):
976  """
977  pca_based_rigid_fitting(RigidBody rb, Refiner rb_refiner, DensityMap em_map, IMP::Float threshold, FloatKey wei_key, PrincipalComponentAnalysis3D dens_pca_input) -> FittingSolutions
978  pca_based_rigid_fitting(RigidBody rb, Refiner rb_refiner, DensityMap em_map, IMP::Float threshold, FloatKey wei_key) -> FittingSolutions
979  pca_based_rigid_fitting(RigidBody rb, Refiner rb_refiner, DensityMap em_map, IMP::Float threshold) -> FittingSolutions
980  pca_based_rigid_fitting(IMP::ParticlesTemp ps, DensityMap em_map, IMP::Float threshold, FloatKey wei_key, PrincipalComponentAnalysis3D dens_pca_input) -> FittingSolutions
981  pca_based_rigid_fitting(IMP::ParticlesTemp ps, DensityMap em_map, IMP::Float threshold, FloatKey wei_key) -> FittingSolutions
982  pca_based_rigid_fitting(IMP::ParticlesTemp ps, DensityMap em_map, IMP::Float threshold) -> FittingSolutions
983  """
984  return _IMP_multifit.pca_based_rigid_fitting(*args)
985 
986 def write_markers(pca, out):
987  """write_markers(PrincipalComponentAnalysis3D pca, _ostream out)"""
988  return _IMP_multifit.write_markers(pca, out)
989 class ComponentHeader(IMP.Object):
990  """Proxy of C++ IMP::multifit::ComponentHeader class"""
991  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
992 
993  def __init__(self):
994  """__init__(IMP::multifit::ComponentHeader self) -> ComponentHeader"""
995  this = _IMP_multifit.new_ComponentHeader()
996  try:
997  self.this.append(this)
998  except:
999  self.this = this
1000 
1001  def set_name(self, name):
1002  """set_name(ComponentHeader self, std::string const & name)"""
1003  return _IMP_multifit.ComponentHeader_set_name(self, name)
1004 
1005 
1006  def get_name(self):
1007  """get_name(ComponentHeader self) -> std::string"""
1008  return _IMP_multifit.ComponentHeader_get_name(self)
1009 
1010 
1011  def get_filename(self):
1012  """get_filename(ComponentHeader self) -> std::string"""
1013  return _IMP_multifit.ComponentHeader_get_filename(self)
1014 
1015 
1016  def set_filename(self, filename):
1017  """set_filename(ComponentHeader self, std::string const & filename)"""
1018  return _IMP_multifit.ComponentHeader_set_filename(self, filename)
1019 
1020 
1021  def get_surface_fn(self):
1022  """get_surface_fn(ComponentHeader self) -> std::string"""
1023  return _IMP_multifit.ComponentHeader_get_surface_fn(self)
1024 
1025 
1026  def set_surface_fn(self, fn):
1027  """set_surface_fn(ComponentHeader self, std::string const & fn)"""
1028  return _IMP_multifit.ComponentHeader_set_surface_fn(self, fn)
1029 
1030 
1031  def set_txt_ap_fn(self, pdb_ap_fn):
1032  """set_txt_ap_fn(ComponentHeader self, std::string const & pdb_ap_fn)"""
1033  return _IMP_multifit.ComponentHeader_set_txt_ap_fn(self, pdb_ap_fn)
1034 
1035 
1036  def get_txt_ap_fn(self):
1037  """get_txt_ap_fn(ComponentHeader self) -> std::string"""
1038  return _IMP_multifit.ComponentHeader_get_txt_ap_fn(self)
1039 
1040 
1041  def set_txt_fine_ap_fn(self, pdb_ap_fn):
1042  """set_txt_fine_ap_fn(ComponentHeader self, std::string const & pdb_ap_fn)"""
1043  return _IMP_multifit.ComponentHeader_set_txt_fine_ap_fn(self, pdb_ap_fn)
1044 
1045 
1046  def get_txt_fine_ap_fn(self):
1047  """get_txt_fine_ap_fn(ComponentHeader self) -> std::string"""
1048  return _IMP_multifit.ComponentHeader_get_txt_fine_ap_fn(self)
1049 
1050 
1051  def set_num_ap(self, num_ap):
1052  """set_num_ap(ComponentHeader self, int num_ap)"""
1053  return _IMP_multifit.ComponentHeader_set_num_ap(self, num_ap)
1054 
1055 
1056  def get_num_ap(self):
1057  """get_num_ap(ComponentHeader self) -> int"""
1058  return _IMP_multifit.ComponentHeader_get_num_ap(self)
1059 
1060 
1061  def set_num_fine_ap(self, num_ap):
1062  """set_num_fine_ap(ComponentHeader self, int num_ap)"""
1063  return _IMP_multifit.ComponentHeader_set_num_fine_ap(self, num_ap)
1064 
1065 
1066  def get_num_fine_ap(self):
1067  """get_num_fine_ap(ComponentHeader self) -> int"""
1068  return _IMP_multifit.ComponentHeader_get_num_fine_ap(self)
1069 
1070 
1071  def set_transformations_fn(self, transformations_fn):
1072  """set_transformations_fn(ComponentHeader self, std::string transformations_fn)"""
1073  return _IMP_multifit.ComponentHeader_set_transformations_fn(self, transformations_fn)
1074 
1075 
1076  def get_transformations_fn(self):
1077  """get_transformations_fn(ComponentHeader self) -> std::string"""
1078  return _IMP_multifit.ComponentHeader_get_transformations_fn(self)
1079 
1080 
1081  def set_reference_fn(self, ref_fn):
1082  """set_reference_fn(ComponentHeader self, std::string const & ref_fn)"""
1083  return _IMP_multifit.ComponentHeader_set_reference_fn(self, ref_fn)
1084 
1085 
1086  def get_reference_fn(self):
1087  """get_reference_fn(ComponentHeader self) -> std::string"""
1088  return _IMP_multifit.ComponentHeader_get_reference_fn(self)
1089 
1090 
1091  def get_version_info(self):
1092  """get_version_info(ComponentHeader self) -> VersionInfo"""
1093  return _IMP_multifit.ComponentHeader_get_version_info(self)
1094 
1095 
1096  def __str__(self):
1097  """__str__(ComponentHeader self) -> std::string"""
1098  return _IMP_multifit.ComponentHeader___str__(self)
1099 
1100 
1101  def __repr__(self):
1102  """__repr__(ComponentHeader self) -> std::string"""
1103  return _IMP_multifit.ComponentHeader___repr__(self)
1104 
1105  def get_from(o):
1106  return _object_cast_to_ComponentHeader(o)
1107  get_from = staticmethod(get_from)
1108 
1109 ComponentHeader_swigregister = _IMP_multifit.ComponentHeader_swigregister
1110 ComponentHeader_swigregister(ComponentHeader)
1111 
1112 class AssemblyHeader(IMP.Object):
1113  """Proxy of C++ IMP::multifit::AssemblyHeader class"""
1114  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1115 
1116  def __init__(self):
1117  """__init__(IMP::multifit::AssemblyHeader self) -> AssemblyHeader"""
1118  this = _IMP_multifit.new_AssemblyHeader()
1119  try:
1120  self.this.append(this)
1121  except:
1122  self.this = this
1123 
1124  def set_dens_fn(self, dens_fn):
1125  """set_dens_fn(AssemblyHeader self, std::string const & dens_fn)"""
1126  return _IMP_multifit.AssemblyHeader_set_dens_fn(self, dens_fn)
1127 
1128 
1129  def get_dens_fn(self):
1130  """get_dens_fn(AssemblyHeader self) -> std::string"""
1131  return _IMP_multifit.AssemblyHeader_get_dens_fn(self)
1132 
1133 
1134  def set_resolution(self, res):
1135  """set_resolution(AssemblyHeader self, float res)"""
1136  return _IMP_multifit.AssemblyHeader_set_resolution(self, res)
1137 
1138 
1139  def get_resolution(self):
1140  """get_resolution(AssemblyHeader self) -> float"""
1141  return _IMP_multifit.AssemblyHeader_get_resolution(self)
1142 
1143 
1144  def get_spacing(self):
1145  """get_spacing(AssemblyHeader self) -> float"""
1146  return _IMP_multifit.AssemblyHeader_get_spacing(self)
1147 
1148 
1149  def set_spacing(self, spacing):
1150  """set_spacing(AssemblyHeader self, float spacing)"""
1151  return _IMP_multifit.AssemblyHeader_set_spacing(self, spacing)
1152 
1153 
1154  def set_threshold(self, t):
1155  """set_threshold(AssemblyHeader self, float t)"""
1156  return _IMP_multifit.AssemblyHeader_set_threshold(self, t)
1157 
1158 
1159  def get_threshold(self):
1160  """get_threshold(AssemblyHeader self) -> float"""
1161  return _IMP_multifit.AssemblyHeader_get_threshold(self)
1162 
1163 
1164  def get_origin(self):
1165  """get_origin(AssemblyHeader self) -> Vector3D"""
1166  return _IMP_multifit.AssemblyHeader_get_origin(self)
1167 
1168 
1169  def set_origin(self, origin):
1170  """set_origin(AssemblyHeader self, Vector3D origin)"""
1171  return _IMP_multifit.AssemblyHeader_set_origin(self, origin)
1172 
1173 
1174  def get_coarse_ap_fn(self):
1175  """get_coarse_ap_fn(AssemblyHeader self) -> std::string"""
1176  return _IMP_multifit.AssemblyHeader_get_coarse_ap_fn(self)
1177 
1178 
1179  def set_coarse_ap_fn(self, new_fn):
1180  """set_coarse_ap_fn(AssemblyHeader self, std::string const & new_fn)"""
1181  return _IMP_multifit.AssemblyHeader_set_coarse_ap_fn(self, new_fn)
1182 
1183 
1184  def get_coarse_over_sampled_ap_fn(self):
1185  """get_coarse_over_sampled_ap_fn(AssemblyHeader self) -> std::string"""
1186  return _IMP_multifit.AssemblyHeader_get_coarse_over_sampled_ap_fn(self)
1187 
1188 
1189  def set_coarse_over_sampled_ap_fn(self, new_fn):
1190  """set_coarse_over_sampled_ap_fn(AssemblyHeader self, std::string const & new_fn)"""
1191  return _IMP_multifit.AssemblyHeader_set_coarse_over_sampled_ap_fn(self, new_fn)
1192 
1193 
1194  def get_fine_ap_fn(self):
1195  """get_fine_ap_fn(AssemblyHeader self) -> std::string"""
1196  return _IMP_multifit.AssemblyHeader_get_fine_ap_fn(self)
1197 
1198 
1199  def set_fine_ap_fn(self, new_fn):
1200  """set_fine_ap_fn(AssemblyHeader self, std::string const & new_fn)"""
1201  return _IMP_multifit.AssemblyHeader_set_fine_ap_fn(self, new_fn)
1202 
1203 
1204  def get_fine_over_sampled_ap_fn(self):
1205  """get_fine_over_sampled_ap_fn(AssemblyHeader self) -> std::string"""
1206  return _IMP_multifit.AssemblyHeader_get_fine_over_sampled_ap_fn(self)
1207 
1208 
1209  def set_fine_over_sampled_ap_fn(self, new_fn):
1210  """set_fine_over_sampled_ap_fn(AssemblyHeader self, std::string const & new_fn)"""
1211  return _IMP_multifit.AssemblyHeader_set_fine_over_sampled_ap_fn(self, new_fn)
1212 
1213 
1214  def get_version_info(self):
1215  """get_version_info(AssemblyHeader self) -> VersionInfo"""
1216  return _IMP_multifit.AssemblyHeader_get_version_info(self)
1217 
1218 
1219  def __str__(self):
1220  """__str__(AssemblyHeader self) -> std::string"""
1221  return _IMP_multifit.AssemblyHeader___str__(self)
1222 
1223 
1224  def __repr__(self):
1225  """__repr__(AssemblyHeader self) -> std::string"""
1226  return _IMP_multifit.AssemblyHeader___repr__(self)
1227 
1228  def get_from(o):
1229  return _object_cast_to_AssemblyHeader(o)
1230  get_from = staticmethod(get_from)
1231 
1232 AssemblyHeader_swigregister = _IMP_multifit.AssemblyHeader_swigregister
1233 AssemblyHeader_swigregister(AssemblyHeader)
1234 
1235 class SettingsData(IMP.Object):
1236  """Proxy of C++ IMP::multifit::SettingsData class"""
1237  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1238 
1239  def __init__(self):
1240  """__init__(IMP::multifit::SettingsData self) -> SettingsData"""
1241  this = _IMP_multifit.new_SettingsData()
1242  try:
1243  self.this.append(this)
1244  except:
1245  self.this = this
1246 
1247  def show_component_header_line(*args):
1248  """
1249  show_component_header_line(_ostream out)
1250  show_component_header_line()
1251  """
1252  return _IMP_multifit.SettingsData_show_component_header_line(*args)
1253 
1254  show_component_header_line = staticmethod(show_component_header_line)
1255 
1256  def get_component_header_line():
1257  """get_component_header_line() -> std::string"""
1258  return _IMP_multifit.SettingsData_get_component_header_line()
1259 
1260  get_component_header_line = staticmethod(get_component_header_line)
1261 
1262  def show_density_header_line(*args):
1263  """
1264  show_density_header_line(_ostream out)
1265  show_density_header_line()
1266  """
1267  return _IMP_multifit.SettingsData_show_density_header_line(*args)
1268 
1269  show_density_header_line = staticmethod(show_density_header_line)
1270 
1271  def get_density_header_line():
1272  """get_density_header_line() -> std::string"""
1273  return _IMP_multifit.SettingsData_get_density_header_line()
1274 
1275  get_density_header_line = staticmethod(get_density_header_line)
1276 
1277  def set_assembly_filename(self, fn):
1278  """set_assembly_filename(SettingsData self, std::string const & fn)"""
1279  return _IMP_multifit.SettingsData_set_assembly_filename(self, fn)
1280 
1281 
1282  def get_assembly_filename(self):
1283  """get_assembly_filename(SettingsData self) -> char const *"""
1284  return _IMP_multifit.SettingsData_get_assembly_filename(self)
1285 
1286 
1287  def set_assembly_header(self, h):
1288  """set_assembly_header(SettingsData self, AssemblyHeader h)"""
1289  return _IMP_multifit.SettingsData_set_assembly_header(self, h)
1290 
1291 
1292  def get_assembly_header(self):
1293  """get_assembly_header(SettingsData self) -> AssemblyHeader"""
1294  return _IMP_multifit.SettingsData_get_assembly_header(self)
1295 
1296 
1297  def set_data_path(self, fn):
1298  """set_data_path(SettingsData self, std::string const & fn)"""
1299  return _IMP_multifit.SettingsData_set_data_path(self, fn)
1300 
1301 
1302  def get_data_path(self):
1303  """get_data_path(SettingsData self) -> std::string"""
1304  return _IMP_multifit.SettingsData_get_data_path(self)
1305 
1306 
1307  def get_version_info(self):
1308  """get_version_info(SettingsData self) -> VersionInfo"""
1309  return _IMP_multifit.SettingsData_get_version_info(self)
1310 
1311 
1312  def remove_component_header(self, d):
1313  """remove_component_header(SettingsData self, ComponentHeader d)"""
1314  return _IMP_multifit.SettingsData_remove_component_header(self, d)
1315 
1316 
1317  def remove_component_headers(self, d):
1318  """remove_component_headers(SettingsData self, IMP::multifit::ComponentHeaders const & d)"""
1319  return _IMP_multifit.SettingsData_remove_component_headers(self, d)
1320 
1321 
1322  def set_component_headers(self, ps):
1323  """set_component_headers(SettingsData self, IMP::multifit::ComponentHeaders const & ps)"""
1324  return _IMP_multifit.SettingsData_set_component_headers(self, ps)
1325 
1326 
1327  def set_component_headers_order(self, objs):
1328  """set_component_headers_order(SettingsData self, IMP::multifit::ComponentHeaders const & objs)"""
1329  return _IMP_multifit.SettingsData_set_component_headers_order(self, objs)
1330 
1331 
1332  def add_component_header(self, obj):
1333  """add_component_header(SettingsData self, ComponentHeader obj) -> unsigned int"""
1334  return _IMP_multifit.SettingsData_add_component_header(self, obj)
1335 
1336 
1337  def add_component_headers(self, objs):
1338  """add_component_headers(SettingsData self, IMP::multifit::ComponentHeaders const & objs)"""
1339  return _IMP_multifit.SettingsData_add_component_headers(self, objs)
1340 
1341 
1342  def clear_component_headers(self):
1343  """clear_component_headers(SettingsData self)"""
1344  return _IMP_multifit.SettingsData_clear_component_headers(self)
1345 
1346 
1347  def get_number_of_component_headers(self):
1348  """get_number_of_component_headers(SettingsData self) -> unsigned int"""
1349  return _IMP_multifit.SettingsData_get_number_of_component_headers(self)
1350 
1351 
1352  def get_has_component_headers(self):
1353  """get_has_component_headers(SettingsData self) -> bool"""
1354  return _IMP_multifit.SettingsData_get_has_component_headers(self)
1355 
1356 
1357  def get_component_header(self, i):
1358  """get_component_header(SettingsData self, unsigned int i) -> ComponentHeader"""
1359  return _IMP_multifit.SettingsData_get_component_header(self, i)
1360 
1361 
1362  def get_component_headers(self):
1363  """get_component_headers(SettingsData self) -> IMP::multifit::ComponentHeaders"""
1364  return _IMP_multifit.SettingsData_get_component_headers(self)
1365 
1366 
1367  def reserve_component_headers(self, sz):
1368  """reserve_component_headers(SettingsData self, unsigned int sz)"""
1369  return _IMP_multifit.SettingsData_reserve_component_headers(self, sz)
1370 
1371 
1372  def __str__(self):
1373  """__str__(SettingsData self) -> std::string"""
1374  return _IMP_multifit.SettingsData___str__(self)
1375 
1376 
1377  def __repr__(self):
1378  """__repr__(SettingsData self) -> std::string"""
1379  return _IMP_multifit.SettingsData___repr__(self)
1380 
1381  def get_from(o):
1382  return _object_cast_to_SettingsData(o)
1383  get_from = staticmethod(get_from)
1384 
1385 SettingsData_swigregister = _IMP_multifit.SettingsData_swigregister
1386 SettingsData_swigregister(SettingsData)
1387 
1388 def SettingsData_show_component_header_line(*args):
1389  """
1390  show_component_header_line(_ostream out)
1391  SettingsData_show_component_header_line()
1392  """
1393  return _IMP_multifit.SettingsData_show_component_header_line(*args)
1394 
1395 def SettingsData_get_component_header_line():
1396  """SettingsData_get_component_header_line() -> std::string"""
1397  return _IMP_multifit.SettingsData_get_component_header_line()
1398 
1399 def SettingsData_show_density_header_line(*args):
1400  """
1401  show_density_header_line(_ostream out)
1402  SettingsData_show_density_header_line()
1403  """
1404  return _IMP_multifit.SettingsData_show_density_header_line(*args)
1405 
1406 def SettingsData_get_density_header_line():
1407  """SettingsData_get_density_header_line() -> std::string"""
1408  return _IMP_multifit.SettingsData_get_density_header_line()
1409 
1410 
1411 def read_settings(filename):
1412  """read_settings(char const * filename) -> SettingsData"""
1413  return _IMP_multifit.read_settings(filename)
1414 
1415 def write_settings(filename, sd):
1416  """write_settings(char const * filename, SettingsData sd)"""
1417  return _IMP_multifit.write_settings(filename, sd)
1418 class WeightedExcludedVolumeRestraint(IMP.Restraint):
1419  """Proxy of C++ IMP::multifit::WeightedExcludedVolumeRestraint class"""
1420  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1421 
1422  def __init__(self, *args):
1423  """
1424  __init__(IMP::multifit::WeightedExcludedVolumeRestraint self, IMP::core::RigidBodies rbs, Refiner refiner, FloatKey weight_key) -> WeightedExcludedVolumeRestraint
1425  __init__(IMP::multifit::WeightedExcludedVolumeRestraint self, IMP::core::RigidBodies rbs, Refiner refiner) -> WeightedExcludedVolumeRestraint
1426  """
1427  this = _IMP_multifit.new_WeightedExcludedVolumeRestraint(*args)
1428  try:
1429  self.this.append(this)
1430  except:
1431  self.this = this
1432 
1433  def do_get_inputs(self):
1434  """do_get_inputs(WeightedExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
1435  return _IMP_multifit.WeightedExcludedVolumeRestraint_do_get_inputs(self)
1436 
1437 
1438  def get_version_info(self):
1439  """get_version_info(WeightedExcludedVolumeRestraint self) -> VersionInfo"""
1440  return _IMP_multifit.WeightedExcludedVolumeRestraint_get_version_info(self)
1441 
1442 
1443  def __str__(self):
1444  """__str__(WeightedExcludedVolumeRestraint self) -> std::string"""
1445  return _IMP_multifit.WeightedExcludedVolumeRestraint___str__(self)
1446 
1447 
1448  def __repr__(self):
1449  """__repr__(WeightedExcludedVolumeRestraint self) -> std::string"""
1450  return _IMP_multifit.WeightedExcludedVolumeRestraint___repr__(self)
1451 
1452  def get_from(o):
1453  return _object_cast_to_WeightedExcludedVolumeRestraint(o)
1454  get_from = staticmethod(get_from)
1455 
1456 WeightedExcludedVolumeRestraint_swigregister = _IMP_multifit.WeightedExcludedVolumeRestraint_swigregister
1457 WeightedExcludedVolumeRestraint_swigregister(WeightedExcludedVolumeRestraint)
1458 
1459 class FFTFittingOutput(IMP.Object):
1460  """Proxy of C++ IMP::multifit::FFTFittingOutput class"""
1461  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1462 
1463  def __init__(self):
1464  """__init__(IMP::multifit::FFTFittingOutput self) -> FFTFittingOutput"""
1465  this = _IMP_multifit.new_FFTFittingOutput()
1466  try:
1467  self.this.append(this)
1468  except:
1469  self.this = this
1470 
1471  def get_version_info(self):
1472  """get_version_info(FFTFittingOutput self) -> VersionInfo"""
1473  return _IMP_multifit.FFTFittingOutput_get_version_info(self)
1474 
1475  best_fits_ = _swig_property(_IMP_multifit.FFTFittingOutput_best_fits__get, _IMP_multifit.FFTFittingOutput_best_fits__set)
1476  best_trans_per_rot_ = _swig_property(_IMP_multifit.FFTFittingOutput_best_trans_per_rot__get, _IMP_multifit.FFTFittingOutput_best_trans_per_rot__set)
1477 
1478  def __str__(self):
1479  """__str__(FFTFittingOutput self) -> std::string"""
1480  return _IMP_multifit.FFTFittingOutput___str__(self)
1481 
1482 
1483  def __repr__(self):
1484  """__repr__(FFTFittingOutput self) -> std::string"""
1485  return _IMP_multifit.FFTFittingOutput___repr__(self)
1486 
1487  def get_from(o):
1488  return _object_cast_to_FFTFittingOutput(o)
1489  get_from = staticmethod(get_from)
1490 
1491 FFTFittingOutput_swigregister = _IMP_multifit.FFTFittingOutput_swigregister
1492 FFTFittingOutput_swigregister(FFTFittingOutput)
1493 
1494 class FFTFitting(IMP.Object):
1495  """Proxy of C++ IMP::multifit::FFTFitting class"""
1496  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1497 
1498  def get_version_info(self):
1499  """get_version_info(FFTFitting self) -> VersionInfo"""
1500  return _IMP_multifit.FFTFitting_get_version_info(self)
1501 
1502 
1503  def __init__(self):
1504  """__init__(IMP::multifit::FFTFitting self) -> FFTFitting"""
1505  this = _IMP_multifit.new_FFTFitting()
1506  try:
1507  self.this.append(this)
1508  except:
1509  self.this = this
1510 
1511  def do_global_fitting(self, *args):
1512  """
1513  do_global_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad, int num_fits_to_report, double max_clustering_translation, double max_clustering_angle, bool cluster_fits=True, int num_angle_per_voxel=1, std::string const & angles_filename) -> FFTFittingOutput
1514  do_global_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad, int num_fits_to_report, double max_clustering_translation, double max_clustering_angle, bool cluster_fits=True, int num_angle_per_voxel=1) -> FFTFittingOutput
1515  do_global_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad, int num_fits_to_report, double max_clustering_translation, double max_clustering_angle, bool cluster_fits=True) -> FFTFittingOutput
1516  do_global_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad, int num_fits_to_report, double max_clustering_translation, double max_clustering_angle) -> FFTFittingOutput
1517  """
1518  return _IMP_multifit.FFTFitting_do_global_fitting(self, *args)
1519 
1520 
1521  def do_local_fitting(self, *args):
1522  """
1523  do_local_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad, double max_angle_sampling_rad, double max_translation, int num_fits_to_report, bool cluster_fits, int num_angle_per_voxel, double max_clustering_translation, double max_clustering_rotation, std::string const & angles_filename) -> FFTFittingOutput
1524  do_local_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad, double max_angle_sampling_rad, double max_translation, int num_fits_to_report, bool cluster_fits, int num_angle_per_voxel, double max_clustering_translation, double max_clustering_rotation) -> FFTFittingOutput
1525  """
1526  return _IMP_multifit.FFTFitting_do_local_fitting(self, *args)
1527 
1528 
1529  def __str__(self):
1530  """__str__(FFTFitting self) -> std::string"""
1531  return _IMP_multifit.FFTFitting___str__(self)
1532 
1533 
1534  def __repr__(self):
1535  """__repr__(FFTFitting self) -> std::string"""
1536  return _IMP_multifit.FFTFitting___repr__(self)
1537 
1538  def get_from(o):
1539  return _object_cast_to_FFTFitting(o)
1540  get_from = staticmethod(get_from)
1541 
1542 FFTFitting_swigregister = _IMP_multifit.FFTFitting_swigregister
1543 FFTFitting_swigregister(FFTFitting)
1544 
1545 
1546 def fft_based_rigid_fitting(mol2fit, dmap, density_threshold, angle_sampling_interval_rad):
1547  """fft_based_rigid_fitting(Hierarchy mol2fit, DensityMap dmap, double density_threshold, double angle_sampling_interval_rad) -> IMP::multifit::FittingSolutionRecords"""
1548  return _IMP_multifit.fft_based_rigid_fitting(mol2fit, dmap, density_threshold, angle_sampling_interval_rad)
1549 
1550 def remove_background(dmap, threshold, edge_threshold):
1551  """remove_background(DensityMap dmap, float threshold, float edge_threshold) -> DensityMap"""
1552  return _IMP_multifit.remove_background(dmap, threshold, edge_threshold)
1553 
1554 def get_connected_components(dmap, threshold, edge_threshold):
1555  """get_connected_components(DensityMap dmap, float threshold, float edge_threshold) -> IMP::IntsList"""
1556  return _IMP_multifit.get_connected_components(dmap, threshold, edge_threshold)
1557 
1558 def get_segmentation(dmap, apix, density_threshold, num_means, pdb_filename, cmm_filename, seg_filename, txt_filename):
1559  """get_segmentation(DensityMap dmap, double apix, double density_threshold, int num_means, std::string const pdb_filename, std::string const cmm_filename, std::string const seg_filename, std::string const txt_filename)"""
1560  return _IMP_multifit.get_segmentation(dmap, apix, density_threshold, num_means, pdb_filename, cmm_filename, seg_filename, txt_filename)
1561 class ComplementarityRestraint(IMP.Restraint):
1562  """Proxy of C++ IMP::multifit::ComplementarityRestraint class"""
1563  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1564 
1565  def __init__(self, *args):
1566  """
1567  __init__(IMP::multifit::ComplementarityRestraint self, IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b, std::string name) -> ComplementarityRestraint
1568  __init__(IMP::multifit::ComplementarityRestraint self, IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> ComplementarityRestraint
1569  """
1570  this = _IMP_multifit.new_ComplementarityRestraint(*args)
1571  try:
1572  self.this.append(this)
1573  except:
1574  self.this = this
1575 
1576  def set_maximum_penetration_score(self, s):
1577  """set_maximum_penetration_score(ComplementarityRestraint self, double s)"""
1578  return _IMP_multifit.ComplementarityRestraint_set_maximum_penetration_score(self, s)
1579 
1580 
1581  def set_maximum_penetration(self, d):
1582  """set_maximum_penetration(ComplementarityRestraint self, double d)"""
1583  return _IMP_multifit.ComplementarityRestraint_set_maximum_penetration(self, d)
1584 
1585 
1586  def set_maximum_separation(self, s):
1587  """set_maximum_separation(ComplementarityRestraint self, double s)"""
1588  return _IMP_multifit.ComplementarityRestraint_set_maximum_separation(self, s)
1589 
1590 
1591  def set_complementarity_thickness(self, th):
1592  """set_complementarity_thickness(ComplementarityRestraint self, double th)"""
1593  return _IMP_multifit.ComplementarityRestraint_set_complementarity_thickness(self, th)
1594 
1595 
1596  def set_complementarity_value(self, th):
1597  """set_complementarity_value(ComplementarityRestraint self, double th)"""
1598  return _IMP_multifit.ComplementarityRestraint_set_complementarity_value(self, th)
1599 
1600 
1601  def set_interior_layer_thickness(self, th):
1602  """set_interior_layer_thickness(ComplementarityRestraint self, double th)"""
1603  return _IMP_multifit.ComplementarityRestraint_set_interior_layer_thickness(self, th)
1604 
1605 
1606  def set_penetration_coefficient(self, pc):
1607  """set_penetration_coefficient(ComplementarityRestraint self, double pc)"""
1608  return _IMP_multifit.ComplementarityRestraint_set_penetration_coefficient(self, pc)
1609 
1610 
1611  def set_complementarity_coefficient(self, cc):
1612  """set_complementarity_coefficient(ComplementarityRestraint self, double cc)"""
1613  return _IMP_multifit.ComplementarityRestraint_set_complementarity_coefficient(self, cc)
1614 
1615 
1616  def set_boundary_coefficient(self, bc):
1617  """set_boundary_coefficient(ComplementarityRestraint self, double bc)"""
1618  return _IMP_multifit.ComplementarityRestraint_set_boundary_coefficient(self, bc)
1619 
1620 
1621  def get_voxel_size(self):
1622  """get_voxel_size(ComplementarityRestraint self) -> float"""
1623  return _IMP_multifit.ComplementarityRestraint_get_voxel_size(self)
1624 
1625 
1626  def do_get_inputs(self):
1627  """do_get_inputs(ComplementarityRestraint self) -> IMP::ModelObjectsTemp"""
1628  return _IMP_multifit.ComplementarityRestraint_do_get_inputs(self)
1629 
1630 
1631  def get_version_info(self):
1632  """get_version_info(ComplementarityRestraint self) -> VersionInfo"""
1633  return _IMP_multifit.ComplementarityRestraint_get_version_info(self)
1634 
1635 
1636  def __str__(self):
1637  """__str__(ComplementarityRestraint self) -> std::string"""
1638  return _IMP_multifit.ComplementarityRestraint___str__(self)
1639 
1640 
1641  def __repr__(self):
1642  """__repr__(ComplementarityRestraint self) -> std::string"""
1643  return _IMP_multifit.ComplementarityRestraint___repr__(self)
1644 
1645  def get_from(o):
1646  return _object_cast_to_ComplementarityRestraint(o)
1647  get_from = staticmethod(get_from)
1648 
1649 ComplementarityRestraint_swigregister = _IMP_multifit.ComplementarityRestraint_swigregister
1650 ComplementarityRestraint_swigregister(ComplementarityRestraint)
1651 
1652 
1653 def read_fitting_solutions(fitting_fn):
1654  """read_fitting_solutions(char const * fitting_fn) -> IMP::multifit::FittingSolutionRecords"""
1655  return _IMP_multifit.read_fitting_solutions(fitting_fn)
1656 
1657 def write_fitting_solutions(fitting_fn, fit_sols, num_sols=-1):
1658  """
1659  write_fitting_solutions(char const * fitting_fn, IMP::multifit::FittingSolutionRecords const & fit_sols, int num_sols=-1)
1660  write_fitting_solutions(char const * fitting_fn, IMP::multifit::FittingSolutionRecords const & fit_sols)
1661  """
1662  return _IMP_multifit.write_fitting_solutions(fitting_fn, fit_sols, num_sols)
1663 
1664 def convert_em_to_multifit_format(em_fits):
1665  """convert_em_to_multifit_format(FittingSolutions em_fits) -> IMP::multifit::FittingSolutionRecords"""
1666  return _IMP_multifit.convert_em_to_multifit_format(em_fits)
1667 
1668 def convert_multifit_to_em_format(multifit_fits):
1669  """convert_multifit_to_em_format(IMP::multifit::FittingSolutionRecords const & multifit_fits) -> FittingSolutions"""
1670  return _IMP_multifit.convert_multifit_to_em_format(multifit_fits)
1671 
1672 def convert_transformations_to_multifit_format(trans):
1673  """convert_transformations_to_multifit_format(IMP::algebra::Transformation3Ds const & trans) -> IMP::multifit::FittingSolutionRecords"""
1674  return _IMP_multifit.convert_transformations_to_multifit_format(trans)
1675 
1676 def convert_multifit_format_to_transformations(recs):
1677  """convert_multifit_format_to_transformations(IMP::multifit::FittingSolutionRecords const & recs) -> IMP::algebra::Transformation3Ds"""
1678  return _IMP_multifit.convert_multifit_format_to_transformations(recs)
1679 
1680 def get_close_to_point(fit_sols, mh, ap, dist):
1681  """get_close_to_point(IMP::multifit::FittingSolutionRecords const & fit_sols, Hierarchy mh, Particle ap, IMP::Float dist) -> IMP::multifit::FittingSolutionRecords"""
1682  return _IMP_multifit.get_close_to_point(fit_sols, mh, ap, dist)
1683 class ProbabilisticAnchorGraph(IMP.Object):
1684  """Proxy of C++ IMP::multifit::ProbabilisticAnchorGraph class"""
1685  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1686 
1687  def __init__(self, anchor_positions):
1688  """__init__(IMP::multifit::ProbabilisticAnchorGraph self, IMP::algebra::Vector3Ds anchor_positions) -> ProbabilisticAnchorGraph"""
1689  this = _IMP_multifit.new_ProbabilisticAnchorGraph(anchor_positions)
1690  try:
1691  self.this.append(this)
1692  except:
1693  self.this = this
1694 
1695  def add_edge(self, i, j):
1696  """add_edge(ProbabilisticAnchorGraph self, int i, int j)"""
1697  return _IMP_multifit.ProbabilisticAnchorGraph_add_edge(self, i, j)
1698 
1699 
1700  def set_particle_probabilities_on_anchors(self, p, sols):
1701  """set_particle_probabilities_on_anchors(ProbabilisticAnchorGraph self, Particle p, IMP::multifit::FittingSolutionRecords sols)"""
1702  return _IMP_multifit.ProbabilisticAnchorGraph_set_particle_probabilities_on_anchors(self, p, sols)
1703 
1704 
1705  def show(self, *args):
1706  """
1707  show(ProbabilisticAnchorGraph self, _ostream out)
1708  show(ProbabilisticAnchorGraph self)
1709  """
1710  return _IMP_multifit.ProbabilisticAnchorGraph_show(self, *args)
1711 
1712 
1713  def get_number_of_anchors(self):
1714  """get_number_of_anchors(ProbabilisticAnchorGraph self) -> unsigned int"""
1715  return _IMP_multifit.ProbabilisticAnchorGraph_get_number_of_anchors(self)
1716 
1717 
1718  def get_number_of_edges(self):
1719  """get_number_of_edges(ProbabilisticAnchorGraph self) -> unsigned int"""
1720  return _IMP_multifit.ProbabilisticAnchorGraph_get_number_of_edges(self)
1721 
1722 
1723  def get_edge_list(self):
1724  """get_edge_list(ProbabilisticAnchorGraph self) -> IMP::IntRanges"""
1725  return _IMP_multifit.ProbabilisticAnchorGraph_get_edge_list(self)
1726 
1727 
1728  def get_anchors(self):
1729  """get_anchors(ProbabilisticAnchorGraph self) -> IMP::algebra::Vector3Ds"""
1730  return _IMP_multifit.ProbabilisticAnchorGraph_get_anchors(self)
1731 
1732 
1733  def get_particle_anchors(self, p, min_prob=0):
1734  """
1735  get_particle_anchors(ProbabilisticAnchorGraph self, Particle p, float min_prob=0) -> IMP::algebra::Vector3Ds
1736  get_particle_anchors(ProbabilisticAnchorGraph self, Particle p) -> IMP::algebra::Vector3Ds
1737  """
1738  return _IMP_multifit.ProbabilisticAnchorGraph_get_particle_anchors(self, p, min_prob)
1739 
1740 
1741  def get_are_probabilities_for_particle_set(self, p):
1742  """get_are_probabilities_for_particle_set(ProbabilisticAnchorGraph self, Particle p) -> bool"""
1743  return _IMP_multifit.ProbabilisticAnchorGraph_get_are_probabilities_for_particle_set(self, p)
1744 
1745 
1746  def get_particle_probabilities(self, p):
1747  """get_particle_probabilities(ProbabilisticAnchorGraph self, Particle p) -> IMP::Floats"""
1748  return _IMP_multifit.ProbabilisticAnchorGraph_get_particle_probabilities(self, p)
1749 
1750 
1751  def get_version_info(self):
1752  """get_version_info(ProbabilisticAnchorGraph self) -> VersionInfo"""
1753  return _IMP_multifit.ProbabilisticAnchorGraph_get_version_info(self)
1754 
1755 
1756  def __str__(self):
1757  """__str__(ProbabilisticAnchorGraph self) -> std::string"""
1758  return _IMP_multifit.ProbabilisticAnchorGraph___str__(self)
1759 
1760 
1761  def __repr__(self):
1762  """__repr__(ProbabilisticAnchorGraph self) -> std::string"""
1763  return _IMP_multifit.ProbabilisticAnchorGraph___repr__(self)
1764 
1765  def get_from(o):
1766  return _object_cast_to_ProbabilisticAnchorGraph(o)
1767  get_from = staticmethod(get_from)
1768 
1769 ProbabilisticAnchorGraph_swigregister = _IMP_multifit.ProbabilisticAnchorGraph_swigregister
1770 ProbabilisticAnchorGraph_swigregister(ProbabilisticAnchorGraph)
1771 
1772 class ProteinRecordData(object):
1773  """Proxy of C++ IMP::multifit::ProteinRecordData class"""
1774  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1775 
1776  def reset_all(self):
1777  """reset_all(ProteinRecordData self)"""
1778  return _IMP_multifit.ProteinRecordData_reset_all(self)
1779 
1780 
1781  def __init__(self, *args):
1782  """
1783  __init__(IMP::multifit::ProteinRecordData self) -> ProteinRecordData
1784  __init__(IMP::multifit::ProteinRecordData self, std::string const & name) -> ProteinRecordData
1785  __init__(IMP::multifit::ProteinRecordData self, std::string const & name, std::string const fn) -> ProteinRecordData
1786  __init__(IMP::multifit::ProteinRecordData self, std::string const & name, int start_res, int end_res, std::string const fn) -> ProteinRecordData
1787  __init__(IMP::multifit::ProteinRecordData self, std::string const & name, int start_res, int end_res, std::string const & fn, std::string const & surface_fn, std::string const & ref_fn) -> ProteinRecordData
1788  """
1789  this = _IMP_multifit.new_ProteinRecordData(*args)
1790  try:
1791  self.this.append(this)
1792  except:
1793  self.this = this
1794 
1795  def show(self, *args):
1796  """
1797  show(ProteinRecordData self, _ostream out)
1798  show(ProteinRecordData self)
1799  """
1800  return _IMP_multifit.ProteinRecordData_show(self, *args)
1801 
1802  name_ = _swig_property(_IMP_multifit.ProteinRecordData_name__get, _IMP_multifit.ProteinRecordData_name__set)
1803  start_res_ = _swig_property(_IMP_multifit.ProteinRecordData_start_res__get, _IMP_multifit.ProteinRecordData_start_res__set)
1804  end_res_ = _swig_property(_IMP_multifit.ProteinRecordData_end_res__get, _IMP_multifit.ProteinRecordData_end_res__set)
1805  filename_ = _swig_property(_IMP_multifit.ProteinRecordData_filename__get, _IMP_multifit.ProteinRecordData_filename__set)
1806  surface_filename_ = _swig_property(_IMP_multifit.ProteinRecordData_surface_filename__get, _IMP_multifit.ProteinRecordData_surface_filename__set)
1807  ref_filename_ = _swig_property(_IMP_multifit.ProteinRecordData_ref_filename__get, _IMP_multifit.ProteinRecordData_ref_filename__set)
1808 
1809  def __str__(self):
1810  """__str__(ProteinRecordData self) -> std::string"""
1811  return _IMP_multifit.ProteinRecordData___str__(self)
1812 
1813 
1814  def __repr__(self):
1815  """__repr__(ProteinRecordData self) -> std::string"""
1816  return _IMP_multifit.ProteinRecordData___repr__(self)
1817 
1818  __swig_destroy__ = _IMP_multifit.delete_ProteinRecordData
1819  __del__ = lambda self: None
1820 ProteinRecordData_swigregister = _IMP_multifit.ProteinRecordData_swigregister
1821 ProteinRecordData_swigregister(ProteinRecordData)
1822 
1823 class ProteomicsData(IMP.Object):
1824  """Proxy of C++ IMP::multifit::ProteomicsData class"""
1825  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1826 
1827  def __init__(self):
1828  """__init__(IMP::multifit::ProteomicsData self) -> ProteomicsData"""
1829  this = _IMP_multifit.new_ProteomicsData()
1830  try:
1831  self.this.append(this)
1832  except:
1833  self.this = this
1834 
1835  def add_protein(self, *args):
1836  """
1837  add_protein(ProteomicsData self, std::string name, int start_res, int end_res, std::string const & mol_fn, std::string const & surface_fn, std::string const & ref_fn) -> int
1838  add_protein(ProteomicsData self, ProteinRecordData rec) -> int
1839  """
1840  return _IMP_multifit.ProteomicsData_add_protein(self, *args)
1841 
1842 
1843  def find(self, name):
1844  """find(ProteomicsData self, std::string const & name) -> int"""
1845  return _IMP_multifit.ProteomicsData_find(self, name)
1846 
1847 
1848  def add_interaction(self, ii, used_for_filter, linker_len):
1849  """add_interaction(ProteomicsData self, IMP::Ints const & ii, bool used_for_filter, float linker_len)"""
1850  return _IMP_multifit.ProteomicsData_add_interaction(self, ii, used_for_filter, linker_len)
1851 
1852 
1853  def add_cross_link_interaction(self, prot1, res1, prot2, res2, used_in_filter, linker_len):
1854  """add_cross_link_interaction(ProteomicsData self, IMP::Int prot1, IMP::Int res1, IMP::Int prot2, IMP::Int res2, bool used_in_filter, IMP::Float linker_len)"""
1855  return _IMP_multifit.ProteomicsData_add_cross_link_interaction(self, prot1, res1, prot2, res2, used_in_filter, linker_len)
1856 
1857 
1858  def add_ev_pair(self, prot1, prot2):
1859  """add_ev_pair(ProteomicsData self, IMP::Int prot1, IMP::Int prot2)"""
1860  return _IMP_multifit.ProteomicsData_add_ev_pair(self, prot1, prot2)
1861 
1862 
1863  def get_number_of_proteins(self):
1864  """get_number_of_proteins(ProteomicsData self) -> int"""
1865  return _IMP_multifit.ProteomicsData_get_number_of_proteins(self)
1866 
1867 
1868  def get_number_of_interactions(self):
1869  """get_number_of_interactions(ProteomicsData self) -> int"""
1870  return _IMP_multifit.ProteomicsData_get_number_of_interactions(self)
1871 
1872 
1873  def get_interaction(self, interaction_ind):
1874  """get_interaction(ProteomicsData self, int interaction_ind) -> IMP::Ints"""
1875  return _IMP_multifit.ProteomicsData_get_interaction(self, interaction_ind)
1876 
1877 
1878  def get_interaction_part_of_filter(self, interaction_ind):
1879  """get_interaction_part_of_filter(ProteomicsData self, int interaction_ind) -> bool"""
1880  return _IMP_multifit.ProteomicsData_get_interaction_part_of_filter(self, interaction_ind)
1881 
1882 
1883  def get_interaction_linker_length(self, interaction_ind):
1884  """get_interaction_linker_length(ProteomicsData self, int interaction_ind) -> int"""
1885  return _IMP_multifit.ProteomicsData_get_interaction_linker_length(self, interaction_ind)
1886 
1887 
1888  def get_number_of_cross_links(self):
1889  """get_number_of_cross_links(ProteomicsData self) -> int"""
1890  return _IMP_multifit.ProteomicsData_get_number_of_cross_links(self)
1891 
1892 
1893  def get_cross_link(self, xlink_ind):
1894  """get_cross_link(ProteomicsData self, int xlink_ind) -> std::pair< IMP::IntPair,IMP::IntPair >"""
1895  return _IMP_multifit.ProteomicsData_get_cross_link(self, xlink_ind)
1896 
1897 
1898  def get_cross_link_part_of_filter(self, xlink_ind):
1899  """get_cross_link_part_of_filter(ProteomicsData self, int xlink_ind) -> bool"""
1900  return _IMP_multifit.ProteomicsData_get_cross_link_part_of_filter(self, xlink_ind)
1901 
1902 
1903  def get_cross_link_length(self, xlink_ind):
1904  """get_cross_link_length(ProteomicsData self, int xlink_ind) -> float"""
1905  return _IMP_multifit.ProteomicsData_get_cross_link_length(self, xlink_ind)
1906 
1907 
1908  def get_number_of_ev_pairs(self):
1909  """get_number_of_ev_pairs(ProteomicsData self) -> int"""
1910  return _IMP_multifit.ProteomicsData_get_number_of_ev_pairs(self)
1911 
1912 
1913  def get_ev_pair(self, ev_ind):
1914  """get_ev_pair(ProteomicsData self, int ev_ind) -> IMP::IntPair"""
1915  return _IMP_multifit.ProteomicsData_get_ev_pair(self, ev_ind)
1916 
1917 
1918  def get_protein_name(self, protein_ind):
1919  """get_protein_name(ProteomicsData self, int protein_ind) -> std::string"""
1920  return _IMP_multifit.ProteomicsData_get_protein_name(self, protein_ind)
1921 
1922 
1923  def get_end_res(self, protein_ind):
1924  """get_end_res(ProteomicsData self, int protein_ind) -> int"""
1925  return _IMP_multifit.ProteomicsData_get_end_res(self, protein_ind)
1926 
1927 
1928  def get_start_res(self, protein_ind):
1929  """get_start_res(ProteomicsData self, int protein_ind) -> int"""
1930  return _IMP_multifit.ProteomicsData_get_start_res(self, protein_ind)
1931 
1932 
1933  def get_protein_filename(self, protein_ind):
1934  """get_protein_filename(ProteomicsData self, int protein_ind) -> std::string"""
1935  return _IMP_multifit.ProteomicsData_get_protein_filename(self, protein_ind)
1936 
1937 
1938  def get_reference_filename(self, protein_ind):
1939  """get_reference_filename(ProteomicsData self, int protein_ind) -> std::string"""
1940  return _IMP_multifit.ProteomicsData_get_reference_filename(self, protein_ind)
1941 
1942 
1943  def get_surface_filename(self, protein_ind):
1944  """get_surface_filename(ProteomicsData self, int protein_ind) -> std::string"""
1945  return _IMP_multifit.ProteomicsData_get_surface_filename(self, protein_ind)
1946 
1947 
1948  def get_protein_data(self, protein_ind):
1949  """get_protein_data(ProteomicsData self, int protein_ind) -> ProteinRecordData"""
1950  return _IMP_multifit.ProteomicsData_get_protein_data(self, protein_ind)
1951 
1952 
1953  def get_version_info(self):
1954  """get_version_info(ProteomicsData self) -> VersionInfo"""
1955  return _IMP_multifit.ProteomicsData_get_version_info(self)
1956 
1957 
1958  def get_num_allowed_violated_interactions(self):
1959  """get_num_allowed_violated_interactions(ProteomicsData self) -> int"""
1960  return _IMP_multifit.ProteomicsData_get_num_allowed_violated_interactions(self)
1961 
1962 
1963  def set_num_allowed_violated_interactions(self, n):
1964  """set_num_allowed_violated_interactions(ProteomicsData self, int n)"""
1965  return _IMP_multifit.ProteomicsData_set_num_allowed_violated_interactions(self, n)
1966 
1967 
1968  def get_num_allowed_violated_cross_links(self):
1969  """get_num_allowed_violated_cross_links(ProteomicsData self) -> int"""
1970  return _IMP_multifit.ProteomicsData_get_num_allowed_violated_cross_links(self)
1971 
1972 
1973  def set_num_allowed_violated_cross_links(self, n):
1974  """set_num_allowed_violated_cross_links(ProteomicsData self, int n)"""
1975  return _IMP_multifit.ProteomicsData_set_num_allowed_violated_cross_links(self, n)
1976 
1977 
1978  def get_num_allowed_violated_ev(self):
1979  """get_num_allowed_violated_ev(ProteomicsData self) -> int"""
1980  return _IMP_multifit.ProteomicsData_get_num_allowed_violated_ev(self)
1981 
1982 
1983  def set_num_allowed_violated_ev(self, n):
1984  """set_num_allowed_violated_ev(ProteomicsData self, int n)"""
1985  return _IMP_multifit.ProteomicsData_set_num_allowed_violated_ev(self, n)
1986 
1987 
1988  def __str__(self):
1989  """__str__(ProteomicsData self) -> std::string"""
1990  return _IMP_multifit.ProteomicsData___str__(self)
1991 
1992 
1993  def __repr__(self):
1994  """__repr__(ProteomicsData self) -> std::string"""
1995  return _IMP_multifit.ProteomicsData___repr__(self)
1996 
1997  def get_from(o):
1998  return _object_cast_to_ProteomicsData(o)
1999  get_from = staticmethod(get_from)
2000 
2001 ProteomicsData_swigregister = _IMP_multifit.ProteomicsData_swigregister
2002 ProteomicsData_swigregister(ProteomicsData)
2003 
2004 
2005 def read_proteomics_data(proteomics_fn):
2006  """read_proteomics_data(char const * proteomics_fn) -> ProteomicsData"""
2007  return _IMP_multifit.read_proteomics_data(proteomics_fn)
2008 
2009 def get_partial_proteomics_data(pd, prot_names):
2010  """get_partial_proteomics_data(ProteomicsData pd, IMP::Strings const & prot_names) -> ProteomicsData"""
2011  return _IMP_multifit.get_partial_proteomics_data(pd, prot_names)
2012 class AnchorsData(object):
2013  """Proxy of C++ IMP::multifit::AnchorsData class"""
2014  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2015 
2016  def __init__(self, *args):
2017  """
2018  __init__(IMP::multifit::AnchorsData self) -> AnchorsData
2019  __init__(IMP::multifit::AnchorsData self, IMP::algebra::Vector3Ds points, IMP::IntPairs edges) -> AnchorsData
2020  """
2021  this = _IMP_multifit.new_AnchorsData(*args)
2022  try:
2023  self.this.append(this)
2024  except:
2025  self.this = this
2026 
2027  def remove_edges_for_node(self, node_ind):
2028  """remove_edges_for_node(AnchorsData self, int node_ind)"""
2029  return _IMP_multifit.AnchorsData_remove_edges_for_node(self, node_ind)
2030 
2031 
2032  def get_number_of_points(self):
2033  """get_number_of_points(AnchorsData self) -> int"""
2034  return _IMP_multifit.AnchorsData_get_number_of_points(self)
2035 
2036 
2037  def get_number_of_edges(self):
2038  """get_number_of_edges(AnchorsData self) -> int"""
2039  return _IMP_multifit.AnchorsData_get_number_of_edges(self)
2040 
2041 
2042  def get_is_point_considered(self, node_ind):
2043  """get_is_point_considered(AnchorsData self, int node_ind) -> bool"""
2044  return _IMP_multifit.AnchorsData_get_is_point_considered(self, node_ind)
2045 
2046 
2047  def show(self, *args):
2048  """
2049  show(AnchorsData self, _ostream out)
2050  show(AnchorsData self)
2051  """
2052  return _IMP_multifit.AnchorsData_show(self, *args)
2053 
2054 
2055  def get_secondary_structure_is_set(self):
2056  """get_secondary_structure_is_set(AnchorsData self) -> bool"""
2057  return _IMP_multifit.AnchorsData_get_secondary_structure_is_set(self)
2058 
2059 
2060  def setup_secondary_structure(self, mdl):
2061  """setup_secondary_structure(AnchorsData self, Model mdl)"""
2062  return _IMP_multifit.AnchorsData_setup_secondary_structure(self, mdl)
2063 
2064 
2065  def set_secondary_structure_probabilities(self, *args):
2066  """
2067  set_secondary_structure_probabilities(AnchorsData self, IMP::Particles const & ssres_ps, IMP::Ints const & indices)
2068  set_secondary_structure_probabilities(AnchorsData self, IMP::Particles const & ssres_ps)
2069  """
2070  return _IMP_multifit.AnchorsData_set_secondary_structure_probabilities(self, *args)
2071 
2072 
2073  def get_secondary_structure_particles(self):
2074  """get_secondary_structure_particles(AnchorsData self) -> IMP::Particles"""
2075  return _IMP_multifit.AnchorsData_get_secondary_structure_particles(self)
2076 
2077  points_ = _swig_property(_IMP_multifit.AnchorsData_points__get, _IMP_multifit.AnchorsData_points__set)
2078  consider_point_ = _swig_property(_IMP_multifit.AnchorsData_consider_point__get, _IMP_multifit.AnchorsData_consider_point__set)
2079  edges_ = _swig_property(_IMP_multifit.AnchorsData_edges__get, _IMP_multifit.AnchorsData_edges__set)
2080 
2081  def __str__(self):
2082  """__str__(AnchorsData self) -> std::string"""
2083  return _IMP_multifit.AnchorsData___str__(self)
2084 
2085 
2086  def __repr__(self):
2087  """__repr__(AnchorsData self) -> std::string"""
2088  return _IMP_multifit.AnchorsData___repr__(self)
2089 
2090  __swig_destroy__ = _IMP_multifit.delete_AnchorsData
2091  __del__ = lambda self: None
2092 AnchorsData_swigregister = _IMP_multifit.AnchorsData_swigregister
2093 AnchorsData_swigregister(AnchorsData)
2094 
2095 
2096 def read_anchors_data(txt_filename):
2097  """read_anchors_data(char const * txt_filename) -> AnchorsData"""
2098  return _IMP_multifit.read_anchors_data(txt_filename)
2099 
2100 def write_txt(txt_filename, ad):
2101  """write_txt(std::string const & txt_filename, AnchorsData ad)"""
2102  return _IMP_multifit.write_txt(txt_filename, ad)
2103 
2104 def write_cmm(cmm_filename, marker_set_name, dpa):
2105  """write_cmm(std::string const & cmm_filename, std::string const & marker_set_name, AnchorsData dpa)"""
2106  return _IMP_multifit.write_cmm(cmm_filename, marker_set_name, dpa)
2107 
2108 def create_coarse_molecule_from_molecule(mh, num_beads, mdl, bead_radius, add_conn_restraint=False):
2109  """
2110  create_coarse_molecule_from_molecule(Hierarchy mh, int num_beads, Model mdl, float bead_radius, bool add_conn_restraint=False) -> Hierarchy
2111  create_coarse_molecule_from_molecule(Hierarchy mh, int num_beads, Model mdl, float bead_radius) -> Hierarchy
2112  """
2113  return _IMP_multifit.create_coarse_molecule_from_molecule(mh, num_beads, mdl, bead_radius, add_conn_restraint)
2114 
2115 def create_coarse_molecules_from_molecules(mhs, frag_len, mdl, bead_radius, add_conn_restraint=False):
2116  """
2117  create_coarse_molecules_from_molecules(IMP::atom::Hierarchies const & mhs, int frag_len, Model mdl, float bead_radius, bool add_conn_restraint=False) -> IMP::atom::Hierarchies
2118  create_coarse_molecules_from_molecules(IMP::atom::Hierarchies const & mhs, int frag_len, Model mdl, float bead_radius) -> IMP::atom::Hierarchies
2119  """
2120  return _IMP_multifit.create_coarse_molecules_from_molecules(mhs, frag_len, mdl, bead_radius, add_conn_restraint)
2121 
2122 def create_coarse_molecule_from_density(dmap, dens_threshold, num_beads, mdl, bead_radius):
2123  """create_coarse_molecule_from_density(DensityMap dmap, float dens_threshold, int num_beads, Model mdl, float bead_radius) -> Hierarchy"""
2124  return _IMP_multifit.create_coarse_molecule_from_density(dmap, dens_threshold, num_beads, mdl, bead_radius)
2125 
2126 def create_hit_map(rb, rb_ref, sols, damp):
2127  """create_hit_map(RigidBody rb, Refiner rb_ref, IMP::multifit::FittingSolutionRecords const & sols, DensityMap damp) -> DensityMap"""
2128  return _IMP_multifit.create_hit_map(rb, rb_ref, sols, damp)
2129 
2130 def get_points_close_to_molecule(mh, points, max_dist):
2131  """get_points_close_to_molecule(Hierarchy mh, IMP::algebra::Vector3Ds const points, IMP::Float max_dist) -> IMP::algebra::Vector3Ds"""
2132  return _IMP_multifit.get_points_close_to_molecule(mh, points, max_dist)
2133 
2134 def get_points_far_from_molecule(mh, points, max_dist):
2135  """get_points_far_from_molecule(Hierarchy mh, IMP::algebra::Vector3Ds const points, IMP::Float max_dist) -> IMP::algebra::Vector3Ds"""
2136  return _IMP_multifit.get_points_far_from_molecule(mh, points, max_dist)
2137 class RadiusOfGyrationRestraint(IMP.Restraint):
2138  """Proxy of C++ IMP::multifit::RadiusOfGyrationRestraint class"""
2139  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2140 
2141  def __init__(self, ps, num_residues, scale=1.):
2142  """
2143  __init__(IMP::multifit::RadiusOfGyrationRestraint self, IMP::Particles ps, int num_residues, IMP::Float scale=1.) -> RadiusOfGyrationRestraint
2144  __init__(IMP::multifit::RadiusOfGyrationRestraint self, IMP::Particles ps, int num_residues) -> RadiusOfGyrationRestraint
2145  """
2146  this = _IMP_multifit.new_RadiusOfGyrationRestraint(ps, num_residues, scale)
2147  try:
2148  self.this.append(this)
2149  except:
2150  self.this = this
2151 
2152  def do_get_inputs(self):
2153  """do_get_inputs(RadiusOfGyrationRestraint self) -> IMP::ModelObjectsTemp"""
2154  return _IMP_multifit.RadiusOfGyrationRestraint_do_get_inputs(self)
2155 
2156 
2157  def get_version_info(self):
2158  """get_version_info(RadiusOfGyrationRestraint self) -> VersionInfo"""
2159  return _IMP_multifit.RadiusOfGyrationRestraint_get_version_info(self)
2160 
2161 
2162  def set_radius_of_gyration(self, r):
2163  """set_radius_of_gyration(RadiusOfGyrationRestraint self, IMP::Float r)"""
2164  return _IMP_multifit.RadiusOfGyrationRestraint_set_radius_of_gyration(self, r)
2165 
2166 
2167  def get_radius_of_gyration(self):
2168  """get_radius_of_gyration(RadiusOfGyrationRestraint self) -> IMP::Float"""
2169  return _IMP_multifit.RadiusOfGyrationRestraint_get_radius_of_gyration(self)
2170 
2171 
2172  def __str__(self):
2173  """__str__(RadiusOfGyrationRestraint self) -> std::string"""
2174  return _IMP_multifit.RadiusOfGyrationRestraint___str__(self)
2175 
2176 
2177  def __repr__(self):
2178  """__repr__(RadiusOfGyrationRestraint self) -> std::string"""
2179  return _IMP_multifit.RadiusOfGyrationRestraint___repr__(self)
2180 
2181  def get_from(o):
2182  return _object_cast_to_RadiusOfGyrationRestraint(o)
2183  get_from = staticmethod(get_from)
2184 
2185 RadiusOfGyrationRestraint_swigregister = _IMP_multifit.RadiusOfGyrationRestraint_swigregister
2186 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
2187 
2188 
2189 def get_approximated_radius_of_gyration(len):
2190  """get_approximated_radius_of_gyration(int len) -> float"""
2191  return _IMP_multifit.get_approximated_radius_of_gyration(len)
2192 
2193 def get_actual_radius_of_gyration(ps):
2194  """get_actual_radius_of_gyration(IMP::ParticlesTemp ps) -> float"""
2195  return _IMP_multifit.get_actual_radius_of_gyration(ps)
2196 
2197 def get_approximated_radius(len):
2198  """get_approximated_radius(int len) -> float"""
2199  return _IMP_multifit.get_approximated_radius(len)
2200 class ProteinsAnchorsSamplingSpace(object):
2201  """Proxy of C++ IMP::multifit::ProteinsAnchorsSamplingSpace class"""
2202  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2203 
2204  def __init__(self, prots=None):
2205  """
2206  __init__(IMP::multifit::ProteinsAnchorsSamplingSpace self, ProteomicsData prots=None) -> ProteinsAnchorsSamplingSpace
2207  __init__(IMP::multifit::ProteinsAnchorsSamplingSpace self) -> ProteinsAnchorsSamplingSpace
2208  """
2209  this = _IMP_multifit.new_ProteinsAnchorsSamplingSpace(prots)
2210  try:
2211  self.this.append(this)
2212  except:
2213  self.this = this
2214 
2215  def set_anchors(self, data):
2216  """set_anchors(ProteinsAnchorsSamplingSpace self, AnchorsData data)"""
2217  return _IMP_multifit.ProteinsAnchorsSamplingSpace_set_anchors(self, data)
2218 
2219 
2220  def get_anchors(self):
2221  """get_anchors(ProteinsAnchorsSamplingSpace self) -> AnchorsData"""
2222  return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_anchors(self)
2223 
2224 
2225  def get_anchors_filename(self):
2226  """get_anchors_filename(ProteinsAnchorsSamplingSpace self) -> std::string"""
2227  return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_anchors_filename(self)
2228 
2229 
2230  def set_anchors_filename(self, fn):
2231  """set_anchors_filename(ProteinsAnchorsSamplingSpace self, std::string const & fn)"""
2232  return _IMP_multifit.ProteinsAnchorsSamplingSpace_set_anchors_filename(self, fn)
2233 
2234 
2235  def get_proteomics_data(self):
2236  """get_proteomics_data(ProteinsAnchorsSamplingSpace self) -> ProteomicsData"""
2237  return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_proteomics_data(self)
2238 
2239 
2240  def add_protein(self, rec):
2241  """add_protein(ProteinsAnchorsSamplingSpace self, ProteinRecordData rec)"""
2242  return _IMP_multifit.ProteinsAnchorsSamplingSpace_add_protein(self, rec)
2243 
2244 
2245  def get_paths_for_protein(self, prot_name):
2246  """get_paths_for_protein(ProteinsAnchorsSamplingSpace self, std::string const & prot_name) -> IMP::IntsList"""
2247  return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_paths_for_protein(self, prot_name)
2248 
2249 
2250  def set_paths_filename_for_protein(self, prot_name, paths_filename):
2251  """set_paths_filename_for_protein(ProteinsAnchorsSamplingSpace self, std::string const & prot_name, std::string const & paths_filename)"""
2252  return _IMP_multifit.ProteinsAnchorsSamplingSpace_set_paths_filename_for_protein(self, prot_name, paths_filename)
2253 
2254 
2255  def get_paths_filename_for_protein(self, prot_name):
2256  """get_paths_filename_for_protein(ProteinsAnchorsSamplingSpace self, std::string const & prot_name) -> std::string"""
2257  return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_paths_filename_for_protein(self, prot_name)
2258 
2259 
2260  def set_paths_for_protein(self, prot_name, paths):
2261  """set_paths_for_protein(ProteinsAnchorsSamplingSpace self, std::string const & prot_name, IMP::IntsList paths)"""
2262  return _IMP_multifit.ProteinsAnchorsSamplingSpace_set_paths_for_protein(self, prot_name, paths)
2263 
2264 
2265  def show(self, *args):
2266  """
2267  show(ProteinsAnchorsSamplingSpace self, _ostream s)
2268  show(ProteinsAnchorsSamplingSpace self)
2269  """
2270  return _IMP_multifit.ProteinsAnchorsSamplingSpace_show(self, *args)
2271 
2272 
2273  def __str__(self):
2274  """__str__(ProteinsAnchorsSamplingSpace self) -> std::string"""
2275  return _IMP_multifit.ProteinsAnchorsSamplingSpace___str__(self)
2276 
2277 
2278  def __repr__(self):
2279  """__repr__(ProteinsAnchorsSamplingSpace self) -> std::string"""
2280  return _IMP_multifit.ProteinsAnchorsSamplingSpace___repr__(self)
2281 
2282  __swig_destroy__ = _IMP_multifit.delete_ProteinsAnchorsSamplingSpace
2283  __del__ = lambda self: None
2284 ProteinsAnchorsSamplingSpace_swigregister = _IMP_multifit.ProteinsAnchorsSamplingSpace_swigregister
2285 ProteinsAnchorsSamplingSpace_swigregister(ProteinsAnchorsSamplingSpace)
2286 
2287 
2288 def read_protein_anchors_mapping(*args):
2289  """
2290  read_protein_anchors_mapping(ProteomicsData prots, std::string const & anchors_prot_map_fn, int max_paths) -> ProteinsAnchorsSamplingSpace
2291  read_protein_anchors_mapping(ProteomicsData prots, std::string const & anchors_prot_map_fn) -> ProteinsAnchorsSamplingSpace
2292  """
2293  return _IMP_multifit.read_protein_anchors_mapping(*args)
2294 
2295 def write_protein_anchors_mapping(*args):
2296  """
2297  write_protein_anchors_mapping(std::string const & anchors_prot_map_fn, std::string const & anchors_fn, std::vector< std::pair< IMP::String,IMP::String >,std::allocator< std::pair< IMP::String,IMP::String > > > const & prot_paths)
2298  write_protein_anchors_mapping(std::string const & anchors_prot_map_fn, ProteinsAnchorsSamplingSpace pa, IMP::Strings const & prot_names)
2299  """
2300  return _IMP_multifit.write_protein_anchors_mapping(*args)
2301 
2302 def get_part_of_sampling_space(prots_ss, prot_names):
2303  """get_part_of_sampling_space(ProteinsAnchorsSamplingSpace prots_ss, IMP::Strings const & prot_names) -> ProteinsAnchorsSamplingSpace"""
2304  return _IMP_multifit.get_part_of_sampling_space(prots_ss, prot_names)
2305 
2306 def get_partial_assembly_setting_data(prots_sd, prot_names):
2307  """get_partial_assembly_setting_data(SettingsData prots_sd, IMP::Strings const & prot_names) -> SettingsData"""
2308  return _IMP_multifit.get_partial_assembly_setting_data(prots_sd, prot_names)
2309 
2310 def read_paths(*args):
2311  """
2312  read_paths(char const * txt_filename, int max_paths) -> IMP::IntsList
2313  read_paths(char const * txt_filename) -> IMP::IntsList
2314  """
2315  return _IMP_multifit.read_paths(*args)
2316 
2317 def write_paths(paths, txt_filename):
2318  """write_paths(IMP::IntsList const & paths, std::string const & txt_filename)"""
2319  return _IMP_multifit.write_paths(paths, txt_filename)
2320 
2321 def molecule2anchors(mh, k):
2322  """molecule2anchors(Hierarchy mh, int k) -> AnchorsData"""
2323  return _IMP_multifit.molecule2anchors(mh, k)
2324 
2325 def get_anchors_for_density(dmap, number_of_means, density_threshold, pdb_filename, cmm_filename, seg_filename, txt_filename):
2326  """get_anchors_for_density(DensityMap dmap, int number_of_means, float density_threshold, std::string pdb_filename, std::string cmm_filename, std::string seg_filename, std::string txt_filename)"""
2327  return _IMP_multifit.get_anchors_for_density(dmap, number_of_means, density_threshold, pdb_filename, cmm_filename, seg_filename, txt_filename)
2328 
2329 def get_anchor_indices_matching_secondary_structure(ad, ssrs, max_rmsd=0.7):
2330  """
2331  get_anchor_indices_matching_secondary_structure(AnchorsData ad, IMP::atom::SecondaryStructureResidues const & ssrs, IMP::Float max_rmsd=0.7) -> IMP::IntsList
2332  get_anchor_indices_matching_secondary_structure(AnchorsData ad, IMP::atom::SecondaryStructureResidues const & ssrs) -> IMP::IntsList
2333  """
2334  return _IMP_multifit.get_anchor_indices_matching_secondary_structure(ad, ssrs, max_rmsd)
2335 class DominoParams(object):
2336  """Proxy of C++ IMP::multifit::DominoParams class"""
2337  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2338 
2339  def __init__(self):
2340  """__init__(IMP::multifit::DominoParams self) -> DominoParams"""
2341  this = _IMP_multifit.new_DominoParams()
2342  try:
2343  self.this.append(this)
2344  except:
2345  self.this = this
2346 
2347  def add(self, pt):
2348  """add(DominoParams self, boost::property_tree::ptree const & pt)"""
2349  return _IMP_multifit.DominoParams_add(self, pt)
2350 
2351 
2352  def show(self, *args):
2353  """
2354  show(DominoParams self, _ostream s)
2355  show(DominoParams self)
2356  """
2357  return _IMP_multifit.DominoParams_show(self, *args)
2358 
2359  max_value_threshold_ = _swig_property(_IMP_multifit.DominoParams_max_value_threshold__get, _IMP_multifit.DominoParams_max_value_threshold__set)
2360  max_num_states_for_subset_ = _swig_property(_IMP_multifit.DominoParams_max_num_states_for_subset__get, _IMP_multifit.DominoParams_max_num_states_for_subset__set)
2361  max_anchor_penetration_ = _swig_property(_IMP_multifit.DominoParams_max_anchor_penetration__get, _IMP_multifit.DominoParams_max_anchor_penetration__set)
2362  heap_size_ = _swig_property(_IMP_multifit.DominoParams_heap_size__get, _IMP_multifit.DominoParams_heap_size__set)
2363  cache_size_ = _swig_property(_IMP_multifit.DominoParams_cache_size__get, _IMP_multifit.DominoParams_cache_size__set)
2364 
2365  def __str__(self):
2366  """__str__(DominoParams self) -> std::string"""
2367  return _IMP_multifit.DominoParams___str__(self)
2368 
2369 
2370  def __repr__(self):
2371  """__repr__(DominoParams self) -> std::string"""
2372  return _IMP_multifit.DominoParams___repr__(self)
2373 
2374  __swig_destroy__ = _IMP_multifit.delete_DominoParams
2375  __del__ = lambda self: None
2376 DominoParams_swigregister = _IMP_multifit.DominoParams_swigregister
2377 DominoParams_swigregister(DominoParams)
2378 
2379 class XlinkParams(object):
2380  """Proxy of C++ IMP::multifit::XlinkParams class"""
2381  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2382 
2383  def __init__(self):
2384  """__init__(IMP::multifit::XlinkParams self) -> XlinkParams"""
2385  this = _IMP_multifit.new_XlinkParams()
2386  try:
2387  self.this.append(this)
2388  except:
2389  self.this = this
2390 
2391  def add(self, pt):
2392  """add(XlinkParams self, boost::property_tree::ptree const & pt)"""
2393  return _IMP_multifit.XlinkParams_add(self, pt)
2394 
2395 
2396  def show(self, *args):
2397  """
2398  show(XlinkParams self, _ostream s)
2399  show(XlinkParams self)
2400  """
2401  return _IMP_multifit.XlinkParams_show(self, *args)
2402 
2403  upper_bound_ = _swig_property(_IMP_multifit.XlinkParams_upper_bound__get, _IMP_multifit.XlinkParams_upper_bound__set)
2404  k_ = _swig_property(_IMP_multifit.XlinkParams_k__get, _IMP_multifit.XlinkParams_k__set)
2405  max_xlink_val_ = _swig_property(_IMP_multifit.XlinkParams_max_xlink_val__get, _IMP_multifit.XlinkParams_max_xlink_val__set)
2406  treat_between_residues_ = _swig_property(_IMP_multifit.XlinkParams_treat_between_residues__get, _IMP_multifit.XlinkParams_treat_between_residues__set)
2407 
2408  def __str__(self):
2409  """__str__(XlinkParams self) -> std::string"""
2410  return _IMP_multifit.XlinkParams___str__(self)
2411 
2412 
2413  def __repr__(self):
2414  """__repr__(XlinkParams self) -> std::string"""
2415  return _IMP_multifit.XlinkParams___repr__(self)
2416 
2417  __swig_destroy__ = _IMP_multifit.delete_XlinkParams
2418  __del__ = lambda self: None
2419 XlinkParams_swigregister = _IMP_multifit.XlinkParams_swigregister
2420 XlinkParams_swigregister(XlinkParams)
2421 
2422 class ConnectivityParams(object):
2423  """Proxy of C++ IMP::multifit::ConnectivityParams class"""
2424  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2425 
2426  def __init__(self):
2427  """__init__(IMP::multifit::ConnectivityParams self) -> ConnectivityParams"""
2428  this = _IMP_multifit.new_ConnectivityParams()
2429  try:
2430  self.this.append(this)
2431  except:
2432  self.this = this
2433 
2434  def add(self, pt):
2435  """add(ConnectivityParams self, boost::property_tree::ptree const & pt)"""
2436  return _IMP_multifit.ConnectivityParams_add(self, pt)
2437 
2438 
2439  def show(self, *args):
2440  """
2441  show(ConnectivityParams self, _ostream s)
2442  show(ConnectivityParams self)
2443  """
2444  return _IMP_multifit.ConnectivityParams_show(self, *args)
2445 
2446  upper_bound_ = _swig_property(_IMP_multifit.ConnectivityParams_upper_bound__get, _IMP_multifit.ConnectivityParams_upper_bound__set)
2447  k_ = _swig_property(_IMP_multifit.ConnectivityParams_k__get, _IMP_multifit.ConnectivityParams_k__set)
2448  max_conn_rest_val_ = _swig_property(_IMP_multifit.ConnectivityParams_max_conn_rest_val__get, _IMP_multifit.ConnectivityParams_max_conn_rest_val__set)
2449 
2450  def __str__(self):
2451  """__str__(ConnectivityParams self) -> std::string"""
2452  return _IMP_multifit.ConnectivityParams___str__(self)
2453 
2454 
2455  def __repr__(self):
2456  """__repr__(ConnectivityParams self) -> std::string"""
2457  return _IMP_multifit.ConnectivityParams___repr__(self)
2458 
2459  __swig_destroy__ = _IMP_multifit.delete_ConnectivityParams
2460  __del__ = lambda self: None
2461 ConnectivityParams_swigregister = _IMP_multifit.ConnectivityParams_swigregister
2462 ConnectivityParams_swigregister(ConnectivityParams)
2463 
2464 class FragmentsParams(object):
2465  """Proxy of C++ IMP::multifit::FragmentsParams class"""
2466  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2467 
2468  def __init__(self):
2469  """__init__(IMP::multifit::FragmentsParams self) -> FragmentsParams"""
2470  this = _IMP_multifit.new_FragmentsParams()
2471  try:
2472  self.this.append(this)
2473  except:
2474  self.this = this
2475 
2476  def add(self, pt):
2477  """add(FragmentsParams self, boost::property_tree::ptree const & pt)"""
2478  return _IMP_multifit.FragmentsParams_add(self, pt)
2479 
2480 
2481  def show(self, *args):
2482  """
2483  show(FragmentsParams self, _ostream s)
2484  show(FragmentsParams self)
2485  """
2486  return _IMP_multifit.FragmentsParams_show(self, *args)
2487 
2488  frag_len_ = _swig_property(_IMP_multifit.FragmentsParams_frag_len__get, _IMP_multifit.FragmentsParams_frag_len__set)
2489  bead_radius_scale_ = _swig_property(_IMP_multifit.FragmentsParams_bead_radius_scale__get, _IMP_multifit.FragmentsParams_bead_radius_scale__set)
2490  load_atomic_ = _swig_property(_IMP_multifit.FragmentsParams_load_atomic__get, _IMP_multifit.FragmentsParams_load_atomic__set)
2491  subunit_rigid_ = _swig_property(_IMP_multifit.FragmentsParams_subunit_rigid__get, _IMP_multifit.FragmentsParams_subunit_rigid__set)
2492 
2493  def __str__(self):
2494  """__str__(FragmentsParams self) -> std::string"""
2495  return _IMP_multifit.FragmentsParams___str__(self)
2496 
2497 
2498  def __repr__(self):
2499  """__repr__(FragmentsParams self) -> std::string"""
2500  return _IMP_multifit.FragmentsParams___repr__(self)
2501 
2502  __swig_destroy__ = _IMP_multifit.delete_FragmentsParams
2503  __del__ = lambda self: None
2504 FragmentsParams_swigregister = _IMP_multifit.FragmentsParams_swigregister
2505 FragmentsParams_swigregister(FragmentsParams)
2506 
2507 class RogParams(object):
2508  """Proxy of C++ IMP::multifit::RogParams class"""
2509  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2510 
2511  def __init__(self):
2512  """__init__(IMP::multifit::RogParams self) -> RogParams"""
2513  this = _IMP_multifit.new_RogParams()
2514  try:
2515  self.this.append(this)
2516  except:
2517  self.this = this
2518 
2519  def add(self, pt):
2520  """add(RogParams self, boost::property_tree::ptree const & pt)"""
2521  return _IMP_multifit.RogParams_add(self, pt)
2522 
2523 
2524  def get_max_score(self):
2525  """get_max_score(RogParams self) -> float"""
2526  return _IMP_multifit.RogParams_get_max_score(self)
2527 
2528 
2529  def get_scale(self):
2530  """get_scale(RogParams self) -> float"""
2531  return _IMP_multifit.RogParams_get_scale(self)
2532 
2533 
2534  def show(self, *args):
2535  """
2536  show(RogParams self, _ostream s)
2537  show(RogParams self)
2538  """
2539  return _IMP_multifit.RogParams_show(self, *args)
2540 
2541 
2542  def __str__(self):
2543  """__str__(RogParams self) -> std::string"""
2544  return _IMP_multifit.RogParams___str__(self)
2545 
2546 
2547  def __repr__(self):
2548  """__repr__(RogParams self) -> std::string"""
2549  return _IMP_multifit.RogParams___repr__(self)
2550 
2551  __swig_destroy__ = _IMP_multifit.delete_RogParams
2552  __del__ = lambda self: None
2553 RogParams_swigregister = _IMP_multifit.RogParams_swigregister
2554 RogParams_swigregister(RogParams)
2555 
2556 class EVParams(object):
2557  """Proxy of C++ IMP::multifit::EVParams class"""
2558  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2559 
2560  def __init__(self):
2561  """__init__(IMP::multifit::EVParams self) -> EVParams"""
2562  this = _IMP_multifit.new_EVParams()
2563  try:
2564  self.this.append(this)
2565  except:
2566  self.this = this
2567 
2568  def add(self, pt):
2569  """add(EVParams self, boost::property_tree::ptree const & pt)"""
2570  return _IMP_multifit.EVParams_add(self, pt)
2571 
2572 
2573  def show(self, *args):
2574  """
2575  show(EVParams self, _ostream s)
2576  show(EVParams self)
2577  """
2578  return _IMP_multifit.EVParams_show(self, *args)
2579 
2580  pair_distance_ = _swig_property(_IMP_multifit.EVParams_pair_distance__get, _IMP_multifit.EVParams_pair_distance__set)
2581  pair_slack_ = _swig_property(_IMP_multifit.EVParams_pair_slack__get, _IMP_multifit.EVParams_pair_slack__set)
2582  hlb_mean_ = _swig_property(_IMP_multifit.EVParams_hlb_mean__get, _IMP_multifit.EVParams_hlb_mean__set)
2583  hlb_k_ = _swig_property(_IMP_multifit.EVParams_hlb_k__get, _IMP_multifit.EVParams_hlb_k__set)
2584  maximum_ev_score_for_pair_ = _swig_property(_IMP_multifit.EVParams_maximum_ev_score_for_pair__get, _IMP_multifit.EVParams_maximum_ev_score_for_pair__set)
2585  allowed_percentage_of_bad_pairs_ = _swig_property(_IMP_multifit.EVParams_allowed_percentage_of_bad_pairs__get, _IMP_multifit.EVParams_allowed_percentage_of_bad_pairs__set)
2586  scoring_mode_ = _swig_property(_IMP_multifit.EVParams_scoring_mode__get, _IMP_multifit.EVParams_scoring_mode__set)
2587 
2588  def __str__(self):
2589  """__str__(EVParams self) -> std::string"""
2590  return _IMP_multifit.EVParams___str__(self)
2591 
2592 
2593  def __repr__(self):
2594  """__repr__(EVParams self) -> std::string"""
2595  return _IMP_multifit.EVParams___repr__(self)
2596 
2597  __swig_destroy__ = _IMP_multifit.delete_EVParams
2598  __del__ = lambda self: None
2599 EVParams_swigregister = _IMP_multifit.EVParams_swigregister
2600 EVParams_swigregister(EVParams)
2601 
2602 class FiltersParams(object):
2603  """Proxy of C++ IMP::multifit::FiltersParams class"""
2604  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2605 
2606  def __init__(self):
2607  """__init__(IMP::multifit::FiltersParams self) -> FiltersParams"""
2608  this = _IMP_multifit.new_FiltersParams()
2609  try:
2610  self.this.append(this)
2611  except:
2612  self.this = this
2613 
2614  def add(self, pt):
2615  """add(FiltersParams self, boost::property_tree::ptree const & pt)"""
2616  return _IMP_multifit.FiltersParams_add(self, pt)
2617 
2618 
2619  def show(self, *args):
2620  """
2621  show(FiltersParams self, _ostream s)
2622  show(FiltersParams self)
2623  """
2624  return _IMP_multifit.FiltersParams_show(self, *args)
2625 
2626  max_num_violated_xlink_ = _swig_property(_IMP_multifit.FiltersParams_max_num_violated_xlink__get, _IMP_multifit.FiltersParams_max_num_violated_xlink__set)
2627  max_num_violated_conn_ = _swig_property(_IMP_multifit.FiltersParams_max_num_violated_conn__get, _IMP_multifit.FiltersParams_max_num_violated_conn__set)
2628  max_num_violated_ev_ = _swig_property(_IMP_multifit.FiltersParams_max_num_violated_ev__get, _IMP_multifit.FiltersParams_max_num_violated_ev__set)
2629 
2630  def __str__(self):
2631  """__str__(FiltersParams self) -> std::string"""
2632  return _IMP_multifit.FiltersParams___str__(self)
2633 
2634 
2635  def __repr__(self):
2636  """__repr__(FiltersParams self) -> std::string"""
2637  return _IMP_multifit.FiltersParams___repr__(self)
2638 
2639  __swig_destroy__ = _IMP_multifit.delete_FiltersParams
2640  __del__ = lambda self: None
2641 FiltersParams_swigregister = _IMP_multifit.FiltersParams_swigregister
2642 FiltersParams_swigregister(FiltersParams)
2643 
2644 class FittingParams(object):
2645  """Proxy of C++ IMP::multifit::FittingParams class"""
2646  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2647 
2648  def __init__(self):
2649  """__init__(IMP::multifit::FittingParams self) -> FittingParams"""
2650  this = _IMP_multifit.new_FittingParams()
2651  try:
2652  self.this.append(this)
2653  except:
2654  self.this = this
2655 
2656  def add(self, pt):
2657  """add(FittingParams self, boost::property_tree::ptree const & pt)"""
2658  return _IMP_multifit.FittingParams_add(self, pt)
2659 
2660 
2661  def show(self, *args):
2662  """
2663  show(FittingParams self, _ostream s)
2664  show(FittingParams self)
2665  """
2666  return _IMP_multifit.FittingParams_show(self, *args)
2667 
2668  pca_max_angle_diff_ = _swig_property(_IMP_multifit.FittingParams_pca_max_angle_diff__get, _IMP_multifit.FittingParams_pca_max_angle_diff__set)
2669  pca_max_size_diff_ = _swig_property(_IMP_multifit.FittingParams_pca_max_size_diff__get, _IMP_multifit.FittingParams_pca_max_size_diff__set)
2670  pca_max_cent_dist_diff_ = _swig_property(_IMP_multifit.FittingParams_pca_max_cent_dist_diff__get, _IMP_multifit.FittingParams_pca_max_cent_dist_diff__set)
2671  max_asmb_fit_score_ = _swig_property(_IMP_multifit.FittingParams_max_asmb_fit_score__get, _IMP_multifit.FittingParams_max_asmb_fit_score__set)
2672 
2673  def __str__(self):
2674  """__str__(FittingParams self) -> std::string"""
2675  return _IMP_multifit.FittingParams___str__(self)
2676 
2677 
2678  def __repr__(self):
2679  """__repr__(FittingParams self) -> std::string"""
2680  return _IMP_multifit.FittingParams___repr__(self)
2681 
2682  __swig_destroy__ = _IMP_multifit.delete_FittingParams
2683  __del__ = lambda self: None
2684 FittingParams_swigregister = _IMP_multifit.FittingParams_swigregister
2685 FittingParams_swigregister(FittingParams)
2686 
2687 class ComplementarityParams(object):
2688  """Proxy of C++ IMP::multifit::ComplementarityParams class"""
2689  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2690 
2691  def __init__(self):
2692  """__init__(IMP::multifit::ComplementarityParams self) -> ComplementarityParams"""
2693  this = _IMP_multifit.new_ComplementarityParams()
2694  try:
2695  self.this.append(this)
2696  except:
2697  self.this = this
2698 
2699  def add(self, pt):
2700  """add(ComplementarityParams self, boost::property_tree::ptree const & pt)"""
2701  return _IMP_multifit.ComplementarityParams_add(self, pt)
2702 
2703 
2704  def show(self, *args):
2705  """
2706  show(ComplementarityParams self, _ostream s)
2707  show(ComplementarityParams self)
2708  """
2709  return _IMP_multifit.ComplementarityParams_show(self, *args)
2710 
2711  max_score_ = _swig_property(_IMP_multifit.ComplementarityParams_max_score__get, _IMP_multifit.ComplementarityParams_max_score__set)
2712  max_penetration_ = _swig_property(_IMP_multifit.ComplementarityParams_max_penetration__get, _IMP_multifit.ComplementarityParams_max_penetration__set)
2713  interior_layer_thickness_ = _swig_property(_IMP_multifit.ComplementarityParams_interior_layer_thickness__get, _IMP_multifit.ComplementarityParams_interior_layer_thickness__set)
2714  boundary_coef_ = _swig_property(_IMP_multifit.ComplementarityParams_boundary_coef__get, _IMP_multifit.ComplementarityParams_boundary_coef__set)
2715  comp_coef_ = _swig_property(_IMP_multifit.ComplementarityParams_comp_coef__get, _IMP_multifit.ComplementarityParams_comp_coef__set)
2716  penetration_coef_ = _swig_property(_IMP_multifit.ComplementarityParams_penetration_coef__get, _IMP_multifit.ComplementarityParams_penetration_coef__set)
2717 
2718  def __str__(self):
2719  """__str__(ComplementarityParams self) -> std::string"""
2720  return _IMP_multifit.ComplementarityParams___str__(self)
2721 
2722 
2723  def __repr__(self):
2724  """__repr__(ComplementarityParams self) -> std::string"""
2725  return _IMP_multifit.ComplementarityParams___repr__(self)
2726 
2727  __swig_destroy__ = _IMP_multifit.delete_ComplementarityParams
2728  __del__ = lambda self: None
2729 ComplementarityParams_swigregister = _IMP_multifit.ComplementarityParams_swigregister
2730 ComplementarityParams_swigregister(ComplementarityParams)
2731 
2732 class AlignmentParams(object):
2733  """Proxy of C++ IMP::multifit::AlignmentParams class"""
2734  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2735 
2736  def __init__(self, param_filename):
2737  """__init__(IMP::multifit::AlignmentParams self, char const * param_filename) -> AlignmentParams"""
2738  this = _IMP_multifit.new_AlignmentParams(param_filename)
2739  try:
2740  self.this.append(this)
2741  except:
2742  self.this = this
2743 
2744  def get_domino_params(self):
2745  """get_domino_params(AlignmentParams self) -> DominoParams"""
2746  return _IMP_multifit.AlignmentParams_get_domino_params(self)
2747 
2748 
2749  def get_fitting_params(self):
2750  """get_fitting_params(AlignmentParams self) -> FittingParams"""
2751  return _IMP_multifit.AlignmentParams_get_fitting_params(self)
2752 
2753 
2754  def get_complementarity_params(self):
2755  """get_complementarity_params(AlignmentParams self) -> ComplementarityParams"""
2756  return _IMP_multifit.AlignmentParams_get_complementarity_params(self)
2757 
2758 
2759  def get_xlink_params(self):
2760  """get_xlink_params(AlignmentParams self) -> XlinkParams"""
2761  return _IMP_multifit.AlignmentParams_get_xlink_params(self)
2762 
2763 
2764  def get_connectivity_params(self):
2765  """get_connectivity_params(AlignmentParams self) -> ConnectivityParams"""
2766  return _IMP_multifit.AlignmentParams_get_connectivity_params(self)
2767 
2768 
2769  def get_rog_params(self):
2770  """get_rog_params(AlignmentParams self) -> RogParams"""
2771  return _IMP_multifit.AlignmentParams_get_rog_params(self)
2772 
2773 
2774  def get_fragments_params(self):
2775  """get_fragments_params(AlignmentParams self) -> FragmentsParams"""
2776  return _IMP_multifit.AlignmentParams_get_fragments_params(self)
2777 
2778 
2779  def get_filters_params(self):
2780  """get_filters_params(AlignmentParams self) -> FiltersParams"""
2781  return _IMP_multifit.AlignmentParams_get_filters_params(self)
2782 
2783 
2784  def get_ev_params(self):
2785  """get_ev_params(AlignmentParams self) -> EVParams"""
2786  return _IMP_multifit.AlignmentParams_get_ev_params(self)
2787 
2788 
2789  def show(self, *args):
2790  """
2791  show(AlignmentParams self, _ostream s)
2792  show(AlignmentParams self)
2793  """
2794  return _IMP_multifit.AlignmentParams_show(self, *args)
2795 
2796 
2797  def __str__(self):
2798  """__str__(AlignmentParams self) -> std::string"""
2799  return _IMP_multifit.AlignmentParams___str__(self)
2800 
2801 
2802  def __repr__(self):
2803  """__repr__(AlignmentParams self) -> std::string"""
2804  return _IMP_multifit.AlignmentParams___repr__(self)
2805 
2806  __swig_destroy__ = _IMP_multifit.delete_AlignmentParams
2807  __del__ = lambda self: None
2808 AlignmentParams_swigregister = _IMP_multifit.AlignmentParams_swigregister
2809 AlignmentParams_swigregister(AlignmentParams)
2810 
2811 class ProteomicsEMAlignmentAtomic(IMP.Object):
2812  """Proxy of C++ IMP::multifit::ProteomicsEMAlignmentAtomic class"""
2813  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2814 
2815  def __init__(self, mapping_data, asmb_data, align_param):
2816  """__init__(IMP::multifit::ProteomicsEMAlignmentAtomic self, ProteinsAnchorsSamplingSpace mapping_data, SettingsData asmb_data, AlignmentParams align_param) -> ProteomicsEMAlignmentAtomic"""
2817  this = _IMP_multifit.new_ProteomicsEMAlignmentAtomic(mapping_data, asmb_data, align_param)
2818  try:
2819  self.this.append(this)
2820  except:
2821  self.this = this
2822 
2823  def align(self):
2824  """align(ProteomicsEMAlignmentAtomic self)"""
2825  return _IMP_multifit.ProteomicsEMAlignmentAtomic_align(self)
2826 
2827 
2828  def add_all_restraints(self):
2829  """add_all_restraints(ProteomicsEMAlignmentAtomic self)"""
2830  return _IMP_multifit.ProteomicsEMAlignmentAtomic_add_all_restraints(self)
2831 
2832 
2833  def get_restraint_set(self):
2834  """get_restraint_set(ProteomicsEMAlignmentAtomic self) -> RestraintSet"""
2835  return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_restraint_set(self)
2836 
2837 
2838  def add_states_and_filters(self):
2839  """add_states_and_filters(ProteomicsEMAlignmentAtomic self)"""
2840  return _IMP_multifit.ProteomicsEMAlignmentAtomic_add_states_and_filters(self)
2841 
2842 
2843  def show_domino_merge_tree(self):
2844  """show_domino_merge_tree(ProteomicsEMAlignmentAtomic self)"""
2845  return _IMP_multifit.ProteomicsEMAlignmentAtomic_show_domino_merge_tree(self)
2846 
2847 
2848  def get_combinations(self, uniques=False):
2849  """
2850  get_combinations(ProteomicsEMAlignmentAtomic self, bool uniques=False) -> IMP::domino::Assignments
2851  get_combinations(ProteomicsEMAlignmentAtomic self) -> IMP::domino::Assignments
2852  """
2853  return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_combinations(self, uniques)
2854 
2855 
2856  def set_density_map(self, dmap, threshold):
2857  """set_density_map(ProteomicsEMAlignmentAtomic self, DensityMap dmap, float threshold)"""
2858  return _IMP_multifit.ProteomicsEMAlignmentAtomic_set_density_map(self, dmap, threshold)
2859 
2860 
2861  def get_molecules(self):
2862  """get_molecules(ProteomicsEMAlignmentAtomic self) -> IMP::atom::Hierarchies"""
2863  return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_molecules(self)
2864 
2865 
2866  def get_rigid_bodies(self):
2867  """get_rigid_bodies(ProteomicsEMAlignmentAtomic self) -> IMP::core::RigidBodies"""
2868  return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_rigid_bodies(self)
2869 
2870 
2871  def load_combination_of_states(self, state4particles):
2872  """load_combination_of_states(ProteomicsEMAlignmentAtomic self, IMP::Ints const & state4particles)"""
2873  return _IMP_multifit.ProteomicsEMAlignmentAtomic_load_combination_of_states(self, state4particles)
2874 
2875 
2876  def show_scores_header(self, *args):
2877  """
2878  show_scores_header(ProteomicsEMAlignmentAtomic self, _ostream ous)
2879  show_scores_header(ProteomicsEMAlignmentAtomic self)
2880  """
2881  return _IMP_multifit.ProteomicsEMAlignmentAtomic_show_scores_header(self, *args)
2882 
2883 
2884  def get_model(self):
2885  """get_model(ProteomicsEMAlignmentAtomic self) -> Model"""
2886  return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_model(self)
2887 
2888 
2889  def set_fast_scoring(self, state):
2890  """set_fast_scoring(ProteomicsEMAlignmentAtomic self, bool state)"""
2891  return _IMP_multifit.ProteomicsEMAlignmentAtomic_set_fast_scoring(self, state)
2892 
2893 
2894  def get_version_info(self):
2895  """get_version_info(ProteomicsEMAlignmentAtomic self) -> VersionInfo"""
2896  return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_version_info(self)
2897 
2898 
2899  def __str__(self):
2900  """__str__(ProteomicsEMAlignmentAtomic self) -> std::string"""
2901  return _IMP_multifit.ProteomicsEMAlignmentAtomic___str__(self)
2902 
2903 
2904  def __repr__(self):
2905  """__repr__(ProteomicsEMAlignmentAtomic self) -> std::string"""
2906  return _IMP_multifit.ProteomicsEMAlignmentAtomic___repr__(self)
2907 
2908  def get_from(o):
2909  return _object_cast_to_ProteomicsEMAlignmentAtomic(o)
2910  get_from = staticmethod(get_from)
2911 
2912 ProteomicsEMAlignmentAtomic_swigregister = _IMP_multifit.ProteomicsEMAlignmentAtomic_swigregister
2913 ProteomicsEMAlignmentAtomic_swigregister(ProteomicsEMAlignmentAtomic)
2914 
2915 
2916 def write_connolly_surface(atoms, fn, density, probe_radius):
2917  """write_connolly_surface(IMP::atom::Atoms atoms, TextOutput fn, float density, float probe_radius)"""
2918  return _IMP_multifit.write_connolly_surface(atoms, fn, density, probe_radius)
2919 class Ensemble(IMP.Object):
2920  """Proxy of C++ IMP::multifit::Ensemble class"""
2921  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2922 
2923  def load_combination(self, fit_comb):
2924  """load_combination(Ensemble self, IMP::Ints fit_comb)"""
2925  return _IMP_multifit.Ensemble_load_combination(self, fit_comb)
2926 
2927 
2928  def unload_combination(self, fit_comb):
2929  """unload_combination(Ensemble self, IMP::Ints fit_comb)"""
2930  return _IMP_multifit.Ensemble_unload_combination(self, fit_comb)
2931 
2932 
2933  def add_component_and_fits(self, mh, fits):
2934  """add_component_and_fits(Ensemble self, Hierarchy mh, IMP::multifit::FittingSolutionRecords const & fits)"""
2935  return _IMP_multifit.Ensemble_add_component_and_fits(self, mh, fits)
2936 
2937 
2938  def get_molecules(self):
2939  """get_molecules(Ensemble self) -> IMP::atom::Hierarchies"""
2940  return _IMP_multifit.Ensemble_get_molecules(self)
2941 
2942 
2943  def get_rigid_bodies(self):
2944  """get_rigid_bodies(Ensemble self) -> IMP::core::RigidBodies"""
2945  return _IMP_multifit.Ensemble_get_rigid_bodies(self)
2946 
2947 
2948  def get_rmsd(self, second_xyz):
2949  """get_rmsd(Ensemble self, IMP::core::XYZs const & second_xyz) -> float"""
2950  return _IMP_multifit.Ensemble_get_rmsd(self, second_xyz)
2951 
2952 
2953  def __init__(self, sd, mapping_data):
2954  """__init__(IMP::multifit::Ensemble self, SettingsData sd, ProteinsAnchorsSamplingSpace mapping_data) -> Ensemble"""
2955  this = _IMP_multifit.new_Ensemble(sd, mapping_data)
2956  try:
2957  self.this.append(this)
2958  except:
2959  self.this = this
2960 
2961  def score_by_restraints(self, rs, combinations):
2962  """score_by_restraints(Ensemble self, IMP::Restraints rs, IMP::IntsList const & combinations) -> std::vector< IMP::Floats,std::allocator< IMP::Floats > >"""
2963  return _IMP_multifit.Ensemble_score_by_restraints(self, rs, combinations)
2964 
2965 
2966  def get_version_info(self):
2967  """get_version_info(Ensemble self) -> VersionInfo"""
2968  return _IMP_multifit.Ensemble_get_version_info(self)
2969 
2970 
2971  def __str__(self):
2972  """__str__(Ensemble self) -> std::string"""
2973  return _IMP_multifit.Ensemble___str__(self)
2974 
2975 
2976  def __repr__(self):
2977  """__repr__(Ensemble self) -> std::string"""
2978  return _IMP_multifit.Ensemble___repr__(self)
2979 
2980  def get_from(o):
2981  return _object_cast_to_Ensemble(o)
2982  get_from = staticmethod(get_from)
2983 
2984 Ensemble_swigregister = _IMP_multifit.Ensemble_swigregister
2985 Ensemble_swigregister(Ensemble)
2986 
2987 
2988 def load_ensemble(sd, mdl, mapping_data):
2989  """load_ensemble(SettingsData sd, Model mdl, ProteinsAnchorsSamplingSpace mapping_data) -> Ensemble"""
2990  return _IMP_multifit.load_ensemble(sd, mdl, mapping_data)
2991 _all_commands = ["param", "anchors", "fit_fft", "cluster", "add_fit_rmsd",
2992  "indexes", "proteomics", "align", "models", "transforms",
2993  "score", "merge_tree", "reference", "refine_fft", "segment"]
2994 
2995 
2996 def get_module_version():
2997  """get_module_version() -> std::string const"""
2998  return _IMP_multifit.get_module_version()
2999 
3000 def get_example_path(fname):
3001  """get_example_path(std::string fname) -> std::string"""
3002  return _IMP_multifit.get_example_path(fname)
3003 
3004 def get_data_path(fname):
3005  """get_data_path(std::string fname) -> std::string"""
3006  return _IMP_multifit.get_data_path(fname)
3007 from . import _version_check
3008 _version_check.check_version(get_module_version())
3009 __version__ = get_module_version()
3010 
3011 
3012 
IntsList get_anchor_indices_matching_secondary_structure(const AnchorsData &ad, const atom::SecondaryStructureResidues &ssrs, Float max_rmsd=0.7)
Get lists of anchors that match a sequence of secondary structures.
FittingSolutionRecords get_close_to_point(const FittingSolutionRecords &fit_sols, atom::Hierarchy mh, IMP::Particle *ap, Float dist)
prune solutions by distance to an anchor point
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
IntsList get_connected_components(em::DensityMap *dmap, float threshold, float edge_threshold)
Return connected components based on density values.
Various classes to hold sets of particles.
atom::Hierarchies create_coarse_molecules_from_molecules(const atom::Hierarchies &mhs, int frag_len, Model *mdl, float bead_radius, bool add_conn_restraint=false)
Coarsen molecules based on atom clustering.
Make CGAL functionality available to IMP.
em::DensityMap * remove_background(em::DensityMap *dmap, float threshold, float edge_threshold)
Returns a map containing all density without the background.
ProteinsAnchorsSamplingSpace get_part_of_sampling_space(const ProteinsAnchorsSamplingSpace &prots_ss, const Strings &prot_names)
Get the sampling space of few of the proteins.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
multifit::SettingsData * get_partial_assembly_setting_data(multifit::SettingsData *prots_sd, const Strings &prot_names)
Get the assembly data for a few of the proteins.
atom::Hierarchy create_coarse_molecule_from_molecule(const atom::Hierarchy &mh, int num_beads, Model *mdl, float bead_radius, bool add_conn_restraint=false)
Coarsen a molecule based on atom clustering.
Composable functors to implement scores via compile-time composition.
em::FittingSolutions pca_based_rigid_fitting(core::RigidBody rb, Refiner *rb_refiner, em::DensityMap *em_map, Float threshold, FloatKey wei_key=atom::Mass::get_mass_key(), algebra::PrincipalComponentAnalysis dens_pca_input=algebra::PrincipalComponentAnalysis())
Compute fitting scores for a given set of rigid transformations.
Code to compute statistical measures.
void add_surface_index(core::Hierarchy mhd, Float apix, FloatKey shell_key=FloatKey("surf_ind"), FloatKey radius_key=core::XYZR::get_radius_key(), FloatKey weight_key=atom::Mass::get_mass_key())
Add shell index to leaves.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
void get_anchors_for_density(em::DensityMap *dmap, int number_of_means, float density_threshold, std::string pdb_filename, std::string cmm_filename, std::string seg_filename, std::string txt_filename)
Generate anchors in several formats for a given density map.
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Definition: Vector3D.h:65
Basic utilities for handling cryo-electron microscopy 3D density maps.
void write_fitting_solutions(const char *fitting_fn, const FittingSolutionRecords &fit_sols, int num_sols=-1)
Write fitting solutions to a file.
ProteomicsData * read_proteomics_data(const char *proteomics_fn)
Proteomics reader.
IMP::Restraint * create_weighted_excluded_volume_restraint(core::RigidBody rb1, core::RigidBody rb2, FloatKey shell_key=FloatKey("surf_ind"))
Create a weighted excluded volume restraint between two rigid bodies.
algebra::Vector3Ds get_points_close_to_molecule(const atom::Hierarchy &mh, const algebra::Vector3Ds points, Float max_dist)
void get_segmentation(em::DensityMap *dmap, double apix, double density_threshold, int num_means, const std::string pdb_filename, const std::string cmm_filename, const std::string seg_filename, const std::string txt_filename)
Segment a density map using the anchor graph.
void write_connolly_surface(atom::Atoms atoms, TextOutput fn, float density, float probe_radius)
Write the Connolly surface for a set of atoms to a file.
multifit::FittingSolutionRecords fft_based_rigid_fitting(atom::Hierarchy mol2fit, em::DensityMap *dmap, double density_threshold, double angle_sampling_interval_rad)
FFT fit of a molecule in the density.
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...
IntsList read_paths(const char *txt_filename, int max_paths=INT_MAX)
Read paths.
FittingSolutionRecords read_fitting_solutions(const char *fitting_fn)
Fitting solutions reader.
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
double get_resolution(Model *m, ParticleIndex pi)
Estimate the resolution of the hierarchy as used by Representation.
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.
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:52
atom::Hierarchy create_coarse_molecule_from_density(em::DensityMap *dmap, float dens_threshold, int num_beads, Model *mdl, float bead_radius)
Coarsen a density map based on voxels clustering.