11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_multifit', [dirname(__file__)])
24 _mod = imp.load_module(
'_IMP_multifit', fp, pathname, description)
28 _IMP_multifit = swig_import_helper()
29 del swig_import_helper
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_MULTIFIT_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_MULTIFIT_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_MULTIFIT_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_MULTIFIT_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_multifit.delete_IMP_MULTIFIT_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_MULTIFIT_SwigPyIterator self) -> PyObject *"""
91 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_value(self)
95 incr(IMP_MULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_MULTIFIT_SwigPyIterator
96 incr(IMP_MULTIFIT_SwigPyIterator self) -> IMP_MULTIFIT_SwigPyIterator
98 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_incr(self, n)
102 decr(IMP_MULTIFIT_SwigPyIterator self, size_t n=1) -> IMP_MULTIFIT_SwigPyIterator
103 decr(IMP_MULTIFIT_SwigPyIterator self) -> IMP_MULTIFIT_SwigPyIterator
105 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> bool"""
113 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_equal(self, *args)
116 """copy(IMP_MULTIFIT_SwigPyIterator self) -> IMP_MULTIFIT_SwigPyIterator"""
117 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_copy(self)
120 """next(IMP_MULTIFIT_SwigPyIterator self) -> PyObject *"""
121 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_next(self)
124 """__next__(IMP_MULTIFIT_SwigPyIterator self) -> PyObject *"""
125 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___next__(self)
128 """previous(IMP_MULTIFIT_SwigPyIterator self) -> PyObject *"""
129 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator"""
133 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> bool"""
137 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> bool"""
141 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator"""
145 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator"""
149 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator"""
153 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_MULTIFIT_SwigPyIterator self, ptrdiff_t n) -> IMP_MULTIFIT_SwigPyIterator
158 __sub__(IMP_MULTIFIT_SwigPyIterator self, IMP_MULTIFIT_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_multifit.IMP_MULTIFIT_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_MULTIFIT_SwigPyIterator_swigregister = _IMP_multifit.IMP_MULTIFIT_SwigPyIterator_swigregister
164 IMP_MULTIFIT_SwigPyIterator_swigregister(IMP_MULTIFIT_SwigPyIterator)
171 IMP_DEBUG = _IMP_multifit.IMP_DEBUG
172 IMP_RELEASE = _IMP_multifit.IMP_RELEASE
173 IMP_SILENT = _IMP_multifit.IMP_SILENT
174 IMP_PROGRESS = _IMP_multifit.IMP_PROGRESS
175 IMP_TERSE = _IMP_multifit.IMP_TERSE
176 IMP_VERBOSE = _IMP_multifit.IMP_VERBOSE
177 IMP_MEMORY = _IMP_multifit.IMP_MEMORY
178 IMP_NONE = _IMP_multifit.IMP_NONE
179 IMP_USAGE = _IMP_multifit.IMP_USAGE
180 IMP_INTERNAL = _IMP_multifit.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_multifit.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_multifit.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_multifit.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_multifit.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_multifit.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_multifit.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_multifit.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_multifit.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_multifit.DEFAULT_CHECK
216 NONE = _IMP_multifit.NONE
217 USAGE = _IMP_multifit.USAGE
218 USAGE_AND_INTERNAL = _IMP_multifit.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_multifit.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_multifit.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_multifit._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_multifit._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_multifit.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_multifit.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_multifit.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_multifit.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_multifit.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_multifit.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_multifit.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_multifit.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_multifit.IMPALGEBRA_SHOW_WARNINGS
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_multifit.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_multifit.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_multifit.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_multifit.IMPKERNEL_SHOW_WARNINGS
268 IMP_DISPLAY_HAS_IMP_BASE = _IMP_multifit.IMP_DISPLAY_HAS_IMP_BASE
269 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_multifit.IMP_DISPLAY_HAS_IMP_CGAL
270 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
271 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
272 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_multifit.IMP_DISPLAY_HAS_BOOST_RANDOM
273 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_DISPLAY_HAS_BOOST_SYSTEM
274 IMP_DISPLAY_HAS_CGAL = _IMP_multifit.IMP_DISPLAY_HAS_CGAL
275 IMPDISPLAY_SHOW_WARNINGS = _IMP_multifit.IMPDISPLAY_SHOW_WARNINGS
277 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
278 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
279 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
280 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
281 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
282 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_multifit.IMP_SCORE_FUNCTOR_HAS_CGAL
283 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_multifit.IMPSCOREFUNCTOR_SHOW_WARNINGS
285 IMP_STATISTICS_HAS_IMP_BASE = _IMP_multifit.IMP_STATISTICS_HAS_IMP_BASE
286 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_multifit.IMP_STATISTICS_HAS_IMP_CGAL
287 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
288 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
289 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_multifit.IMP_STATISTICS_HAS_BOOST_RANDOM
290 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_STATISTICS_HAS_BOOST_SYSTEM
291 IMP_STATISTICS_HAS_CGAL = _IMP_multifit.IMP_STATISTICS_HAS_CGAL
292 IMPSTATISTICS_SHOW_WARNINGS = _IMP_multifit.IMPSTATISTICS_SHOW_WARNINGS
294 IMP_CORE_HAS_IMP_BASE = _IMP_multifit.IMP_CORE_HAS_IMP_BASE
295 IMP_CORE_HAS_IMP_CGAL = _IMP_multifit.IMP_CORE_HAS_IMP_CGAL
296 IMP_CORE_HAS_IMP_KERNEL = _IMP_multifit.IMP_CORE_HAS_IMP_KERNEL
297 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_CORE_HAS_BOOST_FILESYSTEM
298 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
299 IMP_CORE_HAS_BOOST_RANDOM = _IMP_multifit.IMP_CORE_HAS_BOOST_RANDOM
300 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_CORE_HAS_BOOST_SYSTEM
301 IMP_CORE_HAS_CGAL = _IMP_multifit.IMP_CORE_HAS_CGAL
302 IMPCORE_SHOW_WARNINGS = _IMP_multifit.IMPCORE_SHOW_WARNINGS
304 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_multifit.IMP_CONTAINER_HAS_IMP_ALGEBRA
305 IMP_CONTAINER_HAS_IMP_BASE = _IMP_multifit.IMP_CONTAINER_HAS_IMP_BASE
306 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_multifit.IMP_CONTAINER_HAS_IMP_CGAL
307 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_multifit.IMP_CONTAINER_HAS_IMP_DISPLAY
308 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_multifit.IMP_CONTAINER_HAS_IMP_KERNEL
309 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
310 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
311 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
312 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_multifit.IMP_CONTAINER_HAS_BOOST_RANDOM
313 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_CONTAINER_HAS_BOOST_SYSTEM
314 IMP_CONTAINER_HAS_CGAL = _IMP_multifit.IMP_CONTAINER_HAS_CGAL
315 IMPCONTAINER_SHOW_WARNINGS = _IMP_multifit.IMPCONTAINER_SHOW_WARNINGS
317 IMP_ATOM_HAS_IMP_BASE = _IMP_multifit.IMP_ATOM_HAS_IMP_BASE
318 IMP_ATOM_HAS_IMP_CGAL = _IMP_multifit.IMP_ATOM_HAS_IMP_CGAL
319 IMP_ATOM_HAS_IMP_KERNEL = _IMP_multifit.IMP_ATOM_HAS_IMP_KERNEL
320 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
321 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
322 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_multifit.IMP_ATOM_HAS_BOOST_RANDOM
323 IMP_ATOM_HAS_BOOST_REGEX = _IMP_multifit.IMP_ATOM_HAS_BOOST_REGEX
324 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_ATOM_HAS_BOOST_SYSTEM
325 IMP_ATOM_HAS_CGAL = _IMP_multifit.IMP_ATOM_HAS_CGAL
326 IMPATOM_SHOW_WARNINGS = _IMP_multifit.IMPATOM_SHOW_WARNINGS
327 IMP_ATOM_TYPE_INDEX = _IMP_multifit.IMP_ATOM_TYPE_INDEX
328 IMP_RESIDUE_TYPE_INDEX = _IMP_multifit.IMP_RESIDUE_TYPE_INDEX
329 IMP_HIERARCHY_TYPE_INDEX = _IMP_multifit.IMP_HIERARCHY_TYPE_INDEX
331 IMP_EM_HAS_IMP_CGAL = _IMP_multifit.IMP_EM_HAS_IMP_CGAL
332 IMP_EM_HAS_IMP_CONTAINER = _IMP_multifit.IMP_EM_HAS_IMP_CONTAINER
333 IMP_EM_HAS_IMP_DISPLAY = _IMP_multifit.IMP_EM_HAS_IMP_DISPLAY
334 IMP_EM_HAS_IMP_KERNEL = _IMP_multifit.IMP_EM_HAS_IMP_KERNEL
335 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_EM_HAS_IMP_SCORE_FUNCTOR
336 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_EM_HAS_BOOST_FILESYSTEM
337 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
338 IMP_EM_HAS_BOOST_RANDOM = _IMP_multifit.IMP_EM_HAS_BOOST_RANDOM
339 IMP_EM_HAS_BOOST_REGEX = _IMP_multifit.IMP_EM_HAS_BOOST_REGEX
340 IMP_EM_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_EM_HAS_BOOST_SYSTEM
341 IMP_EM_HAS_CGAL = _IMP_multifit.IMP_EM_HAS_CGAL
342 IMPEM_SHOW_WARNINGS = _IMP_multifit.IMPEM_SHOW_WARNINGS
344 IMP_RMF_HAS_IMP_BASE = _IMP_multifit.IMP_RMF_HAS_IMP_BASE
345 IMP_RMF_HAS_IMP_CGAL = _IMP_multifit.IMP_RMF_HAS_IMP_CGAL
346 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
347 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_RMF_HAS_BOOST_FILESYSTEM
348 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
349 IMP_RMF_HAS_BOOST_RANDOM = _IMP_multifit.IMP_RMF_HAS_BOOST_RANDOM
350 IMP_RMF_HAS_BOOST_REGEX = _IMP_multifit.IMP_RMF_HAS_BOOST_REGEX
351 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_RMF_HAS_BOOST_SYSTEM
352 IMP_RMF_HAS_CGAL = _IMP_multifit.IMP_RMF_HAS_CGAL
353 IMPRMF_SHOW_WARNINGS = _IMP_multifit.IMPRMF_SHOW_WARNINGS
356 IMP_DOMINO_HAS_IMP_ATOM = _IMP_multifit.IMP_DOMINO_HAS_IMP_ATOM
357 IMP_DOMINO_HAS_IMP_BASE = _IMP_multifit.IMP_DOMINO_HAS_IMP_BASE
358 IMP_DOMINO_HAS_IMP_CGAL = _IMP_multifit.IMP_DOMINO_HAS_IMP_CGAL
359 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_multifit.IMP_DOMINO_HAS_IMP_KERNEL
360 IMP_DOMINO_HAS_IMP_RMF = _IMP_multifit.IMP_DOMINO_HAS_IMP_RMF
361 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
362 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_multifit.IMP_DOMINO_HAS_BOOST_FILESYSTEM
363 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_multifit.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
364 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_multifit.IMP_DOMINO_HAS_BOOST_RANDOM
365 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_multifit.IMP_DOMINO_HAS_BOOST_REGEX
366 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_DOMINO_HAS_BOOST_SYSTEM
367 IMP_DOMINO_HAS_CGAL = _IMP_multifit.IMP_DOMINO_HAS_CGAL
368 IMP_DOMINO_HAS_HDF5 = _IMP_multifit.IMP_DOMINO_HAS_HDF5
369 IMP_DOMINO_HAS_RMF = _IMP_multifit.IMP_DOMINO_HAS_RMF
370 IMPDOMINO_SHOW_WARNINGS = _IMP_multifit.IMPDOMINO_SHOW_WARNINGS
373 IMP_MULTIFIT_HAS_IMP_BASE = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_BASE
374 IMP_MULTIFIT_HAS_IMP_CGAL = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_CGAL
375 IMP_MULTIFIT_HAS_IMP_CONTAINER = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_CONTAINER
376 IMP_MULTIFIT_HAS_IMP_DISPLAY = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_DISPLAY
377 IMP_MULTIFIT_HAS_IMP_KERNEL = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_KERNEL
378 IMP_MULTIFIT_HAS_IMP_RMF = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_RMF
379 IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR = _IMP_multifit.IMP_MULTIFIT_HAS_IMP_SCORE_FUNCTOR
380 IMP_MULTIFIT_HAS_BOOST_GRAPH = _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_GRAPH
381 IMP_MULTIFIT_HAS_BOOST_RANDOM = _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_RANDOM
382 IMP_MULTIFIT_HAS_BOOST_REGEX = _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_REGEX
383 IMP_MULTIFIT_HAS_BOOST_SYSTEM = _IMP_multifit.IMP_MULTIFIT_HAS_BOOST_SYSTEM
384 IMP_MULTIFIT_HAS_CGAL = _IMP_multifit.IMP_MULTIFIT_HAS_CGAL
385 IMP_MULTIFIT_HAS_HDF5 = _IMP_multifit.IMP_MULTIFIT_HAS_HDF5
386 IMP_MULTIFIT_HAS_RMF = _IMP_multifit.IMP_MULTIFIT_HAS_RMF
387 IMPMULTIFIT_SHOW_WARNINGS = _IMP_multifit.IMPMULTIFIT_SHOW_WARNINGS
388 _object_types.append(
"RadiusOfGyrationRestraint")
391 def _object_cast_to_RadiusOfGyrationRestraint(*args):
392 """_object_cast_to_RadiusOfGyrationRestraint(Object o) -> RadiusOfGyrationRestraint"""
393 return _IMP_multifit._object_cast_to_RadiusOfGyrationRestraint(*args)
394 _object_types.append(
"ComponentHeader")
397 def _object_cast_to_ComponentHeader(*args):
398 """_object_cast_to_ComponentHeader(Object o) -> ComponentHeader"""
399 return _IMP_multifit._object_cast_to_ComponentHeader(*args)
400 _object_types.append(
"AssemblyHeader")
403 def _object_cast_to_AssemblyHeader(*args):
404 """_object_cast_to_AssemblyHeader(Object o) -> AssemblyHeader"""
405 return _IMP_multifit._object_cast_to_AssemblyHeader(*args)
406 _object_types.append(
"SettingsData")
409 def _object_cast_to_SettingsData(*args):
410 """_object_cast_to_SettingsData(Object o) -> SettingsData"""
411 return _IMP_multifit._object_cast_to_SettingsData(*args)
412 _object_types.append(
"WeightedExcludedVolumeRestraint")
415 def _object_cast_to_WeightedExcludedVolumeRestraint(*args):
416 """_object_cast_to_WeightedExcludedVolumeRestraint(Object o) -> WeightedExcludedVolumeRestraint"""
417 return _IMP_multifit._object_cast_to_WeightedExcludedVolumeRestraint(*args)
418 _object_types.append(
"ComplementarityRestraint")
421 def _object_cast_to_ComplementarityRestraint(*args):
422 """_object_cast_to_ComplementarityRestraint(Object o) -> ComplementarityRestraint"""
423 return _IMP_multifit._object_cast_to_ComplementarityRestraint(*args)
424 ProteinRecordDataList=list
425 _plural_types.append(
"ProteinRecordDataList")
426 _value_types.append(
"ProteinRecordData")
428 FittingSolutionRecords=list
429 _plural_types.append(
"FittingSolutionRecords")
430 _value_types.append(
"FittingSolutionRecord")
433 _plural_types.append(
"AnchorsDataList")
434 _value_types.append(
"AnchorsData")
436 DominoParamsList=list
437 _plural_types.append(
"DominoParamsList")
438 _value_types.append(
"DominoParams")
440 ComplementarityParamsList=list
441 _plural_types.append(
"ComplementarityParamsList")
442 _value_types.append(
"ComplementarityParams")
445 _plural_types.append(
"XlinkParamsList")
446 _value_types.append(
"XlinkParams")
448 ConnectivityParamsList=list
449 _plural_types.append(
"ConnectivityParamsList")
450 _value_types.append(
"ConnectivityParams")
452 FragmentsParamsList=list
453 _plural_types.append(
"FragmentsParamsList")
454 _value_types.append(
"FragmentsParams")
457 _plural_types.append(
"RogParamsList")
458 _value_types.append(
"RogParams")
461 _plural_types.append(
"EVParamsList")
462 _value_types.append(
"EVParams")
464 FiltersParamsList=list
465 _plural_types.append(
"FiltersParamsList")
466 _value_types.append(
"FiltersParams")
468 AlignmentParamsList=list
469 _plural_types.append(
"AlignmentParamsList")
470 _value_types.append(
"AlignmentParams")
472 FittingParamsList=list
473 _plural_types.append(
"FittingParamsList")
474 _value_types.append(
"FittingParams")
476 ProteinsAnchorsSamplingSpaces=list
477 _plural_types.append(
"ProteinsAnchorsSamplingSpaces")
478 _value_types.append(
"ProteinsAnchorsSamplingSpace")
480 _object_types.append(
"ProteomicsData")
483 def _object_cast_to_ProteomicsData(*args):
484 """_object_cast_to_ProteomicsData(Object o) -> ProteomicsData"""
485 return _IMP_multifit._object_cast_to_ProteomicsData(*args)
486 _object_types.append(
"FFTFitting")
489 def _object_cast_to_FFTFitting(*args):
490 """_object_cast_to_FFTFitting(Object o) -> FFTFitting"""
491 return _IMP_multifit._object_cast_to_FFTFitting(*args)
492 _object_types.append(
"FFTFittingOutput")
495 def _object_cast_to_FFTFittingOutput(*args):
496 """_object_cast_to_FFTFittingOutput(Object o) -> FFTFittingOutput"""
497 return _IMP_multifit._object_cast_to_FFTFittingOutput(*args)
498 _object_types.append(
"ProbabilisticAnchorGraph")
501 def _object_cast_to_ProbabilisticAnchorGraph(*args):
502 """_object_cast_to_ProbabilisticAnchorGraph(Object o) -> ProbabilisticAnchorGraph"""
503 return _IMP_multifit._object_cast_to_ProbabilisticAnchorGraph(*args)
504 _object_types.append(
"Ensemble")
507 def _object_cast_to_Ensemble(*args):
508 """_object_cast_to_Ensemble(Object o) -> Ensemble"""
509 return _IMP_multifit._object_cast_to_Ensemble(*args)
510 _object_types.append(
"ProteomicsEMAlignmentAtomic")
513 def _object_cast_to_ProteomicsEMAlignmentAtomic(*args):
514 """_object_cast_to_ProteomicsEMAlignmentAtomic(Object o) -> ProteomicsEMAlignmentAtomic"""
515 return _IMP_multifit._object_cast_to_ProteomicsEMAlignmentAtomic(*args)
519 add_surface_index(Hierarchy mhd, IMP::Float apix, FloatKey shell_key=FloatKey("surf_ind"), FloatKey radius_key=IMP::core::XYZR::get_radius_key(),
520 FloatKey weight_key=IMP::atom::Mass::get_mass_key())
521 add_surface_index(Hierarchy mhd, IMP::Float apix, FloatKey shell_key=FloatKey("surf_ind"), FloatKey radius_key=IMP::core::XYZR::get_radius_key())
522 add_surface_index(Hierarchy mhd, IMP::Float apix, FloatKey shell_key=FloatKey("surf_ind"))
523 add_surface_index(Hierarchy mhd, IMP::Float apix)
525 return _IMP_multifit.add_surface_index(*args)
529 create_weighted_excluded_volume_restraint(RigidBody rb1, RigidBody rb2, FloatKey shell_key=FloatKey("surf_ind")) -> Restraint
530 create_weighted_excluded_volume_restraint(RigidBody rb1, RigidBody rb2) -> Restraint
532 return _IMP_multifit.create_weighted_excluded_volume_restraint(*args)
533 class FittingSolutionRecord(_object):
534 """Proxy of C++ IMP::multifit::FittingSolutionRecord class"""
535 __swig_setmethods__ = {}
536 __setattr__ =
lambda self, name, value: _swig_setattr(self, FittingSolutionRecord, name, value)
537 __swig_getmethods__ = {}
538 __getattr__ =
lambda self, name: _swig_getattr(self, FittingSolutionRecord, name)
540 """__init__(IMP::multifit::FittingSolutionRecord self) -> FittingSolutionRecord"""
541 this = _IMP_multifit.new_FittingSolutionRecord()
542 try: self.this.append(this)
543 except: self.this = this
545 """get_index(FittingSolutionRecord self) -> unsigned int"""
546 return _IMP_multifit.FittingSolutionRecord_get_index(self)
548 def set_index(self, *args):
549 """set_index(FittingSolutionRecord self, unsigned int new_ind)"""
550 return _IMP_multifit.FittingSolutionRecord_set_index(self, *args)
552 def get_solution_filename(self):
553 """get_solution_filename(FittingSolutionRecord self) -> std::string"""
554 return _IMP_multifit.FittingSolutionRecord_get_solution_filename(self)
556 def set_solution_filename(self, *args):
557 """set_solution_filename(FittingSolutionRecord self, std::string sol_fn)"""
558 return _IMP_multifit.FittingSolutionRecord_set_solution_filename(self, *args)
560 def get_fit_transformation(self):
561 """get_fit_transformation(FittingSolutionRecord self) -> Transformation3D"""
562 return _IMP_multifit.FittingSolutionRecord_get_fit_transformation(self)
564 def set_fit_transformation(self, *args):
565 """set_fit_transformation(FittingSolutionRecord self, Transformation3D t)"""
566 return _IMP_multifit.FittingSolutionRecord_set_fit_transformation(self, *args)
568 def get_match_size(self):
569 """get_match_size(FittingSolutionRecord self) -> unsigned int"""
570 return _IMP_multifit.FittingSolutionRecord_get_match_size(self)
572 def set_match_size(self, *args):
573 """set_match_size(FittingSolutionRecord self, unsigned int match_size)"""
574 return _IMP_multifit.FittingSolutionRecord_set_match_size(self, *args)
576 def get_match_average_distance(self):
577 """get_match_average_distance(FittingSolutionRecord self) -> IMP::Float"""
578 return _IMP_multifit.FittingSolutionRecord_get_match_average_distance(self)
580 def set_match_average_distance(self, *args):
581 """set_match_average_distance(FittingSolutionRecord self, IMP::Float match_avg_dist)"""
582 return _IMP_multifit.FittingSolutionRecord_set_match_average_distance(self, *args)
584 def get_fitting_score(self):
585 """get_fitting_score(FittingSolutionRecord self) -> IMP::Float"""
586 return _IMP_multifit.FittingSolutionRecord_get_fitting_score(self)
588 def set_fitting_score(self, *args):
589 """set_fitting_score(FittingSolutionRecord self, IMP::Float fit_score)"""
590 return _IMP_multifit.FittingSolutionRecord_set_fitting_score(self, *args)
592 def get_rmsd_to_reference(self):
593 """get_rmsd_to_reference(FittingSolutionRecord self) -> IMP::Float"""
594 return _IMP_multifit.FittingSolutionRecord_get_rmsd_to_reference(self)
596 def set_rmsd_to_reference(self, *args):
597 """set_rmsd_to_reference(FittingSolutionRecord self, IMP::Float rmsd_to_ref)"""
598 return _IMP_multifit.FittingSolutionRecord_set_rmsd_to_reference(self, *args)
600 def get_dock_transformation(self):
601 """get_dock_transformation(FittingSolutionRecord self) -> Transformation3D"""
602 return _IMP_multifit.FittingSolutionRecord_get_dock_transformation(self)
604 def set_dock_transformation(self, *args):
605 """set_dock_transformation(FittingSolutionRecord self, Transformation3D t)"""
606 return _IMP_multifit.FittingSolutionRecord_set_dock_transformation(self, *args)
608 def get_envelope_penetration_score(self):
609 """get_envelope_penetration_score(FittingSolutionRecord self) -> IMP::Float"""
610 return _IMP_multifit.FittingSolutionRecord_get_envelope_penetration_score(self)
612 def set_envelope_penetration_score(self, *args):
613 """set_envelope_penetration_score(FittingSolutionRecord self, IMP::Float s)"""
614 return _IMP_multifit.FittingSolutionRecord_set_envelope_penetration_score(self, *args)
616 def show(self, *args):
618 show(FittingSolutionRecord self, _ostream out=std::cout)
619 show(FittingSolutionRecord self)
621 return _IMP_multifit.FittingSolutionRecord_show(self, *args)
623 def get_record_header():
624 """get_record_header() -> std::string"""
625 return _IMP_multifit.FittingSolutionRecord_get_record_header()
627 if _newclass:get_record_header = staticmethod(get_record_header)
628 __swig_getmethods__[
"get_record_header"] =
lambda x: get_record_header
630 """__str__(FittingSolutionRecord self) -> std::string"""
631 return _IMP_multifit.FittingSolutionRecord___str__(self)
634 """__repr__(FittingSolutionRecord self) -> std::string"""
635 return _IMP_multifit.FittingSolutionRecord___repr__(self)
637 __swig_destroy__ = _IMP_multifit.delete_FittingSolutionRecord
638 __del__ =
lambda self :
None;
639 FittingSolutionRecord_swigregister = _IMP_multifit.FittingSolutionRecord_swigregister
640 FittingSolutionRecord_swigregister(FittingSolutionRecord)
642 def FittingSolutionRecord_get_record_header():
643 """FittingSolutionRecord_get_record_header() -> std::string"""
644 return _IMP_multifit.FittingSolutionRecord_get_record_header()
649 pca_based_rigid_fitting(RigidBody rb, Refiner rb_refiner, DensityMap em_map, IMP::Float threshold, FloatKey wei_key=IMP::atom::Mass::get_mass_key(),
650 PrincipalComponentAnalysis3D dens_pca_input=IMP::algebra::PrincipalComponentAnalysis()) -> FittingSolutions
651 pca_based_rigid_fitting(RigidBody rb, Refiner rb_refiner, DensityMap em_map, IMP::Float threshold, FloatKey wei_key=IMP::atom::Mass::get_mass_key()) -> FittingSolutions
652 pca_based_rigid_fitting(RigidBody rb, Refiner rb_refiner, DensityMap em_map, IMP::Float threshold) -> FittingSolutions
653 pca_based_rigid_fitting(IMP::kernel::ParticlesTemp ps, DensityMap em_map, IMP::Float threshold, FloatKey wei_key=IMP::atom::Mass::get_mass_key(),
654 PrincipalComponentAnalysis3D dens_pca_input=IMP::algebra::PrincipalComponentAnalysis()) -> FittingSolutions
655 pca_based_rigid_fitting(IMP::kernel::ParticlesTemp ps, DensityMap em_map, IMP::Float threshold, FloatKey wei_key=IMP::atom::Mass::get_mass_key()) -> FittingSolutions
656 pca_based_rigid_fitting(IMP::kernel::ParticlesTemp ps, DensityMap em_map, IMP::Float threshold) -> FittingSolutions
658 return _IMP_multifit.pca_based_rigid_fitting(*args)
660 def write_markers(*args):
661 """write_markers(PrincipalComponentAnalysis3D pca, _ostream out)"""
662 return _IMP_multifit.write_markers(*args)
664 """Proxy of C++ IMP::multifit::ComponentHeader class"""
665 __swig_setmethods__ = {}
666 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
667 __setattr__ =
lambda self, name, value: _swig_setattr(self, ComponentHeader, name, value)
668 __swig_getmethods__ = {}
669 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
670 __getattr__ =
lambda self, name: _swig_getattr(self, ComponentHeader, name)
672 """__init__(IMP::multifit::ComponentHeader self) -> ComponentHeader"""
673 this = _IMP_multifit.new_ComponentHeader()
674 try: self.this.append(this)
675 except: self.this = this
676 def set_name(self, *args):
677 """set_name(ComponentHeader self, std::string const & name)"""
678 return _IMP_multifit.ComponentHeader_set_name(self, *args)
681 """get_name(ComponentHeader self) -> std::string"""
682 return _IMP_multifit.ComponentHeader_get_name(self)
684 def get_filename(self):
685 """get_filename(ComponentHeader self) -> std::string"""
686 return _IMP_multifit.ComponentHeader_get_filename(self)
688 def set_filename(self, *args):
689 """set_filename(ComponentHeader self, std::string const & filename)"""
690 return _IMP_multifit.ComponentHeader_set_filename(self, *args)
692 def get_surface_fn(self):
693 """get_surface_fn(ComponentHeader self) -> std::string"""
694 return _IMP_multifit.ComponentHeader_get_surface_fn(self)
696 def set_surface_fn(self, *args):
697 """set_surface_fn(ComponentHeader self, std::string const & fn)"""
698 return _IMP_multifit.ComponentHeader_set_surface_fn(self, *args)
700 def set_txt_ap_fn(self, *args):
701 """set_txt_ap_fn(ComponentHeader self, std::string const & pdb_ap_fn)"""
702 return _IMP_multifit.ComponentHeader_set_txt_ap_fn(self, *args)
704 def get_txt_ap_fn(self):
705 """get_txt_ap_fn(ComponentHeader self) -> std::string"""
706 return _IMP_multifit.ComponentHeader_get_txt_ap_fn(self)
708 def set_txt_fine_ap_fn(self, *args):
709 """set_txt_fine_ap_fn(ComponentHeader self, std::string const & pdb_ap_fn)"""
710 return _IMP_multifit.ComponentHeader_set_txt_fine_ap_fn(self, *args)
712 def get_txt_fine_ap_fn(self):
713 """get_txt_fine_ap_fn(ComponentHeader self) -> std::string"""
714 return _IMP_multifit.ComponentHeader_get_txt_fine_ap_fn(self)
716 def set_num_ap(self, *args):
717 """set_num_ap(ComponentHeader self, int num_ap)"""
718 return _IMP_multifit.ComponentHeader_set_num_ap(self, *args)
720 def get_num_ap(self):
721 """get_num_ap(ComponentHeader self) -> int"""
722 return _IMP_multifit.ComponentHeader_get_num_ap(self)
724 def set_num_fine_ap(self, *args):
725 """set_num_fine_ap(ComponentHeader self, int num_ap)"""
726 return _IMP_multifit.ComponentHeader_set_num_fine_ap(self, *args)
728 def get_num_fine_ap(self):
729 """get_num_fine_ap(ComponentHeader self) -> int"""
730 return _IMP_multifit.ComponentHeader_get_num_fine_ap(self)
732 def set_transformations_fn(self, *args):
733 """set_transformations_fn(ComponentHeader self, std::string transformations_fn)"""
734 return _IMP_multifit.ComponentHeader_set_transformations_fn(self, *args)
736 def get_transformations_fn(self):
737 """get_transformations_fn(ComponentHeader self) -> std::string"""
738 return _IMP_multifit.ComponentHeader_get_transformations_fn(self)
740 def set_reference_fn(self, *args):
741 """set_reference_fn(ComponentHeader self, std::string const & ref_fn)"""
742 return _IMP_multifit.ComponentHeader_set_reference_fn(self, *args)
744 def get_reference_fn(self):
745 """get_reference_fn(ComponentHeader self) -> std::string"""
746 return _IMP_multifit.ComponentHeader_get_reference_fn(self)
748 def get_version_info(self):
749 """get_version_info(ComponentHeader self) -> VersionInfo"""
750 return _IMP_multifit.ComponentHeader_get_version_info(self)
752 __swig_destroy__ = _IMP_multifit.delete_ComponentHeader
753 __del__ =
lambda self :
None;
755 """__str__(ComponentHeader self) -> std::string"""
756 return _IMP_multifit.ComponentHeader___str__(self)
759 """__repr__(ComponentHeader self) -> std::string"""
760 return _IMP_multifit.ComponentHeader___repr__(self)
763 return _object_cast_to_ComponentHeader(o)
764 get_from = staticmethod(get_from)
766 ComponentHeader_swigregister = _IMP_multifit.ComponentHeader_swigregister
767 ComponentHeader_swigregister(ComponentHeader)
770 """Proxy of C++ IMP::multifit::AssemblyHeader class"""
771 __swig_setmethods__ = {}
772 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
773 __setattr__ =
lambda self, name, value: _swig_setattr(self, AssemblyHeader, name, value)
774 __swig_getmethods__ = {}
775 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
776 __getattr__ =
lambda self, name: _swig_getattr(self, AssemblyHeader, name)
778 """__init__(IMP::multifit::AssemblyHeader self) -> AssemblyHeader"""
779 this = _IMP_multifit.new_AssemblyHeader()
780 try: self.this.append(this)
781 except: self.this = this
782 def set_dens_fn(self, *args):
783 """set_dens_fn(AssemblyHeader self, std::string const & dens_fn)"""
784 return _IMP_multifit.AssemblyHeader_set_dens_fn(self, *args)
786 def get_dens_fn(self):
787 """get_dens_fn(AssemblyHeader self) -> std::string"""
788 return _IMP_multifit.AssemblyHeader_get_dens_fn(self)
790 def set_resolution(self, *args):
791 """set_resolution(AssemblyHeader self, float res)"""
792 return _IMP_multifit.AssemblyHeader_set_resolution(self, *args)
794 def get_resolution(self):
795 """get_resolution(AssemblyHeader self) -> float"""
796 return _IMP_multifit.AssemblyHeader_get_resolution(self)
798 def get_spacing(self):
799 """get_spacing(AssemblyHeader self) -> float"""
800 return _IMP_multifit.AssemblyHeader_get_spacing(self)
802 def set_spacing(self, *args):
803 """set_spacing(AssemblyHeader self, float spacing)"""
804 return _IMP_multifit.AssemblyHeader_set_spacing(self, *args)
806 def set_threshold(self, *args):
807 """set_threshold(AssemblyHeader self, float t)"""
808 return _IMP_multifit.AssemblyHeader_set_threshold(self, *args)
810 def get_threshold(self):
811 """get_threshold(AssemblyHeader self) -> float"""
812 return _IMP_multifit.AssemblyHeader_get_threshold(self)
814 def get_origin(self):
815 """get_origin(AssemblyHeader self) -> Vector3D"""
816 return _IMP_multifit.AssemblyHeader_get_origin(self)
818 def set_origin(self, *args):
819 """set_origin(AssemblyHeader self, Vector3D origin)"""
820 return _IMP_multifit.AssemblyHeader_set_origin(self, *args)
822 def get_coarse_ap_fn(self):
823 """get_coarse_ap_fn(AssemblyHeader self) -> std::string"""
824 return _IMP_multifit.AssemblyHeader_get_coarse_ap_fn(self)
826 def set_coarse_ap_fn(self, *args):
827 """set_coarse_ap_fn(AssemblyHeader self, std::string const & new_fn)"""
828 return _IMP_multifit.AssemblyHeader_set_coarse_ap_fn(self, *args)
830 def get_coarse_over_sampled_ap_fn(self):
831 """get_coarse_over_sampled_ap_fn(AssemblyHeader self) -> std::string"""
832 return _IMP_multifit.AssemblyHeader_get_coarse_over_sampled_ap_fn(self)
834 def set_coarse_over_sampled_ap_fn(self, *args):
835 """set_coarse_over_sampled_ap_fn(AssemblyHeader self, std::string const & new_fn)"""
836 return _IMP_multifit.AssemblyHeader_set_coarse_over_sampled_ap_fn(self, *args)
838 def get_fine_ap_fn(self):
839 """get_fine_ap_fn(AssemblyHeader self) -> std::string"""
840 return _IMP_multifit.AssemblyHeader_get_fine_ap_fn(self)
842 def set_fine_ap_fn(self, *args):
843 """set_fine_ap_fn(AssemblyHeader self, std::string const & new_fn)"""
844 return _IMP_multifit.AssemblyHeader_set_fine_ap_fn(self, *args)
846 def get_fine_over_sampled_ap_fn(self):
847 """get_fine_over_sampled_ap_fn(AssemblyHeader self) -> std::string"""
848 return _IMP_multifit.AssemblyHeader_get_fine_over_sampled_ap_fn(self)
850 def set_fine_over_sampled_ap_fn(self, *args):
851 """set_fine_over_sampled_ap_fn(AssemblyHeader self, std::string const & new_fn)"""
852 return _IMP_multifit.AssemblyHeader_set_fine_over_sampled_ap_fn(self, *args)
854 def get_version_info(self):
855 """get_version_info(AssemblyHeader self) -> VersionInfo"""
856 return _IMP_multifit.AssemblyHeader_get_version_info(self)
858 __swig_destroy__ = _IMP_multifit.delete_AssemblyHeader
859 __del__ =
lambda self :
None;
861 """__str__(AssemblyHeader self) -> std::string"""
862 return _IMP_multifit.AssemblyHeader___str__(self)
865 """__repr__(AssemblyHeader self) -> std::string"""
866 return _IMP_multifit.AssemblyHeader___repr__(self)
869 return _object_cast_to_AssemblyHeader(o)
870 get_from = staticmethod(get_from)
872 AssemblyHeader_swigregister = _IMP_multifit.AssemblyHeader_swigregister
873 AssemblyHeader_swigregister(AssemblyHeader)
876 """Proxy of C++ IMP::multifit::SettingsData class"""
877 __swig_setmethods__ = {}
878 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
879 __setattr__ =
lambda self, name, value: _swig_setattr(self, SettingsData, name, value)
880 __swig_getmethods__ = {}
881 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
882 __getattr__ =
lambda self, name: _swig_getattr(self, SettingsData, name)
884 """__init__(IMP::multifit::SettingsData self) -> SettingsData"""
885 this = _IMP_multifit.new_SettingsData()
886 try: self.this.append(this)
887 except: self.this = this
888 def show_component_header_line(*args):
890 show_component_header_line(_ostream out=std::cout)
891 show_component_header_line()
893 return _IMP_multifit.SettingsData_show_component_header_line(*args)
895 if _newclass:show_component_header_line = staticmethod(show_component_header_line)
896 __swig_getmethods__[
"show_component_header_line"] =
lambda x: show_component_header_line
897 def get_component_header_line():
898 """get_component_header_line() -> std::string"""
899 return _IMP_multifit.SettingsData_get_component_header_line()
901 if _newclass:get_component_header_line = staticmethod(get_component_header_line)
902 __swig_getmethods__[
"get_component_header_line"] =
lambda x: get_component_header_line
903 def show_density_header_line(*args):
905 show_density_header_line(_ostream out=std::cout)
906 show_density_header_line()
908 return _IMP_multifit.SettingsData_show_density_header_line(*args)
910 if _newclass:show_density_header_line = staticmethod(show_density_header_line)
911 __swig_getmethods__[
"show_density_header_line"] =
lambda x: show_density_header_line
912 def get_density_header_line():
913 """get_density_header_line() -> std::string"""
914 return _IMP_multifit.SettingsData_get_density_header_line()
916 if _newclass:get_density_header_line = staticmethod(get_density_header_line)
917 __swig_getmethods__[
"get_density_header_line"] =
lambda x: get_density_header_line
918 def set_assembly_filename(self, *args):
919 """set_assembly_filename(SettingsData self, std::string const & fn)"""
920 return _IMP_multifit.SettingsData_set_assembly_filename(self, *args)
922 def get_assembly_filename(self):
923 """get_assembly_filename(SettingsData self) -> char const *"""
924 return _IMP_multifit.SettingsData_get_assembly_filename(self)
926 def set_assembly_header(self, *args):
927 """set_assembly_header(SettingsData self, AssemblyHeader h)"""
928 return _IMP_multifit.SettingsData_set_assembly_header(self, *args)
930 def get_assembly_header(self):
931 """get_assembly_header(SettingsData self) -> AssemblyHeader"""
932 return _IMP_multifit.SettingsData_get_assembly_header(self)
934 def set_data_path(self, *args):
935 """set_data_path(SettingsData self, std::string const & fn)"""
936 return _IMP_multifit.SettingsData_set_data_path(self, *args)
939 """get_data_path(SettingsData self) -> std::string"""
940 return _IMP_multifit.SettingsData_get_data_path(self)
942 def get_version_info(self):
943 """get_version_info(SettingsData self) -> VersionInfo"""
944 return _IMP_multifit.SettingsData_get_version_info(self)
946 __swig_destroy__ = _IMP_multifit.delete_SettingsData
947 __del__ =
lambda self :
None;
948 def remove_component_header(self, *args):
949 """remove_component_header(SettingsData self, ComponentHeader d)"""
950 return _IMP_multifit.SettingsData_remove_component_header(self, *args)
952 def remove_component_headers(self, *args):
953 """remove_component_headers(SettingsData self, IMP::multifit::ComponentHeaders const & d)"""
954 return _IMP_multifit.SettingsData_remove_component_headers(self, *args)
956 def set_component_headers(self, *args):
957 """set_component_headers(SettingsData self, IMP::multifit::ComponentHeaders const & ps)"""
958 return _IMP_multifit.SettingsData_set_component_headers(self, *args)
960 def set_component_headers_order(self, *args):
961 """set_component_headers_order(SettingsData self, IMP::multifit::ComponentHeaders const & objs)"""
962 return _IMP_multifit.SettingsData_set_component_headers_order(self, *args)
964 def add_component_header(self, *args):
965 """add_component_header(SettingsData self, ComponentHeader obj) -> unsigned int"""
966 return _IMP_multifit.SettingsData_add_component_header(self, *args)
968 def add_component_headers(self, *args):
969 """add_component_headers(SettingsData self, IMP::multifit::ComponentHeaders const & objs)"""
970 return _IMP_multifit.SettingsData_add_component_headers(self, *args)
972 def clear_component_headers(self):
973 """clear_component_headers(SettingsData self)"""
974 return _IMP_multifit.SettingsData_clear_component_headers(self)
976 def get_number_of_component_headers(self):
977 """get_number_of_component_headers(SettingsData self) -> unsigned int"""
978 return _IMP_multifit.SettingsData_get_number_of_component_headers(self)
980 def get_has_component_headers(self):
981 """get_has_component_headers(SettingsData self) -> bool"""
982 return _IMP_multifit.SettingsData_get_has_component_headers(self)
984 def get_component_header(self, *args):
985 """get_component_header(SettingsData self, unsigned int i) -> ComponentHeader"""
986 return _IMP_multifit.SettingsData_get_component_header(self, *args)
988 def get_component_headers(self):
989 """get_component_headers(SettingsData self) -> IMP::multifit::ComponentHeaders"""
990 return _IMP_multifit.SettingsData_get_component_headers(self)
992 def reserve_component_headers(self, *args):
993 """reserve_component_headers(SettingsData self, unsigned int sz)"""
994 return _IMP_multifit.SettingsData_reserve_component_headers(self, *args)
997 """__str__(SettingsData self) -> std::string"""
998 return _IMP_multifit.SettingsData___str__(self)
1001 """__repr__(SettingsData self) -> std::string"""
1002 return _IMP_multifit.SettingsData___repr__(self)
1005 return _object_cast_to_SettingsData(o)
1006 get_from = staticmethod(get_from)
1008 SettingsData_swigregister = _IMP_multifit.SettingsData_swigregister
1009 SettingsData_swigregister(SettingsData)
1011 def SettingsData_show_component_header_line(*args):
1013 show_component_header_line(_ostream out=std::cout)
1014 SettingsData_show_component_header_line()
1016 return _IMP_multifit.SettingsData_show_component_header_line(*args)
1018 def SettingsData_get_component_header_line():
1019 """SettingsData_get_component_header_line() -> std::string"""
1020 return _IMP_multifit.SettingsData_get_component_header_line()
1022 def SettingsData_show_density_header_line(*args):
1024 show_density_header_line(_ostream out=std::cout)
1025 SettingsData_show_density_header_line()
1027 return _IMP_multifit.SettingsData_show_density_header_line(*args)
1029 def SettingsData_get_density_header_line():
1030 """SettingsData_get_density_header_line() -> std::string"""
1031 return _IMP_multifit.SettingsData_get_density_header_line()
1034 def read_settings(*args):
1035 """read_settings(char const * filename) -> SettingsData"""
1036 return _IMP_multifit.read_settings(*args)
1038 def write_settings(*args):
1039 """write_settings(char const * filename, SettingsData sd)"""
1040 return _IMP_multifit.write_settings(*args)
1042 """Proxy of C++ IMP::multifit::WeightedExcludedVolumeRestraint class"""
1043 __swig_setmethods__ = {}
1044 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1045 __setattr__ =
lambda self, name, value: _swig_setattr(self, WeightedExcludedVolumeRestraint, name, value)
1046 __swig_getmethods__ = {}
1047 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1048 __getattr__ =
lambda self, name: _swig_getattr(self, WeightedExcludedVolumeRestraint, name)
1049 def __init__(self, *args):
1051 __init__(IMP::multifit::WeightedExcludedVolumeRestraint self, IMP::core::RigidBodies rbs, Refiner refiner, FloatKey weight_key=IMP::atom::Mass::get_mass_key()) -> WeightedExcludedVolumeRestraint
1052 __init__(IMP::multifit::WeightedExcludedVolumeRestraint self, IMP::core::RigidBodies rbs, Refiner refiner) -> WeightedExcludedVolumeRestraint
1054 this = _IMP_multifit.new_WeightedExcludedVolumeRestraint(*args)
1055 try: self.this.append(this)
1056 except: self.this = this
1057 def do_get_inputs(self):
1058 """do_get_inputs(WeightedExcludedVolumeRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1059 return _IMP_multifit.WeightedExcludedVolumeRestraint_do_get_inputs(self)
1061 def get_version_info(self):
1062 """get_version_info(WeightedExcludedVolumeRestraint self) -> VersionInfo"""
1063 return _IMP_multifit.WeightedExcludedVolumeRestraint_get_version_info(self)
1065 __swig_destroy__ = _IMP_multifit.delete_WeightedExcludedVolumeRestraint
1066 __del__ =
lambda self :
None;
1068 """__str__(WeightedExcludedVolumeRestraint self) -> std::string"""
1069 return _IMP_multifit.WeightedExcludedVolumeRestraint___str__(self)
1072 """__repr__(WeightedExcludedVolumeRestraint self) -> std::string"""
1073 return _IMP_multifit.WeightedExcludedVolumeRestraint___repr__(self)
1076 return _object_cast_to_WeightedExcludedVolumeRestraint(o)
1077 get_from = staticmethod(get_from)
1079 WeightedExcludedVolumeRestraint_swigregister = _IMP_multifit.WeightedExcludedVolumeRestraint_swigregister
1080 WeightedExcludedVolumeRestraint_swigregister(WeightedExcludedVolumeRestraint)
1083 """Proxy of C++ IMP::multifit::FFTFittingOutput class"""
1084 __swig_setmethods__ = {}
1085 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1086 __setattr__ =
lambda self, name, value: _swig_setattr(self, FFTFittingOutput, name, value)
1087 __swig_getmethods__ = {}
1088 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1089 __getattr__ =
lambda self, name: _swig_getattr(self, FFTFittingOutput, name)
1091 """__init__(IMP::multifit::FFTFittingOutput self) -> FFTFittingOutput"""
1092 this = _IMP_multifit.new_FFTFittingOutput()
1093 try: self.this.append(this)
1094 except: self.this = this
1095 def get_version_info(self):
1096 """get_version_info(FFTFittingOutput self) -> VersionInfo"""
1097 return _IMP_multifit.FFTFittingOutput_get_version_info(self)
1099 __swig_destroy__ = _IMP_multifit.delete_FFTFittingOutput
1100 __del__ =
lambda self :
None;
1101 __swig_setmethods__[
"best_fits_"] = _IMP_multifit.FFTFittingOutput_best_fits__set
1102 __swig_getmethods__[
"best_fits_"] = _IMP_multifit.FFTFittingOutput_best_fits__get
1103 if _newclass:best_fits_ = _swig_property(_IMP_multifit.FFTFittingOutput_best_fits__get, _IMP_multifit.FFTFittingOutput_best_fits__set)
1104 __swig_setmethods__[
"best_trans_per_rot_"] = _IMP_multifit.FFTFittingOutput_best_trans_per_rot__set
1105 __swig_getmethods__[
"best_trans_per_rot_"] = _IMP_multifit.FFTFittingOutput_best_trans_per_rot__get
1106 if _newclass:best_trans_per_rot_ = _swig_property(_IMP_multifit.FFTFittingOutput_best_trans_per_rot__get, _IMP_multifit.FFTFittingOutput_best_trans_per_rot__set)
1108 """__str__(FFTFittingOutput self) -> std::string"""
1109 return _IMP_multifit.FFTFittingOutput___str__(self)
1112 """__repr__(FFTFittingOutput self) -> std::string"""
1113 return _IMP_multifit.FFTFittingOutput___repr__(self)
1116 return _object_cast_to_FFTFittingOutput(o)
1117 get_from = staticmethod(get_from)
1119 FFTFittingOutput_swigregister = _IMP_multifit.FFTFittingOutput_swigregister
1120 FFTFittingOutput_swigregister(FFTFittingOutput)
1123 """Proxy of C++ IMP::multifit::FFTFitting class"""
1124 __swig_setmethods__ = {}
1125 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1126 __setattr__ =
lambda self, name, value: _swig_setattr(self, FFTFitting, name, value)
1127 __swig_getmethods__ = {}
1128 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1129 __getattr__ =
lambda self, name: _swig_getattr(self, FFTFitting, name)
1130 def get_version_info(self):
1131 """get_version_info(FFTFitting self) -> VersionInfo"""
1132 return _IMP_multifit.FFTFitting_get_version_info(self)
1134 __swig_destroy__ = _IMP_multifit.delete_FFTFitting
1135 __del__ =
lambda self :
None;
1137 """__init__(IMP::multifit::FFTFitting self) -> FFTFitting"""
1138 this = _IMP_multifit.new_FFTFitting()
1139 try: self.this.append(this)
1140 except: self.this = this
1141 def do_global_fitting(self, *args):
1143 do_global_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad,
1144 int num_fits_to_report, double max_clustering_translation,
1145 double max_clustering_angle, bool cluster_fits=True, int num_angle_per_voxel=1,
1146 std::string const & angles_filename="") -> FFTFittingOutput
1147 do_global_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad,
1148 int num_fits_to_report, double max_clustering_translation,
1149 double max_clustering_angle, bool cluster_fits=True, int num_angle_per_voxel=1) -> FFTFittingOutput
1150 do_global_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad,
1151 int num_fits_to_report, double max_clustering_translation,
1152 double max_clustering_angle, bool cluster_fits=True) -> FFTFittingOutput
1153 do_global_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad,
1154 int num_fits_to_report, double max_clustering_translation,
1155 double max_clustering_angle) -> FFTFittingOutput
1157 return _IMP_multifit.FFTFitting_do_global_fitting(self, *args)
1159 def do_local_fitting(self, *args):
1161 do_local_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad,
1162 double max_angle_sampling_rad, double max_translation, int num_fits_to_report,
1163 bool cluster_fits, int num_angle_per_voxel, double max_clustering_translation,
1164 double max_clustering_rotation, std::string const & angles_filename="") -> FFTFittingOutput
1165 do_local_fitting(FFTFitting self, DensityMap dmap, double density_threshold, Hierarchy mol2fit, double angle_sampling_interval_rad,
1166 double max_angle_sampling_rad, double max_translation, int num_fits_to_report,
1167 bool cluster_fits, int num_angle_per_voxel, double max_clustering_translation,
1168 double max_clustering_rotation) -> FFTFittingOutput
1170 return _IMP_multifit.FFTFitting_do_local_fitting(self, *args)
1173 """__str__(FFTFitting self) -> std::string"""
1174 return _IMP_multifit.FFTFitting___str__(self)
1177 """__repr__(FFTFitting self) -> std::string"""
1178 return _IMP_multifit.FFTFitting___repr__(self)
1181 return _object_cast_to_FFTFitting(o)
1182 get_from = staticmethod(get_from)
1184 FFTFitting_swigregister = _IMP_multifit.FFTFitting_swigregister
1185 FFTFitting_swigregister(FFTFitting)
1189 """fft_based_rigid_fitting(Hierarchy mol2fit, DensityMap dmap, double density_threshold, double angle_sampling_interval_rad) -> IMP::multifit::FittingSolutionRecords"""
1190 return _IMP_multifit.fft_based_rigid_fitting(*args)
1193 """get_density_histogram(DensityMap dmap, float threshold, int num_bins) -> Histogram"""
1194 return _IMP_multifit.get_density_histogram(*args)
1197 """remove_background(DensityMap dmap, float threshold, float edge_threshold) -> DensityMap"""
1198 return _IMP_multifit.remove_background(*args)
1201 """get_connected_components(DensityMap dmap, float threshold, float edge_threshold) -> IMP::IntsList"""
1202 return _IMP_multifit.get_connected_components(*args)
1206 get_segmentation(DensityMap dmap, double apix, double density_threshold, int num_means, std::string const pdb_filename,
1207 std::string const cmm_filename, std::string const seg_filename,
1208 std::string const txt_filename)
1210 return _IMP_multifit.get_segmentation(*args)
1212 """Proxy of C++ IMP::multifit::ComplementarityRestraint class"""
1213 __swig_setmethods__ = {}
1214 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1215 __setattr__ =
lambda self, name, value: _swig_setattr(self, ComplementarityRestraint, name, value)
1216 __swig_getmethods__ = {}
1217 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1218 __getattr__ =
lambda self, name: _swig_getattr(self, ComplementarityRestraint, name)
1219 def __init__(self, *args):
1221 __init__(IMP::multifit::ComplementarityRestraint self, IMP::kernel::ParticlesTemp const & a, IMP::kernel::ParticlesTemp const & b, std::string name="ComplementarityRestraint %1%") -> ComplementarityRestraint
1222 __init__(IMP::multifit::ComplementarityRestraint self, IMP::kernel::ParticlesTemp const & a, IMP::kernel::ParticlesTemp const & b) -> ComplementarityRestraint
1224 this = _IMP_multifit.new_ComplementarityRestraint(*args)
1225 try: self.this.append(this)
1226 except: self.this = this
1227 def set_maximum_penetration_score(self, *args):
1228 """set_maximum_penetration_score(ComplementarityRestraint self, double s)"""
1229 return _IMP_multifit.ComplementarityRestraint_set_maximum_penetration_score(self, *args)
1231 def set_maximum_penetration(self, *args):
1232 """set_maximum_penetration(ComplementarityRestraint self, double d)"""
1233 return _IMP_multifit.ComplementarityRestraint_set_maximum_penetration(self, *args)
1235 def set_maximum_separation(self, *args):
1236 """set_maximum_separation(ComplementarityRestraint self, double s)"""
1237 return _IMP_multifit.ComplementarityRestraint_set_maximum_separation(self, *args)
1239 def set_complementarity_thickness(self, *args):
1240 """set_complementarity_thickness(ComplementarityRestraint self, double th)"""
1241 return _IMP_multifit.ComplementarityRestraint_set_complementarity_thickness(self, *args)
1243 def set_complementarity_value(self, *args):
1244 """set_complementarity_value(ComplementarityRestraint self, double th)"""
1245 return _IMP_multifit.ComplementarityRestraint_set_complementarity_value(self, *args)
1247 def set_interior_layer_thickness(self, *args):
1248 """set_interior_layer_thickness(ComplementarityRestraint self, double th)"""
1249 return _IMP_multifit.ComplementarityRestraint_set_interior_layer_thickness(self, *args)
1251 def set_penetration_coefficient(self, *args):
1252 """set_penetration_coefficient(ComplementarityRestraint self, double pc)"""
1253 return _IMP_multifit.ComplementarityRestraint_set_penetration_coefficient(self, *args)
1255 def set_complementarity_coefficient(self, *args):
1256 """set_complementarity_coefficient(ComplementarityRestraint self, double cc)"""
1257 return _IMP_multifit.ComplementarityRestraint_set_complementarity_coefficient(self, *args)
1259 def set_boundary_coefficient(self, *args):
1260 """set_boundary_coefficient(ComplementarityRestraint self, double bc)"""
1261 return _IMP_multifit.ComplementarityRestraint_set_boundary_coefficient(self, *args)
1263 def get_voxel_size(self):
1264 """get_voxel_size(ComplementarityRestraint self) -> float"""
1265 return _IMP_multifit.ComplementarityRestraint_get_voxel_size(self)
1267 def do_get_inputs(self):
1268 """do_get_inputs(ComplementarityRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1269 return _IMP_multifit.ComplementarityRestraint_do_get_inputs(self)
1271 def get_version_info(self):
1272 """get_version_info(ComplementarityRestraint self) -> VersionInfo"""
1273 return _IMP_multifit.ComplementarityRestraint_get_version_info(self)
1275 __swig_destroy__ = _IMP_multifit.delete_ComplementarityRestraint
1276 __del__ =
lambda self :
None;
1278 """__str__(ComplementarityRestraint self) -> std::string"""
1279 return _IMP_multifit.ComplementarityRestraint___str__(self)
1282 """__repr__(ComplementarityRestraint self) -> std::string"""
1283 return _IMP_multifit.ComplementarityRestraint___repr__(self)
1286 return _object_cast_to_ComplementarityRestraint(o)
1287 get_from = staticmethod(get_from)
1289 ComplementarityRestraint_swigregister = _IMP_multifit.ComplementarityRestraint_swigregister
1290 ComplementarityRestraint_swigregister(ComplementarityRestraint)
1294 """read_fitting_solutions(char const * fitting_fn) -> IMP::multifit::FittingSolutionRecords"""
1295 return _IMP_multifit.read_fitting_solutions(*args)
1299 write_fitting_solutions(char const * fitting_fn, IMP::multifit::FittingSolutionRecords const & fit_sols,
1301 write_fitting_solutions(char const * fitting_fn, IMP::multifit::FittingSolutionRecords const & fit_sols)
1303 return _IMP_multifit.write_fitting_solutions(*args)
1305 def convert_em_to_multifit_format(*args):
1306 """convert_em_to_multifit_format(FittingSolutions em_fits) -> IMP::multifit::FittingSolutionRecords"""
1307 return _IMP_multifit.convert_em_to_multifit_format(*args)
1309 def convert_multifit_to_em_format(*args):
1310 """convert_multifit_to_em_format(IMP::multifit::FittingSolutionRecords const & multifit_fits) -> FittingSolutions"""
1311 return _IMP_multifit.convert_multifit_to_em_format(*args)
1313 def convert_transformations_to_multifit_format(*args):
1314 """convert_transformations_to_multifit_format(IMP::algebra::Transformation3Ds const & trans) -> IMP::multifit::FittingSolutionRecords"""
1315 return _IMP_multifit.convert_transformations_to_multifit_format(*args)
1317 def convert_multifit_format_to_transformations(*args):
1318 """convert_multifit_format_to_transformations(IMP::multifit::FittingSolutionRecords const & recs) -> IMP::algebra::Transformation3Ds"""
1319 return _IMP_multifit.convert_multifit_format_to_transformations(*args)
1323 get_close_to_point(IMP::multifit::FittingSolutionRecords const & fit_sols, Hierarchy mh, Particle ap,
1324 IMP::Float dist) -> IMP::multifit::FittingSolutionRecords
1326 return _IMP_multifit.get_close_to_point(*args)
1328 """Proxy of C++ IMP::multifit::ProbabilisticAnchorGraph class"""
1329 __swig_setmethods__ = {}
1330 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1331 __setattr__ =
lambda self, name, value: _swig_setattr(self, ProbabilisticAnchorGraph, name, value)
1332 __swig_getmethods__ = {}
1333 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1334 __getattr__ =
lambda self, name: _swig_getattr(self, ProbabilisticAnchorGraph, name)
1335 def __init__(self, *args):
1336 """__init__(IMP::multifit::ProbabilisticAnchorGraph self, IMP::algebra::Vector3Ds anchor_positions) -> ProbabilisticAnchorGraph"""
1337 this = _IMP_multifit.new_ProbabilisticAnchorGraph(*args)
1338 try: self.this.append(this)
1339 except: self.this = this
1340 def add_edge(self, *args):
1341 """add_edge(ProbabilisticAnchorGraph self, int i, int j)"""
1342 return _IMP_multifit.ProbabilisticAnchorGraph_add_edge(self, *args)
1344 def set_particle_probabilities_on_anchors(self, *args):
1345 """set_particle_probabilities_on_anchors(ProbabilisticAnchorGraph self, Particle p, IMP::multifit::FittingSolutionRecords sols)"""
1346 return _IMP_multifit.ProbabilisticAnchorGraph_set_particle_probabilities_on_anchors(self, *args)
1348 def show(self, *args):
1350 show(ProbabilisticAnchorGraph self, _ostream out=std::cout)
1351 show(ProbabilisticAnchorGraph self)
1353 return _IMP_multifit.ProbabilisticAnchorGraph_show(self, *args)
1355 def get_number_of_anchors(self):
1356 """get_number_of_anchors(ProbabilisticAnchorGraph self) -> unsigned int"""
1357 return _IMP_multifit.ProbabilisticAnchorGraph_get_number_of_anchors(self)
1359 def get_number_of_edges(self):
1360 """get_number_of_edges(ProbabilisticAnchorGraph self) -> unsigned int"""
1361 return _IMP_multifit.ProbabilisticAnchorGraph_get_number_of_edges(self)
1363 def get_edge_list(self):
1364 """get_edge_list(ProbabilisticAnchorGraph self) -> IMP::IntRanges"""
1365 return _IMP_multifit.ProbabilisticAnchorGraph_get_edge_list(self)
1367 def get_anchors(self):
1368 """get_anchors(ProbabilisticAnchorGraph self) -> IMP::algebra::Vector3Ds"""
1369 return _IMP_multifit.ProbabilisticAnchorGraph_get_anchors(self)
1371 def get_particle_anchors(self, *args):
1373 get_particle_anchors(ProbabilisticAnchorGraph self, Particle p, float min_prob=0) -> IMP::algebra::Vector3Ds
1374 get_particle_anchors(ProbabilisticAnchorGraph self, Particle p) -> IMP::algebra::Vector3Ds
1376 return _IMP_multifit.ProbabilisticAnchorGraph_get_particle_anchors(self, *args)
1378 def get_are_probabilities_for_particle_set(self, *args):
1379 """get_are_probabilities_for_particle_set(ProbabilisticAnchorGraph self, Particle p) -> bool"""
1380 return _IMP_multifit.ProbabilisticAnchorGraph_get_are_probabilities_for_particle_set(self, *args)
1382 def get_particle_probabilities(self, *args):
1383 """get_particle_probabilities(ProbabilisticAnchorGraph self, Particle p) -> IMP::Floats"""
1384 return _IMP_multifit.ProbabilisticAnchorGraph_get_particle_probabilities(self, *args)
1386 def get_version_info(self):
1387 """get_version_info(ProbabilisticAnchorGraph self) -> VersionInfo"""
1388 return _IMP_multifit.ProbabilisticAnchorGraph_get_version_info(self)
1390 __swig_destroy__ = _IMP_multifit.delete_ProbabilisticAnchorGraph
1391 __del__ =
lambda self :
None;
1393 """__str__(ProbabilisticAnchorGraph self) -> std::string"""
1394 return _IMP_multifit.ProbabilisticAnchorGraph___str__(self)
1397 """__repr__(ProbabilisticAnchorGraph self) -> std::string"""
1398 return _IMP_multifit.ProbabilisticAnchorGraph___repr__(self)
1401 return _object_cast_to_ProbabilisticAnchorGraph(o)
1402 get_from = staticmethod(get_from)
1404 ProbabilisticAnchorGraph_swigregister = _IMP_multifit.ProbabilisticAnchorGraph_swigregister
1405 ProbabilisticAnchorGraph_swigregister(ProbabilisticAnchorGraph)
1407 class ProteinRecordData(_object):
1408 """Proxy of C++ IMP::multifit::ProteinRecordData class"""
1409 __swig_setmethods__ = {}
1410 __setattr__ =
lambda self, name, value: _swig_setattr(self, ProteinRecordData, name, value)
1411 __swig_getmethods__ = {}
1412 __getattr__ =
lambda self, name: _swig_getattr(self, ProteinRecordData, name)
1413 def reset_all(self):
1414 """reset_all(ProteinRecordData self)"""
1415 return _IMP_multifit.ProteinRecordData_reset_all(self)
1417 def __init__(self, *args):
1419 __init__(IMP::multifit::ProteinRecordData self) -> ProteinRecordData
1420 __init__(IMP::multifit::ProteinRecordData self, std::string const & name) -> ProteinRecordData
1421 __init__(IMP::multifit::ProteinRecordData self, std::string const & name, std::string const fn) -> ProteinRecordData
1422 __init__(IMP::multifit::ProteinRecordData self, std::string const & name, int start_res, int end_res, std::string const fn) -> ProteinRecordData
1423 __init__(IMP::multifit::ProteinRecordData self, std::string const & name, int start_res, int end_res, std::string const & fn, std::string const & surface_fn,
1424 std::string const & ref_fn) -> ProteinRecordData
1426 this = _IMP_multifit.new_ProteinRecordData(*args)
1427 try: self.this.append(this)
1428 except: self.this = this
1429 def show(self, *args):
1431 show(ProteinRecordData self, _ostream out=std::cout)
1432 show(ProteinRecordData self)
1434 return _IMP_multifit.ProteinRecordData_show(self, *args)
1436 __swig_setmethods__[
"name_"] = _IMP_multifit.ProteinRecordData_name__set
1437 __swig_getmethods__[
"name_"] = _IMP_multifit.ProteinRecordData_name__get
1438 if _newclass:name_ = _swig_property(_IMP_multifit.ProteinRecordData_name__get, _IMP_multifit.ProteinRecordData_name__set)
1439 __swig_setmethods__[
"start_res_"] = _IMP_multifit.ProteinRecordData_start_res__set
1440 __swig_getmethods__[
"start_res_"] = _IMP_multifit.ProteinRecordData_start_res__get
1441 if _newclass:start_res_ = _swig_property(_IMP_multifit.ProteinRecordData_start_res__get, _IMP_multifit.ProteinRecordData_start_res__set)
1442 __swig_setmethods__[
"end_res_"] = _IMP_multifit.ProteinRecordData_end_res__set
1443 __swig_getmethods__[
"end_res_"] = _IMP_multifit.ProteinRecordData_end_res__get
1444 if _newclass:end_res_ = _swig_property(_IMP_multifit.ProteinRecordData_end_res__get, _IMP_multifit.ProteinRecordData_end_res__set)
1445 __swig_setmethods__[
"filename_"] = _IMP_multifit.ProteinRecordData_filename__set
1446 __swig_getmethods__[
"filename_"] = _IMP_multifit.ProteinRecordData_filename__get
1447 if _newclass:filename_ = _swig_property(_IMP_multifit.ProteinRecordData_filename__get, _IMP_multifit.ProteinRecordData_filename__set)
1448 __swig_setmethods__[
"surface_filename_"] = _IMP_multifit.ProteinRecordData_surface_filename__set
1449 __swig_getmethods__[
"surface_filename_"] = _IMP_multifit.ProteinRecordData_surface_filename__get
1450 if _newclass:surface_filename_ = _swig_property(_IMP_multifit.ProteinRecordData_surface_filename__get, _IMP_multifit.ProteinRecordData_surface_filename__set)
1451 __swig_setmethods__[
"ref_filename_"] = _IMP_multifit.ProteinRecordData_ref_filename__set
1452 __swig_getmethods__[
"ref_filename_"] = _IMP_multifit.ProteinRecordData_ref_filename__get
1453 if _newclass:ref_filename_ = _swig_property(_IMP_multifit.ProteinRecordData_ref_filename__get, _IMP_multifit.ProteinRecordData_ref_filename__set)
1455 """__str__(ProteinRecordData self) -> std::string"""
1456 return _IMP_multifit.ProteinRecordData___str__(self)
1459 """__repr__(ProteinRecordData self) -> std::string"""
1460 return _IMP_multifit.ProteinRecordData___repr__(self)
1462 __swig_destroy__ = _IMP_multifit.delete_ProteinRecordData
1463 __del__ =
lambda self :
None;
1464 ProteinRecordData_swigregister = _IMP_multifit.ProteinRecordData_swigregister
1465 ProteinRecordData_swigregister(ProteinRecordData)
1468 """Proxy of C++ IMP::multifit::ProteomicsData class"""
1469 __swig_setmethods__ = {}
1470 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1471 __setattr__ =
lambda self, name, value: _swig_setattr(self, ProteomicsData, name, value)
1472 __swig_getmethods__ = {}
1473 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1474 __getattr__ =
lambda self, name: _swig_getattr(self, ProteomicsData, name)
1476 """__init__(IMP::multifit::ProteomicsData self) -> ProteomicsData"""
1477 this = _IMP_multifit.new_ProteomicsData()
1478 try: self.this.append(this)
1479 except: self.this = this
1480 def add_protein(self, *args):
1482 add_protein(ProteomicsData self, std::string name, int start_res, int end_res, std::string const & mol_fn, std::string const & surface_fn,
1483 std::string const & ref_fn) -> int
1484 add_protein(ProteomicsData self, ProteinRecordData rec) -> int
1486 return _IMP_multifit.ProteomicsData_add_protein(self, *args)
1488 def find(self, *args):
1489 """find(ProteomicsData self, std::string const & name) -> int"""
1490 return _IMP_multifit.ProteomicsData_find(self, *args)
1492 def add_interaction(self, *args):
1493 """add_interaction(ProteomicsData self, IMP::Ints const & ii, bool used_for_filter, float linker_len)"""
1494 return _IMP_multifit.ProteomicsData_add_interaction(self, *args)
1496 def add_cross_link_interaction(self, *args):
1498 add_cross_link_interaction(ProteomicsData self, IMP::Int prot1, IMP::Int res1, IMP::Int prot2, IMP::Int res2, bool used_in_filter,
1499 IMP::Float linker_len)
1501 return _IMP_multifit.ProteomicsData_add_cross_link_interaction(self, *args)
1503 def add_ev_pair(self, *args):
1504 """add_ev_pair(ProteomicsData self, IMP::Int prot1, IMP::Int prot2)"""
1505 return _IMP_multifit.ProteomicsData_add_ev_pair(self, *args)
1507 def get_number_of_proteins(self):
1508 """get_number_of_proteins(ProteomicsData self) -> int"""
1509 return _IMP_multifit.ProteomicsData_get_number_of_proteins(self)
1511 def get_number_of_interactions(self):
1512 """get_number_of_interactions(ProteomicsData self) -> int"""
1513 return _IMP_multifit.ProteomicsData_get_number_of_interactions(self)
1515 def get_interaction(self, *args):
1516 """get_interaction(ProteomicsData self, int interaction_ind) -> IMP::Ints"""
1517 return _IMP_multifit.ProteomicsData_get_interaction(self, *args)
1519 def get_interaction_part_of_filter(self, *args):
1520 """get_interaction_part_of_filter(ProteomicsData self, int interaction_ind) -> bool"""
1521 return _IMP_multifit.ProteomicsData_get_interaction_part_of_filter(self, *args)
1523 def get_interaction_linker_length(self, *args):
1524 """get_interaction_linker_length(ProteomicsData self, int interaction_ind) -> int"""
1525 return _IMP_multifit.ProteomicsData_get_interaction_linker_length(self, *args)
1527 def get_number_of_cross_links(self):
1528 """get_number_of_cross_links(ProteomicsData self) -> int"""
1529 return _IMP_multifit.ProteomicsData_get_number_of_cross_links(self)
1531 def get_cross_link(self, *args):
1532 """get_cross_link(ProteomicsData self, int xlink_ind) -> std::pair< IMP::IntPair,IMP::IntPair >"""
1533 return _IMP_multifit.ProteomicsData_get_cross_link(self, *args)
1535 def get_cross_link_part_of_filter(self, *args):
1536 """get_cross_link_part_of_filter(ProteomicsData self, int xlink_ind) -> bool"""
1537 return _IMP_multifit.ProteomicsData_get_cross_link_part_of_filter(self, *args)
1539 def get_cross_link_length(self, *args):
1540 """get_cross_link_length(ProteomicsData self, int xlink_ind) -> float"""
1541 return _IMP_multifit.ProteomicsData_get_cross_link_length(self, *args)
1543 def get_number_of_ev_pairs(self):
1544 """get_number_of_ev_pairs(ProteomicsData self) -> int"""
1545 return _IMP_multifit.ProteomicsData_get_number_of_ev_pairs(self)
1547 def get_ev_pair(self, *args):
1548 """get_ev_pair(ProteomicsData self, int ev_ind) -> IMP::IntPair"""
1549 return _IMP_multifit.ProteomicsData_get_ev_pair(self, *args)
1551 def get_protein_name(self, *args):
1552 """get_protein_name(ProteomicsData self, int protein_ind) -> std::string"""
1553 return _IMP_multifit.ProteomicsData_get_protein_name(self, *args)
1555 def get_end_res(self, *args):
1556 """get_end_res(ProteomicsData self, int protein_ind) -> int"""
1557 return _IMP_multifit.ProteomicsData_get_end_res(self, *args)
1559 def get_start_res(self, *args):
1560 """get_start_res(ProteomicsData self, int protein_ind) -> int"""
1561 return _IMP_multifit.ProteomicsData_get_start_res(self, *args)
1563 def get_protein_filename(self, *args):
1564 """get_protein_filename(ProteomicsData self, int protein_ind) -> std::string"""
1565 return _IMP_multifit.ProteomicsData_get_protein_filename(self, *args)
1567 def get_reference_filename(self, *args):
1568 """get_reference_filename(ProteomicsData self, int protein_ind) -> std::string"""
1569 return _IMP_multifit.ProteomicsData_get_reference_filename(self, *args)
1571 def get_surface_filename(self, *args):
1572 """get_surface_filename(ProteomicsData self, int protein_ind) -> std::string"""
1573 return _IMP_multifit.ProteomicsData_get_surface_filename(self, *args)
1575 def get_protein_data(self, *args):
1576 """get_protein_data(ProteomicsData self, int protein_ind) -> ProteinRecordData"""
1577 return _IMP_multifit.ProteomicsData_get_protein_data(self, *args)
1579 def get_version_info(self):
1580 """get_version_info(ProteomicsData self) -> VersionInfo"""
1581 return _IMP_multifit.ProteomicsData_get_version_info(self)
1583 __swig_destroy__ = _IMP_multifit.delete_ProteomicsData
1584 __del__ =
lambda self :
None;
1585 def get_num_allowed_violated_interactions(self):
1586 """get_num_allowed_violated_interactions(ProteomicsData self) -> int"""
1587 return _IMP_multifit.ProteomicsData_get_num_allowed_violated_interactions(self)
1589 def set_num_allowed_violated_interactions(self, *args):
1590 """set_num_allowed_violated_interactions(ProteomicsData self, int n)"""
1591 return _IMP_multifit.ProteomicsData_set_num_allowed_violated_interactions(self, *args)
1593 def get_num_allowed_violated_cross_links(self):
1594 """get_num_allowed_violated_cross_links(ProteomicsData self) -> int"""
1595 return _IMP_multifit.ProteomicsData_get_num_allowed_violated_cross_links(self)
1597 def set_num_allowed_violated_cross_links(self, *args):
1598 """set_num_allowed_violated_cross_links(ProteomicsData self, int n)"""
1599 return _IMP_multifit.ProteomicsData_set_num_allowed_violated_cross_links(self, *args)
1601 def get_num_allowed_violated_ev(self):
1602 """get_num_allowed_violated_ev(ProteomicsData self) -> int"""
1603 return _IMP_multifit.ProteomicsData_get_num_allowed_violated_ev(self)
1605 def set_num_allowed_violated_ev(self, *args):
1606 """set_num_allowed_violated_ev(ProteomicsData self, int n)"""
1607 return _IMP_multifit.ProteomicsData_set_num_allowed_violated_ev(self, *args)
1610 """__str__(ProteomicsData self) -> std::string"""
1611 return _IMP_multifit.ProteomicsData___str__(self)
1614 """__repr__(ProteomicsData self) -> std::string"""
1615 return _IMP_multifit.ProteomicsData___repr__(self)
1618 return _object_cast_to_ProteomicsData(o)
1619 get_from = staticmethod(get_from)
1621 ProteomicsData_swigregister = _IMP_multifit.ProteomicsData_swigregister
1622 ProteomicsData_swigregister(ProteomicsData)
1626 """read_proteomics_data(char const * proteomics_fn) -> ProteomicsData"""
1627 return _IMP_multifit.read_proteomics_data(*args)
1629 def get_partial_proteomics_data(*args):
1630 """get_partial_proteomics_data(ProteomicsData pd, IMP::Strings const & prot_names) -> ProteomicsData"""
1631 return _IMP_multifit.get_partial_proteomics_data(*args)
1632 class AnchorsData(_object):
1633 """Proxy of C++ IMP::multifit::AnchorsData class"""
1634 __swig_setmethods__ = {}
1635 __setattr__ =
lambda self, name, value: _swig_setattr(self, AnchorsData, name, value)
1636 __swig_getmethods__ = {}
1637 __getattr__ =
lambda self, name: _swig_getattr(self, AnchorsData, name)
1638 def __init__(self, *args):
1640 __init__(IMP::multifit::AnchorsData self) -> AnchorsData
1641 __init__(IMP::multifit::AnchorsData self, IMP::algebra::Vector3Ds points, IMP::IntPairs edges) -> AnchorsData
1643 this = _IMP_multifit.new_AnchorsData(*args)
1644 try: self.this.append(this)
1645 except: self.this = this
1646 def remove_edges_for_node(self, *args):
1647 """remove_edges_for_node(AnchorsData self, int node_ind)"""
1648 return _IMP_multifit.AnchorsData_remove_edges_for_node(self, *args)
1650 def get_number_of_points(self):
1651 """get_number_of_points(AnchorsData self) -> int"""
1652 return _IMP_multifit.AnchorsData_get_number_of_points(self)
1654 def get_number_of_edges(self):
1655 """get_number_of_edges(AnchorsData self) -> int"""
1656 return _IMP_multifit.AnchorsData_get_number_of_edges(self)
1658 def get_is_point_considered(self, *args):
1659 """get_is_point_considered(AnchorsData self, int node_ind) -> bool"""
1660 return _IMP_multifit.AnchorsData_get_is_point_considered(self, *args)
1662 def show(self, *args):
1664 show(AnchorsData self, _ostream out=std::cout)
1665 show(AnchorsData self)
1667 return _IMP_multifit.AnchorsData_show(self, *args)
1669 def get_secondary_structure_is_set(self):
1670 """get_secondary_structure_is_set(AnchorsData self) -> bool"""
1671 return _IMP_multifit.AnchorsData_get_secondary_structure_is_set(self)
1673 def setup_secondary_structure(self, *args):
1674 """setup_secondary_structure(AnchorsData self, Model mdl)"""
1675 return _IMP_multifit.AnchorsData_setup_secondary_structure(self, *args)
1677 def set_secondary_structure_probabilities(self, *args):
1679 set_secondary_structure_probabilities(AnchorsData self, IMP::kernel::Particles const & ssres_ps, IMP::Ints const & indices=IMP::Ints())
1680 set_secondary_structure_probabilities(AnchorsData self, IMP::kernel::Particles const & ssres_ps)
1682 return _IMP_multifit.AnchorsData_set_secondary_structure_probabilities(self, *args)
1684 def get_secondary_structure_particles(self):
1685 """get_secondary_structure_particles(AnchorsData self) -> IMP::kernel::Particles"""
1686 return _IMP_multifit.AnchorsData_get_secondary_structure_particles(self)
1688 __swig_setmethods__[
"points_"] = _IMP_multifit.AnchorsData_points__set
1689 __swig_getmethods__[
"points_"] = _IMP_multifit.AnchorsData_points__get
1690 if _newclass:points_ = _swig_property(_IMP_multifit.AnchorsData_points__get, _IMP_multifit.AnchorsData_points__set)
1691 __swig_setmethods__[
"consider_point_"] = _IMP_multifit.AnchorsData_consider_point__set
1692 __swig_getmethods__[
"consider_point_"] = _IMP_multifit.AnchorsData_consider_point__get
1693 if _newclass:consider_point_ = _swig_property(_IMP_multifit.AnchorsData_consider_point__get, _IMP_multifit.AnchorsData_consider_point__set)
1694 __swig_setmethods__[
"edges_"] = _IMP_multifit.AnchorsData_edges__set
1695 __swig_getmethods__[
"edges_"] = _IMP_multifit.AnchorsData_edges__get
1696 if _newclass:edges_ = _swig_property(_IMP_multifit.AnchorsData_edges__get, _IMP_multifit.AnchorsData_edges__set)
1698 """__str__(AnchorsData self) -> std::string"""
1699 return _IMP_multifit.AnchorsData___str__(self)
1702 """__repr__(AnchorsData self) -> std::string"""
1703 return _IMP_multifit.AnchorsData___repr__(self)
1705 __swig_destroy__ = _IMP_multifit.delete_AnchorsData
1706 __del__ =
lambda self :
None;
1707 AnchorsData_swigregister = _IMP_multifit.AnchorsData_swigregister
1708 AnchorsData_swigregister(AnchorsData)
1711 def read_anchors_data(*args):
1712 """read_anchors_data(char const * txt_filename) -> AnchorsData"""
1713 return _IMP_multifit.read_anchors_data(*args)
1715 def write_txt(*args):
1716 """write_txt(std::string const & txt_filename, AnchorsData ad)"""
1717 return _IMP_multifit.write_txt(*args)
1719 def write_cmm(*args):
1720 """write_cmm(std::string const & cmm_filename, std::string const & marker_set_name, AnchorsData dpa)"""
1721 return _IMP_multifit.write_cmm(*args)
1725 create_coarse_molecule_from_molecule(Hierarchy mh, int num_beads, Model mdl, float bead_radius, bool add_conn_restraint=False) -> Hierarchy
1726 create_coarse_molecule_from_molecule(Hierarchy mh, int num_beads, Model mdl, float bead_radius) -> Hierarchy
1728 return _IMP_multifit.create_coarse_molecule_from_molecule(*args)
1732 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
1733 create_coarse_molecules_from_molecules(IMP::atom::Hierarchies const & mhs, int frag_len, Model mdl, float bead_radius) -> IMP::atom::Hierarchies
1735 return _IMP_multifit.create_coarse_molecules_from_molecules(*args)
1738 """create_coarse_molecule_from_density(DensityMap dmap, float dens_threshold, int num_beads, Model mdl, float bead_radius) -> Hierarchy"""
1739 return _IMP_multifit.create_coarse_molecule_from_density(*args)
1741 def create_hit_map(*args):
1743 create_hit_map(RigidBody rb, Refiner rb_ref, IMP::multifit::FittingSolutionRecords const & sols,
1744 DensityMap damp) -> DensityMap
1746 return _IMP_multifit.create_hit_map(*args)
1749 """get_points_close_to_molecule(Hierarchy mh, IMP::algebra::Vector3Ds const points, IMP::Float max_dist) -> IMP::algebra::Vector3Ds"""
1750 return _IMP_multifit.get_points_close_to_molecule(*args)
1752 def get_points_far_from_molecule(*args):
1753 """get_points_far_from_molecule(Hierarchy mh, IMP::algebra::Vector3Ds const points, IMP::Float max_dist) -> IMP::algebra::Vector3Ds"""
1754 return _IMP_multifit.get_points_far_from_molecule(*args)
1756 """Proxy of C++ IMP::multifit::RadiusOfGyrationRestraint class"""
1757 __swig_setmethods__ = {}
1758 for _s
in [
IMP.kernel.Restraint]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1759 __setattr__ =
lambda self, name, value: _swig_setattr(self, RadiusOfGyrationRestraint, name, value)
1760 __swig_getmethods__ = {}
1761 for _s
in [
IMP.kernel.Restraint]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1762 __getattr__ =
lambda self, name: _swig_getattr(self, RadiusOfGyrationRestraint, name)
1763 def __init__(self, *args):
1765 __init__(IMP::multifit::RadiusOfGyrationRestraint self, IMP::kernel::Particles ps, int num_residues, IMP::Float scale=1.) -> RadiusOfGyrationRestraint
1766 __init__(IMP::multifit::RadiusOfGyrationRestraint self, IMP::kernel::Particles ps, int num_residues) -> RadiusOfGyrationRestraint
1768 this = _IMP_multifit.new_RadiusOfGyrationRestraint(*args)
1769 try: self.this.append(this)
1770 except: self.this = this
1771 def do_get_inputs(self):
1772 """do_get_inputs(RadiusOfGyrationRestraint self) -> IMP::kernel::ModelObjectsTemp"""
1773 return _IMP_multifit.RadiusOfGyrationRestraint_do_get_inputs(self)
1775 def get_version_info(self):
1776 """get_version_info(RadiusOfGyrationRestraint self) -> VersionInfo"""
1777 return _IMP_multifit.RadiusOfGyrationRestraint_get_version_info(self)
1779 __swig_destroy__ = _IMP_multifit.delete_RadiusOfGyrationRestraint
1780 __del__ =
lambda self :
None;
1781 def set_radius_of_gyration(self, *args):
1782 """set_radius_of_gyration(RadiusOfGyrationRestraint self, IMP::Float r)"""
1783 return _IMP_multifit.RadiusOfGyrationRestraint_set_radius_of_gyration(self, *args)
1786 """get_radius_of_gyration(RadiusOfGyrationRestraint self) -> IMP::Float"""
1787 return _IMP_multifit.RadiusOfGyrationRestraint_get_radius_of_gyration(self)
1790 """__str__(RadiusOfGyrationRestraint self) -> std::string"""
1791 return _IMP_multifit.RadiusOfGyrationRestraint___str__(self)
1794 """__repr__(RadiusOfGyrationRestraint self) -> std::string"""
1795 return _IMP_multifit.RadiusOfGyrationRestraint___repr__(self)
1798 return _object_cast_to_RadiusOfGyrationRestraint(o)
1799 get_from = staticmethod(get_from)
1801 RadiusOfGyrationRestraint_swigregister = _IMP_multifit.RadiusOfGyrationRestraint_swigregister
1802 RadiusOfGyrationRestraint_swigregister(RadiusOfGyrationRestraint)
1805 def get_approximated_radius_of_gyration(*args):
1806 """get_approximated_radius_of_gyration(int len) -> float"""
1807 return _IMP_multifit.get_approximated_radius_of_gyration(*args)
1809 def get_actual_radius_of_gyration(*args):
1810 """get_actual_radius_of_gyration(IMP::kernel::ParticlesTemp ps) -> float"""
1811 return _IMP_multifit.get_actual_radius_of_gyration(*args)
1813 def get_approximated_radius(*args):
1814 """get_approximated_radius(int len) -> float"""
1815 return _IMP_multifit.get_approximated_radius(*args)
1816 class ProteinsAnchorsSamplingSpace(_object):
1817 """Proxy of C++ IMP::multifit::ProteinsAnchorsSamplingSpace class"""
1818 __swig_setmethods__ = {}
1819 __setattr__ =
lambda self, name, value: _swig_setattr(self, ProteinsAnchorsSamplingSpace, name, value)
1820 __swig_getmethods__ = {}
1821 __getattr__ =
lambda self, name: _swig_getattr(self, ProteinsAnchorsSamplingSpace, name)
1822 def __init__(self, prots=None):
1824 __init__(IMP::multifit::ProteinsAnchorsSamplingSpace self, ProteomicsData prots=None) -> ProteinsAnchorsSamplingSpace
1825 __init__(IMP::multifit::ProteinsAnchorsSamplingSpace self) -> ProteinsAnchorsSamplingSpace
1827 this = _IMP_multifit.new_ProteinsAnchorsSamplingSpace(prots)
1828 try: self.this.append(this)
1829 except: self.this = this
1830 def set_anchors(self, *args):
1831 """set_anchors(ProteinsAnchorsSamplingSpace self, AnchorsData data)"""
1832 return _IMP_multifit.ProteinsAnchorsSamplingSpace_set_anchors(self, *args)
1834 def get_anchors(self):
1835 """get_anchors(ProteinsAnchorsSamplingSpace self) -> AnchorsData"""
1836 return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_anchors(self)
1838 def get_anchors_filename(self):
1839 """get_anchors_filename(ProteinsAnchorsSamplingSpace self) -> std::string"""
1840 return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_anchors_filename(self)
1842 def set_anchors_filename(self, *args):
1843 """set_anchors_filename(ProteinsAnchorsSamplingSpace self, std::string const & fn)"""
1844 return _IMP_multifit.ProteinsAnchorsSamplingSpace_set_anchors_filename(self, *args)
1846 def get_proteomics_data(self):
1847 """get_proteomics_data(ProteinsAnchorsSamplingSpace self) -> ProteomicsData"""
1848 return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_proteomics_data(self)
1850 def add_protein(self, *args):
1851 """add_protein(ProteinsAnchorsSamplingSpace self, ProteinRecordData rec)"""
1852 return _IMP_multifit.ProteinsAnchorsSamplingSpace_add_protein(self, *args)
1854 def get_paths_for_protein(self, *args):
1855 """get_paths_for_protein(ProteinsAnchorsSamplingSpace self, std::string const & prot_name) -> IMP::IntsList"""
1856 return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_paths_for_protein(self, *args)
1858 def set_paths_filename_for_protein(self, *args):
1859 """set_paths_filename_for_protein(ProteinsAnchorsSamplingSpace self, std::string const & prot_name, std::string const & paths_filename)"""
1860 return _IMP_multifit.ProteinsAnchorsSamplingSpace_set_paths_filename_for_protein(self, *args)
1862 def get_paths_filename_for_protein(self, *args):
1863 """get_paths_filename_for_protein(ProteinsAnchorsSamplingSpace self, std::string const & prot_name) -> std::string"""
1864 return _IMP_multifit.ProteinsAnchorsSamplingSpace_get_paths_filename_for_protein(self, *args)
1866 def set_paths_for_protein(self, *args):
1867 """set_paths_for_protein(ProteinsAnchorsSamplingSpace self, std::string const & prot_name, IMP::IntsList paths)"""
1868 return _IMP_multifit.ProteinsAnchorsSamplingSpace_set_paths_for_protein(self, *args)
1870 def show(self, *args):
1872 show(ProteinsAnchorsSamplingSpace self, _ostream s=std::cout)
1873 show(ProteinsAnchorsSamplingSpace self)
1875 return _IMP_multifit.ProteinsAnchorsSamplingSpace_show(self, *args)
1878 """__str__(ProteinsAnchorsSamplingSpace self) -> std::string"""
1879 return _IMP_multifit.ProteinsAnchorsSamplingSpace___str__(self)
1882 """__repr__(ProteinsAnchorsSamplingSpace self) -> std::string"""
1883 return _IMP_multifit.ProteinsAnchorsSamplingSpace___repr__(self)
1885 __swig_destroy__ = _IMP_multifit.delete_ProteinsAnchorsSamplingSpace
1886 __del__ =
lambda self :
None;
1887 ProteinsAnchorsSamplingSpace_swigregister = _IMP_multifit.ProteinsAnchorsSamplingSpace_swigregister
1888 ProteinsAnchorsSamplingSpace_swigregister(ProteinsAnchorsSamplingSpace)
1891 def read_protein_anchors_mapping(*args):
1893 read_protein_anchors_mapping(ProteomicsData prots, std::string const & anchors_prot_map_fn, int max_paths=INT_MAX) -> ProteinsAnchorsSamplingSpace
1894 read_protein_anchors_mapping(ProteomicsData prots, std::string const & anchors_prot_map_fn) -> ProteinsAnchorsSamplingSpace
1896 return _IMP_multifit.read_protein_anchors_mapping(*args)
1898 def write_protein_anchors_mapping(*args):
1900 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)
1901 write_protein_anchors_mapping(std::string const & anchors_prot_map_fn, ProteinsAnchorsSamplingSpace pa, IMP::Strings const & prot_names)
1903 return _IMP_multifit.write_protein_anchors_mapping(*args)
1906 """get_part_of_sampling_space(ProteinsAnchorsSamplingSpace prots_ss, IMP::Strings const & prot_names) -> ProteinsAnchorsSamplingSpace"""
1907 return _IMP_multifit.get_part_of_sampling_space(*args)
1910 """get_partial_assembly_setting_data(SettingsData prots_sd, IMP::Strings const & prot_names) -> SettingsData"""
1911 return _IMP_multifit.get_partial_assembly_setting_data(*args)
1915 read_paths(char const * txt_filename, int max_paths=INT_MAX) -> IMP::IntsList
1916 read_paths(char const * txt_filename) -> IMP::IntsList
1918 return _IMP_multifit.read_paths(*args)
1920 def write_paths(*args):
1921 """write_paths(IMP::IntsList const & paths, std::string const & txt_filename)"""
1922 return _IMP_multifit.write_paths(*args)
1924 def molecule2anchors(*args):
1925 """molecule2anchors(Hierarchy mh, int k) -> AnchorsData"""
1926 return _IMP_multifit.molecule2anchors(*args)
1930 get_anchors_for_density(DensityMap dmap, int number_of_means, float density_threshold, std::string pdb_filename,
1931 std::string cmm_filename, std::string seg_filename, std::string txt_filename)
1933 return _IMP_multifit.get_anchors_for_density(*args)
1937 get_anchor_indices_matching_secondary_structure(AnchorsData ad, IMP::atom::SecondaryStructureResidues const & ssrs, IMP::Float max_rmsd=0.7) -> IMP::IntsList
1938 get_anchor_indices_matching_secondary_structure(AnchorsData ad, IMP::atom::SecondaryStructureResidues const & ssrs) -> IMP::IntsList
1940 return _IMP_multifit.get_anchor_indices_matching_secondary_structure(*args)
1941 class DominoParams(_object):
1942 """Proxy of C++ IMP::multifit::DominoParams class"""
1943 __swig_setmethods__ = {}
1944 __setattr__ =
lambda self, name, value: _swig_setattr(self, DominoParams, name, value)
1945 __swig_getmethods__ = {}
1946 __getattr__ =
lambda self, name: _swig_getattr(self, DominoParams, name)
1948 """__init__(IMP::multifit::DominoParams self) -> DominoParams"""
1949 this = _IMP_multifit.new_DominoParams()
1950 try: self.this.append(this)
1951 except: self.this = this
1952 def add(self, *args):
1953 """add(DominoParams self, boost::property_tree::ptree const & pt)"""
1954 return _IMP_multifit.DominoParams_add(self, *args)
1956 def show(self, *args):
1958 show(DominoParams self, _ostream s=std::cout)
1959 show(DominoParams self)
1961 return _IMP_multifit.DominoParams_show(self, *args)
1963 __swig_setmethods__[
"max_value_threshold_"] = _IMP_multifit.DominoParams_max_value_threshold__set
1964 __swig_getmethods__[
"max_value_threshold_"] = _IMP_multifit.DominoParams_max_value_threshold__get
1965 if _newclass:max_value_threshold_ = _swig_property(_IMP_multifit.DominoParams_max_value_threshold__get, _IMP_multifit.DominoParams_max_value_threshold__set)
1966 __swig_setmethods__[
"max_num_states_for_subset_"] = _IMP_multifit.DominoParams_max_num_states_for_subset__set
1967 __swig_getmethods__[
"max_num_states_for_subset_"] = _IMP_multifit.DominoParams_max_num_states_for_subset__get
1968 if _newclass: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)
1969 __swig_setmethods__[
"max_anchor_penetration_"] = _IMP_multifit.DominoParams_max_anchor_penetration__set
1970 __swig_getmethods__[
"max_anchor_penetration_"] = _IMP_multifit.DominoParams_max_anchor_penetration__get
1971 if _newclass:max_anchor_penetration_ = _swig_property(_IMP_multifit.DominoParams_max_anchor_penetration__get, _IMP_multifit.DominoParams_max_anchor_penetration__set)
1972 __swig_setmethods__[
"heap_size_"] = _IMP_multifit.DominoParams_heap_size__set
1973 __swig_getmethods__[
"heap_size_"] = _IMP_multifit.DominoParams_heap_size__get
1974 if _newclass:heap_size_ = _swig_property(_IMP_multifit.DominoParams_heap_size__get, _IMP_multifit.DominoParams_heap_size__set)
1975 __swig_setmethods__[
"cache_size_"] = _IMP_multifit.DominoParams_cache_size__set
1976 __swig_getmethods__[
"cache_size_"] = _IMP_multifit.DominoParams_cache_size__get
1977 if _newclass:cache_size_ = _swig_property(_IMP_multifit.DominoParams_cache_size__get, _IMP_multifit.DominoParams_cache_size__set)
1979 """__str__(DominoParams self) -> std::string"""
1980 return _IMP_multifit.DominoParams___str__(self)
1983 """__repr__(DominoParams self) -> std::string"""
1984 return _IMP_multifit.DominoParams___repr__(self)
1986 __swig_destroy__ = _IMP_multifit.delete_DominoParams
1987 __del__ =
lambda self :
None;
1988 DominoParams_swigregister = _IMP_multifit.DominoParams_swigregister
1989 DominoParams_swigregister(DominoParams)
1991 class XlinkParams(_object):
1992 """Proxy of C++ IMP::multifit::XlinkParams class"""
1993 __swig_setmethods__ = {}
1994 __setattr__ =
lambda self, name, value: _swig_setattr(self, XlinkParams, name, value)
1995 __swig_getmethods__ = {}
1996 __getattr__ =
lambda self, name: _swig_getattr(self, XlinkParams, name)
1998 """__init__(IMP::multifit::XlinkParams self) -> XlinkParams"""
1999 this = _IMP_multifit.new_XlinkParams()
2000 try: self.this.append(this)
2001 except: self.this = this
2002 def add(self, *args):
2003 """add(XlinkParams self, boost::property_tree::ptree const & pt)"""
2004 return _IMP_multifit.XlinkParams_add(self, *args)
2006 def show(self, *args):
2008 show(XlinkParams self, _ostream s=std::cout)
2009 show(XlinkParams self)
2011 return _IMP_multifit.XlinkParams_show(self, *args)
2013 __swig_setmethods__[
"upper_bound_"] = _IMP_multifit.XlinkParams_upper_bound__set
2014 __swig_getmethods__[
"upper_bound_"] = _IMP_multifit.XlinkParams_upper_bound__get
2015 if _newclass:upper_bound_ = _swig_property(_IMP_multifit.XlinkParams_upper_bound__get, _IMP_multifit.XlinkParams_upper_bound__set)
2016 __swig_setmethods__[
"k_"] = _IMP_multifit.XlinkParams_k__set
2017 __swig_getmethods__[
"k_"] = _IMP_multifit.XlinkParams_k__get
2018 if _newclass:k_ = _swig_property(_IMP_multifit.XlinkParams_k__get, _IMP_multifit.XlinkParams_k__set)
2019 __swig_setmethods__[
"max_xlink_val_"] = _IMP_multifit.XlinkParams_max_xlink_val__set
2020 __swig_getmethods__[
"max_xlink_val_"] = _IMP_multifit.XlinkParams_max_xlink_val__get
2021 if _newclass:max_xlink_val_ = _swig_property(_IMP_multifit.XlinkParams_max_xlink_val__get, _IMP_multifit.XlinkParams_max_xlink_val__set)
2022 __swig_setmethods__[
"treat_between_residues_"] = _IMP_multifit.XlinkParams_treat_between_residues__set
2023 __swig_getmethods__[
"treat_between_residues_"] = _IMP_multifit.XlinkParams_treat_between_residues__get
2024 if _newclass:treat_between_residues_ = _swig_property(_IMP_multifit.XlinkParams_treat_between_residues__get, _IMP_multifit.XlinkParams_treat_between_residues__set)
2026 """__str__(XlinkParams self) -> std::string"""
2027 return _IMP_multifit.XlinkParams___str__(self)
2030 """__repr__(XlinkParams self) -> std::string"""
2031 return _IMP_multifit.XlinkParams___repr__(self)
2033 __swig_destroy__ = _IMP_multifit.delete_XlinkParams
2034 __del__ =
lambda self :
None;
2035 XlinkParams_swigregister = _IMP_multifit.XlinkParams_swigregister
2036 XlinkParams_swigregister(XlinkParams)
2038 class ConnectivityParams(_object):
2039 """Proxy of C++ IMP::multifit::ConnectivityParams class"""
2040 __swig_setmethods__ = {}
2041 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConnectivityParams, name, value)
2042 __swig_getmethods__ = {}
2043 __getattr__ =
lambda self, name: _swig_getattr(self, ConnectivityParams, name)
2045 """__init__(IMP::multifit::ConnectivityParams self) -> ConnectivityParams"""
2046 this = _IMP_multifit.new_ConnectivityParams()
2047 try: self.this.append(this)
2048 except: self.this = this
2049 def add(self, *args):
2050 """add(ConnectivityParams self, boost::property_tree::ptree const & pt)"""
2051 return _IMP_multifit.ConnectivityParams_add(self, *args)
2053 def show(self, *args):
2055 show(ConnectivityParams self, _ostream s=std::cout)
2056 show(ConnectivityParams self)
2058 return _IMP_multifit.ConnectivityParams_show(self, *args)
2060 __swig_setmethods__[
"upper_bound_"] = _IMP_multifit.ConnectivityParams_upper_bound__set
2061 __swig_getmethods__[
"upper_bound_"] = _IMP_multifit.ConnectivityParams_upper_bound__get
2062 if _newclass:upper_bound_ = _swig_property(_IMP_multifit.ConnectivityParams_upper_bound__get, _IMP_multifit.ConnectivityParams_upper_bound__set)
2063 __swig_setmethods__[
"k_"] = _IMP_multifit.ConnectivityParams_k__set
2064 __swig_getmethods__[
"k_"] = _IMP_multifit.ConnectivityParams_k__get
2065 if _newclass:k_ = _swig_property(_IMP_multifit.ConnectivityParams_k__get, _IMP_multifit.ConnectivityParams_k__set)
2066 __swig_setmethods__[
"max_conn_rest_val_"] = _IMP_multifit.ConnectivityParams_max_conn_rest_val__set
2067 __swig_getmethods__[
"max_conn_rest_val_"] = _IMP_multifit.ConnectivityParams_max_conn_rest_val__get
2068 if _newclass:max_conn_rest_val_ = _swig_property(_IMP_multifit.ConnectivityParams_max_conn_rest_val__get, _IMP_multifit.ConnectivityParams_max_conn_rest_val__set)
2070 """__str__(ConnectivityParams self) -> std::string"""
2071 return _IMP_multifit.ConnectivityParams___str__(self)
2074 """__repr__(ConnectivityParams self) -> std::string"""
2075 return _IMP_multifit.ConnectivityParams___repr__(self)
2077 __swig_destroy__ = _IMP_multifit.delete_ConnectivityParams
2078 __del__ =
lambda self :
None;
2079 ConnectivityParams_swigregister = _IMP_multifit.ConnectivityParams_swigregister
2080 ConnectivityParams_swigregister(ConnectivityParams)
2082 class FragmentsParams(_object):
2083 """Proxy of C++ IMP::multifit::FragmentsParams class"""
2084 __swig_setmethods__ = {}
2085 __setattr__ =
lambda self, name, value: _swig_setattr(self, FragmentsParams, name, value)
2086 __swig_getmethods__ = {}
2087 __getattr__ =
lambda self, name: _swig_getattr(self, FragmentsParams, name)
2089 """__init__(IMP::multifit::FragmentsParams self) -> FragmentsParams"""
2090 this = _IMP_multifit.new_FragmentsParams()
2091 try: self.this.append(this)
2092 except: self.this = this
2093 def add(self, *args):
2094 """add(FragmentsParams self, boost::property_tree::ptree const & pt)"""
2095 return _IMP_multifit.FragmentsParams_add(self, *args)
2097 def show(self, *args):
2099 show(FragmentsParams self, _ostream s=std::cout)
2100 show(FragmentsParams self)
2102 return _IMP_multifit.FragmentsParams_show(self, *args)
2104 __swig_setmethods__[
"frag_len_"] = _IMP_multifit.FragmentsParams_frag_len__set
2105 __swig_getmethods__[
"frag_len_"] = _IMP_multifit.FragmentsParams_frag_len__get
2106 if _newclass:frag_len_ = _swig_property(_IMP_multifit.FragmentsParams_frag_len__get, _IMP_multifit.FragmentsParams_frag_len__set)
2107 __swig_setmethods__[
"bead_radius_scale_"] = _IMP_multifit.FragmentsParams_bead_radius_scale__set
2108 __swig_getmethods__[
"bead_radius_scale_"] = _IMP_multifit.FragmentsParams_bead_radius_scale__get
2109 if _newclass:bead_radius_scale_ = _swig_property(_IMP_multifit.FragmentsParams_bead_radius_scale__get, _IMP_multifit.FragmentsParams_bead_radius_scale__set)
2110 __swig_setmethods__[
"load_atomic_"] = _IMP_multifit.FragmentsParams_load_atomic__set
2111 __swig_getmethods__[
"load_atomic_"] = _IMP_multifit.FragmentsParams_load_atomic__get
2112 if _newclass:load_atomic_ = _swig_property(_IMP_multifit.FragmentsParams_load_atomic__get, _IMP_multifit.FragmentsParams_load_atomic__set)
2113 __swig_setmethods__[
"subunit_rigid_"] = _IMP_multifit.FragmentsParams_subunit_rigid__set
2114 __swig_getmethods__[
"subunit_rigid_"] = _IMP_multifit.FragmentsParams_subunit_rigid__get
2115 if _newclass:subunit_rigid_ = _swig_property(_IMP_multifit.FragmentsParams_subunit_rigid__get, _IMP_multifit.FragmentsParams_subunit_rigid__set)
2117 """__str__(FragmentsParams self) -> std::string"""
2118 return _IMP_multifit.FragmentsParams___str__(self)
2121 """__repr__(FragmentsParams self) -> std::string"""
2122 return _IMP_multifit.FragmentsParams___repr__(self)
2124 __swig_destroy__ = _IMP_multifit.delete_FragmentsParams
2125 __del__ =
lambda self :
None;
2126 FragmentsParams_swigregister = _IMP_multifit.FragmentsParams_swigregister
2127 FragmentsParams_swigregister(FragmentsParams)
2129 class RogParams(_object):
2130 """Proxy of C++ IMP::multifit::RogParams class"""
2131 __swig_setmethods__ = {}
2132 __setattr__ =
lambda self, name, value: _swig_setattr(self, RogParams, name, value)
2133 __swig_getmethods__ = {}
2134 __getattr__ =
lambda self, name: _swig_getattr(self, RogParams, name)
2136 """__init__(IMP::multifit::RogParams self) -> RogParams"""
2137 this = _IMP_multifit.new_RogParams()
2138 try: self.this.append(this)
2139 except: self.this = this
2140 def add(self, *args):
2141 """add(RogParams self, boost::property_tree::ptree const & pt)"""
2142 return _IMP_multifit.RogParams_add(self, *args)
2144 def get_max_score(self):
2145 """get_max_score(RogParams self) -> float"""
2146 return _IMP_multifit.RogParams_get_max_score(self)
2148 def get_scale(self):
2149 """get_scale(RogParams self) -> float"""
2150 return _IMP_multifit.RogParams_get_scale(self)
2152 def show(self, *args):
2154 show(RogParams self, _ostream s=std::cout)
2155 show(RogParams self)
2157 return _IMP_multifit.RogParams_show(self, *args)
2160 """__str__(RogParams self) -> std::string"""
2161 return _IMP_multifit.RogParams___str__(self)
2164 """__repr__(RogParams self) -> std::string"""
2165 return _IMP_multifit.RogParams___repr__(self)
2167 __swig_destroy__ = _IMP_multifit.delete_RogParams
2168 __del__ =
lambda self :
None;
2169 RogParams_swigregister = _IMP_multifit.RogParams_swigregister
2170 RogParams_swigregister(RogParams)
2172 class EVParams(_object):
2173 """Proxy of C++ IMP::multifit::EVParams class"""
2174 __swig_setmethods__ = {}
2175 __setattr__ =
lambda self, name, value: _swig_setattr(self, EVParams, name, value)
2176 __swig_getmethods__ = {}
2177 __getattr__ =
lambda self, name: _swig_getattr(self, EVParams, name)
2179 """__init__(IMP::multifit::EVParams self) -> EVParams"""
2180 this = _IMP_multifit.new_EVParams()
2181 try: self.this.append(this)
2182 except: self.this = this
2183 def add(self, *args):
2184 """add(EVParams self, boost::property_tree::ptree const & pt)"""
2185 return _IMP_multifit.EVParams_add(self, *args)
2187 def show(self, *args):
2189 show(EVParams self, _ostream s=std::cout)
2192 return _IMP_multifit.EVParams_show(self, *args)
2194 __swig_setmethods__[
"pair_distance_"] = _IMP_multifit.EVParams_pair_distance__set
2195 __swig_getmethods__[
"pair_distance_"] = _IMP_multifit.EVParams_pair_distance__get
2196 if _newclass:pair_distance_ = _swig_property(_IMP_multifit.EVParams_pair_distance__get, _IMP_multifit.EVParams_pair_distance__set)
2197 __swig_setmethods__[
"pair_slack_"] = _IMP_multifit.EVParams_pair_slack__set
2198 __swig_getmethods__[
"pair_slack_"] = _IMP_multifit.EVParams_pair_slack__get
2199 if _newclass:pair_slack_ = _swig_property(_IMP_multifit.EVParams_pair_slack__get, _IMP_multifit.EVParams_pair_slack__set)
2200 __swig_setmethods__[
"hlb_mean_"] = _IMP_multifit.EVParams_hlb_mean__set
2201 __swig_getmethods__[
"hlb_mean_"] = _IMP_multifit.EVParams_hlb_mean__get
2202 if _newclass:hlb_mean_ = _swig_property(_IMP_multifit.EVParams_hlb_mean__get, _IMP_multifit.EVParams_hlb_mean__set)
2203 __swig_setmethods__[
"hlb_k_"] = _IMP_multifit.EVParams_hlb_k__set
2204 __swig_getmethods__[
"hlb_k_"] = _IMP_multifit.EVParams_hlb_k__get
2205 if _newclass:hlb_k_ = _swig_property(_IMP_multifit.EVParams_hlb_k__get, _IMP_multifit.EVParams_hlb_k__set)
2206 __swig_setmethods__[
"maximum_ev_score_for_pair_"] = _IMP_multifit.EVParams_maximum_ev_score_for_pair__set
2207 __swig_getmethods__[
"maximum_ev_score_for_pair_"] = _IMP_multifit.EVParams_maximum_ev_score_for_pair__get
2208 if _newclass: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)
2209 __swig_setmethods__[
"allowed_percentage_of_bad_pairs_"] = _IMP_multifit.EVParams_allowed_percentage_of_bad_pairs__set
2210 __swig_getmethods__[
"allowed_percentage_of_bad_pairs_"] = _IMP_multifit.EVParams_allowed_percentage_of_bad_pairs__get
2211 if _newclass: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)
2212 __swig_setmethods__[
"scoring_mode_"] = _IMP_multifit.EVParams_scoring_mode__set
2213 __swig_getmethods__[
"scoring_mode_"] = _IMP_multifit.EVParams_scoring_mode__get
2214 if _newclass:scoring_mode_ = _swig_property(_IMP_multifit.EVParams_scoring_mode__get, _IMP_multifit.EVParams_scoring_mode__set)
2216 """__str__(EVParams self) -> std::string"""
2217 return _IMP_multifit.EVParams___str__(self)
2220 """__repr__(EVParams self) -> std::string"""
2221 return _IMP_multifit.EVParams___repr__(self)
2223 __swig_destroy__ = _IMP_multifit.delete_EVParams
2224 __del__ =
lambda self :
None;
2225 EVParams_swigregister = _IMP_multifit.EVParams_swigregister
2226 EVParams_swigregister(EVParams)
2228 class FiltersParams(_object):
2229 """Proxy of C++ IMP::multifit::FiltersParams class"""
2230 __swig_setmethods__ = {}
2231 __setattr__ =
lambda self, name, value: _swig_setattr(self, FiltersParams, name, value)
2232 __swig_getmethods__ = {}
2233 __getattr__ =
lambda self, name: _swig_getattr(self, FiltersParams, name)
2235 """__init__(IMP::multifit::FiltersParams self) -> FiltersParams"""
2236 this = _IMP_multifit.new_FiltersParams()
2237 try: self.this.append(this)
2238 except: self.this = this
2239 def add(self, *args):
2240 """add(FiltersParams self, boost::property_tree::ptree const & pt)"""
2241 return _IMP_multifit.FiltersParams_add(self, *args)
2243 def show(self, *args):
2245 show(FiltersParams self, _ostream s=std::cout)
2246 show(FiltersParams self)
2248 return _IMP_multifit.FiltersParams_show(self, *args)
2250 __swig_setmethods__[
"max_num_violated_xlink_"] = _IMP_multifit.FiltersParams_max_num_violated_xlink__set
2251 __swig_getmethods__[
"max_num_violated_xlink_"] = _IMP_multifit.FiltersParams_max_num_violated_xlink__get
2252 if _newclass:max_num_violated_xlink_ = _swig_property(_IMP_multifit.FiltersParams_max_num_violated_xlink__get, _IMP_multifit.FiltersParams_max_num_violated_xlink__set)
2253 __swig_setmethods__[
"max_num_violated_conn_"] = _IMP_multifit.FiltersParams_max_num_violated_conn__set
2254 __swig_getmethods__[
"max_num_violated_conn_"] = _IMP_multifit.FiltersParams_max_num_violated_conn__get
2255 if _newclass:max_num_violated_conn_ = _swig_property(_IMP_multifit.FiltersParams_max_num_violated_conn__get, _IMP_multifit.FiltersParams_max_num_violated_conn__set)
2256 __swig_setmethods__[
"max_num_violated_ev_"] = _IMP_multifit.FiltersParams_max_num_violated_ev__set
2257 __swig_getmethods__[
"max_num_violated_ev_"] = _IMP_multifit.FiltersParams_max_num_violated_ev__get
2258 if _newclass:max_num_violated_ev_ = _swig_property(_IMP_multifit.FiltersParams_max_num_violated_ev__get, _IMP_multifit.FiltersParams_max_num_violated_ev__set)
2260 """__str__(FiltersParams self) -> std::string"""
2261 return _IMP_multifit.FiltersParams___str__(self)
2264 """__repr__(FiltersParams self) -> std::string"""
2265 return _IMP_multifit.FiltersParams___repr__(self)
2267 __swig_destroy__ = _IMP_multifit.delete_FiltersParams
2268 __del__ =
lambda self :
None;
2269 FiltersParams_swigregister = _IMP_multifit.FiltersParams_swigregister
2270 FiltersParams_swigregister(FiltersParams)
2272 class FittingParams(_object):
2273 """Proxy of C++ IMP::multifit::FittingParams class"""
2274 __swig_setmethods__ = {}
2275 __setattr__ =
lambda self, name, value: _swig_setattr(self, FittingParams, name, value)
2276 __swig_getmethods__ = {}
2277 __getattr__ =
lambda self, name: _swig_getattr(self, FittingParams, name)
2279 """__init__(IMP::multifit::FittingParams self) -> FittingParams"""
2280 this = _IMP_multifit.new_FittingParams()
2281 try: self.this.append(this)
2282 except: self.this = this
2283 def add(self, *args):
2284 """add(FittingParams self, boost::property_tree::ptree const & pt)"""
2285 return _IMP_multifit.FittingParams_add(self, *args)
2287 def show(self, *args):
2289 show(FittingParams self, _ostream s=std::cout)
2290 show(FittingParams self)
2292 return _IMP_multifit.FittingParams_show(self, *args)
2294 __swig_setmethods__[
"pca_max_angle_diff_"] = _IMP_multifit.FittingParams_pca_max_angle_diff__set
2295 __swig_getmethods__[
"pca_max_angle_diff_"] = _IMP_multifit.FittingParams_pca_max_angle_diff__get
2296 if _newclass:pca_max_angle_diff_ = _swig_property(_IMP_multifit.FittingParams_pca_max_angle_diff__get, _IMP_multifit.FittingParams_pca_max_angle_diff__set)
2297 __swig_setmethods__[
"pca_max_size_diff_"] = _IMP_multifit.FittingParams_pca_max_size_diff__set
2298 __swig_getmethods__[
"pca_max_size_diff_"] = _IMP_multifit.FittingParams_pca_max_size_diff__get
2299 if _newclass:pca_max_size_diff_ = _swig_property(_IMP_multifit.FittingParams_pca_max_size_diff__get, _IMP_multifit.FittingParams_pca_max_size_diff__set)
2300 __swig_setmethods__[
"pca_max_cent_dist_diff_"] = _IMP_multifit.FittingParams_pca_max_cent_dist_diff__set
2301 __swig_getmethods__[
"pca_max_cent_dist_diff_"] = _IMP_multifit.FittingParams_pca_max_cent_dist_diff__get
2302 if _newclass: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)
2303 __swig_setmethods__[
"max_asmb_fit_score_"] = _IMP_multifit.FittingParams_max_asmb_fit_score__set
2304 __swig_getmethods__[
"max_asmb_fit_score_"] = _IMP_multifit.FittingParams_max_asmb_fit_score__get
2305 if _newclass:max_asmb_fit_score_ = _swig_property(_IMP_multifit.FittingParams_max_asmb_fit_score__get, _IMP_multifit.FittingParams_max_asmb_fit_score__set)
2307 """__str__(FittingParams self) -> std::string"""
2308 return _IMP_multifit.FittingParams___str__(self)
2311 """__repr__(FittingParams self) -> std::string"""
2312 return _IMP_multifit.FittingParams___repr__(self)
2314 __swig_destroy__ = _IMP_multifit.delete_FittingParams
2315 __del__ =
lambda self :
None;
2316 FittingParams_swigregister = _IMP_multifit.FittingParams_swigregister
2317 FittingParams_swigregister(FittingParams)
2319 class ComplementarityParams(_object):
2320 """Proxy of C++ IMP::multifit::ComplementarityParams class"""
2321 __swig_setmethods__ = {}
2322 __setattr__ =
lambda self, name, value: _swig_setattr(self, ComplementarityParams, name, value)
2323 __swig_getmethods__ = {}
2324 __getattr__ =
lambda self, name: _swig_getattr(self, ComplementarityParams, name)
2326 """__init__(IMP::multifit::ComplementarityParams self) -> ComplementarityParams"""
2327 this = _IMP_multifit.new_ComplementarityParams()
2328 try: self.this.append(this)
2329 except: self.this = this
2330 def add(self, *args):
2331 """add(ComplementarityParams self, boost::property_tree::ptree const & pt)"""
2332 return _IMP_multifit.ComplementarityParams_add(self, *args)
2334 def show(self, *args):
2336 show(ComplementarityParams self, _ostream s=std::cout)
2337 show(ComplementarityParams self)
2339 return _IMP_multifit.ComplementarityParams_show(self, *args)
2341 __swig_setmethods__[
"max_score_"] = _IMP_multifit.ComplementarityParams_max_score__set
2342 __swig_getmethods__[
"max_score_"] = _IMP_multifit.ComplementarityParams_max_score__get
2343 if _newclass:max_score_ = _swig_property(_IMP_multifit.ComplementarityParams_max_score__get, _IMP_multifit.ComplementarityParams_max_score__set)
2344 __swig_setmethods__[
"max_penetration_"] = _IMP_multifit.ComplementarityParams_max_penetration__set
2345 __swig_getmethods__[
"max_penetration_"] = _IMP_multifit.ComplementarityParams_max_penetration__get
2346 if _newclass:max_penetration_ = _swig_property(_IMP_multifit.ComplementarityParams_max_penetration__get, _IMP_multifit.ComplementarityParams_max_penetration__set)
2347 __swig_setmethods__[
"interior_layer_thickness_"] = _IMP_multifit.ComplementarityParams_interior_layer_thickness__set
2348 __swig_getmethods__[
"interior_layer_thickness_"] = _IMP_multifit.ComplementarityParams_interior_layer_thickness__get
2349 if _newclass:interior_layer_thickness_ = _swig_property(_IMP_multifit.ComplementarityParams_interior_layer_thickness__get, _IMP_multifit.ComplementarityParams_interior_layer_thickness__set)
2350 __swig_setmethods__[
"boundary_coef_"] = _IMP_multifit.ComplementarityParams_boundary_coef__set
2351 __swig_getmethods__[
"boundary_coef_"] = _IMP_multifit.ComplementarityParams_boundary_coef__get
2352 if _newclass:boundary_coef_ = _swig_property(_IMP_multifit.ComplementarityParams_boundary_coef__get, _IMP_multifit.ComplementarityParams_boundary_coef__set)
2353 __swig_setmethods__[
"comp_coef_"] = _IMP_multifit.ComplementarityParams_comp_coef__set
2354 __swig_getmethods__[
"comp_coef_"] = _IMP_multifit.ComplementarityParams_comp_coef__get
2355 if _newclass:comp_coef_ = _swig_property(_IMP_multifit.ComplementarityParams_comp_coef__get, _IMP_multifit.ComplementarityParams_comp_coef__set)
2356 __swig_setmethods__[
"penetration_coef_"] = _IMP_multifit.ComplementarityParams_penetration_coef__set
2357 __swig_getmethods__[
"penetration_coef_"] = _IMP_multifit.ComplementarityParams_penetration_coef__get
2358 if _newclass:penetration_coef_ = _swig_property(_IMP_multifit.ComplementarityParams_penetration_coef__get, _IMP_multifit.ComplementarityParams_penetration_coef__set)
2360 """__str__(ComplementarityParams self) -> std::string"""
2361 return _IMP_multifit.ComplementarityParams___str__(self)
2364 """__repr__(ComplementarityParams self) -> std::string"""
2365 return _IMP_multifit.ComplementarityParams___repr__(self)
2367 __swig_destroy__ = _IMP_multifit.delete_ComplementarityParams
2368 __del__ =
lambda self :
None;
2369 ComplementarityParams_swigregister = _IMP_multifit.ComplementarityParams_swigregister
2370 ComplementarityParams_swigregister(ComplementarityParams)
2372 class AlignmentParams(_object):
2373 """Proxy of C++ IMP::multifit::AlignmentParams class"""
2374 __swig_setmethods__ = {}
2375 __setattr__ =
lambda self, name, value: _swig_setattr(self, AlignmentParams, name, value)
2376 __swig_getmethods__ = {}
2377 __getattr__ =
lambda self, name: _swig_getattr(self, AlignmentParams, name)
2378 def __init__(self, *args):
2379 """__init__(IMP::multifit::AlignmentParams self, char const * param_filename) -> AlignmentParams"""
2380 this = _IMP_multifit.new_AlignmentParams(*args)
2381 try: self.this.append(this)
2382 except: self.this = this
2383 def get_domino_params(self):
2384 """get_domino_params(AlignmentParams self) -> DominoParams"""
2385 return _IMP_multifit.AlignmentParams_get_domino_params(self)
2387 def get_fitting_params(self):
2388 """get_fitting_params(AlignmentParams self) -> FittingParams"""
2389 return _IMP_multifit.AlignmentParams_get_fitting_params(self)
2391 def get_complementarity_params(self):
2392 """get_complementarity_params(AlignmentParams self) -> ComplementarityParams"""
2393 return _IMP_multifit.AlignmentParams_get_complementarity_params(self)
2395 def get_xlink_params(self):
2396 """get_xlink_params(AlignmentParams self) -> XlinkParams"""
2397 return _IMP_multifit.AlignmentParams_get_xlink_params(self)
2399 def get_connectivity_params(self):
2400 """get_connectivity_params(AlignmentParams self) -> ConnectivityParams"""
2401 return _IMP_multifit.AlignmentParams_get_connectivity_params(self)
2403 def get_rog_params(self):
2404 """get_rog_params(AlignmentParams self) -> RogParams"""
2405 return _IMP_multifit.AlignmentParams_get_rog_params(self)
2407 def get_fragments_params(self):
2408 """get_fragments_params(AlignmentParams self) -> FragmentsParams"""
2409 return _IMP_multifit.AlignmentParams_get_fragments_params(self)
2411 def get_filters_params(self):
2412 """get_filters_params(AlignmentParams self) -> FiltersParams"""
2413 return _IMP_multifit.AlignmentParams_get_filters_params(self)
2415 def get_ev_params(self):
2416 """get_ev_params(AlignmentParams self) -> EVParams"""
2417 return _IMP_multifit.AlignmentParams_get_ev_params(self)
2419 def show(self, *args):
2421 show(AlignmentParams self, _ostream s=std::cout)
2422 show(AlignmentParams self)
2424 return _IMP_multifit.AlignmentParams_show(self, *args)
2427 """__str__(AlignmentParams self) -> std::string"""
2428 return _IMP_multifit.AlignmentParams___str__(self)
2431 """__repr__(AlignmentParams self) -> std::string"""
2432 return _IMP_multifit.AlignmentParams___repr__(self)
2434 __swig_destroy__ = _IMP_multifit.delete_AlignmentParams
2435 __del__ =
lambda self :
None;
2436 AlignmentParams_swigregister = _IMP_multifit.AlignmentParams_swigregister
2437 AlignmentParams_swigregister(AlignmentParams)
2440 """Proxy of C++ IMP::multifit::ProteomicsEMAlignmentAtomic class"""
2441 __swig_setmethods__ = {}
2442 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2443 __setattr__ =
lambda self, name, value: _swig_setattr(self, ProteomicsEMAlignmentAtomic, name, value)
2444 __swig_getmethods__ = {}
2445 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2446 __getattr__ =
lambda self, name: _swig_getattr(self, ProteomicsEMAlignmentAtomic, name)
2447 def __init__(self, *args):
2448 """__init__(IMP::multifit::ProteomicsEMAlignmentAtomic self, ProteinsAnchorsSamplingSpace mapping_data, SettingsData asmb_data, AlignmentParams align_param) -> ProteomicsEMAlignmentAtomic"""
2449 this = _IMP_multifit.new_ProteomicsEMAlignmentAtomic(*args)
2450 try: self.this.append(this)
2451 except: self.this = this
2453 """align(ProteomicsEMAlignmentAtomic self)"""
2454 return _IMP_multifit.ProteomicsEMAlignmentAtomic_align(self)
2456 def add_all_restraints(self):
2457 """add_all_restraints(ProteomicsEMAlignmentAtomic self)"""
2458 return _IMP_multifit.ProteomicsEMAlignmentAtomic_add_all_restraints(self)
2460 def add_states_and_filters(self):
2461 """add_states_and_filters(ProteomicsEMAlignmentAtomic self)"""
2462 return _IMP_multifit.ProteomicsEMAlignmentAtomic_add_states_and_filters(self)
2464 def show_domino_merge_tree(self):
2465 """show_domino_merge_tree(ProteomicsEMAlignmentAtomic self)"""
2466 return _IMP_multifit.ProteomicsEMAlignmentAtomic_show_domino_merge_tree(self)
2468 def get_combinations(self, uniques=False):
2470 get_combinations(ProteomicsEMAlignmentAtomic self, bool uniques=False) -> IMP::domino::Assignments
2471 get_combinations(ProteomicsEMAlignmentAtomic self) -> IMP::domino::Assignments
2473 return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_combinations(self, uniques)
2475 def set_density_map(self, *args):
2476 """set_density_map(ProteomicsEMAlignmentAtomic self, DensityMap dmap, float threshold)"""
2477 return _IMP_multifit.ProteomicsEMAlignmentAtomic_set_density_map(self, *args)
2479 def get_molecules(self):
2480 """get_molecules(ProteomicsEMAlignmentAtomic self) -> IMP::atom::Hierarchies"""
2481 return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_molecules(self)
2483 def get_rigid_bodies(self):
2484 """get_rigid_bodies(ProteomicsEMAlignmentAtomic self) -> IMP::core::RigidBodies"""
2485 return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_rigid_bodies(self)
2487 def load_combination_of_states(self, *args):
2488 """load_combination_of_states(ProteomicsEMAlignmentAtomic self, IMP::Ints const & state4particles)"""
2489 return _IMP_multifit.ProteomicsEMAlignmentAtomic_load_combination_of_states(self, *args)
2491 def show_scores_header(self, *args):
2493 show_scores_header(ProteomicsEMAlignmentAtomic self, _ostream ous=std::cout)
2494 show_scores_header(ProteomicsEMAlignmentAtomic self)
2496 return _IMP_multifit.ProteomicsEMAlignmentAtomic_show_scores_header(self, *args)
2498 def get_model(self):
2499 """get_model(ProteomicsEMAlignmentAtomic self) -> Model"""
2500 return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_model(self)
2502 def set_fast_scoring(self, *args):
2503 """set_fast_scoring(ProteomicsEMAlignmentAtomic self, bool state)"""
2504 return _IMP_multifit.ProteomicsEMAlignmentAtomic_set_fast_scoring(self, *args)
2506 def get_version_info(self):
2507 """get_version_info(ProteomicsEMAlignmentAtomic self) -> VersionInfo"""
2508 return _IMP_multifit.ProteomicsEMAlignmentAtomic_get_version_info(self)
2510 __swig_destroy__ = _IMP_multifit.delete_ProteomicsEMAlignmentAtomic
2511 __del__ =
lambda self :
None;
2513 """__str__(ProteomicsEMAlignmentAtomic self) -> std::string"""
2514 return _IMP_multifit.ProteomicsEMAlignmentAtomic___str__(self)
2517 """__repr__(ProteomicsEMAlignmentAtomic self) -> std::string"""
2518 return _IMP_multifit.ProteomicsEMAlignmentAtomic___repr__(self)
2521 return _object_cast_to_ProteomicsEMAlignmentAtomic(o)
2522 get_from = staticmethod(get_from)
2524 ProteomicsEMAlignmentAtomic_swigregister = _IMP_multifit.ProteomicsEMAlignmentAtomic_swigregister
2525 ProteomicsEMAlignmentAtomic_swigregister(ProteomicsEMAlignmentAtomic)
2529 """write_connolly_surface(IMP::atom::Atoms as, TextOutput fn, float density, float probe_radius)"""
2530 return _IMP_multifit.write_connolly_surface(*args)
2532 """Proxy of C++ IMP::multifit::Ensemble class"""
2533 __swig_setmethods__ = {}
2534 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2535 __setattr__ =
lambda self, name, value: _swig_setattr(self, Ensemble, name, value)
2536 __swig_getmethods__ = {}
2537 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2538 __getattr__ =
lambda self, name: _swig_getattr(self, Ensemble, name)
2539 def load_combination(self, *args):
2540 """load_combination(Ensemble self, IMP::Ints fit_comb)"""
2541 return _IMP_multifit.Ensemble_load_combination(self, *args)
2543 def unload_combination(self, *args):
2544 """unload_combination(Ensemble self, IMP::Ints fit_comb)"""
2545 return _IMP_multifit.Ensemble_unload_combination(self, *args)
2547 def add_component_and_fits(self, *args):
2548 """add_component_and_fits(Ensemble self, Hierarchy mh, IMP::multifit::FittingSolutionRecords const & fits)"""
2549 return _IMP_multifit.Ensemble_add_component_and_fits(self, *args)
2551 def get_molecules(self):
2552 """get_molecules(Ensemble self) -> IMP::atom::Hierarchies"""
2553 return _IMP_multifit.Ensemble_get_molecules(self)
2555 def get_rigid_bodies(self):
2556 """get_rigid_bodies(Ensemble self) -> IMP::core::RigidBodies"""
2557 return _IMP_multifit.Ensemble_get_rigid_bodies(self)
2560 """get_rmsd(Ensemble self, IMP::core::XYZs const & second_xyz) -> float"""
2561 return _IMP_multifit.Ensemble_get_rmsd(self, *args)
2563 def __init__(self, *args):
2564 """__init__(IMP::multifit::Ensemble self, SettingsData sd, ProteinsAnchorsSamplingSpace mapping_data) -> Ensemble"""
2565 this = _IMP_multifit.new_Ensemble(*args)
2566 try: self.this.append(this)
2567 except: self.this = this
2568 def score_by_restraints(self, *args):
2569 """score_by_restraints(Ensemble self, IMP::kernel::Restraints rs, IMP::IntsList const & combinations) -> std::vector< IMP::Floats,std::allocator< IMP::Floats > >"""
2570 return _IMP_multifit.Ensemble_score_by_restraints(self, *args)
2572 def get_version_info(self):
2573 """get_version_info(Ensemble self) -> VersionInfo"""
2574 return _IMP_multifit.Ensemble_get_version_info(self)
2576 __swig_destroy__ = _IMP_multifit.delete_Ensemble
2577 __del__ =
lambda self :
None;
2579 """__str__(Ensemble self) -> std::string"""
2580 return _IMP_multifit.Ensemble___str__(self)
2583 """__repr__(Ensemble self) -> std::string"""
2584 return _IMP_multifit.Ensemble___repr__(self)
2587 return _object_cast_to_Ensemble(o)
2588 get_from = staticmethod(get_from)
2590 Ensemble_swigregister = _IMP_multifit.Ensemble_swigregister
2591 Ensemble_swigregister(Ensemble)
2594 def load_ensemble(*args):
2595 """load_ensemble(SettingsData sd, Model mdl, ProteinsAnchorsSamplingSpace mapping_data) -> Ensemble"""
2596 return _IMP_multifit.load_ensemble(*args)
2597 _all_commands = [
"param",
"anchors",
"fit_fft",
"cluster",
"add_fit_rmsd",
2598 "indexes",
"proteomics",
"align",
"models",
"transforms",
2599 "score",
"merge_tree",
"reference",
"refine_fft",
"segment"]
2602 def get_module_version():
2603 """get_module_version() -> std::string const"""
2604 return _IMP_multifit.get_module_version()
2607 """get_example_path(std::string fname) -> std::string"""
2608 return _IMP_multifit.get_example_path(*args)
2611 """get_data_path(std::string fname) -> std::string"""
2612 return _IMP_multifit.get_data_path(*args)
2613 import _version_check
2614 _version_check.check_version(get_module_version())
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.
Ints get_index(const kernel::ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
atom::Hierarchy create_coarse_molecule_from_density(em::DensityMap *dmap, float dens_threshold, int num_beads, kernel::Model *mdl, float bead_radius)
Coarsen a density map based on voxels clustering.
IntsList get_connected_components(em::DensityMap *dmap, float threshold, float edge_threshold)
Return connected components based on density values.
See IMP.container for more information.
See IMP.cgal for more information.
em::DensityMap * remove_background(em::DensityMap *dmap, float threshold, float edge_threshold)
Returns a map containing all density without the background.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
ProteinsAnchorsSamplingSpace get_part_of_sampling_space(const ProteinsAnchorsSamplingSpace &prots_ss, const Strings &prot_names)
Get the sampling space of few of the proteins.
See IMP.base for more information.
std::string get_data_path(std::string file_name)
Return the full path to installed data.
statistics::Histogram get_density_histogram(const em::DensityMap *dmap, float threshold, int num_bins)
Get a histogram of density values.
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.
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const IMP::algebra::Transformation3D &tr_for_second=IMP::algebra::get_identity_transformation_3d())
Calculate the root mean square deviation between two sets of 3D points.
See IMP.score_functor for more information.
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.
See IMP.statistics for more information.
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
void write_connolly_surface(atom::Atoms as, base::TextOutput fn, float density, float probe_radius)
Write the Connolly surface for a set of atoms to a file.
See IMP.kernel for more information.
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.
A restraint is a term in an IMP ScoringFunction.
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
See IMP.em for more information.
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
Common base class for heavy weight IMP objects.
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.
atom::Hierarchy create_coarse_molecule_from_molecule(const atom::Hierarchy &mh, int num_beads, kernel::Model *mdl, float bead_radius, bool add_conn_restraint=false)
Coarsen a molecule based on atom clustering.
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.
See IMP.core for more information.
See IMP.algebra for more information.
FittingSolutionRecords get_close_to_point(const FittingSolutionRecords &fit_sols, atom::Hierarchy mh, IMP::kernel::Particle *ap, Float dist)
prune solutions by distance to an anchor point
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.
atom::Hierarchies create_coarse_molecules_from_molecules(const atom::Hierarchies &mhs, int frag_len, kernel::Model *mdl, float bead_radius, bool add_conn_restraint=false)
Coarsen molecules based on atom clustering.
See IMP.display for more information.
CheckLevel get_check_level()
Get the current audit mode.
See IMP.atom for more information.
See IMP.rmf for more information.
See IMP.domino for more information.