11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_em2d', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_em2d', fp, pathname, description)
34 _IMP_em2d = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_EM2D_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_EM2D_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_em2d.delete_IMP_EM2D_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_EM2D_SwigPyIterator self) -> PyObject *"""
127 return _IMP_em2d.IMP_EM2D_SwigPyIterator_value(self)
132 incr(IMP_EM2D_SwigPyIterator self, size_t n=1) -> IMP_EM2D_SwigPyIterator
133 incr(IMP_EM2D_SwigPyIterator self) -> IMP_EM2D_SwigPyIterator
135 return _IMP_em2d.IMP_EM2D_SwigPyIterator_incr(self, n)
140 decr(IMP_EM2D_SwigPyIterator self, size_t n=1) -> IMP_EM2D_SwigPyIterator
141 decr(IMP_EM2D_SwigPyIterator self) -> IMP_EM2D_SwigPyIterator
143 return _IMP_em2d.IMP_EM2D_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_em2d.IMP_EM2D_SwigPyIterator_distance(self, x)
152 """equal(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> bool"""
153 return _IMP_em2d.IMP_EM2D_SwigPyIterator_equal(self, x)
157 """copy(IMP_EM2D_SwigPyIterator self) -> IMP_EM2D_SwigPyIterator"""
158 return _IMP_em2d.IMP_EM2D_SwigPyIterator_copy(self)
162 """next(IMP_EM2D_SwigPyIterator self) -> PyObject *"""
163 return _IMP_em2d.IMP_EM2D_SwigPyIterator_next(self)
167 """__next__(IMP_EM2D_SwigPyIterator self) -> PyObject *"""
168 return _IMP_em2d.IMP_EM2D_SwigPyIterator___next__(self)
172 """previous(IMP_EM2D_SwigPyIterator self) -> PyObject *"""
173 return _IMP_em2d.IMP_EM2D_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator"""
178 return _IMP_em2d.IMP_EM2D_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> bool"""
183 return _IMP_em2d.IMP_EM2D_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> bool"""
188 return _IMP_em2d.IMP_EM2D_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator"""
193 return _IMP_em2d.IMP_EM2D_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator"""
198 return _IMP_em2d.IMP_EM2D_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator"""
203 return _IMP_em2d.IMP_EM2D_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator
209 __sub__(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_em2d.IMP_EM2D_SwigPyIterator___sub__(self, *args)
215 IMP_EM2D_SwigPyIterator_swigregister = _IMP_em2d.IMP_EM2D_SwigPyIterator_swigregister
216 IMP_EM2D_SwigPyIterator_swigregister(IMP_EM2D_SwigPyIterator)
225 _IMP_em2d.IMP_DEBUG_swigconstant(_IMP_em2d)
226 IMP_DEBUG = _IMP_em2d.IMP_DEBUG
228 _IMP_em2d.IMP_RELEASE_swigconstant(_IMP_em2d)
229 IMP_RELEASE = _IMP_em2d.IMP_RELEASE
231 _IMP_em2d.IMP_SILENT_swigconstant(_IMP_em2d)
232 IMP_SILENT = _IMP_em2d.IMP_SILENT
234 _IMP_em2d.IMP_PROGRESS_swigconstant(_IMP_em2d)
235 IMP_PROGRESS = _IMP_em2d.IMP_PROGRESS
237 _IMP_em2d.IMP_TERSE_swigconstant(_IMP_em2d)
238 IMP_TERSE = _IMP_em2d.IMP_TERSE
240 _IMP_em2d.IMP_VERBOSE_swigconstant(_IMP_em2d)
241 IMP_VERBOSE = _IMP_em2d.IMP_VERBOSE
243 _IMP_em2d.IMP_MEMORY_swigconstant(_IMP_em2d)
244 IMP_MEMORY = _IMP_em2d.IMP_MEMORY
246 _IMP_em2d.IMP_NONE_swigconstant(_IMP_em2d)
247 IMP_NONE = _IMP_em2d.IMP_NONE
249 _IMP_em2d.IMP_USAGE_swigconstant(_IMP_em2d)
250 IMP_USAGE = _IMP_em2d.IMP_USAGE
252 _IMP_em2d.IMP_INTERNAL_swigconstant(_IMP_em2d)
253 IMP_INTERNAL = _IMP_em2d.IMP_INTERNAL
255 _IMP_em2d.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_em2d)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_em2d.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_em2d.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_em2d)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_em2d.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_em2d.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_em2d)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_em2d.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_em2d.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_em2d)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_em2d.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_em2d.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_em2d.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_em2d.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_em2d)
271 IMP_KERNEL_HAS_NUMPY = _IMP_em2d.IMP_KERNEL_HAS_NUMPY
273 _IMP_em2d.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_em2d)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_em2d.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_em2d.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_em2d)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_em2d.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_em2d.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_em2d)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_em2d.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_em2d.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_em2d)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_em2d.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_em2d._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_em2d._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_em2d.IMP_HAS_NOEXCEPT_swigconstant(_IMP_em2d)
328 IMP_HAS_NOEXCEPT = _IMP_em2d.IMP_HAS_NOEXCEPT
330 _IMP_em2d.IMP_C_OPEN_BINARY_swigconstant(_IMP_em2d)
331 IMP_C_OPEN_BINARY = _IMP_em2d.IMP_C_OPEN_BINARY
334 _IMP_em2d.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_em2d.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_em2d.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_em2d.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_em2d.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_em2d.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_em2d)
347 IMP_CGAL_HAS_NUMPY = _IMP_em2d.IMP_CGAL_HAS_NUMPY
349 _IMP_em2d.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_em2d)
350 IMPCGAL_SHOW_WARNINGS = _IMP_em2d.IMPCGAL_SHOW_WARNINGS
353 _IMP_em2d.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_em2d.IMP_ALGEBRA_HAS_IMP_CGAL
356 _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
359 _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
362 _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_RANDOM
365 _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_SYSTEM
368 _IMP_em2d.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_em2d)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_em2d.IMP_ALGEBRA_HAS_CGAL
371 _IMP_em2d.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_em2d)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_em2d.IMP_ALGEBRA_HAS_NUMPY
374 _IMP_em2d.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_em2d)
375 IMP_ALGEBRA_HAS_ANN = _IMP_em2d.IMP_ALGEBRA_HAS_ANN
377 _IMP_em2d.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_em2d)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_em2d.IMPALGEBRA_SHOW_WARNINGS
381 _IMP_em2d.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_em2d.IMP_DISPLAY_HAS_IMP_CGAL
384 _IMP_em2d.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
387 _IMP_em2d.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
390 _IMP_em2d.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_em2d.IMP_DISPLAY_HAS_BOOST_RANDOM
393 _IMP_em2d.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_DISPLAY_HAS_BOOST_SYSTEM
396 _IMP_em2d.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_em2d)
397 IMP_DISPLAY_HAS_CGAL = _IMP_em2d.IMP_DISPLAY_HAS_CGAL
399 _IMP_em2d.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_em2d)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_em2d.IMP_DISPLAY_HAS_NUMPY
402 _IMP_em2d.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_em2d)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_em2d.IMPDISPLAY_SHOW_WARNINGS
406 _IMP_em2d.IMP_GSL_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
407 IMP_GSL_HAS_IMP_CGAL = _IMP_em2d.IMP_GSL_HAS_IMP_CGAL
409 _IMP_em2d.IMP_GSL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
410 IMP_GSL_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_GSL_HAS_BOOST_FILESYSTEM
412 _IMP_em2d.IMP_GSL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
413 IMP_GSL_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_GSL_HAS_BOOST_PROGRAMOPTIONS
415 _IMP_em2d.IMP_GSL_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
416 IMP_GSL_HAS_BOOST_RANDOM = _IMP_em2d.IMP_GSL_HAS_BOOST_RANDOM
418 _IMP_em2d.IMP_GSL_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
419 IMP_GSL_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_GSL_HAS_BOOST_SYSTEM
421 _IMP_em2d.IMP_GSL_HAS_CGAL_swigconstant(_IMP_em2d)
422 IMP_GSL_HAS_CGAL = _IMP_em2d.IMP_GSL_HAS_CGAL
424 _IMP_em2d.IMP_GSL_HAS_NUMPY_swigconstant(_IMP_em2d)
425 IMP_GSL_HAS_NUMPY = _IMP_em2d.IMP_GSL_HAS_NUMPY
427 _IMP_em2d.IMPGSL_SHOW_WARNINGS_swigconstant(_IMP_em2d)
428 IMPGSL_SHOW_WARNINGS = _IMP_em2d.IMPGSL_SHOW_WARNINGS
431 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
432 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
434 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
435 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
437 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
438 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
440 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
441 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
443 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
444 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
446 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_em2d)
447 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_CGAL
449 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_em2d)
450 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_HDF5
452 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_em2d)
453 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_NUMPY
455 _IMP_em2d.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_em2d)
456 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_em2d.IMPSCOREFUNCTOR_SHOW_WARNINGS
459 _IMP_em2d.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
460 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_em2d.IMP_STATISTICS_HAS_IMP_CGAL
462 _IMP_em2d.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
463 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
465 _IMP_em2d.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
466 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
468 _IMP_em2d.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
469 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_em2d.IMP_STATISTICS_HAS_BOOST_RANDOM
471 _IMP_em2d.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
472 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_STATISTICS_HAS_BOOST_SYSTEM
474 _IMP_em2d.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_em2d)
475 IMP_STATISTICS_HAS_CGAL = _IMP_em2d.IMP_STATISTICS_HAS_CGAL
477 _IMP_em2d.IMP_STATISTICS_HAS_NUMPY_swigconstant(_IMP_em2d)
478 IMP_STATISTICS_HAS_NUMPY = _IMP_em2d.IMP_STATISTICS_HAS_NUMPY
480 _IMP_em2d.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_em2d)
481 IMPSTATISTICS_SHOW_WARNINGS = _IMP_em2d.IMPSTATISTICS_SHOW_WARNINGS
484 _IMP_em2d.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
485 IMP_CORE_HAS_IMP_CGAL = _IMP_em2d.IMP_CORE_HAS_IMP_CGAL
487 _IMP_em2d.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
488 IMP_CORE_HAS_IMP_KERNEL = _IMP_em2d.IMP_CORE_HAS_IMP_KERNEL
490 _IMP_em2d.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
491 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_CORE_HAS_BOOST_FILESYSTEM
493 _IMP_em2d.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
494 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
496 _IMP_em2d.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
497 IMP_CORE_HAS_BOOST_RANDOM = _IMP_em2d.IMP_CORE_HAS_BOOST_RANDOM
499 _IMP_em2d.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
500 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_CORE_HAS_BOOST_SYSTEM
502 _IMP_em2d.IMP_CORE_HAS_CGAL_swigconstant(_IMP_em2d)
503 IMP_CORE_HAS_CGAL = _IMP_em2d.IMP_CORE_HAS_CGAL
505 _IMP_em2d.IMP_CORE_HAS_HDF5_swigconstant(_IMP_em2d)
506 IMP_CORE_HAS_HDF5 = _IMP_em2d.IMP_CORE_HAS_HDF5
508 _IMP_em2d.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_em2d)
509 IMP_CORE_HAS_NUMPY = _IMP_em2d.IMP_CORE_HAS_NUMPY
511 _IMP_em2d.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_em2d)
512 IMPCORE_SHOW_WARNINGS = _IMP_em2d.IMPCORE_SHOW_WARNINGS
515 _IMP_em2d.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_em2d)
516 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_em2d.IMP_CONTAINER_HAS_IMP_ALGEBRA
518 _IMP_em2d.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
519 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_em2d.IMP_CONTAINER_HAS_IMP_CGAL
521 _IMP_em2d.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_em2d)
522 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_em2d.IMP_CONTAINER_HAS_IMP_DISPLAY
524 _IMP_em2d.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
525 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_em2d.IMP_CONTAINER_HAS_IMP_KERNEL
527 _IMP_em2d.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
528 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
530 _IMP_em2d.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
531 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
533 _IMP_em2d.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
534 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
536 _IMP_em2d.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
537 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_em2d.IMP_CONTAINER_HAS_BOOST_RANDOM
539 _IMP_em2d.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
540 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_CONTAINER_HAS_BOOST_SYSTEM
542 _IMP_em2d.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_em2d)
543 IMP_CONTAINER_HAS_CGAL = _IMP_em2d.IMP_CONTAINER_HAS_CGAL
545 _IMP_em2d.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_em2d)
546 IMP_CONTAINER_HAS_HDF5 = _IMP_em2d.IMP_CONTAINER_HAS_HDF5
548 _IMP_em2d.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_em2d)
549 IMP_CONTAINER_HAS_NUMPY = _IMP_em2d.IMP_CONTAINER_HAS_NUMPY
551 _IMP_em2d.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
552 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_em2d.IMP_CONTAINER_HAS_PYTHON_IHM
554 _IMP_em2d.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_em2d)
555 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_em2d.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
557 _IMP_em2d.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_em2d)
558 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_em2d.IMP_CONTAINER_HAS_ROBIN_MAP
560 _IMP_em2d.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_em2d)
561 IMPCONTAINER_SHOW_WARNINGS = _IMP_em2d.IMPCONTAINER_SHOW_WARNINGS
564 _IMP_em2d.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
565 IMP_ATOM_HAS_IMP_CGAL = _IMP_em2d.IMP_ATOM_HAS_IMP_CGAL
567 _IMP_em2d.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
568 IMP_ATOM_HAS_IMP_KERNEL = _IMP_em2d.IMP_ATOM_HAS_IMP_KERNEL
570 _IMP_em2d.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
571 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
573 _IMP_em2d.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
574 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
576 _IMP_em2d.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
577 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_em2d.IMP_ATOM_HAS_BOOST_RANDOM
579 _IMP_em2d.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
580 IMP_ATOM_HAS_BOOST_REGEX = _IMP_em2d.IMP_ATOM_HAS_BOOST_REGEX
582 _IMP_em2d.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
583 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_ATOM_HAS_BOOST_SYSTEM
585 _IMP_em2d.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_em2d)
586 IMP_ATOM_HAS_CGAL = _IMP_em2d.IMP_ATOM_HAS_CGAL
588 _IMP_em2d.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_em2d)
589 IMP_ATOM_HAS_HDF5 = _IMP_em2d.IMP_ATOM_HAS_HDF5
591 _IMP_em2d.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_em2d)
592 IMP_ATOM_HAS_NUMPY = _IMP_em2d.IMP_ATOM_HAS_NUMPY
594 _IMP_em2d.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
595 IMP_ATOM_HAS_PYTHON_IHM = _IMP_em2d.IMP_ATOM_HAS_PYTHON_IHM
597 _IMP_em2d.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_em2d)
598 IMPATOM_SHOW_WARNINGS = _IMP_em2d.IMPATOM_SHOW_WARNINGS
600 _IMP_em2d.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_em2d)
601 IMP_ATOM_TYPE_INDEX = _IMP_em2d.IMP_ATOM_TYPE_INDEX
603 _IMP_em2d.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_em2d)
604 IMP_RESIDUE_TYPE_INDEX = _IMP_em2d.IMP_RESIDUE_TYPE_INDEX
606 _IMP_em2d.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_em2d)
607 IMP_HIERARCHY_TYPE_INDEX = _IMP_em2d.IMP_HIERARCHY_TYPE_INDEX
609 _IMP_em2d.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_em2d)
610 IMP_CHAIN_TYPE_INDEX = _IMP_em2d.IMP_CHAIN_TYPE_INDEX
613 _IMP_em2d.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
614 IMP_EM_HAS_IMP_CGAL = _IMP_em2d.IMP_EM_HAS_IMP_CGAL
616 _IMP_em2d.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_em2d)
617 IMP_EM_HAS_IMP_CONTAINER = _IMP_em2d.IMP_EM_HAS_IMP_CONTAINER
619 _IMP_em2d.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_em2d)
620 IMP_EM_HAS_IMP_DISPLAY = _IMP_em2d.IMP_EM_HAS_IMP_DISPLAY
622 _IMP_em2d.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
623 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_EM_HAS_IMP_SCORE_FUNCTOR
625 _IMP_em2d.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
626 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_EM_HAS_BOOST_FILESYSTEM
628 _IMP_em2d.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
629 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
631 _IMP_em2d.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
632 IMP_EM_HAS_BOOST_RANDOM = _IMP_em2d.IMP_EM_HAS_BOOST_RANDOM
634 _IMP_em2d.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
635 IMP_EM_HAS_BOOST_REGEX = _IMP_em2d.IMP_EM_HAS_BOOST_REGEX
637 _IMP_em2d.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
638 IMP_EM_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_EM_HAS_BOOST_SYSTEM
640 _IMP_em2d.IMP_EM_HAS_CGAL_swigconstant(_IMP_em2d)
641 IMP_EM_HAS_CGAL = _IMP_em2d.IMP_EM_HAS_CGAL
643 _IMP_em2d.IMP_EM_HAS_HDF5_swigconstant(_IMP_em2d)
644 IMP_EM_HAS_HDF5 = _IMP_em2d.IMP_EM_HAS_HDF5
646 _IMP_em2d.IMP_EM_HAS_NUMPY_swigconstant(_IMP_em2d)
647 IMP_EM_HAS_NUMPY = _IMP_em2d.IMP_EM_HAS_NUMPY
649 _IMP_em2d.IMP_EM_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
650 IMP_EM_HAS_PYTHON_IHM = _IMP_em2d.IMP_EM_HAS_PYTHON_IHM
652 _IMP_em2d.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_em2d)
653 IMPEM_SHOW_WARNINGS = _IMP_em2d.IMPEM_SHOW_WARNINGS
656 _IMP_em2d.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
657 IMP_SAXS_HAS_IMP_CGAL = _IMP_em2d.IMP_SAXS_HAS_IMP_CGAL
659 _IMP_em2d.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_em2d)
660 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_em2d.IMP_SAXS_HAS_IMP_CONTAINER
662 _IMP_em2d.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_em2d)
663 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_em2d.IMP_SAXS_HAS_IMP_DISPLAY
665 _IMP_em2d.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
666 IMP_SAXS_HAS_IMP_KERNEL = _IMP_em2d.IMP_SAXS_HAS_IMP_KERNEL
668 _IMP_em2d.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
669 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
671 _IMP_em2d.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
672 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_SAXS_HAS_BOOST_FILESYSTEM
674 _IMP_em2d.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
675 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
677 _IMP_em2d.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
678 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_em2d.IMP_SAXS_HAS_BOOST_RANDOM
680 _IMP_em2d.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
681 IMP_SAXS_HAS_BOOST_REGEX = _IMP_em2d.IMP_SAXS_HAS_BOOST_REGEX
683 _IMP_em2d.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
684 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_SAXS_HAS_BOOST_SYSTEM
686 _IMP_em2d.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_em2d)
687 IMP_SAXS_HAS_CGAL = _IMP_em2d.IMP_SAXS_HAS_CGAL
689 _IMP_em2d.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_em2d)
690 IMP_SAXS_HAS_HDF5 = _IMP_em2d.IMP_SAXS_HAS_HDF5
692 _IMP_em2d.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_em2d)
693 IMP_SAXS_HAS_NUMPY = _IMP_em2d.IMP_SAXS_HAS_NUMPY
695 _IMP_em2d.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
696 IMP_SAXS_HAS_PYTHON_IHM = _IMP_em2d.IMP_SAXS_HAS_PYTHON_IHM
698 _IMP_em2d.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_em2d)
699 IMPSAXS_SHOW_WARNINGS = _IMP_em2d.IMPSAXS_SHOW_WARNINGS
702 _IMP_em2d.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
703 IMP_ISD_HAS_IMP_CGAL = _IMP_em2d.IMP_ISD_HAS_IMP_CGAL
705 _IMP_em2d.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_em2d)
706 IMP_ISD_HAS_IMP_DISPLAY = _IMP_em2d.IMP_ISD_HAS_IMP_DISPLAY
708 _IMP_em2d.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
709 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
711 _IMP_em2d.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
712 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_ISD_HAS_BOOST_FILESYSTEM
714 _IMP_em2d.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
715 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
717 _IMP_em2d.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
718 IMP_ISD_HAS_BOOST_RANDOM = _IMP_em2d.IMP_ISD_HAS_BOOST_RANDOM
720 _IMP_em2d.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
721 IMP_ISD_HAS_BOOST_REGEX = _IMP_em2d.IMP_ISD_HAS_BOOST_REGEX
723 _IMP_em2d.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
724 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_ISD_HAS_BOOST_SYSTEM
726 _IMP_em2d.IMP_ISD_HAS_CGAL_swigconstant(_IMP_em2d)
727 IMP_ISD_HAS_CGAL = _IMP_em2d.IMP_ISD_HAS_CGAL
729 _IMP_em2d.IMP_ISD_HAS_HDF5_swigconstant(_IMP_em2d)
730 IMP_ISD_HAS_HDF5 = _IMP_em2d.IMP_ISD_HAS_HDF5
732 _IMP_em2d.IMP_ISD_HAS_NUMPY_swigconstant(_IMP_em2d)
733 IMP_ISD_HAS_NUMPY = _IMP_em2d.IMP_ISD_HAS_NUMPY
735 _IMP_em2d.IMP_ISD_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
736 IMP_ISD_HAS_PYTHON_IHM = _IMP_em2d.IMP_ISD_HAS_PYTHON_IHM
738 _IMP_em2d.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_em2d)
739 IMPISD_SHOW_WARNINGS = _IMP_em2d.IMPISD_SHOW_WARNINGS
742 _IMP_em2d.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
743 IMP_RMF_HAS_IMP_CGAL = _IMP_em2d.IMP_RMF_HAS_IMP_CGAL
745 _IMP_em2d.IMP_RMF_HAS_IMP_EM_swigconstant(_IMP_em2d)
746 IMP_RMF_HAS_IMP_EM = _IMP_em2d.IMP_RMF_HAS_IMP_EM
748 _IMP_em2d.IMP_RMF_HAS_IMP_SAXS_swigconstant(_IMP_em2d)
749 IMP_RMF_HAS_IMP_SAXS = _IMP_em2d.IMP_RMF_HAS_IMP_SAXS
751 _IMP_em2d.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
752 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
754 _IMP_em2d.IMP_RMF_HAS_IMP_STATISTICS_swigconstant(_IMP_em2d)
755 IMP_RMF_HAS_IMP_STATISTICS = _IMP_em2d.IMP_RMF_HAS_IMP_STATISTICS
757 _IMP_em2d.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
758 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_RMF_HAS_BOOST_FILESYSTEM
760 _IMP_em2d.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
761 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
763 _IMP_em2d.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
764 IMP_RMF_HAS_BOOST_RANDOM = _IMP_em2d.IMP_RMF_HAS_BOOST_RANDOM
766 _IMP_em2d.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
767 IMP_RMF_HAS_BOOST_REGEX = _IMP_em2d.IMP_RMF_HAS_BOOST_REGEX
769 _IMP_em2d.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
770 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_RMF_HAS_BOOST_SYSTEM
772 _IMP_em2d.IMP_RMF_HAS_CGAL_swigconstant(_IMP_em2d)
773 IMP_RMF_HAS_CGAL = _IMP_em2d.IMP_RMF_HAS_CGAL
775 _IMP_em2d.IMP_RMF_HAS_HDF5_swigconstant(_IMP_em2d)
776 IMP_RMF_HAS_HDF5 = _IMP_em2d.IMP_RMF_HAS_HDF5
778 _IMP_em2d.IMP_RMF_HAS_NUMPY_swigconstant(_IMP_em2d)
779 IMP_RMF_HAS_NUMPY = _IMP_em2d.IMP_RMF_HAS_NUMPY
781 _IMP_em2d.IMP_RMF_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
782 IMP_RMF_HAS_PYTHON_IHM = _IMP_em2d.IMP_RMF_HAS_PYTHON_IHM
784 _IMP_em2d.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_em2d)
785 IMPRMF_SHOW_WARNINGS = _IMP_em2d.IMPRMF_SHOW_WARNINGS
789 _IMP_em2d.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_em2d)
790 IMP_DOMINO_HAS_IMP_ATOM = _IMP_em2d.IMP_DOMINO_HAS_IMP_ATOM
792 _IMP_em2d.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
793 IMP_DOMINO_HAS_IMP_CGAL = _IMP_em2d.IMP_DOMINO_HAS_IMP_CGAL
795 _IMP_em2d.IMP_DOMINO_HAS_IMP_EM_swigconstant(_IMP_em2d)
796 IMP_DOMINO_HAS_IMP_EM = _IMP_em2d.IMP_DOMINO_HAS_IMP_EM
798 _IMP_em2d.IMP_DOMINO_HAS_IMP_ISD_swigconstant(_IMP_em2d)
799 IMP_DOMINO_HAS_IMP_ISD = _IMP_em2d.IMP_DOMINO_HAS_IMP_ISD
801 _IMP_em2d.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
802 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_em2d.IMP_DOMINO_HAS_IMP_KERNEL
804 _IMP_em2d.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_em2d)
805 IMP_DOMINO_HAS_IMP_RMF = _IMP_em2d.IMP_DOMINO_HAS_IMP_RMF
807 _IMP_em2d.IMP_DOMINO_HAS_IMP_SAXS_swigconstant(_IMP_em2d)
808 IMP_DOMINO_HAS_IMP_SAXS = _IMP_em2d.IMP_DOMINO_HAS_IMP_SAXS
810 _IMP_em2d.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
811 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
813 _IMP_em2d.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
814 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_DOMINO_HAS_BOOST_FILESYSTEM
816 _IMP_em2d.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
817 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
819 _IMP_em2d.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
820 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_em2d.IMP_DOMINO_HAS_BOOST_RANDOM
822 _IMP_em2d.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
823 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_em2d.IMP_DOMINO_HAS_BOOST_REGEX
825 _IMP_em2d.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
826 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_DOMINO_HAS_BOOST_SYSTEM
828 _IMP_em2d.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_em2d)
829 IMP_DOMINO_HAS_CGAL = _IMP_em2d.IMP_DOMINO_HAS_CGAL
831 _IMP_em2d.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_em2d)
832 IMP_DOMINO_HAS_HDF5 = _IMP_em2d.IMP_DOMINO_HAS_HDF5
834 _IMP_em2d.IMP_DOMINO_HAS_NUMPY_swigconstant(_IMP_em2d)
835 IMP_DOMINO_HAS_NUMPY = _IMP_em2d.IMP_DOMINO_HAS_NUMPY
837 _IMP_em2d.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_em2d)
838 IMP_DOMINO_HAS_RMF = _IMP_em2d.IMP_DOMINO_HAS_RMF
840 _IMP_em2d.IMP_DOMINO_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
841 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_em2d.IMP_DOMINO_HAS_PYTHON_IHM
843 _IMP_em2d.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_em2d)
844 IMPDOMINO_SHOW_WARNINGS = _IMP_em2d.IMPDOMINO_SHOW_WARNINGS
848 _IMP_em2d.IMP_EM2D_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
849 IMP_EM2D_HAS_IMP_CGAL = _IMP_em2d.IMP_EM2D_HAS_IMP_CGAL
851 _IMP_em2d.IMP_EM2D_HAS_IMP_ISD_swigconstant(_IMP_em2d)
852 IMP_EM2D_HAS_IMP_ISD = _IMP_em2d.IMP_EM2D_HAS_IMP_ISD
854 _IMP_em2d.IMP_EM2D_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
855 IMP_EM2D_HAS_IMP_KERNEL = _IMP_em2d.IMP_EM2D_HAS_IMP_KERNEL
857 _IMP_em2d.IMP_EM2D_HAS_IMP_RMF_swigconstant(_IMP_em2d)
858 IMP_EM2D_HAS_IMP_RMF = _IMP_em2d.IMP_EM2D_HAS_IMP_RMF
860 _IMP_em2d.IMP_EM2D_HAS_IMP_SAXS_swigconstant(_IMP_em2d)
861 IMP_EM2D_HAS_IMP_SAXS = _IMP_em2d.IMP_EM2D_HAS_IMP_SAXS
863 _IMP_em2d.IMP_EM2D_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
864 IMP_EM2D_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_EM2D_HAS_IMP_SCORE_FUNCTOR
866 _IMP_em2d.IMP_EM2D_HAS_IMP_STATISTICS_swigconstant(_IMP_em2d)
867 IMP_EM2D_HAS_IMP_STATISTICS = _IMP_em2d.IMP_EM2D_HAS_IMP_STATISTICS
869 _IMP_em2d.IMP_EM2D_HAS_BOOST_GRAPH_swigconstant(_IMP_em2d)
870 IMP_EM2D_HAS_BOOST_GRAPH = _IMP_em2d.IMP_EM2D_HAS_BOOST_GRAPH
872 _IMP_em2d.IMP_EM2D_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
873 IMP_EM2D_HAS_BOOST_RANDOM = _IMP_em2d.IMP_EM2D_HAS_BOOST_RANDOM
875 _IMP_em2d.IMP_EM2D_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
876 IMP_EM2D_HAS_BOOST_REGEX = _IMP_em2d.IMP_EM2D_HAS_BOOST_REGEX
878 _IMP_em2d.IMP_EM2D_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
879 IMP_EM2D_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_EM2D_HAS_BOOST_SYSTEM
881 _IMP_em2d.IMP_EM2D_HAS_CGAL_swigconstant(_IMP_em2d)
882 IMP_EM2D_HAS_CGAL = _IMP_em2d.IMP_EM2D_HAS_CGAL
884 _IMP_em2d.IMP_EM2D_HAS_GSL_swigconstant(_IMP_em2d)
885 IMP_EM2D_HAS_GSL = _IMP_em2d.IMP_EM2D_HAS_GSL
887 _IMP_em2d.IMP_EM2D_HAS_HDF5_swigconstant(_IMP_em2d)
888 IMP_EM2D_HAS_HDF5 = _IMP_em2d.IMP_EM2D_HAS_HDF5
890 _IMP_em2d.IMP_EM2D_HAS_NUMPY_swigconstant(_IMP_em2d)
891 IMP_EM2D_HAS_NUMPY = _IMP_em2d.IMP_EM2D_HAS_NUMPY
893 _IMP_em2d.IMP_EM2D_HAS_OPENCV22_swigconstant(_IMP_em2d)
894 IMP_EM2D_HAS_OPENCV22 = _IMP_em2d.IMP_EM2D_HAS_OPENCV22
896 _IMP_em2d.IMP_EM2D_HAS_RMF_swigconstant(_IMP_em2d)
897 IMP_EM2D_HAS_RMF = _IMP_em2d.IMP_EM2D_HAS_RMF
899 _IMP_em2d.IMP_EM2D_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
900 IMP_EM2D_HAS_PYTHON_IHM = _IMP_em2d.IMP_EM2D_HAS_PYTHON_IHM
902 _IMP_em2d.IMP_EM2D_HAS_OPENCV21_swigconstant(_IMP_em2d)
903 IMP_EM2D_HAS_OPENCV21 = _IMP_em2d.IMP_EM2D_HAS_OPENCV21
905 _IMP_em2d.IMP_EM2D_HAS_OPENCV3_swigconstant(_IMP_em2d)
906 IMP_EM2D_HAS_OPENCV3 = _IMP_em2d.IMP_EM2D_HAS_OPENCV3
908 _IMP_em2d.IMPEM2D_SHOW_WARNINGS_swigconstant(_IMP_em2d)
909 IMPEM2D_SHOW_WARNINGS = _IMP_em2d.IMPEM2D_SHOW_WARNINGS
911 PolarResamplingParametersList=list
912 _plural_types.append(
"PolarResamplingParametersList")
913 _value_types.append(
"PolarResamplingParameters")
917 _plural_types.append(
"ProjectionMasks")
918 _value_types.append(
"ProjectionMask")
922 _plural_types.append(
"MasksManagers")
923 _value_types.append(
"MasksManager")
926 RegistrationResults=list
927 _plural_types.append(
"RegistrationResults")
928 _value_types.append(
"RegistrationResult")
932 _plural_types.append(
"ClusterSets")
933 _value_types.append(
"ClusterSet")
937 _plural_types.append(
"SingleLinkages")
938 _value_types.append(
"SingleLinkage")
941 CompleteLinkages=list
942 _plural_types.append(
"CompleteLinkages")
943 _value_types.append(
"CompleteLinkage")
946 AverageDistanceLinkages=list
947 _plural_types.append(
"AverageDistanceLinkages")
948 _value_types.append(
"AverageDistanceLinkage")
951 SegmentationParametersList=list
952 _plural_types.append(
"SegmentationParametersList")
953 _value_types.append(
"SegmentationParameters")
956 MatchTemplateResults=list
957 _plural_types.append(
"MatchTemplateResults")
958 _value_types.append(
"MatchTemplateResult")
961 ProjectingParametersList=list
962 _plural_types.append(
"ProjectingParametersList")
963 _value_types.append(
"ProjectingParameters")
966 ProjectingOptionsList=list
967 _plural_types.append(
"ProjectingOptionsList")
968 _value_types.append(
"ProjectingOptions")
971 Em2DRestraintParametersList=list
972 _plural_types.append(
"Em2DRestraintParametersList")
973 _value_types.append(
"Em2DRestraintParameters")
976 _object_types.append(
"ProjectionFinder")
979 def _object_cast_to_ProjectionFinder(o):
980 """_object_cast_to_ProjectionFinder(Object o) -> ProjectionFinder"""
981 return _IMP_em2d._object_cast_to_ProjectionFinder(o)
983 _object_types.append(
"ScoreFunction")
986 def _object_cast_to_ScoreFunction(o):
987 """_object_cast_to_ScoreFunction(Object o) -> ScoreFunction"""
988 return _IMP_em2d._object_cast_to_ScoreFunction(o)
990 _object_types.append(
"ChiSquaredScore")
993 def _object_cast_to_ChiSquaredScore(o):
994 """_object_cast_to_ChiSquaredScore(Object o) -> ChiSquaredScore"""
995 return _IMP_em2d._object_cast_to_ChiSquaredScore(o)
997 _object_types.append(
"EM2DScore")
1000 def _object_cast_to_EM2DScore(o):
1001 """_object_cast_to_EM2DScore(Object o) -> EM2DScore"""
1002 return _IMP_em2d._object_cast_to_EM2DScore(o)
1004 _object_types.append(
"MeanAbsoluteDifference")
1007 def _object_cast_to_MeanAbsoluteDifference(o):
1008 """_object_cast_to_MeanAbsoluteDifference(Object o) -> MeanAbsoluteDifference"""
1009 return _IMP_em2d._object_cast_to_MeanAbsoluteDifference(o)
1011 _object_types.append(
"ProjectionParametersScoreState")
1014 def _object_cast_to_ProjectionParametersScoreState(o):
1015 """_object_cast_to_ProjectionParametersScoreState(Object o) -> ProjectionParametersScoreState"""
1016 return _IMP_em2d._object_cast_to_ProjectionParametersScoreState(o)
1018 _object_types.append(
"Em2DRestraint")
1021 def _object_cast_to_Em2DRestraint(o):
1022 """_object_cast_to_Em2DRestraint(Object o) -> Em2DRestraint"""
1023 return _IMP_em2d._object_cast_to_Em2DRestraint(o)
1025 _object_types.append(
"Image")
1028 def _object_cast_to_Image(o):
1029 """_object_cast_to_Image(Object o) -> Image"""
1030 return _IMP_em2d._object_cast_to_Image(o)
1032 _object_types.append(
"ImageReaderWriter")
1035 def _object_cast_to_ImageReaderWriter(o):
1036 """_object_cast_to_ImageReaderWriter(Object o) -> ImageReaderWriter"""
1037 return _IMP_em2d._object_cast_to_ImageReaderWriter(o)
1039 _object_types.append(
"JPGImageReaderWriter")
1042 def _object_cast_to_JPGImageReaderWriter(o):
1043 """_object_cast_to_JPGImageReaderWriter(Object o) -> JPGImageReaderWriter"""
1044 return _IMP_em2d._object_cast_to_JPGImageReaderWriter(o)
1046 _object_types.append(
"TIFFImageReaderWriter")
1049 def _object_cast_to_TIFFImageReaderWriter(o):
1050 """_object_cast_to_TIFFImageReaderWriter(Object o) -> TIFFImageReaderWriter"""
1051 return _IMP_em2d._object_cast_to_TIFFImageReaderWriter(o)
1053 _object_types.append(
"SpiderImageReaderWriter")
1056 def _object_cast_to_SpiderImageReaderWriter(o):
1057 """_object_cast_to_SpiderImageReaderWriter(Object o) -> SpiderImageReaderWriter"""
1058 return _IMP_em2d._object_cast_to_SpiderImageReaderWriter(o)
1060 _object_types.append(
"CollisionCrossSection")
1063 def _object_cast_to_CollisionCrossSection(o):
1064 """_object_cast_to_CollisionCrossSection(Object o) -> CollisionCrossSection"""
1065 return _IMP_em2d._object_cast_to_CollisionCrossSection(o)
1067 _object_types.append(
"GridStates")
1070 def _object_cast_to_GridStates(o):
1071 """_object_cast_to_GridStates(Object o) -> GridStates"""
1072 return _IMP_em2d._object_cast_to_GridStates(o)
1074 _object_types.append(
"ProjectionStates")
1077 def _object_cast_to_ProjectionStates(o):
1078 """_object_cast_to_ProjectionStates(Object o) -> ProjectionStates"""
1079 return _IMP_em2d._object_cast_to_ProjectionStates(o)
1081 _object_types.append(
"DistanceFilter")
1084 def _object_cast_to_DistanceFilter(o):
1085 """_object_cast_to_DistanceFilter(Object o) -> DistanceFilter"""
1086 return _IMP_em2d._object_cast_to_DistanceFilter(o)
1088 _object_types.append(
"DistanceFilterTable")
1091 def _object_cast_to_DistanceFilterTable(o):
1092 """_object_cast_to_DistanceFilterTable(Object o) -> DistanceFilterTable"""
1093 return _IMP_em2d._object_cast_to_DistanceFilterTable(o)
1095 _object_types.append(
"RigidBodiesImageFitRestraint")
1098 def _object_cast_to_RigidBodiesImageFitRestraint(o):
1099 """_object_cast_to_RigidBodiesImageFitRestraint(Object o) -> RigidBodiesImageFitRestraint"""
1100 return _IMP_em2d._object_cast_to_RigidBodiesImageFitRestraint(o)
1102 _object_types.append(
"DummyRestraint")
1105 def _object_cast_to_DummyRestraint(o):
1106 """_object_cast_to_DummyRestraint(Object o) -> DummyRestraint"""
1107 return _IMP_em2d._object_cast_to_DummyRestraint(o)
1109 _object_types.append(
"ParticlesDummyRestraint")
1112 def _object_cast_to_ParticlesDummyRestraint(o):
1113 """_object_cast_to_ParticlesDummyRestraint(Object o) -> ParticlesDummyRestraint"""
1114 return _IMP_em2d._object_cast_to_ParticlesDummyRestraint(o)
1116 _object_types.append(
"RelativePositionMover")
1119 def _object_cast_to_RelativePositionMover(o):
1120 """_object_cast_to_RelativePositionMover(Object o) -> RelativePositionMover"""
1121 return _IMP_em2d._object_cast_to_RelativePositionMover(o)
1123 _object_types.append(
"PCAFitRestraint")
1126 def _object_cast_to_em2dPCAFitRestraint(o):
1127 """_object_cast_to_em2dPCAFitRestraint(Object o) -> PCAFitRestraint"""
1128 return _IMP_em2d._object_cast_to_em2dPCAFitRestraint(o)
1130 def ProjectionParametersList(l=[]):
1131 return [ProjectionParameters(x)
for x
in l]
1132 _plural_types.append(
"ProjectionParametersList")
1135 _value_types.append(
"ProjectionParameters")
1140 show(cv::Mat const & m, _ostream out)
1141 show(cv::Mat const & m)
1143 return _IMP_em2d.show(*args)
1146 """write_matrix(cv::Mat & m, std::string name)"""
1147 return _IMP_em2d.write_matrix(m, name)
1149 """Proxy of C++ IMP::em2d::ImageReaderWriter class"""
1150 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1152 def __init__(self, *args, **kwargs):
1153 raise AttributeError(
"No constructor defined - class is abstract")
1155 def read(self, filename, header, data):
1156 """read(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat & data)"""
1157 return _IMP_em2d.ImageReaderWriter_read(self, filename, header, data)
1160 def read_from_floats(self, filename, header, data):
1161 """read_from_floats(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat & data)"""
1162 return _IMP_em2d.ImageReaderWriter_read_from_floats(self, filename, header, data)
1165 def read_from_ints(self, filename, header, data):
1166 """read_from_ints(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat & data)"""
1167 return _IMP_em2d.ImageReaderWriter_read_from_ints(self, filename, header, data)
1170 def write(self, filename, header, data):
1171 """write(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat const & data)"""
1172 return _IMP_em2d.ImageReaderWriter_write(self, filename, header, data)
1175 def write_to_floats(self, filename, header, data):
1176 """write_to_floats(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat const & data)"""
1177 return _IMP_em2d.ImageReaderWriter_write_to_floats(self, filename, header, data)
1180 def write_to_ints(self, filename, header, data):
1181 """write_to_ints(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat const & data)"""
1182 return _IMP_em2d.ImageReaderWriter_write_to_ints(self, filename, header, data)
1185 def get_version_info(self):
1186 """get_version_info(ImageReaderWriter self) -> VersionInfo"""
1187 return _IMP_em2d.ImageReaderWriter_get_version_info(self)
1191 """__str__(ImageReaderWriter self) -> std::string"""
1192 return _IMP_em2d.ImageReaderWriter___str__(self)
1196 """__repr__(ImageReaderWriter self) -> std::string"""
1197 return _IMP_em2d.ImageReaderWriter___repr__(self)
1202 return _object_cast_to_ImageReaderWriter(o)
1204 ImageReaderWriter_swigregister = _IMP_em2d.ImageReaderWriter_swigregister
1205 ImageReaderWriter_swigregister(ImageReaderWriter)
1207 class PolarResamplingParameters(object):
1208 """Proxy of C++ IMP::em2d::PolarResamplingParameters class"""
1209 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1211 def __init__(self, *args):
1213 __init__(IMP::em2d::PolarResamplingParameters self) -> PolarResamplingParameters
1214 __init__(IMP::em2d::PolarResamplingParameters self, unsigned int rows, unsigned int cols) -> PolarResamplingParameters
1215 __init__(IMP::em2d::PolarResamplingParameters self, cv::Mat const & m) -> PolarResamplingParameters
1217 this = _IMP_em2d.new_PolarResamplingParameters(*args)
1219 self.this.append(this)
1222 __swig_destroy__ = _IMP_em2d.delete_PolarResamplingParameters
1223 __del__ =
lambda self:
None
1225 def setup(self, rows, cols):
1226 """setup(PolarResamplingParameters self, unsigned int rows, unsigned int cols)"""
1227 return _IMP_em2d.PolarResamplingParameters_setup(self, rows, cols)
1230 def get_starting_radius(self):
1231 """get_starting_radius(PolarResamplingParameters self) -> double"""
1232 return _IMP_em2d.PolarResamplingParameters_get_starting_radius(self)
1235 def get_ending_radius(self):
1236 """get_ending_radius(PolarResamplingParameters self) -> double"""
1237 return _IMP_em2d.PolarResamplingParameters_get_ending_radius(self)
1240 def get_radius(self, n_ring):
1241 """get_radius(PolarResamplingParameters self, unsigned int n_ring) -> double"""
1242 return _IMP_em2d.PolarResamplingParameters_get_radius(self, n_ring)
1245 def get_number_of_rings(self):
1246 """get_number_of_rings(PolarResamplingParameters self) -> unsigned int"""
1247 return _IMP_em2d.PolarResamplingParameters_get_number_of_rings(self)
1250 def set_estimated_number_of_angles(self, aprox_value):
1251 """set_estimated_number_of_angles(PolarResamplingParameters self, unsigned int aprox_value)"""
1252 return _IMP_em2d.PolarResamplingParameters_set_estimated_number_of_angles(self, aprox_value)
1255 def get_number_of_angles(self):
1256 """get_number_of_angles(PolarResamplingParameters self) -> unsigned int"""
1257 return _IMP_em2d.PolarResamplingParameters_get_number_of_angles(self)
1260 def get_angle_step(self):
1261 """get_angle_step(PolarResamplingParameters self) -> double"""
1262 return _IMP_em2d.PolarResamplingParameters_get_angle_step(self)
1265 def get_radius_step(self):
1266 """get_radius_step(PolarResamplingParameters self) -> double"""
1267 return _IMP_em2d.PolarResamplingParameters_get_radius_step(self)
1270 def create_maps_for_resampling(self):
1271 """create_maps_for_resampling(PolarResamplingParameters self)"""
1272 return _IMP_em2d.PolarResamplingParameters_create_maps_for_resampling(self)
1275 def get_resampling_maps(self, m1, m2):
1276 """get_resampling_maps(PolarResamplingParameters self, cv::Mat & m1, cv::Mat & m2)"""
1277 return _IMP_em2d.PolarResamplingParameters_get_resampling_maps(self, m1, m2)
1280 def get_resampling_map(self, m1):
1281 """get_resampling_map(PolarResamplingParameters self, cv::Mat & m1)"""
1282 return _IMP_em2d.PolarResamplingParameters_get_resampling_map(self, m1)
1285 def show(self, out):
1286 """show(PolarResamplingParameters self, _ostream out)"""
1287 return _IMP_em2d.PolarResamplingParameters_show(self, out)
1290 def get_is_setup(self):
1291 """get_is_setup(PolarResamplingParameters self) -> bool"""
1292 return _IMP_em2d.PolarResamplingParameters_get_is_setup(self)
1296 """__str__(PolarResamplingParameters self) -> std::string"""
1297 return _IMP_em2d.PolarResamplingParameters___str__(self)
1301 """__repr__(PolarResamplingParameters self) -> std::string"""
1302 return _IMP_em2d.PolarResamplingParameters___repr__(self)
1304 PolarResamplingParameters_swigregister = _IMP_em2d.PolarResamplingParameters_swigregister
1305 PolarResamplingParameters_swigregister(PolarResamplingParameters)
1307 class SegmentationParameters(object):
1308 """Proxy of C++ IMP::em2d::SegmentationParameters class"""
1309 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1310 image_pixel_size = _swig_property(_IMP_em2d.SegmentationParameters_image_pixel_size_get, _IMP_em2d.SegmentationParameters_image_pixel_size_set)
1311 diffusion_beta = _swig_property(_IMP_em2d.SegmentationParameters_diffusion_beta_get, _IMP_em2d.SegmentationParameters_diffusion_beta_set)
1312 diffusion_timesteps = _swig_property(_IMP_em2d.SegmentationParameters_diffusion_timesteps_get, _IMP_em2d.SegmentationParameters_diffusion_timesteps_set)
1313 fill_holes_stddevs = _swig_property(_IMP_em2d.SegmentationParameters_fill_holes_stddevs_get, _IMP_em2d.SegmentationParameters_fill_holes_stddevs_set)
1314 opening_kernel = _swig_property(_IMP_em2d.SegmentationParameters_opening_kernel_get, _IMP_em2d.SegmentationParameters_opening_kernel_set)
1315 remove_sizing_percentage = _swig_property(_IMP_em2d.SegmentationParameters_remove_sizing_percentage_get, _IMP_em2d.SegmentationParameters_remove_sizing_percentage_set)
1316 binary_background = _swig_property(_IMP_em2d.SegmentationParameters_binary_background_get, _IMP_em2d.SegmentationParameters_binary_background_set)
1317 binary_foreground = _swig_property(_IMP_em2d.SegmentationParameters_binary_foreground_get, _IMP_em2d.SegmentationParameters_binary_foreground_set)
1318 threshold = _swig_property(_IMP_em2d.SegmentationParameters_threshold_get, _IMP_em2d.SegmentationParameters_threshold_set)
1320 def __init__(self, *args):
1322 __init__(IMP::em2d::SegmentationParameters self) -> SegmentationParameters
1323 __init__(IMP::em2d::SegmentationParameters self, double apix, double diff_beta, unsigned int diff_timesteps, double fh_stddevs, cv::Mat const & kr, int background, int foreground) -> SegmentationParameters
1325 this = _IMP_em2d.new_SegmentationParameters(*args)
1327 self.this.append(this)
1331 def show(self, *args):
1333 show(SegmentationParameters self, _ostream out)
1334 show(SegmentationParameters self)
1336 return _IMP_em2d.SegmentationParameters_show(self, *args)
1340 """__str__(SegmentationParameters self) -> std::string"""
1341 return _IMP_em2d.SegmentationParameters___str__(self)
1345 """__repr__(SegmentationParameters self) -> std::string"""
1346 return _IMP_em2d.SegmentationParameters___repr__(self)
1348 __swig_destroy__ = _IMP_em2d.delete_SegmentationParameters
1349 __del__ =
lambda self:
None
1350 SegmentationParameters_swigregister = _IMP_em2d.SegmentationParameters_swigregister
1351 SegmentationParameters_swigregister(SegmentationParameters)
1353 class MatchTemplateResult(object):
1354 """Proxy of C++ IMP::em2d::MatchTemplateResult class"""
1355 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1356 pair = _swig_property(_IMP_em2d.MatchTemplateResult_pair_get, _IMP_em2d.MatchTemplateResult_pair_set)
1357 cross_correlation = _swig_property(_IMP_em2d.MatchTemplateResult_cross_correlation_get, _IMP_em2d.MatchTemplateResult_cross_correlation_set)
1359 def __init__(self, p, cc):
1360 """__init__(IMP::em2d::MatchTemplateResult self, IMP::IntPair p, double cc) -> MatchTemplateResult"""
1361 this = _IMP_em2d.new_MatchTemplateResult(p, cc)
1363 self.this.append(this)
1367 def show(self, *args):
1369 show(MatchTemplateResult self, _ostream out)
1370 show(MatchTemplateResult self)
1372 return _IMP_em2d.MatchTemplateResult_show(self, *args)
1376 """__str__(MatchTemplateResult self) -> std::string"""
1377 return _IMP_em2d.MatchTemplateResult___str__(self)
1381 """__repr__(MatchTemplateResult self) -> std::string"""
1382 return _IMP_em2d.MatchTemplateResult___repr__(self)
1384 __swig_destroy__ = _IMP_em2d.delete_MatchTemplateResult
1385 __del__ =
lambda self:
None
1386 MatchTemplateResult_swigregister = _IMP_em2d.MatchTemplateResult_swigregister
1387 MatchTemplateResult_swigregister(MatchTemplateResult)
1391 """apply_mask(cv::Mat const & m, cv::Mat & result, IMP::em2d::cvIntMat const & mask, double val)"""
1392 return _IMP_em2d.apply_mask(m, result, mask, val)
1396 apply_circular_mask(cv::Mat const & mat, cv::Mat & result, int radius, double value=0.0)
1397 apply_circular_mask(cv::Mat const & mat, cv::Mat & result, int radius)
1399 return _IMP_em2d.apply_circular_mask(mat, result, radius, value)
1402 """get_mean(cv::Mat const & mat, IMP::em2d::cvIntMat const & mask) -> double"""
1403 return _IMP_em2d.get_mean(mat, mask)
1406 """create_circular_mask(int rows, int cols, int radius) -> IMP::em2d::cvIntMat"""
1407 return _IMP_em2d.create_circular_mask(rows, cols, radius)
1409 def do_histogram_stretching(m, boxes, offset):
1410 """do_histogram_stretching(cv::Mat & m, int boxes, int offset)"""
1411 return _IMP_em2d.do_histogram_stretching(m, boxes, offset)
1414 """do_dilate_and_shrink_warp(cv::Mat & m, cv::Mat const & grayscale, cv::Mat & kernel)"""
1415 return _IMP_em2d.do_dilate_and_shrink_warp(m, grayscale, kernel)
1419 do_morphologic_reconstruction(cv::Mat const & mask, cv::Mat & marker, int neighbors_mode=4)
1420 do_morphologic_reconstruction(cv::Mat const & mask, cv::Mat & marker)
1422 return _IMP_em2d.do_morphologic_reconstruction(mask, marker, neighbors_mode)
1425 """do_labeling(IMP::em2d::cvIntMat const & m, IMP::em2d::cvIntMat & mat_to_label) -> int"""
1426 return _IMP_em2d.do_labeling(m, mat_to_label)
1429 """get_diffusion_filtering_partial_derivative(cv::Mat const & m, cv::Mat & der, double dx, double dy, double ang)"""
1430 return _IMP_em2d.get_diffusion_filtering_partial_derivative(m, der, dx, dy, ang)
1433 """get_domes(cv::Mat & m, cv::Mat & result, double h)"""
1434 return _IMP_em2d.get_domes(m, result, h)
1436 def get_transformed(input, transformed, T):
1437 """get_transformed(cv::Mat const & input, cv::Mat & transformed, Transformation2D T)"""
1438 return _IMP_em2d.get_transformed(input, transformed, T)
1442 apply_threshold(cv::Mat & m, cv::Mat & result, double threshold=0.0)
1443 apply_threshold(cv::Mat & m, cv::Mat & result)
1445 return _IMP_em2d.apply_threshold(m, result, threshold)
1448 """do_morphologic_contrast_enhancement(cv::Mat const & m, cv::Mat & result, cv::Mat const & kernel, unsigned int iterations)"""
1449 return _IMP_em2d.do_morphologic_contrast_enhancement(m, result, kernel, iterations)
1452 """get_morphologic_gradient(cv::Mat const & m, cv::Mat & result, cv::Mat const & kernel)"""
1453 return _IMP_em2d.get_morphologic_gradient(m, result, kernel)
1456 """get_overlap_percentage(cv::Mat & m1, cv::Mat & m2, IMP::IntPair const & center) -> double"""
1457 return _IMP_em2d.get_overlap_percentage(m1, m2, center)
1460 """get_best_template_matches(cv::Mat const & m, cv::Mat const & templ, unsigned int n) -> IMP::em2d::MatchTemplateResults"""
1461 return _IMP_em2d.get_best_template_matches(m, templ, n)
1463 """Proxy of C++ IMP::em2d::Image class"""
1464 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1466 def __init__(self, *args):
1468 __init__(IMP::em2d::Image self) -> Image
1469 __init__(IMP::em2d::Image self, int rows, int cols) -> Image
1470 __init__(IMP::em2d::Image self, IMP::String filename, ImageReaderWriter reader) -> Image
1472 this = _IMP_em2d.new_Image(*args)
1474 self.this.append(this)
1479 """get_data(Image self) -> cv::Mat &"""
1480 return _IMP_em2d.Image_get_data(self)
1483 def set_data(self, mat):
1484 """set_data(Image self, cv::Mat const & mat)"""
1485 return _IMP_em2d.Image_set_data(self, mat)
1488 def set_zeros(self):
1489 """set_zeros(Image self)"""
1490 return _IMP_em2d.Image_set_zeros(self)
1493 def set_value(self, *args):
1495 set_value(Image self, double val)
1496 set_value(Image self, int i, int j, double val)
1498 return _IMP_em2d.Image_set_value(self, *args)
1501 def __call__(self, i, j):
1502 """__call__(Image self, int i, int j) -> double"""
1503 return _IMP_em2d.Image___call__(self, i, j)
1506 def get_header(self):
1507 """get_header(Image self) -> ImageHeader"""
1508 return _IMP_em2d.Image_get_header(self)
1511 def set_size(self, *args):
1513 set_size(Image self, int rows, int cols)
1514 set_size(Image self, Image img)
1516 return _IMP_em2d.Image_set_size(self, *args)
1519 def update_header(self):
1520 """update_header(Image self)"""
1521 return _IMP_em2d.Image_update_header(self)
1524 def read(self, filename, reader):
1525 """read(Image self, IMP::String filename, ImageReaderWriter reader)"""
1526 return _IMP_em2d.Image_read(self, filename, reader)
1529 def write(self, filename, writer):
1530 """write(Image self, IMP::String const & filename, ImageReaderWriter writer)"""
1531 return _IMP_em2d.Image_write(self, filename, writer)
1534 def show(self, out):
1535 """show(Image self, _ostream out)"""
1536 return _IMP_em2d.Image_show(self, out)
1539 def get_version_info(self):
1540 """get_version_info(Image self) -> VersionInfo"""
1541 return _IMP_em2d.Image_get_version_info(self)
1544 def set_name(self, name):
1545 """set_name(Image self, IMP::String const & name)"""
1546 return _IMP_em2d.Image_set_name(self, name)
1550 """get_name(Image self) -> IMP::String"""
1551 return _IMP_em2d.Image_get_name(self)
1554 def get_min_and_max_values(self):
1555 """get_min_and_max_values(Image self) -> IMP::FloatRange"""
1556 return _IMP_em2d.Image_get_min_and_max_values(self)
1560 """__str__(Image self) -> std::string"""
1561 return _IMP_em2d.Image___str__(self)
1565 """__repr__(Image self) -> std::string"""
1566 return _IMP_em2d.Image___repr__(self)
1571 return _object_cast_to_Image(o)
1573 Image_swigregister = _IMP_em2d.Image_swigregister
1574 Image_swigregister(Image)
1578 """read_images(IMP::Strings const & names, ImageReaderWriter rw) -> IMP::em2d::Images"""
1579 return _IMP_em2d.read_images(names, rw)
1582 """save_images(IMP::em2d::Images images, IMP::Strings const & names, ImageReaderWriter rw)"""
1583 return _IMP_em2d.save_images(images, names, rw)
1587 do_normalize(cv::Mat & m)
1588 do_normalize(Image im, bool force=False)
1589 do_normalize(Image im)
1591 return _IMP_em2d.do_normalize(*args)
1595 get_histogram(cv::Mat const & m, int bins) -> IMP::Floats
1596 get_histogram(Image img, int bins) -> IMP::Floats
1598 return _IMP_em2d.get_histogram(*args)
1602 apply_variance_filter(cv::Mat const & input, cv::Mat & filtered, int kernelsize)
1603 apply_variance_filter(Image input, Image filtered, int kernelsize)
1605 return _IMP_em2d.apply_variance_filter(*args)
1609 apply_diffusion_filter(cv::Mat const & m, cv::Mat & result, double beta, double pixelsize, unsigned int time_steps)
1610 apply_diffusion_filter(Image input, Image filtered, double beta, double pixelsize, int time_steps)
1612 return _IMP_em2d.apply_diffusion_filter(*args)
1614 def do_fill_holes(*args):
1616 do_fill_holes(cv::Mat const & m, cv::Mat & result, double h)
1617 do_fill_holes(Image input, Image result, double n_stddevs)
1619 return _IMP_em2d.do_fill_holes(*args)
1621 def do_combined_fill_holes_and_threshold(*args):
1623 do_combined_fill_holes_and_threshold(cv::Mat & m, cv::Mat & result, double n_stddevs, double threshold=0.0)
1624 do_combined_fill_holes_and_threshold(cv::Mat & m, cv::Mat & result, double n_stddevs)
1625 do_combined_fill_holes_and_threshold(Image input, Image result, double n_stddevs)
1627 return _IMP_em2d.do_combined_fill_holes_and_threshold(*args)
1629 def do_extend_borders(*args):
1631 do_extend_borders(cv::Mat & orig, cv::Mat & dst, unsigned int pix)
1632 do_extend_borders(Image im1, Image im2, unsigned int pix)
1634 return _IMP_em2d.do_extend_borders(*args)
1636 def do_segmentation(*args):
1638 do_segmentation(cv::Mat const & m, cv::Mat & result, SegmentationParameters params)
1639 do_segmentation(Image input, Image result, SegmentationParameters params)
1641 return _IMP_em2d.do_segmentation(*args)
1643 def do_remove_small_objects(*args):
1645 do_remove_small_objects(IMP::em2d::cvIntMat & m, double percentage, int background=0, int foreground=1)
1646 do_remove_small_objects(IMP::em2d::cvIntMat & m, double percentage, int background=0)
1647 do_remove_small_objects(IMP::em2d::cvIntMat & m, double percentage)
1648 do_remove_small_objects(Image input, double percentage, int background=0, int foreground=1)
1649 do_remove_small_objects(Image input, double percentage, int background=0)
1650 do_remove_small_objects(Image input, double percentage)
1652 return _IMP_em2d.do_remove_small_objects(*args)
1655 """do_subtract_images(Image first, Image second, Image result)"""
1656 return _IMP_em2d.do_subtract_images(first, second, result)
1658 def add_noise(*args):
1660 add_noise(cv::Mat & v, double op1, double op2, IMP::String const & mode, double df=3)
1661 add_noise(cv::Mat & v, double op1, double op2, IMP::String const & mode)
1662 add_noise(cv::Mat & v, double op1, double op2)
1663 add_noise(Image im1, double op1, double op2, IMP::String const & mode, double df=3)
1664 add_noise(Image im1, double op1, double op2, IMP::String const & mode)
1665 add_noise(Image im1, double op1, double op2)
1667 return _IMP_em2d.add_noise(*args)
1671 do_resample_polar(cv::Mat const & input, cv::Mat & resampled, PolarResamplingParameters polar_params)
1672 do_resample_polar(Image im1, Image im2, PolarResamplingParameters polar_params)
1674 return _IMP_em2d.do_resample_polar(*args)
1678 crop(cv::Mat const & m, IMP::IntPair const & center, int size) -> cv::Mat
1679 crop(Image img, IMP::IntPair const & center, int size)
1681 return _IMP_em2d.crop(*args)
1684 """apply_mean_outside_mask(Image img, double radius)"""
1685 return _IMP_em2d.apply_mean_outside_mask(img, radius)
1686 class RegistrationResult(object):
1687 """Proxy of C++ IMP::em2d::RegistrationResult class"""
1688 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1690 def __init__(self, *args):
1692 __init__(IMP::em2d::RegistrationResult self) -> RegistrationResult
1693 __init__(IMP::em2d::RegistrationResult self, double phi, double theta, double psi, Vector2D shift, int projection_index=0, int image_index=0, IMP::String name) -> RegistrationResult
1694 __init__(IMP::em2d::RegistrationResult self, double phi, double theta, double psi, Vector2D shift, int projection_index=0, int image_index=0) -> RegistrationResult
1695 __init__(IMP::em2d::RegistrationResult self, double phi, double theta, double psi, Vector2D shift, int projection_index=0) -> RegistrationResult
1696 __init__(IMP::em2d::RegistrationResult self, double phi, double theta, double psi, Vector2D shift) -> RegistrationResult
1697 __init__(IMP::em2d::RegistrationResult self, Rotation3D R, Vector2D shift, int projection_index=0, int image_index=0, IMP::String name) -> RegistrationResult
1698 __init__(IMP::em2d::RegistrationResult self, Rotation3D R, Vector2D shift, int projection_index=0, int image_index=0) -> RegistrationResult
1699 __init__(IMP::em2d::RegistrationResult self, Rotation3D R, Vector2D shift, int projection_index=0) -> RegistrationResult
1700 __init__(IMP::em2d::RegistrationResult self, Rotation3D R, Vector2D shift) -> RegistrationResult
1701 __init__(IMP::em2d::RegistrationResult self, Rotation3D R) -> RegistrationResult
1703 this = _IMP_em2d.new_RegistrationResult(*args)
1705 self.this.append(this)
1710 """get_phi(RegistrationResult self) -> double"""
1711 return _IMP_em2d.RegistrationResult_get_phi(self)
1714 def get_theta(self):
1715 """get_theta(RegistrationResult self) -> double"""
1716 return _IMP_em2d.RegistrationResult_get_theta(self)
1720 """get_psi(RegistrationResult self) -> double"""
1721 return _IMP_em2d.RegistrationResult_get_psi(self)
1724 def get_shift(self):
1725 """get_shift(RegistrationResult self) -> Vector2D"""
1726 return _IMP_em2d.RegistrationResult_get_shift(self)
1729 def get_shift_3d(self):
1730 """get_shift_3d(RegistrationResult self) -> Vector3D"""
1731 return _IMP_em2d.RegistrationResult_get_shift_3d(self)
1734 def get_projection_index(self):
1735 """get_projection_index(RegistrationResult self) -> int"""
1736 return _IMP_em2d.RegistrationResult_get_projection_index(self)
1739 def set_projection_index(self, index):
1740 """set_projection_index(RegistrationResult self, int index)"""
1741 return _IMP_em2d.RegistrationResult_set_projection_index(self, index)
1744 def get_image_index(self):
1745 """get_image_index(RegistrationResult self) -> int"""
1746 return _IMP_em2d.RegistrationResult_get_image_index(self)
1749 def set_image_index(self, index):
1750 """set_image_index(RegistrationResult self, int index)"""
1751 return _IMP_em2d.RegistrationResult_set_image_index(self, index)
1755 """get_name(RegistrationResult self) -> IMP::String"""
1756 return _IMP_em2d.RegistrationResult_get_name(self)
1760 """get_ccc(RegistrationResult self) -> double"""
1761 return _IMP_em2d.RegistrationResult_get_ccc(self)
1764 def set_ccc(self, ccc):
1765 """set_ccc(RegistrationResult self, double ccc)"""
1766 return _IMP_em2d.RegistrationResult_set_ccc(self, ccc)
1769 def get_score(self):
1770 """get_score(RegistrationResult self) -> double"""
1771 return _IMP_em2d.RegistrationResult_get_score(self)
1774 def set_score(self, Score):
1775 """set_score(RegistrationResult self, double Score)"""
1776 return _IMP_em2d.RegistrationResult_set_score(self, Score)
1779 def set_rotation(self, *args):
1781 set_rotation(RegistrationResult self, double phi, double theta, double psi)
1782 set_rotation(RegistrationResult self, Rotation3D R)
1784 return _IMP_em2d.RegistrationResult_set_rotation(self, *args)
1787 def set_shift(self, shift):
1788 """set_shift(RegistrationResult self, Vector2D shift)"""
1789 return _IMP_em2d.RegistrationResult_set_shift(self, shift)
1792 def set_name(self, name):
1793 """set_name(RegistrationResult self, IMP::String name)"""
1794 return _IMP_em2d.RegistrationResult_set_name(self, name)
1797 def add_in_plane_transformation(self, t):
1798 """add_in_plane_transformation(RegistrationResult self, Transformation2D t)"""
1799 return _IMP_em2d.RegistrationResult_add_in_plane_transformation(self, t)
1802 def show(self, *args):
1804 show(RegistrationResult self, _ostream out)
1805 show(RegistrationResult self)
1807 return _IMP_em2d.RegistrationResult_show(self, *args)
1810 def write(self, *args):
1812 write(RegistrationResult self, _ostream out)
1813 write(RegistrationResult self)
1815 return _IMP_em2d.RegistrationResult_write(self, *args)
1818 def write_comment_line(self, *args):
1820 write_comment_line(RegistrationResult self, _ostream out)
1821 write_comment_line(RegistrationResult self)
1823 return _IMP_em2d.RegistrationResult_write_comment_line(self, *args)
1827 """read(RegistrationResult self, IMP::String const & s)"""
1828 return _IMP_em2d.RegistrationResult_read(self, s)
1831 def set_random_registration(self, index, maximum_shift):
1832 """set_random_registration(RegistrationResult self, unsigned int index, double maximum_shift)"""
1833 return _IMP_em2d.RegistrationResult_set_random_registration(self, index, maximum_shift)
1836 def get_rotation(self):
1837 """get_rotation(RegistrationResult self) -> Rotation3D"""
1838 return _IMP_em2d.RegistrationResult_get_rotation(self)
1841 def set_in_image(self, header):
1842 """set_in_image(RegistrationResult self, ImageHeader header)"""
1843 return _IMP_em2d.RegistrationResult_set_in_image(self, header)
1846 def read_from_image(self, header):
1847 """read_from_image(RegistrationResult self, ImageHeader header)"""
1848 return _IMP_em2d.RegistrationResult_read_from_image(self, header)
1851 def get_is_optimized_result(self):
1852 """get_is_optimized_result(RegistrationResult self) -> bool"""
1853 return _IMP_em2d.RegistrationResult_get_is_optimized_result(self)
1855 __swig_destroy__ = _IMP_em2d.delete_RegistrationResult
1856 __del__ =
lambda self:
None
1859 """__str__(RegistrationResult self) -> std::string"""
1860 return _IMP_em2d.RegistrationResult___str__(self)
1864 """__repr__(RegistrationResult self) -> std::string"""
1865 return _IMP_em2d.RegistrationResult___repr__(self)
1867 RegistrationResult_swigregister = _IMP_em2d.RegistrationResult_swigregister
1868 RegistrationResult_swigregister(RegistrationResult)
1872 """read_registration_results(IMP::String const & filename) -> IMP::em2d::RegistrationResults"""
1873 return _IMP_em2d.read_registration_results(filename)
1876 """write_registration_results(IMP::String filename, IMP::em2d::RegistrationResults const & results)"""
1877 return _IMP_em2d.write_registration_results(filename, results)
1881 get_random_registration_results(unsigned int n, double maximum_shift=5.0) -> IMP::em2d::RegistrationResults
1882 get_random_registration_results(unsigned int n) -> IMP::em2d::RegistrationResults
1884 return _IMP_em2d.get_random_registration_results(n, maximum_shift)
1887 """get_evenly_distributed_registration_results(unsigned int n_projections) -> IMP::em2d::RegistrationResults"""
1888 return _IMP_em2d.get_evenly_distributed_registration_results(n_projections)
1889 class SpiderImageReaderWriter(ImageReaderWriter):
1890 """Proxy of C++ IMP::em2d::SpiderImageReaderWriter class"""
1891 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1892 filename_ = _swig_property(_IMP_em2d.SpiderImageReaderWriter_filename__get, _IMP_em2d.SpiderImageReaderWriter_filename__set)
1893 skip_type_check_ = _swig_property(_IMP_em2d.SpiderImageReaderWriter_skip_type_check__get, _IMP_em2d.SpiderImageReaderWriter_skip_type_check__set)
1894 force_reversed_ = _swig_property(_IMP_em2d.SpiderImageReaderWriter_force_reversed__get, _IMP_em2d.SpiderImageReaderWriter_force_reversed__set)
1895 skip_extra_checkings_ = _swig_property(_IMP_em2d.SpiderImageReaderWriter_skip_extra_checkings__get, _IMP_em2d.SpiderImageReaderWriter_skip_extra_checkings__set)
1897 def __init__(self, *args):
1899 __init__(IMP::em2d::SpiderImageReaderWriter self) -> SpiderImageReaderWriter
1900 __init__(IMP::em2d::SpiderImageReaderWriter self, IMP::String const & filename, bool skip_type_check, bool force_reversed, bool skip_extra_checkings) -> SpiderImageReaderWriter
1902 this = _IMP_em2d.new_SpiderImageReaderWriter(*args)
1904 self.this.append(this)
1909 """__str__(SpiderImageReaderWriter self) -> std::string"""
1910 return _IMP_em2d.SpiderImageReaderWriter___str__(self)
1914 """__repr__(SpiderImageReaderWriter self) -> std::string"""
1915 return _IMP_em2d.SpiderImageReaderWriter___repr__(self)
1920 return _object_cast_to_SpiderImageReaderWriter(o)
1922 SpiderImageReaderWriter_swigregister = _IMP_em2d.SpiderImageReaderWriter_swigregister
1923 SpiderImageReaderWriter_swigregister(SpiderImageReaderWriter)
1925 class JPGImageReaderWriter(ImageReaderWriter):
1926 """Proxy of C++ IMP::em2d::JPGImageReaderWriter class"""
1927 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1930 """__init__(IMP::em2d::JPGImageReaderWriter self) -> JPGImageReaderWriter"""
1931 this = _IMP_em2d.new_JPGImageReaderWriter()
1933 self.this.append(this)
1938 """__str__(JPGImageReaderWriter self) -> std::string"""
1939 return _IMP_em2d.JPGImageReaderWriter___str__(self)
1943 """__repr__(JPGImageReaderWriter self) -> std::string"""
1944 return _IMP_em2d.JPGImageReaderWriter___repr__(self)
1949 return _object_cast_to_JPGImageReaderWriter(o)
1951 JPGImageReaderWriter_swigregister = _IMP_em2d.JPGImageReaderWriter_swigregister
1952 JPGImageReaderWriter_swigregister(JPGImageReaderWriter)
1954 class TIFFImageReaderWriter(ImageReaderWriter):
1955 """Proxy of C++ IMP::em2d::TIFFImageReaderWriter class"""
1956 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1959 """__init__(IMP::em2d::TIFFImageReaderWriter self) -> TIFFImageReaderWriter"""
1960 this = _IMP_em2d.new_TIFFImageReaderWriter()
1962 self.this.append(this)
1967 """__str__(TIFFImageReaderWriter self) -> std::string"""
1968 return _IMP_em2d.TIFFImageReaderWriter___str__(self)
1972 """__repr__(TIFFImageReaderWriter self) -> std::string"""
1973 return _IMP_em2d.TIFFImageReaderWriter___repr__(self)
1978 return _object_cast_to_TIFFImageReaderWriter(o)
1980 TIFFImageReaderWriter_swigregister = _IMP_em2d.TIFFImageReaderWriter_swigregister
1981 TIFFImageReaderWriter_swigregister(TIFFImageReaderWriter)
1985 """do_matrix_to_image_flip(cv::Mat & m)"""
1986 return _IMP_em2d.do_matrix_to_image_flip(m)
1989 """get_autocorrelation2d_no_preprocessing(cv::Mat const & M, cv::Mat & corr)"""
1990 return _IMP_em2d.get_autocorrelation2d_no_preprocessing(M, corr)
1994 get_autocorrelation2d(Image im1, Image im2)
1995 get_autocorrelation2d(cv::Mat const & m, cv::Mat & corr)
1997 return _IMP_em2d.get_autocorrelation2d(*args)
2001 get_correlation2d(Image im1, Image im2, Image corr)
2002 get_correlation2d(cv::Mat const & A, cv::Mat const & B, cv::Mat & corr)
2004 return _IMP_em2d.get_correlation2d(*args)
2007 """get_correlation2d_no_preprocessing(cv::Mat const & M1, cv::Mat const & M2, cv::Mat & corr)"""
2008 return _IMP_em2d.get_correlation2d_no_preprocessing(M1, M2, corr)
2011 """get_fft_using_optimal_size(cv::Mat const & m, cv::Mat & M)"""
2012 return _IMP_em2d.get_fft_using_optimal_size(m, M)
2015 """get_spectrum(cv::Mat const & m, cv::Mat & real, cv::Mat & imag)"""
2016 return _IMP_em2d.get_spectrum(m, real, imag)
2019 """get_rotation_error(RegistrationResult rr1, RegistrationResult rr2) -> double"""
2020 return _IMP_em2d.get_rotation_error(rr1, rr2)
2023 """get_shift_error(RegistrationResult rr1, RegistrationResult rr2) -> double"""
2024 return _IMP_em2d.get_shift_error(rr1, rr2)
2026 def get_average_rotation_error(correct_RRs, computed_RRs):
2027 """get_average_rotation_error(IMP::em2d::RegistrationResults const & correct_RRs, IMP::em2d::RegistrationResults const & computed_RRs) -> double"""
2028 return _IMP_em2d.get_average_rotation_error(correct_RRs, computed_RRs)
2030 def get_average_shift_error(correct_RRs, computed_RRs):
2031 """get_average_shift_error(IMP::em2d::RegistrationResults const & correct_RRs, IMP::em2d::RegistrationResults const & computed_RRs) -> double"""
2032 return _IMP_em2d.get_average_shift_error(correct_RRs, computed_RRs)
2036 get_cross_correlation_coefficient(Image im1, Image im2) -> double
2037 get_cross_correlation_coefficient(cv::Mat const & m1, cv::Mat const & m2) -> double
2039 return _IMP_em2d.get_cross_correlation_coefficient(*args)
2042 """get_global_score(IMP::em2d::RegistrationResults const & RRs) -> double"""
2043 return _IMP_em2d.get_global_score(RRs)
2045 """Proxy of C++ IMP::em2d::ScoreFunction class"""
2046 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2048 def __init__(self, *args, **kwargs):
2049 raise AttributeError(
"No constructor defined - class is abstract")
2051 def get_score(self, image, projection):
2052 """get_score(ScoreFunction self, Image image, Image projection) -> double"""
2053 return _IMP_em2d.ScoreFunction_get_score(self, image, projection)
2056 def set_variance_image(self, var):
2057 """set_variance_image(ScoreFunction self, Image var)"""
2058 return _IMP_em2d.ScoreFunction_set_variance_image(self, var)
2061 def get_version_info(self):
2062 """get_version_info(ScoreFunction self) -> VersionInfo"""
2063 return _IMP_em2d.ScoreFunction_get_version_info(self)
2067 """__str__(ScoreFunction self) -> std::string"""
2068 return _IMP_em2d.ScoreFunction___str__(self)
2072 """__repr__(ScoreFunction self) -> std::string"""
2073 return _IMP_em2d.ScoreFunction___repr__(self)
2078 return _object_cast_to_ScoreFunction(o)
2080 ScoreFunction_swigregister = _IMP_em2d.ScoreFunction_swigregister
2081 ScoreFunction_swigregister(ScoreFunction)
2083 class ChiSquaredScore(ScoreFunction):
2084 """Proxy of C++ IMP::em2d::ChiSquaredScore class"""
2085 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2088 """__init__(IMP::em2d::ChiSquaredScore self) -> ChiSquaredScore"""
2089 this = _IMP_em2d.new_ChiSquaredScore()
2091 self.this.append(this)
2096 """__str__(ChiSquaredScore self) -> std::string"""
2097 return _IMP_em2d.ChiSquaredScore___str__(self)
2101 """__repr__(ChiSquaredScore self) -> std::string"""
2102 return _IMP_em2d.ChiSquaredScore___repr__(self)
2107 return _object_cast_to_ChiSquaredScore(o)
2109 __swig_destroy__ = _IMP_em2d.delete_ChiSquaredScore
2110 __del__ =
lambda self:
None
2111 ChiSquaredScore_swigregister = _IMP_em2d.ChiSquaredScore_swigregister
2112 ChiSquaredScore_swigregister(ChiSquaredScore)
2114 class EM2DScore(ScoreFunction):
2115 """Proxy of C++ IMP::em2d::EM2DScore class"""
2116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2119 """__init__(IMP::em2d::EM2DScore self) -> EM2DScore"""
2120 this = _IMP_em2d.new_EM2DScore()
2122 self.this.append(this)
2127 """__str__(EM2DScore self) -> std::string"""
2128 return _IMP_em2d.EM2DScore___str__(self)
2132 """__repr__(EM2DScore self) -> std::string"""
2133 return _IMP_em2d.EM2DScore___repr__(self)
2138 return _object_cast_to_EM2DScore(o)
2140 __swig_destroy__ = _IMP_em2d.delete_EM2DScore
2141 __del__ =
lambda self:
None
2142 EM2DScore_swigregister = _IMP_em2d.EM2DScore_swigregister
2143 EM2DScore_swigregister(EM2DScore)
2145 class MeanAbsoluteDifference(ScoreFunction):
2146 """Proxy of C++ IMP::em2d::MeanAbsoluteDifference class"""
2147 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2150 """__init__(IMP::em2d::MeanAbsoluteDifference self) -> MeanAbsoluteDifference"""
2151 this = _IMP_em2d.new_MeanAbsoluteDifference()
2153 self.this.append(this)
2158 """__str__(MeanAbsoluteDifference self) -> std::string"""
2159 return _IMP_em2d.MeanAbsoluteDifference___str__(self)
2163 """__repr__(MeanAbsoluteDifference self) -> std::string"""
2164 return _IMP_em2d.MeanAbsoluteDifference___repr__(self)
2169 return _object_cast_to_MeanAbsoluteDifference(o)
2171 __swig_destroy__ = _IMP_em2d.delete_MeanAbsoluteDifference
2172 __del__ =
lambda self:
None
2173 MeanAbsoluteDifference_swigregister = _IMP_em2d.MeanAbsoluteDifference_swigregister
2174 MeanAbsoluteDifference_swigregister(MeanAbsoluteDifference)
2178 """read_selection_file(IMP::String fn) -> IMP::Strings"""
2179 return _IMP_em2d.read_selection_file(fn)
2182 """create_filenames(unsigned long number, IMP::String basic_name, IMP::String extension) -> IMP::Strings"""
2183 return _IMP_em2d.create_filenames(number, basic_name, extension)
2185 """Proxy of C++ IMP::em2d::ProjectionParameters class"""
2186 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2188 def __init__(self, *args):
2190 __init__(IMP::em2d::ProjectionParameters self) -> ProjectionParameters
2191 __init__(IMP::em2d::ProjectionParameters self, Model m, ParticleIndex id) -> ProjectionParameters
2192 __init__(IMP::em2d::ProjectionParameters self, _ParticleAdaptor d) -> ProjectionParameters
2194 this = _IMP_em2d.new_ProjectionParameters(*args)
2196 self.this.append(this)
2200 def show(self, *args):
2202 show(ProjectionParameters self, _ostream out)
2203 show(ProjectionParameters self)
2205 return _IMP_em2d.ProjectionParameters_show(self, *args)
2208 def setup_particle(*args):
2210 setup_particle(Model m, ParticleIndex pi) -> ProjectionParameters
2211 setup_particle(_ParticleAdaptor decorator) -> ProjectionParameters
2213 return _IMP_em2d.ProjectionParameters_setup_particle(*args)
2215 setup_particle = staticmethod(setup_particle)
2216 __swig_destroy__ = _IMP_em2d.delete_ProjectionParameters
2217 __del__ =
lambda self:
None
2220 """get_keys() -> IMP::FloatKeys const &"""
2221 return _IMP_em2d.ProjectionParameters_get_keys()
2223 get_keys = staticmethod(get_keys)
2225 def set_proper_ranges_for_keys(self, m, min_translation_values, max_translation_values):
2226 """set_proper_ranges_for_keys(ProjectionParameters self, Model m, Vector3D min_translation_values, Vector3D max_translation_values)"""
2227 return _IMP_em2d.ProjectionParameters_set_proper_ranges_for_keys(self, m, min_translation_values, max_translation_values)
2230 def get_is_setup(*args):
2232 get_is_setup(_ParticleAdaptor p) -> bool
2233 get_is_setup(Model m, ParticleIndex pi) -> bool
2235 return _IMP_em2d.ProjectionParameters_get_is_setup(*args)
2237 get_is_setup = staticmethod(get_is_setup)
2239 def get_parameters_optimized(self):
2240 """get_parameters_optimized(ProjectionParameters self) -> bool"""
2241 return _IMP_em2d.ProjectionParameters_get_parameters_optimized(self)
2244 def get_translation(self):
2245 """get_translation(ProjectionParameters self) -> Vector3D"""
2246 return _IMP_em2d.ProjectionParameters_get_translation(self)
2249 def set_translation(self, v):
2250 """set_translation(ProjectionParameters self, Vector3D v)"""
2251 return _IMP_em2d.ProjectionParameters_set_translation(self, v)
2254 def get_rotation(self):
2255 """get_rotation(ProjectionParameters self) -> Rotation3D"""
2256 return _IMP_em2d.ProjectionParameters_get_rotation(self)
2259 def set_rotation(self, R):
2260 """set_rotation(ProjectionParameters self, Rotation3D R)"""
2261 return _IMP_em2d.ProjectionParameters_set_rotation(self, R)
2264 def set_parameters_optimized(self, tf):
2265 """set_parameters_optimized(ProjectionParameters self, bool tf)"""
2266 return _IMP_em2d.ProjectionParameters_set_parameters_optimized(self, tf)
2269 def get_quaternion_1(self):
2270 """get_quaternion_1(ProjectionParameters self) -> double"""
2271 return _IMP_em2d.ProjectionParameters_get_quaternion_1(self)
2274 def set_quaternion_1(self, t):
2275 """set_quaternion_1(ProjectionParameters self, double t)"""
2276 return _IMP_em2d.ProjectionParameters_set_quaternion_1(self, t)
2279 def get_quaternion_2(self):
2280 """get_quaternion_2(ProjectionParameters self) -> double"""
2281 return _IMP_em2d.ProjectionParameters_get_quaternion_2(self)
2284 def set_quaternion_2(self, t):
2285 """set_quaternion_2(ProjectionParameters self, double t)"""
2286 return _IMP_em2d.ProjectionParameters_set_quaternion_2(self, t)
2289 def get_quaternion_3(self):
2290 """get_quaternion_3(ProjectionParameters self) -> double"""
2291 return _IMP_em2d.ProjectionParameters_get_quaternion_3(self)
2294 def set_quaternion_3(self, t):
2295 """set_quaternion_3(ProjectionParameters self, double t)"""
2296 return _IMP_em2d.ProjectionParameters_set_quaternion_3(self, t)
2299 def get_quaternion_4(self):
2300 """get_quaternion_4(ProjectionParameters self) -> double"""
2301 return _IMP_em2d.ProjectionParameters_get_quaternion_4(self)
2304 def set_quaternion_4(self, t):
2305 """set_quaternion_4(ProjectionParameters self, double t)"""
2306 return _IMP_em2d.ProjectionParameters_set_quaternion_4(self, t)
2309 def get_translation_x(self):
2310 """get_translation_x(ProjectionParameters self) -> double"""
2311 return _IMP_em2d.ProjectionParameters_get_translation_x(self)
2314 def set_translation_x(self, t):
2315 """set_translation_x(ProjectionParameters self, double t)"""
2316 return _IMP_em2d.ProjectionParameters_set_translation_x(self, t)
2319 def get_translation_y(self):
2320 """get_translation_y(ProjectionParameters self) -> double"""
2321 return _IMP_em2d.ProjectionParameters_get_translation_y(self)
2324 def set_translation_y(self, t):
2325 """set_translation_y(ProjectionParameters self, double t)"""
2326 return _IMP_em2d.ProjectionParameters_set_translation_y(self, t)
2329 def add_attribute(self, *args):
2331 add_attribute(ProjectionParameters self, FloatKey k, IMP::Float v, bool opt)
2332 add_attribute(ProjectionParameters self, FloatKey a0, IMP::Float a1)
2333 add_attribute(ProjectionParameters self, IntKey a0, IMP::Int a1)
2334 add_attribute(ProjectionParameters self, FloatsKey a0, IMP::Floats a1)
2335 add_attribute(ProjectionParameters self, IntsKey a0, IMP::Ints a1)
2336 add_attribute(ProjectionParameters self, StringKey a0, IMP::String a1)
2337 add_attribute(ProjectionParameters self, ParticleIndexKey a0, Particle a1)
2338 add_attribute(ProjectionParameters self, ObjectKey a0, Object a1)
2340 return _IMP_em2d.ProjectionParameters_add_attribute(self, *args)
2343 def get_value(self, *args):
2345 get_value(ProjectionParameters self, FloatKey a0) -> IMP::Float
2346 get_value(ProjectionParameters self, IntKey a0) -> IMP::Int
2347 get_value(ProjectionParameters self, FloatsKey a0) -> IMP::Floats
2348 get_value(ProjectionParameters self, IntsKey a0) -> IMP::Ints
2349 get_value(ProjectionParameters self, StringKey a0) -> IMP::String
2350 get_value(ProjectionParameters self, ParticleIndexKey a0) -> Particle
2351 get_value(ProjectionParameters self, ObjectKey a0) -> Object
2353 return _IMP_em2d.ProjectionParameters_get_value(self, *args)
2356 def set_value(self, *args):
2358 set_value(ProjectionParameters self, FloatKey a0, IMP::Float a1)
2359 set_value(ProjectionParameters self, IntKey a0, IMP::Int a1)
2360 set_value(ProjectionParameters self, FloatsKey a0, IMP::Floats a1)
2361 set_value(ProjectionParameters self, IntsKey a0, IMP::Ints a1)
2362 set_value(ProjectionParameters self, StringKey a0, IMP::String a1)
2363 set_value(ProjectionParameters self, ParticleIndexKey a0, Particle a1)
2364 set_value(ProjectionParameters self, ObjectKey a0, Object a1)
2366 return _IMP_em2d.ProjectionParameters_set_value(self, *args)
2369 def remove_attribute(self, *args):
2371 remove_attribute(ProjectionParameters self, FloatKey a0)
2372 remove_attribute(ProjectionParameters self, IntKey a0)
2373 remove_attribute(ProjectionParameters self, FloatsKey a0)
2374 remove_attribute(ProjectionParameters self, IntsKey a0)
2375 remove_attribute(ProjectionParameters self, StringKey a0)
2376 remove_attribute(ProjectionParameters self, ParticleIndexKey a0)
2377 remove_attribute(ProjectionParameters self, ObjectKey a0)
2379 return _IMP_em2d.ProjectionParameters_remove_attribute(self, *args)
2382 def has_attribute(self, *args):
2384 has_attribute(ProjectionParameters self, FloatKey a0) -> bool
2385 has_attribute(ProjectionParameters self, IntKey a0) -> bool
2386 has_attribute(ProjectionParameters self, FloatsKey a0) -> bool
2387 has_attribute(ProjectionParameters self, IntsKey a0) -> bool
2388 has_attribute(ProjectionParameters self, StringKey a0) -> bool
2389 has_attribute(ProjectionParameters self, ParticleIndexKey a0) -> bool
2390 has_attribute(ProjectionParameters self, ObjectKey a0) -> bool
2392 return _IMP_em2d.ProjectionParameters_has_attribute(self, *args)
2395 def get_derivative(self, a0):
2396 """get_derivative(ProjectionParameters self, FloatKey a0) -> double"""
2397 return _IMP_em2d.ProjectionParameters_get_derivative(self, a0)
2401 """get_name(ProjectionParameters self) -> std::string"""
2402 return _IMP_em2d.ProjectionParameters_get_name(self)
2405 def clear_caches(self):
2406 """clear_caches(ProjectionParameters self)"""
2407 return _IMP_em2d.ProjectionParameters_clear_caches(self)
2410 def set_name(self, a0):
2411 """set_name(ProjectionParameters self, std::string a0)"""
2412 return _IMP_em2d.ProjectionParameters_set_name(self, a0)
2416 """set_check_level(ProjectionParameters self, IMP::CheckLevel a0)"""
2417 return _IMP_em2d.ProjectionParameters_set_check_level(self, a0)
2420 def add_to_derivative(self, a0, a1, a2):
2421 """add_to_derivative(ProjectionParameters self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2422 return _IMP_em2d.ProjectionParameters_add_to_derivative(self, a0, a1, a2)
2425 def set_is_optimized(self, a0, a1):
2426 """set_is_optimized(ProjectionParameters self, FloatKey a0, bool a1)"""
2427 return _IMP_em2d.ProjectionParameters_set_is_optimized(self, a0, a1)
2430 def get_is_optimized(self, a0):
2431 """get_is_optimized(ProjectionParameters self, FloatKey a0) -> bool"""
2432 return _IMP_em2d.ProjectionParameters_get_is_optimized(self, a0)
2436 """get_check_level(ProjectionParameters self) -> IMP::CheckLevel"""
2437 return _IMP_em2d.ProjectionParameters_get_check_level(self)
2440 def __eq__(self, *args):
2442 __eq__(ProjectionParameters self, ProjectionParameters o) -> bool
2443 __eq__(ProjectionParameters self, Particle d) -> bool
2445 return _IMP_em2d.ProjectionParameters___eq__(self, *args)
2448 def __ne__(self, *args):
2450 __ne__(ProjectionParameters self, ProjectionParameters o) -> bool
2451 __ne__(ProjectionParameters self, Particle d) -> bool
2453 return _IMP_em2d.ProjectionParameters___ne__(self, *args)
2456 def __le__(self, *args):
2458 __le__(ProjectionParameters self, ProjectionParameters o) -> bool
2459 __le__(ProjectionParameters self, Particle d) -> bool
2461 return _IMP_em2d.ProjectionParameters___le__(self, *args)
2464 def __lt__(self, *args):
2466 __lt__(ProjectionParameters self, ProjectionParameters o) -> bool
2467 __lt__(ProjectionParameters self, Particle d) -> bool
2469 return _IMP_em2d.ProjectionParameters___lt__(self, *args)
2472 def __ge__(self, *args):
2474 __ge__(ProjectionParameters self, ProjectionParameters o) -> bool
2475 __ge__(ProjectionParameters self, Particle d) -> bool
2477 return _IMP_em2d.ProjectionParameters___ge__(self, *args)
2480 def __gt__(self, *args):
2482 __gt__(ProjectionParameters self, ProjectionParameters o) -> bool
2483 __gt__(ProjectionParameters self, Particle d) -> bool
2485 return _IMP_em2d.ProjectionParameters___gt__(self, *args)
2489 """__hash__(ProjectionParameters self) -> std::size_t"""
2490 return _IMP_em2d.ProjectionParameters___hash__(self)
2494 """__str__(ProjectionParameters self) -> std::string"""
2495 return _IMP_em2d.ProjectionParameters___str__(self)
2499 """__repr__(ProjectionParameters self) -> std::string"""
2500 return _IMP_em2d.ProjectionParameters___repr__(self)
2502 ProjectionParameters_swigregister = _IMP_em2d.ProjectionParameters_swigregister
2503 ProjectionParameters_swigregister(ProjectionParameters)
2505 def ProjectionParameters_setup_particle(*args):
2507 setup_particle(Model m, ParticleIndex pi) -> ProjectionParameters
2508 ProjectionParameters_setup_particle(_ParticleAdaptor decorator) -> ProjectionParameters
2510 return _IMP_em2d.ProjectionParameters_setup_particle(*args)
2512 def ProjectionParameters_get_keys():
2513 """ProjectionParameters_get_keys() -> IMP::FloatKeys const &"""
2514 return _IMP_em2d.ProjectionParameters_get_keys()
2516 def ProjectionParameters_get_is_setup(*args):
2518 get_is_setup(_ParticleAdaptor p) -> bool
2519 ProjectionParameters_get_is_setup(Model m, ParticleIndex pi) -> bool
2521 return _IMP_em2d.ProjectionParameters_get_is_setup(*args)
2524 def __lshift__(out, n):
2525 """__lshift__(_ostream out, ProjectionParameters n) -> _ostream"""
2526 return _IMP_em2d.__lshift__(out, n)
2528 """Proxy of C++ IMP::em2d::ProjectionParametersScoreState class"""
2529 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2531 def __init__(self, p):
2532 """__init__(IMP::em2d::ProjectionParametersScoreState self, Particle p) -> ProjectionParametersScoreState"""
2533 this = _IMP_em2d.new_ProjectionParametersScoreState(p)
2535 self.this.append(this)
2539 def do_before_evaluate(self):
2540 """do_before_evaluate(ProjectionParametersScoreState self)"""
2541 return _IMP_em2d.ProjectionParametersScoreState_do_before_evaluate(self)
2544 def do_after_evaluate(self, da):
2545 """do_after_evaluate(ProjectionParametersScoreState self, DerivativeAccumulator da)"""
2546 return _IMP_em2d.ProjectionParametersScoreState_do_after_evaluate(self, da)
2549 def do_get_inputs(self):
2550 """do_get_inputs(ProjectionParametersScoreState self) -> IMP::ModelObjectsTemp"""
2551 return _IMP_em2d.ProjectionParametersScoreState_do_get_inputs(self)
2554 def do_get_outputs(self):
2555 """do_get_outputs(ProjectionParametersScoreState self) -> IMP::ModelObjectsTemp"""
2556 return _IMP_em2d.ProjectionParametersScoreState_do_get_outputs(self)
2559 def get_version_info(self):
2560 """get_version_info(ProjectionParametersScoreState self) -> VersionInfo"""
2561 return _IMP_em2d.ProjectionParametersScoreState_get_version_info(self)
2565 """__str__(ProjectionParametersScoreState self) -> std::string"""
2566 return _IMP_em2d.ProjectionParametersScoreState___str__(self)
2570 """__repr__(ProjectionParametersScoreState self) -> std::string"""
2571 return _IMP_em2d.ProjectionParametersScoreState___repr__(self)
2576 return _object_cast_to_ProjectionParametersScoreState(o)
2578 ProjectionParametersScoreState_swigregister = _IMP_em2d.ProjectionParametersScoreState_swigregister
2579 ProjectionParametersScoreState_swigregister(ProjectionParametersScoreState)
2581 class ProjectionMask(object):
2582 """Proxy of C++ IMP::em2d::ProjectionMask class"""
2583 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2585 def __init__(self, *args, **kwargs):
2586 raise AttributeError(
"No constructor defined")
2588 def apply(self, m, v):
2589 """apply(ProjectionMask self, cv::Mat & m, Vector2D v)"""
2590 return _IMP_em2d.ProjectionMask_apply(self, m, v)
2593 def show(self, *args):
2595 show(ProjectionMask self, _ostream out)
2596 show(ProjectionMask self)
2598 return _IMP_em2d.ProjectionMask_show(self, *args)
2600 __swig_destroy__ = _IMP_em2d.delete_ProjectionMask
2601 __del__ =
lambda self:
None
2604 """__str__(ProjectionMask self) -> std::string"""
2605 return _IMP_em2d.ProjectionMask___str__(self)
2609 """__repr__(ProjectionMask self) -> std::string"""
2610 return _IMP_em2d.ProjectionMask___repr__(self)
2612 ProjectionMask_swigregister = _IMP_em2d.ProjectionMask_swigregister
2613 ProjectionMask_swigregister(ProjectionMask)
2617 """do_place(cv::Mat & mask, cv::Mat & m, Vector2D v)"""
2618 return _IMP_em2d.do_place(mask, m, v)
2619 class MasksManager(object):
2620 """Proxy of C++ IMP::em2d::MasksManager class"""
2621 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2623 def __init__(self, *args):
2625 __init__(IMP::em2d::MasksManager self) -> MasksManager
2626 __init__(IMP::em2d::MasksManager self, double resolution, double pixelsize) -> MasksManager
2628 this = _IMP_em2d.new_MasksManager(*args)
2630 self.this.append(this)
2634 def setup_kernel(self, resolution, pixelsize):
2635 """setup_kernel(MasksManager self, double resolution, double pixelsize)"""
2636 return _IMP_em2d.MasksManager_setup_kernel(self, resolution, pixelsize)
2639 def create_masks(self, ps):
2640 """create_masks(MasksManager self, IMP::ParticlesTemp const & ps)"""
2641 return _IMP_em2d.MasksManager_create_masks(self, ps)
2644 def create_mask(self, mass):
2645 """create_mask(MasksManager self, double mass)"""
2646 return _IMP_em2d.MasksManager_create_mask(self, mass)
2649 def find_mask(self, mass):
2650 """find_mask(MasksManager self, double mass) -> IMP::em2d::ProjectionMaskPtr"""
2651 return _IMP_em2d.MasksManager_find_mask(self, mass)
2654 def show(self, *args):
2656 show(MasksManager self, _ostream out)
2657 show(MasksManager self)
2659 return _IMP_em2d.MasksManager_show(self, *args)
2662 def get_number_of_masks(self):
2663 """get_number_of_masks(MasksManager self) -> unsigned int"""
2664 return _IMP_em2d.MasksManager_get_number_of_masks(self)
2666 __swig_destroy__ = _IMP_em2d.delete_MasksManager
2667 __del__ =
lambda self:
None
2670 """__str__(MasksManager self) -> std::string"""
2671 return _IMP_em2d.MasksManager___str__(self)
2675 """__repr__(MasksManager self) -> std::string"""
2676 return _IMP_em2d.MasksManager___repr__(self)
2678 MasksManager_swigregister = _IMP_em2d.MasksManager_swigregister
2679 MasksManager_swigregister(MasksManager)
2681 class ProjectingParameters(object):
2682 """Proxy of C++ IMP::em2d::ProjectingParameters class"""
2683 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2684 pixel_size = _swig_property(_IMP_em2d.ProjectingParameters_pixel_size_get, _IMP_em2d.ProjectingParameters_pixel_size_set)
2685 resolution = _swig_property(_IMP_em2d.ProjectingParameters_resolution_get, _IMP_em2d.ProjectingParameters_resolution_set)
2687 def __init__(self, *args):
2689 __init__(IMP::em2d::ProjectingParameters self) -> ProjectingParameters
2690 __init__(IMP::em2d::ProjectingParameters self, double ps, double res) -> ProjectingParameters
2692 this = _IMP_em2d.new_ProjectingParameters(*args)
2694 self.this.append(this)
2698 def show(self, *args):
2700 show(ProjectingParameters self, _ostream out)
2701 show(ProjectingParameters self)
2703 return _IMP_em2d.ProjectingParameters_show(self, *args)
2707 """__str__(ProjectingParameters self) -> std::string"""
2708 return _IMP_em2d.ProjectingParameters___str__(self)
2712 """__repr__(ProjectingParameters self) -> std::string"""
2713 return _IMP_em2d.ProjectingParameters___repr__(self)
2715 __swig_destroy__ = _IMP_em2d.delete_ProjectingParameters
2716 __del__ =
lambda self:
None
2717 ProjectingParameters_swigregister = _IMP_em2d.ProjectingParameters_swigregister
2718 ProjectingParameters_swigregister(ProjectingParameters)
2720 class ProjectingOptions(ProjectingParameters):
2721 """Proxy of C++ IMP::em2d::ProjectingOptions class"""
2722 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2723 save_images = _swig_property(_IMP_em2d.ProjectingOptions_save_images_get, _IMP_em2d.ProjectingOptions_save_images_set)
2724 normalize = _swig_property(_IMP_em2d.ProjectingOptions_normalize_get, _IMP_em2d.ProjectingOptions_normalize_set)
2725 clear_matrix_before_projecting = _swig_property(_IMP_em2d.ProjectingOptions_clear_matrix_before_projecting_get, _IMP_em2d.ProjectingOptions_clear_matrix_before_projecting_set)
2727 def __init__(self, *args):
2729 __init__(IMP::em2d::ProjectingOptions self) -> ProjectingOptions
2730 __init__(IMP::em2d::ProjectingOptions self, double ps, double res) -> ProjectingOptions
2731 __init__(IMP::em2d::ProjectingOptions self, double ps, double res, ImageReaderWriter irw) -> ProjectingOptions
2733 this = _IMP_em2d.new_ProjectingOptions(*args)
2735 self.this.append(this)
2739 def show(self, *args):
2741 show(ProjectingOptions self, _ostream out)
2742 show(ProjectingOptions self)
2744 return _IMP_em2d.ProjectingOptions_show(self, *args)
2748 """__str__(ProjectingOptions self) -> std::string"""
2749 return _IMP_em2d.ProjectingOptions___str__(self)
2753 """__repr__(ProjectingOptions self) -> std::string"""
2754 return _IMP_em2d.ProjectingOptions___repr__(self)
2756 __swig_destroy__ = _IMP_em2d.delete_ProjectingOptions
2757 __del__ =
lambda self:
None
2758 ProjectingOptions_swigregister = _IMP_em2d.ProjectingOptions_swigregister
2759 ProjectingOptions_swigregister(ProjectingOptions)
2764 get_projections(IMP::ParticlesTemp const & ps, IMP::algebra::SphericalVector3Ds const & vs, int rows, int cols, ProjectingOptions options, IMP::Strings names) -> IMP::em2d::Images
2765 get_projections(IMP::ParticlesTemp const & ps, IMP::algebra::SphericalVector3Ds const & vs, int rows, int cols, ProjectingOptions options) -> IMP::em2d::Images
2766 get_projections(IMP::ParticlesTemp const & ps, IMP::em2d::RegistrationResults const & registration_values, int rows, int cols, ProjectingOptions options, IMP::Strings names) -> IMP::em2d::Images
2767 get_projections(IMP::ParticlesTemp const & ps, IMP::em2d::RegistrationResults const & registration_values, int rows, int cols, ProjectingOptions options) -> IMP::em2d::Images
2769 return _IMP_em2d.get_projections(*args)
2773 get_projection(Image img, IMP::ParticlesTemp const & ps, RegistrationResult reg, ProjectingOptions options, IMP::em2d::MasksManagerPtr masks, IMP::String name)
2774 get_projection(Image img, IMP::ParticlesTemp const & ps, RegistrationResult reg, ProjectingOptions options, IMP::em2d::MasksManagerPtr masks)
2775 get_projection(Image img, IMP::ParticlesTemp const & ps, RegistrationResult reg, ProjectingOptions options)
2777 return _IMP_em2d.get_projection(*args)
2780 """do_project_particles(IMP::ParticlesTemp const & ps, cv::Mat & m2, Rotation3D R, Vector3D translation, ProjectingOptions options, IMP::em2d::MasksManagerPtr masks)"""
2781 return _IMP_em2d.do_project_particles(ps, m2, R, translation, options, masks)
2784 """create_evenly_distributed_projections(IMP::ParticlesTemp const & ps, unsigned int n, ProjectingOptions options) -> IMP::em2d::Images"""
2785 return _IMP_em2d.create_evenly_distributed_projections(ps, n, options)
2789 do_project_vectors(IMP::algebra::Vector3Ds const & ps, Rotation3D R, Vector3D translation) -> IMP::algebra::Vector2Ds
2790 do_project_vectors(IMP::algebra::Vector3Ds const & ps, Rotation3D R, Vector3D translation, Vector3D center) -> IMP::algebra::Vector2Ds
2792 return _IMP_em2d.do_project_vectors(*args)
2795 """get_enclosing_image_size(IMP::ParticlesTemp const & ps, double pixel_size, unsigned int slack) -> unsigned int"""
2796 return _IMP_em2d.get_enclosing_image_size(ps, pixel_size, slack)
2800 get_complete_alignment(cv::Mat const & input, cv::Mat & m_to_align, bool apply=False) -> ResultAlign2D
2801 get_complete_alignment(cv::Mat const & input, cv::Mat & m_to_align) -> ResultAlign2D
2803 return _IMP_em2d.get_complete_alignment(input, m_to_align, apply)
2807 get_rotational_alignment(cv::Mat const & input, cv::Mat & m_to_align, bool apply=False) -> ResultAlign2D
2808 get_rotational_alignment(cv::Mat const & input, cv::Mat & m_to_align) -> ResultAlign2D
2810 return _IMP_em2d.get_rotational_alignment(input, m_to_align, apply)
2814 get_translational_alignment(cv::Mat const & input, cv::Mat & m_to_align, bool apply=False) -> ResultAlign2D
2815 get_translational_alignment(cv::Mat const & input, cv::Mat & m_to_align) -> ResultAlign2D
2817 return _IMP_em2d.get_translational_alignment(input, m_to_align, apply)
2821 get_complete_alignment_no_preprocessing(cv::Mat const & input, cv::Mat const & INPUT, cv::Mat const & POLAR1, cv::Mat & m_to_align, cv::Mat const & POLAR2, bool apply=False) -> ResultAlign2D
2822 get_complete_alignment_no_preprocessing(cv::Mat const & input, cv::Mat const & INPUT, cv::Mat const & POLAR1, cv::Mat & m_to_align, cv::Mat const & POLAR2) -> ResultAlign2D
2824 return _IMP_em2d.get_complete_alignment_no_preprocessing(input, INPUT, POLAR1, m_to_align, POLAR2, apply)
2827 """get_rotational_alignment_no_preprocessing(cv::Mat const & POLAR1, cv::Mat const & POLAR2) -> ResultAlign2D"""
2828 return _IMP_em2d.get_rotational_alignment_no_preprocessing(POLAR1, POLAR2)
2831 """get_translational_alignment_no_preprocessing(cv::Mat const & M1, cv::Mat const & M2) -> ResultAlign2D"""
2832 return _IMP_em2d.get_translational_alignment_no_preprocessing(M1, M2)
2835 """get_complete_alignment_with_centers_no_preprocessing(Vector2D center1, Vector2D center2, cv::Mat const & AUTOC_POLAR1, cv::Mat const & AUTOC_POLAR2) -> ResultAlign2D"""
2836 return _IMP_em2d.get_complete_alignment_with_centers_no_preprocessing(center1, center2, AUTOC_POLAR1, AUTOC_POLAR2)
2840 write_vectors_as_pdb(IMP::algebra::Vector2Ds const vs, IMP::String const filename)
2841 write_vectors_as_pdb(IMP::algebra::Vector3Ds const vs, IMP::String const filename)
2843 return _IMP_em2d.write_vectors_as_pdb(*args)
2844 class Em2DRestraintParameters(ProjectingParameters):
2845 """Proxy of C++ IMP::em2d::Em2DRestraintParameters class"""
2846 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2847 n_projections = _swig_property(_IMP_em2d.Em2DRestraintParameters_n_projections_get, _IMP_em2d.Em2DRestraintParameters_n_projections_set)
2848 coarse_registration_method = _swig_property(_IMP_em2d.Em2DRestraintParameters_coarse_registration_method_get, _IMP_em2d.Em2DRestraintParameters_coarse_registration_method_set)
2849 save_match_images = _swig_property(_IMP_em2d.Em2DRestraintParameters_save_match_images_get, _IMP_em2d.Em2DRestraintParameters_save_match_images_set)
2850 optimization_steps = _swig_property(_IMP_em2d.Em2DRestraintParameters_optimization_steps_get, _IMP_em2d.Em2DRestraintParameters_optimization_steps_set)
2851 simplex_initial_length = _swig_property(_IMP_em2d.Em2DRestraintParameters_simplex_initial_length_get, _IMP_em2d.Em2DRestraintParameters_simplex_initial_length_set)
2852 simplex_minimum_size = _swig_property(_IMP_em2d.Em2DRestraintParameters_simplex_minimum_size_get, _IMP_em2d.Em2DRestraintParameters_simplex_minimum_size_set)
2854 def __init__(self, *args):
2856 __init__(IMP::em2d::Em2DRestraintParameters self) -> Em2DRestraintParameters
2857 __init__(IMP::em2d::Em2DRestraintParameters self, double ps, double res, unsigned int n_proj=20) -> Em2DRestraintParameters
2858 __init__(IMP::em2d::Em2DRestraintParameters self, double ps, double res) -> Em2DRestraintParameters
2860 this = _IMP_em2d.new_Em2DRestraintParameters(*args)
2862 self.this.append(this)
2866 def show(self, *args):
2868 show(Em2DRestraintParameters self, _ostream out)
2869 show(Em2DRestraintParameters self)
2871 return _IMP_em2d.Em2DRestraintParameters_show(self, *args)
2875 """__str__(Em2DRestraintParameters self) -> std::string"""
2876 return _IMP_em2d.Em2DRestraintParameters___str__(self)
2880 """__repr__(Em2DRestraintParameters self) -> std::string"""
2881 return _IMP_em2d.Em2DRestraintParameters___repr__(self)
2883 __swig_destroy__ = _IMP_em2d.delete_Em2DRestraintParameters
2884 __del__ =
lambda self:
None
2885 Em2DRestraintParameters_swigregister = _IMP_em2d.Em2DRestraintParameters_swigregister
2886 Em2DRestraintParameters_swigregister(Em2DRestraintParameters)
2887 cvar = _IMP_em2d.cvar
2888 ALIGN2D_NO_PREPROCESSING = cvar.ALIGN2D_NO_PREPROCESSING
2889 ALIGN2D_PREPROCESSING = cvar.ALIGN2D_PREPROCESSING
2890 ALIGN2D_WITH_CENTERS = cvar.ALIGN2D_WITH_CENTERS
2893 """Proxy of C++ IMP::em2d::ProjectionFinder class"""
2894 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2897 """__init__(IMP::em2d::ProjectionFinder self) -> ProjectionFinder"""
2898 this = _IMP_em2d.new_ProjectionFinder()
2900 self.this.append(this)
2904 def setup(self, score_function, params):
2905 """setup(ProjectionFinder self, ScoreFunction score_function, Em2DRestraintParameters params)"""
2906 return _IMP_em2d.ProjectionFinder_setup(self, score_function, params)
2909 def set_subjects(self, subjects):
2910 """set_subjects(ProjectionFinder self, IMP::em2d::Images const & subjects)"""
2911 return _IMP_em2d.ProjectionFinder_set_subjects(self, subjects)
2914 def set_projections(self, projections):
2915 """set_projections(ProjectionFinder self, IMP::em2d::Images const & projections)"""
2916 return _IMP_em2d.ProjectionFinder_set_projections(self, projections)
2919 def set_variance_images(self, variances):
2920 """set_variance_images(ProjectionFinder self, IMP::em2d::Images const & variances)"""
2921 return _IMP_em2d.ProjectionFinder_set_variance_images(self, variances)
2924 def set_model_particles(self, ps):
2925 """set_model_particles(ProjectionFinder self, IMP::ParticlesTemp const & ps)"""
2926 return _IMP_em2d.ProjectionFinder_set_model_particles(self, ps)
2929 def set_save_match_images(self, x):
2930 """set_save_match_images(ProjectionFinder self, bool x)"""
2931 return _IMP_em2d.ProjectionFinder_set_save_match_images(self, x)
2934 def get_save_match_images(self):
2935 """get_save_match_images(ProjectionFinder self) -> bool"""
2936 return _IMP_em2d.ProjectionFinder_get_save_match_images(self)
2939 def set_fast_mode(self, n):
2940 """set_fast_mode(ProjectionFinder self, unsigned int n)"""
2941 return _IMP_em2d.ProjectionFinder_set_fast_mode(self, n)
2944 def get_registration_results(self):
2945 """get_registration_results(ProjectionFinder self) -> IMP::em2d::RegistrationResults"""
2946 return _IMP_em2d.ProjectionFinder_get_registration_results(self)
2949 def get_coarse_registration(self):
2950 """get_coarse_registration(ProjectionFinder self)"""
2951 return _IMP_em2d.ProjectionFinder_get_coarse_registration(self)
2954 def get_complete_registration(self):
2955 """get_complete_registration(ProjectionFinder self)"""
2956 return _IMP_em2d.ProjectionFinder_get_complete_registration(self)
2960 """get_global_score(ProjectionFinder self) -> double"""
2961 return _IMP_em2d.ProjectionFinder_get_global_score(self)
2964 def show(self, out):
2965 """show(ProjectionFinder self, _ostream out)"""
2966 return _IMP_em2d.ProjectionFinder_show(self, out)
2969 def get_preprocessing_time(self):
2970 """get_preprocessing_time(ProjectionFinder self) -> double"""
2971 return _IMP_em2d.ProjectionFinder_get_preprocessing_time(self)
2974 def get_coarse_registration_time(self):
2975 """get_coarse_registration_time(ProjectionFinder self) -> double"""
2976 return _IMP_em2d.ProjectionFinder_get_coarse_registration_time(self)
2979 def get_fine_registration_time(self):
2980 """get_fine_registration_time(ProjectionFinder self) -> double"""
2981 return _IMP_em2d.ProjectionFinder_get_fine_registration_time(self)
2984 def get_number_of_subjects(self):
2985 """get_number_of_subjects(ProjectionFinder self) -> unsigned int"""
2986 return _IMP_em2d.ProjectionFinder_get_number_of_subjects(self)
2989 def set_number_of_class_averages_members(self, n_members):
2990 """set_number_of_class_averages_members(ProjectionFinder self, IMP::Ints n_members)"""
2991 return _IMP_em2d.ProjectionFinder_set_number_of_class_averages_members(self, n_members)
2994 def get_number_of_projections(self):
2995 """get_number_of_projections(ProjectionFinder self) -> unsigned int"""
2996 return _IMP_em2d.ProjectionFinder_get_number_of_projections(self)
2999 def get_version_info(self):
3000 """get_version_info(ProjectionFinder self) -> VersionInfo"""
3001 return _IMP_em2d.ProjectionFinder_get_version_info(self)
3005 """__str__(ProjectionFinder self) -> std::string"""
3006 return _IMP_em2d.ProjectionFinder___str__(self)
3010 """__repr__(ProjectionFinder self) -> std::string"""
3011 return _IMP_em2d.ProjectionFinder___repr__(self)
3016 return _object_cast_to_ProjectionFinder(o)
3018 ProjectionFinder_swigregister = _IMP_em2d.ProjectionFinder_swigregister
3019 ProjectionFinder_swigregister(ProjectionFinder)
3022 """Proxy of C++ IMP::em2d::Em2DRestraint class"""
3023 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3025 def __init__(self, m):
3026 """__init__(IMP::em2d::Em2DRestraint self, Model m) -> Em2DRestraint"""
3027 this = _IMP_em2d.new_Em2DRestraint(m)
3029 self.this.append(this)
3033 def setup(self, score_function, params):
3034 """setup(Em2DRestraint self, ScoreFunction score_function, Em2DRestraintParameters params)"""
3035 return _IMP_em2d.Em2DRestraint_setup(self, score_function, params)
3038 def set_particles(self, particles_container):
3039 """set_particles(Em2DRestraint self, SingletonContainer particles_container)"""
3040 return _IMP_em2d.Em2DRestraint_set_particles(self, particles_container)
3043 def set_images(self, em_images):
3044 """set_images(Em2DRestraint self, IMP::em2d::Images const em_images)"""
3045 return _IMP_em2d.Em2DRestraint_set_images(self, em_images)
3048 def set_variance_images(self, variance_images):
3049 """set_variance_images(Em2DRestraint self, IMP::em2d::Images const variance_images)"""
3050 return _IMP_em2d.Em2DRestraint_set_variance_images(self, variance_images)
3053 def set_fast_mode(self, n):
3054 """set_fast_mode(Em2DRestraint self, unsigned int n)"""
3055 return _IMP_em2d.Em2DRestraint_set_fast_mode(self, n)
3058 def set_coarse_registration_mode(self, opt):
3059 """set_coarse_registration_mode(Em2DRestraint self, bool opt)"""
3060 return _IMP_em2d.Em2DRestraint_set_coarse_registration_mode(self, opt)
3063 def get_registration_results(self):
3064 """get_registration_results(Em2DRestraint self) -> IMP::em2d::RegistrationResults"""
3065 return _IMP_em2d.Em2DRestraint_get_registration_results(self)
3068 def do_get_inputs(self):
3069 """do_get_inputs(Em2DRestraint self) -> IMP::ModelObjectsTemp"""
3070 return _IMP_em2d.Em2DRestraint_do_get_inputs(self)
3073 def get_version_info(self):
3074 """get_version_info(Em2DRestraint self) -> VersionInfo"""
3075 return _IMP_em2d.Em2DRestraint_get_version_info(self)
3079 """__str__(Em2DRestraint self) -> std::string"""
3080 return _IMP_em2d.Em2DRestraint___str__(self)
3084 """__repr__(Em2DRestraint self) -> std::string"""
3085 return _IMP_em2d.Em2DRestraint___repr__(self)
3090 return _object_cast_to_Em2DRestraint(o)
3092 Em2DRestraint_swigregister = _IMP_em2d.Em2DRestraint_swigregister
3093 Em2DRestraint_swigregister(Em2DRestraint)
3095 class ClusterSet(object):
3096 """Proxy of C++ IMP::em2d::ClusterSet class"""
3097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3099 def __init__(self, N):
3100 """__init__(IMP::em2d::ClusterSet self, unsigned int N) -> ClusterSet"""
3101 this = _IMP_em2d.new_ClusterSet(N)
3103 self.this.append(this)
3107 def do_join_clusters(self, cluster_id1, cluster_id2, distance_between_clusters):
3108 """do_join_clusters(ClusterSet self, unsigned int cluster_id1, unsigned int cluster_id2, double distance_between_clusters)"""
3109 return _IMP_em2d.ClusterSet_do_join_clusters(self, cluster_id1, cluster_id2, distance_between_clusters)
3112 def get_cluster_elements(self, id):
3113 """get_cluster_elements(ClusterSet self, unsigned int id) -> IMP::Ints"""
3114 return _IMP_em2d.ClusterSet_get_cluster_elements(self, id)
3117 def get_clusters_below_cutoff(self, cutoff):
3118 """get_clusters_below_cutoff(ClusterSet self, double cutoff) -> IMP::Ints"""
3119 return _IMP_em2d.ClusterSet_get_clusters_below_cutoff(self, cutoff)
3122 def get_cluster_formed_at_step(self, step):
3123 """get_cluster_formed_at_step(ClusterSet self, unsigned int step) -> IMP::Ints"""
3124 return _IMP_em2d.ClusterSet_get_cluster_formed_at_step(self, step)
3127 def get_distance_at_step(self, step):
3128 """get_distance_at_step(ClusterSet self, unsigned int step) -> double"""
3129 return _IMP_em2d.ClusterSet_get_distance_at_step(self, step)
3132 def get_id_for_cluster_at_step(self, step):
3133 """get_id_for_cluster_at_step(ClusterSet self, unsigned int step) -> unsigned int"""
3134 return _IMP_em2d.ClusterSet_get_id_for_cluster_at_step(self, step)
3137 def get_linkage_matrix(self):
3138 """get_linkage_matrix(ClusterSet self) -> IMP::FloatsList"""
3139 return _IMP_em2d.ClusterSet_get_linkage_matrix(self)
3142 def get_linkage_matrix_in_matlab_format(self):
3143 """get_linkage_matrix_in_matlab_format(ClusterSet self) -> IMP::FloatsList"""
3144 return _IMP_em2d.ClusterSet_get_linkage_matrix_in_matlab_format(self)
3147 def get_number_of_steps(self):
3148 """get_number_of_steps(ClusterSet self) -> unsigned int"""
3149 return _IMP_em2d.ClusterSet_get_number_of_steps(self)
3152 def show(self, out):
3153 """show(ClusterSet self, _ostream out)"""
3154 return _IMP_em2d.ClusterSet_show(self, out)
3158 """__str__(ClusterSet self) -> std::string"""
3159 return _IMP_em2d.ClusterSet___str__(self)
3163 """__repr__(ClusterSet self) -> std::string"""
3164 return _IMP_em2d.ClusterSet___repr__(self)
3166 __swig_destroy__ = _IMP_em2d.delete_ClusterSet
3167 __del__ =
lambda self:
None
3168 ClusterSet_swigregister = _IMP_em2d.ClusterSet_swigregister
3169 ClusterSet_swigregister(ClusterSet)
3171 class SingleLinkage(object):
3172 """Proxy of C++ IMP::em2d::SingleLinkage class"""
3173 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3176 """__init__(IMP::em2d::SingleLinkage self) -> SingleLinkage"""
3177 this = _IMP_em2d.new_SingleLinkage()
3179 self.this.append(this)
3183 def __call__(self, id1, id2, cluster_set, distances):
3184 """__call__(SingleLinkage self, unsigned int id1, unsigned int id2, ClusterSet cluster_set, IMP::FloatsList const & distances) -> double"""
3185 return _IMP_em2d.SingleLinkage___call__(self, id1, id2, cluster_set, distances)
3188 def show(self, out):
3189 """show(SingleLinkage self, _ostream out)"""
3190 return _IMP_em2d.SingleLinkage_show(self, out)
3194 """__str__(SingleLinkage self) -> std::string"""
3195 return _IMP_em2d.SingleLinkage___str__(self)
3199 """__repr__(SingleLinkage self) -> std::string"""
3200 return _IMP_em2d.SingleLinkage___repr__(self)
3202 __swig_destroy__ = _IMP_em2d.delete_SingleLinkage
3203 __del__ =
lambda self:
None
3204 SingleLinkage_swigregister = _IMP_em2d.SingleLinkage_swigregister
3205 SingleLinkage_swigregister(SingleLinkage)
3207 class CompleteLinkage(object):
3208 """Proxy of C++ IMP::em2d::CompleteLinkage class"""
3209 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3212 """__init__(IMP::em2d::CompleteLinkage self) -> CompleteLinkage"""
3213 this = _IMP_em2d.new_CompleteLinkage()
3215 self.this.append(this)
3219 def __call__(self, id1, id2, cluster_set, distances):
3220 """__call__(CompleteLinkage self, unsigned int id1, unsigned int id2, ClusterSet cluster_set, IMP::FloatsList const & distances) -> double"""
3221 return _IMP_em2d.CompleteLinkage___call__(self, id1, id2, cluster_set, distances)
3224 def show(self, out):
3225 """show(CompleteLinkage self, _ostream out)"""
3226 return _IMP_em2d.CompleteLinkage_show(self, out)
3230 """__str__(CompleteLinkage self) -> std::string"""
3231 return _IMP_em2d.CompleteLinkage___str__(self)
3235 """__repr__(CompleteLinkage self) -> std::string"""
3236 return _IMP_em2d.CompleteLinkage___repr__(self)
3238 __swig_destroy__ = _IMP_em2d.delete_CompleteLinkage
3239 __del__ =
lambda self:
None
3240 CompleteLinkage_swigregister = _IMP_em2d.CompleteLinkage_swigregister
3241 CompleteLinkage_swigregister(CompleteLinkage)
3243 class AverageDistanceLinkage(object):
3244 """Proxy of C++ IMP::em2d::AverageDistanceLinkage class"""
3245 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3248 """__init__(IMP::em2d::AverageDistanceLinkage self) -> AverageDistanceLinkage"""
3249 this = _IMP_em2d.new_AverageDistanceLinkage()
3251 self.this.append(this)
3255 def __call__(self, id1, id2, cluster_set, distances):
3256 """__call__(AverageDistanceLinkage self, unsigned int id1, unsigned int id2, ClusterSet cluster_set, IMP::FloatsList const & distances) -> double"""
3257 return _IMP_em2d.AverageDistanceLinkage___call__(self, id1, id2, cluster_set, distances)
3260 def show(self, out):
3261 """show(AverageDistanceLinkage self, _ostream out)"""
3262 return _IMP_em2d.AverageDistanceLinkage_show(self, out)
3266 """__str__(AverageDistanceLinkage self) -> std::string"""
3267 return _IMP_em2d.AverageDistanceLinkage___str__(self)
3271 """__repr__(AverageDistanceLinkage self) -> std::string"""
3272 return _IMP_em2d.AverageDistanceLinkage___repr__(self)
3274 __swig_destroy__ = _IMP_em2d.delete_AverageDistanceLinkage
3275 __del__ =
lambda self:
None
3276 AverageDistanceLinkage_swigregister = _IMP_em2d.AverageDistanceLinkage_swigregister
3277 AverageDistanceLinkage_swigregister(AverageDistanceLinkage)
3280 """Proxy of C++ IMP::em2d::CollisionCrossSection class"""
3281 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3283 def __init__(self, n_projections, resolution, pixel_size, projection_image_size):
3284 """__init__(IMP::em2d::CollisionCrossSection self, unsigned int n_projections, double resolution, double pixel_size, double projection_image_size) -> CollisionCrossSection"""
3285 this = _IMP_em2d.new_CollisionCrossSection(n_projections, resolution, pixel_size, projection_image_size)
3287 self.this.append(this)
3291 def set_model_particles(self, ps):
3292 """set_model_particles(CollisionCrossSection self, IMP::ParticlesTemp const & ps)"""
3293 return _IMP_em2d.CollisionCrossSection_set_model_particles(self, ps)
3297 """get_ccs(CollisionCrossSection self) -> double"""
3298 return _IMP_em2d.CollisionCrossSection_get_ccs(self)
3301 def show(self, out):
3302 """show(CollisionCrossSection self, _ostream out)"""
3303 return _IMP_em2d.CollisionCrossSection_show(self, out)
3306 def get_version_info(self):
3307 """get_version_info(CollisionCrossSection self) -> VersionInfo"""
3308 return _IMP_em2d.CollisionCrossSection_get_version_info(self)
3312 """__str__(CollisionCrossSection self) -> std::string"""
3313 return _IMP_em2d.CollisionCrossSection___str__(self)
3317 """__repr__(CollisionCrossSection self) -> std::string"""
3318 return _IMP_em2d.CollisionCrossSection___repr__(self)
3323 return _object_cast_to_CollisionCrossSection(o)
3325 CollisionCrossSection_swigregister = _IMP_em2d.CollisionCrossSection_swigregister
3326 CollisionCrossSection_swigregister(CollisionCrossSection)
3329 """Proxy of C++ IMP::em2d::GridStates class"""
3330 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3332 def __init__(self, *args):
3334 __init__(IMP::em2d::GridStates self, IMP::algebra::Vector3Ds const & positions, IMP::algebra::Rotation3Ds const & orientations, IMP::String const & name) -> GridStates
3335 __init__(IMP::em2d::GridStates self, IMP::algebra::Vector3Ds const & positions, IMP::algebra::Rotation3Ds const & orientations) -> GridStates
3337 this = _IMP_em2d.new_GridStates(*args)
3339 self.this.append(this)
3343 def get_position(self, i):
3344 """get_position(GridStates self, unsigned int i) -> Vector3D"""
3345 return _IMP_em2d.GridStates_get_position(self, i)
3348 def get_orientation(self, i):
3349 """get_orientation(GridStates self, unsigned int i) -> Rotation3D"""
3350 return _IMP_em2d.GridStates_get_orientation(self, i)
3353 def get_version_info(self):
3354 """get_version_info(GridStates self) -> VersionInfo"""
3355 return _IMP_em2d.GridStates_get_version_info(self)
3359 """__str__(GridStates self) -> std::string"""
3360 return _IMP_em2d.GridStates___str__(self)
3364 """__repr__(GridStates self) -> std::string"""
3365 return _IMP_em2d.GridStates___repr__(self)
3370 return _object_cast_to_GridStates(o)
3372 GridStates_swigregister = _IMP_em2d.GridStates_swigregister
3373 GridStates_swigregister(GridStates)
3375 class ProjectionStates(GridStates):
3376 """Proxy of C++ IMP::em2d::ProjectionStates class"""
3377 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3379 def __init__(self, *args):
3381 __init__(IMP::em2d::ProjectionStates self, IMP::algebra::Vector3Ds const & positions, IMP::algebra::Rotation3Ds const & orientations, IMP::em2d::Images const & projections, IMP::String const & name) -> ProjectionStates
3382 __init__(IMP::em2d::ProjectionStates self, IMP::algebra::Vector3Ds const & positions, IMP::algebra::Rotation3Ds const & orientations, IMP::em2d::Images const & projections) -> ProjectionStates
3384 this = _IMP_em2d.new_ProjectionStates(*args)
3386 self.this.append(this)
3391 """get_projection(ProjectionStates self, unsigned int i) -> Image"""
3392 return _IMP_em2d.ProjectionStates_get_projection(self, i)
3396 """__str__(ProjectionStates self) -> std::string"""
3397 return _IMP_em2d.ProjectionStates___str__(self)
3401 """__repr__(ProjectionStates self) -> std::string"""
3402 return _IMP_em2d.ProjectionStates___repr__(self)
3407 return _object_cast_to_ProjectionStates(o)
3409 ProjectionStates_swigregister = _IMP_em2d.ProjectionStates_swigregister
3410 ProjectionStates_swigregister(ProjectionStates)
3413 """Proxy of C++ IMP::em2d::DistanceFilter class"""
3414 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3416 def __init__(self, subset_to_act_on, subset_to_restrain, ps_table, max_distance):
3417 """__init__(IMP::em2d::DistanceFilter self, Subset subset_to_act_on, Subset subset_to_restrain, ParticleStatesTable ps_table, double max_distance) -> DistanceFilter"""
3418 this = _IMP_em2d.new_DistanceFilter(subset_to_act_on, subset_to_restrain, ps_table, max_distance)
3420 self.this.append(this)
3424 def show(self, *args):
3426 show(DistanceFilter self, _ostream out)
3427 show(DistanceFilter self)
3429 return _IMP_em2d.DistanceFilter_show(self, *args)
3432 def get_version_info(self):
3433 """get_version_info(DistanceFilter self) -> VersionInfo"""
3434 return _IMP_em2d.DistanceFilter_get_version_info(self)
3438 """__str__(DistanceFilter self) -> std::string"""
3439 return _IMP_em2d.DistanceFilter___str__(self)
3443 """__repr__(DistanceFilter self) -> std::string"""
3444 return _IMP_em2d.DistanceFilter___repr__(self)
3449 return _object_cast_to_DistanceFilter(o)
3451 DistanceFilter_swigregister = _IMP_em2d.DistanceFilter_swigregister
3452 DistanceFilter_swigregister(DistanceFilter)
3455 """Proxy of C++ IMP::em2d::DistanceFilterTable class"""
3456 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3458 def __init__(self, subset_to_act_on, ps_table, max_distance):
3459 """__init__(IMP::em2d::DistanceFilterTable self, Subset subset_to_act_on, ParticleStatesTable ps_table, double max_distance) -> DistanceFilterTable"""
3460 this = _IMP_em2d.new_DistanceFilterTable(subset_to_act_on, ps_table, max_distance)
3462 self.this.append(this)
3466 def show(self, *args):
3468 show(DistanceFilterTable self, _ostream out)
3469 show(DistanceFilterTable self)
3471 return _IMP_em2d.DistanceFilterTable_show(self, *args)
3474 def get_version_info(self):
3475 """get_version_info(DistanceFilterTable self) -> VersionInfo"""
3476 return _IMP_em2d.DistanceFilterTable_get_version_info(self)
3480 """__str__(DistanceFilterTable self) -> std::string"""
3481 return _IMP_em2d.DistanceFilterTable___str__(self)
3485 """__repr__(DistanceFilterTable self) -> std::string"""
3486 return _IMP_em2d.DistanceFilterTable___repr__(self)
3491 return _object_cast_to_DistanceFilterTable(o)
3493 DistanceFilterTable_swigregister = _IMP_em2d.DistanceFilterTable_swigregister
3494 DistanceFilterTable_swigregister(DistanceFilterTable)
3496 class IntsOrder(object):
3497 """Proxy of C++ IMP::em2d::IntsOrder class"""
3498 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3499 __repr__ = _swig_repr
3501 def __call__(self, a, b):
3502 """__call__(IntsOrder self, IMP::Ints const & a, IMP::Ints const & b) -> bool"""
3503 return _IMP_em2d.IntsOrder___call__(self, a, b)
3507 """__init__(IMP::em2d::IntsOrder self) -> IntsOrder"""
3508 this = _IMP_em2d.new_IntsOrder()
3510 self.this.append(this)
3513 __swig_destroy__ = _IMP_em2d.delete_IntsOrder
3514 __del__ =
lambda self:
None
3515 IntsOrder_swigregister = _IMP_em2d.IntsOrder_swigregister
3516 IntsOrder_swigregister(IntsOrder)
3519 """Proxy of C++ IMP::em2d::RigidBodiesImageFitRestraint class"""
3520 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3522 def get_version_info(self):
3523 """get_version_info(RigidBodiesImageFitRestraint self) -> VersionInfo"""
3524 return _IMP_em2d.RigidBodiesImageFitRestraint_get_version_info(self)
3527 def __init__(self, scf, rbs, img):
3528 """__init__(IMP::em2d::RigidBodiesImageFitRestraint self, ScoreFunction scf, IMP::core::RigidBodies const & rbs, Image img) -> RigidBodiesImageFitRestraint"""
3529 this = _IMP_em2d.new_RigidBodiesImageFitRestraint(scf, rbs, img)
3531 self.this.append(this)
3535 def set_projecting_parameters(self, p):
3536 """set_projecting_parameters(RigidBodiesImageFitRestraint self, ProjectingParameters p)"""
3537 return _IMP_em2d.RigidBodiesImageFitRestraint_set_projecting_parameters(self, p)
3540 def set_orientations(self, rb, rots):
3541 """set_orientations(RigidBodiesImageFitRestraint self, RigidBody rb, IMP::algebra::Rotation3Ds const & rots)"""
3542 return _IMP_em2d.RigidBodiesImageFitRestraint_set_orientations(self, rb, rots)
3545 def get_number_of_masks(self, rb):
3546 """get_number_of_masks(RigidBodiesImageFitRestraint self, RigidBody rb) -> unsigned int"""
3547 return _IMP_em2d.RigidBodiesImageFitRestraint_get_number_of_masks(self, rb)
3551 """__str__(RigidBodiesImageFitRestraint self) -> std::string"""
3552 return _IMP_em2d.RigidBodiesImageFitRestraint___str__(self)
3556 """__repr__(RigidBodiesImageFitRestraint self) -> std::string"""
3557 return _IMP_em2d.RigidBodiesImageFitRestraint___repr__(self)
3562 return _object_cast_to_RigidBodiesImageFitRestraint(o)
3564 RigidBodiesImageFitRestraint_swigregister = _IMP_em2d.RigidBodiesImageFitRestraint_swigregister
3565 RigidBodiesImageFitRestraint_swigregister(RigidBodiesImageFitRestraint)
3569 """get_unique_index(Rotation3D rot) -> IMP::Ints"""
3570 return _IMP_em2d.get_unique_index(rot)
3572 """Proxy of C++ IMP::em2d::RelativePositionMover class"""
3573 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3575 def __init__(self, d, max_translation, max_rotation):
3576 """__init__(IMP::em2d::RelativePositionMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RelativePositionMover"""
3577 this = _IMP_em2d.new_RelativePositionMover(d, max_translation, max_rotation)
3579 self.this.append(this)
3583 def add_internal_transformations(self, d, transforms):
3584 """add_internal_transformations(RelativePositionMover self, RigidBody d, IMP::algebra::Transformation3Ds transforms)"""
3585 return _IMP_em2d.RelativePositionMover_add_internal_transformations(self, d, transforms)
3588 def set_random_move_probability(self, p):
3589 """set_random_move_probability(RelativePositionMover self, IMP::Float p)"""
3590 return _IMP_em2d.RelativePositionMover_set_random_move_probability(self, p)
3594 """__str__(RelativePositionMover self) -> std::string"""
3595 return _IMP_em2d.RelativePositionMover___str__(self)
3599 """__repr__(RelativePositionMover self) -> std::string"""
3600 return _IMP_em2d.RelativePositionMover___repr__(self)
3605 return _object_cast_to_RelativePositionMover(o)
3607 RelativePositionMover_swigregister = _IMP_em2d.RelativePositionMover_swigregister
3608 RelativePositionMover_swigregister(RelativePositionMover)
3611 """Proxy of C++ IMP::em2d::DummyRestraint class"""
3612 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3614 def __init__(self, p, q):
3615 """__init__(IMP::em2d::DummyRestraint self, Particle p, Particle q) -> DummyRestraint"""
3616 this = _IMP_em2d.new_DummyRestraint(p, q)
3618 self.this.append(this)
3622 def show(self, *args):
3624 show(DummyRestraint self, _ostream out)
3625 show(DummyRestraint self)
3627 return _IMP_em2d.DummyRestraint_show(self, *args)
3630 def do_get_inputs(self):
3631 """do_get_inputs(DummyRestraint self) -> IMP::ModelObjectsTemp"""
3632 return _IMP_em2d.DummyRestraint_do_get_inputs(self)
3635 def get_version_info(self):
3636 """get_version_info(DummyRestraint self) -> VersionInfo"""
3637 return _IMP_em2d.DummyRestraint_get_version_info(self)
3641 """__str__(DummyRestraint self) -> std::string"""
3642 return _IMP_em2d.DummyRestraint___str__(self)
3646 """__repr__(DummyRestraint self) -> std::string"""
3647 return _IMP_em2d.DummyRestraint___repr__(self)
3652 return _object_cast_to_DummyRestraint(o)
3654 DummyRestraint_swigregister = _IMP_em2d.DummyRestraint_swigregister
3655 DummyRestraint_swigregister(DummyRestraint)
3658 """Proxy of C++ IMP::em2d::ParticlesDummyRestraint class"""
3659 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3661 def __init__(self, sc):
3662 """__init__(IMP::em2d::ParticlesDummyRestraint self, SingletonContainer sc) -> ParticlesDummyRestraint"""
3663 this = _IMP_em2d.new_ParticlesDummyRestraint(sc)
3665 self.this.append(this)
3669 def show(self, *args):
3671 show(ParticlesDummyRestraint self, _ostream out)
3672 show(ParticlesDummyRestraint self)
3674 return _IMP_em2d.ParticlesDummyRestraint_show(self, *args)
3677 def do_get_inputs(self):
3678 """do_get_inputs(ParticlesDummyRestraint self) -> IMP::ModelObjectsTemp"""
3679 return _IMP_em2d.ParticlesDummyRestraint_do_get_inputs(self)
3682 def get_version_info(self):
3683 """get_version_info(ParticlesDummyRestraint self) -> VersionInfo"""
3684 return _IMP_em2d.ParticlesDummyRestraint_get_version_info(self)
3688 """__str__(ParticlesDummyRestraint self) -> std::string"""
3689 return _IMP_em2d.ParticlesDummyRestraint___str__(self)
3693 """__repr__(ParticlesDummyRestraint self) -> std::string"""
3694 return _IMP_em2d.ParticlesDummyRestraint___repr__(self)
3699 return _object_cast_to_ParticlesDummyRestraint(o)
3701 ParticlesDummyRestraint_swigregister = _IMP_em2d.ParticlesDummyRestraint_swigregister
3702 ParticlesDummyRestraint_swigregister(ParticlesDummyRestraint)
3705 """Proxy of C++ IMP::em2d::PCAFitRestraint class"""
3706 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3708 def __init__(self, particles, image_files, pixel_size, resolution=10.0, projection_number=100, reuse_direction=False, n_components=1):
3710 __init__(IMP::em2d::PCAFitRestraint self, IMP::Particles particles, Strings image_files, double pixel_size, double resolution=10.0, unsigned int projection_number=100, bool reuse_direction=False, unsigned int n_components=1) -> PCAFitRestraint
3711 __init__(IMP::em2d::PCAFitRestraint self, IMP::Particles particles, Strings image_files, double pixel_size, double resolution=10.0, unsigned int projection_number=100, bool reuse_direction=False) -> PCAFitRestraint
3712 __init__(IMP::em2d::PCAFitRestraint self, IMP::Particles particles, Strings image_files, double pixel_size, double resolution=10.0, unsigned int projection_number=100) -> PCAFitRestraint
3713 __init__(IMP::em2d::PCAFitRestraint self, IMP::Particles particles, Strings image_files, double pixel_size, double resolution=10.0) -> PCAFitRestraint
3714 __init__(IMP::em2d::PCAFitRestraint self, IMP::Particles particles, Strings image_files, double pixel_size) -> PCAFitRestraint
3716 this = _IMP_em2d.new_PCAFitRestraint(particles, image_files, pixel_size, resolution, projection_number, reuse_direction, n_components)
3718 self.this.append(this)
3722 def get_projection_number(self):
3723 """get_projection_number(PCAFitRestraint self) -> unsigned int"""
3724 return _IMP_em2d.PCAFitRestraint_get_projection_number(self)
3727 def set_projection_number(self, n):
3728 """set_projection_number(PCAFitRestraint self, unsigned int n)"""
3729 return _IMP_em2d.PCAFitRestraint_set_projection_number(self, n)
3732 def get_transformation(self, image_number):
3733 """get_transformation(PCAFitRestraint self, unsigned int image_number) -> Transformation3D"""
3734 return _IMP_em2d.PCAFitRestraint_get_transformation(self, image_number)
3738 """get_cross_correlation_coefficient(PCAFitRestraint self, unsigned int image_number) -> double"""
3739 return _IMP_em2d.PCAFitRestraint_get_cross_correlation_coefficient(self, image_number)
3742 def write_best_projections(self, file_name, evaluate=False):
3744 write_best_projections(PCAFitRestraint self, std::string file_name, bool evaluate=False)
3745 write_best_projections(PCAFitRestraint self, std::string file_name)
3747 return _IMP_em2d.PCAFitRestraint_write_best_projections(self, file_name, evaluate)
3750 def do_get_inputs(self):
3751 """do_get_inputs(PCAFitRestraint self) -> IMP::ModelObjectsTemp"""
3752 return _IMP_em2d.PCAFitRestraint_do_get_inputs(self)
3755 def get_version_info(self):
3756 """get_version_info(PCAFitRestraint self) -> VersionInfo"""
3757 return _IMP_em2d.PCAFitRestraint_get_version_info(self)
3761 """__str__(PCAFitRestraint self) -> std::string"""
3762 return _IMP_em2d.PCAFitRestraint___str__(self)
3766 """__repr__(PCAFitRestraint self) -> std::string"""
3767 return _IMP_em2d.PCAFitRestraint___repr__(self)
3772 return _object_cast_to_em2dPCAFitRestraint(o)
3774 PCAFitRestraint_swigregister = _IMP_em2d.PCAFitRestraint_swigregister
3775 PCAFitRestraint_swigregister(PCAFitRestraint)
3778 """Proxy of C++ std::pair<(IMP::algebra::Transformation2D,double)> class"""
3779 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3780 __repr__ = _swig_repr
3782 def __init__(self, *args):
3784 __init__(std::pair<(IMP::algebra::Transformation2D,double)> self) -> ResultAlign2D
3785 __init__(std::pair<(IMP::algebra::Transformation2D,double)> self, Transformation2D first, double second) -> ResultAlign2D
3786 __init__(std::pair<(IMP::algebra::Transformation2D,double)> self, ResultAlign2D p) -> ResultAlign2D
3788 this = _IMP_em2d.new_ResultAlign2D(*args)
3790 self.this.append(this)
3793 first = _swig_property(_IMP_em2d.ResultAlign2D_first_get, _IMP_em2d.ResultAlign2D_first_set)
3794 second = _swig_property(_IMP_em2d.ResultAlign2D_second_get, _IMP_em2d.ResultAlign2D_second_set)
3798 return str((self.first, self.second))
3799 def __getitem__(self, index):
3804 def __setitem__(self, index, val):
3809 __swig_destroy__ = _IMP_em2d.delete_ResultAlign2D
3810 __del__ =
lambda self:
None
3811 ResultAlign2D_swigregister = _IMP_em2d.ResultAlign2D_swigregister
3812 ResultAlign2D_swigregister(ResultAlign2D)
3815 def _do_hierarchical_clustering_single_linkage(distances):
3816 """_do_hierarchical_clustering_single_linkage(IMP::FloatsList const & distances) -> ClusterSet"""
3817 return _IMP_em2d._do_hierarchical_clustering_single_linkage(distances)
3819 def _do_hierarchical_clustering_complete_linkage(distances):
3820 """_do_hierarchical_clustering_complete_linkage(IMP::FloatsList const & distances) -> ClusterSet"""
3821 return _IMP_em2d._do_hierarchical_clustering_complete_linkage(distances)
3823 def _do_hierarchical_clustering_average_distance_linkage(distances):
3824 """_do_hierarchical_clustering_average_distance_linkage(IMP::FloatsList const & distances) -> ClusterSet"""
3825 return _IMP_em2d._do_hierarchical_clustering_average_distance_linkage(distances)
3827 do_hierarchical_clustering_single_linkage = _do_hierarchical_clustering_single_linkage
3828 do_hierarchical_clustering_complete_linkage = _do_hierarchical_clustering_complete_linkage
3829 do_hierarchical_clustering_average_distance_linkage = _do_hierarchical_clustering_average_distance_linkage
3833 """get_module_version() -> std::string const"""
3834 return _IMP_em2d.get_module_version()
3837 """get_example_path(std::string fname) -> std::string"""
3838 return _IMP_em2d.get_example_path(fname)
3841 """get_data_path(std::string fname) -> std::string"""
3842 return _IMP_em2d.get_data_path(fname)
3844 from .
import _version_check
double get_shift_error(const RegistrationResult &rr1, const RegistrationResult &rr2)
Distance between the two in-plane translations.
Images create_evenly_distributed_projections(const ParticlesTemp &ps, unsigned int n, const ProjectingOptions &options)
void get_autocorrelation2d_no_preprocessing(const cv::Mat &M, cv::Mat &corr)
Autocorrelation without preprocessing.
void do_morphologic_contrast_enhancement(const cv::Mat &m, cv::Mat &result, const cv::Mat &kernel, unsigned int iterations)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
CheckLevel get_check_level()
Get the current audit mode.
void apply_threshold(cv::Mat &m, cv::Mat &result, double threshold=0.0)
em2d::Images get_projections(const ParticlesTemp &ps, const algebra::SphericalVector3Ds &vs, int rows, int cols, const ProjectingOptions &options, Strings names=Strings())
Generates projections from particles.
std::string get_module_version()
Return the version of this module, as a string.
IMPEM2D_BEGIN_NAMESPACE Strings read_selection_file(String fn)
Reads a selection file.
ResultAlign2D get_complete_alignment_with_centers_no_preprocessing(const algebra::Vector2D ¢er1, const algebra::Vector2D ¢er2, const cv::Mat &AUTOC_POLAR1, const cv::Mat &AUTOC_POLAR2)
Strings create_filenames(unsigned long number, String basic_name, String extension)
Various classes to hold sets of particles.
ResultAlign2D get_translational_alignment(const cv::Mat &input, cv::Mat &m_to_align, bool apply=false)
Aligns two matrices translationally.
void get_correlation2d(const cv::Mat &A, const cv::Mat &B, cv::Mat &corr)
Correlation matrix between two 2D matrices using FFT.
cvIntMat create_circular_mask(int rows, int cols, int radius)
ResultAlign2D get_complete_alignment(const cv::Mat &input, cv::Mat &m_to_align, bool apply=false)
void do_dilate_and_shrink_warp(cv::Mat &m, const cv::Mat &grayscale, cv::Mat &kernel)
(U. Adiga, 2005)
em2d::ResultAlign2D get_rotational_alignment(const cv::Mat &input, cv::Mat &m_to_align, bool apply=false)
RegistrationResults get_evenly_distributed_registration_results(unsigned int n_projections)
void apply_variance_filter(Image *input, Image *filtered, int kernelsize)
void apply_diffusion_filter(Image *input, Image *filtered, double beta, double pixelsize, int time_steps)
int do_labeling(const cvIntMat &m, cvIntMat &mat_to_label)
Labeling function for a matrix.
Make CGAL functionality available to IMP.
MatchTemplateResults get_best_template_matches(const cv::Mat &m, const cv::Mat &templ, unsigned int n)
Modify the transformation of a rigid body.
void do_project_particles(const ParticlesTemp &ps, cv::Mat &m2, const algebra::Rotation3D &R, const algebra::Vector3D &translation, const ProjectingOptions &options, MasksManagerPtr masks)
Projects a set of particles. This is the core function that others call.
void get_autocorrelation2d(const cv::Mat &m, cv::Mat &corr)
Computes the autocorrelation matrix.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void apply_mean_outside_mask(Image *img, double radius)
Several general purpose optimizers from the GNU Scientific Library (GSL).
double get_rotation_error(const RegistrationResult &rr1, const RegistrationResult &rr2)
Composable functors to implement scores via compile-time composition.
ResultAlign2D get_rotational_alignment_no_preprocessing(const cv::Mat &POLAR1, const cv::Mat &POLAR2)
void get_fft_using_optimal_size(const cv::Mat &m, cv::Mat &M)
Floats get_histogram(Image *img, int bins)
void write_matrix(cv::Mat &m, std::string name)
Quick and dirty way of writing a OpenCV matrix to a Spider image.
void do_subtract_images(Image *first, Image *second, Image *result)
Code to compute statistical measures.
RegistrationResults get_random_registration_results(unsigned int n, double maximum_shift=5.0)
Provides a set of random registration results (or parameters)
algebra::Vector2Ds do_project_vectors(const algebra::Vector3Ds &ps, const algebra::Rotation3D &R, const algebra::Vector3D &translation)
Project the points contained in Vector3Ds to gen vectors in 2D.
void write_vectors_as_pdb(const algebra::Vector2Ds vs, const String filename)
Common base class for heavy weight IMP objects.
ScoreStates maintain invariants in the Model.
void apply_circular_mask(const cv::Mat &mat, cv::Mat &result, int radius, double value=0.0)
Images read_images(const Strings &names, const ImageReaderWriter *rw)
void write_registration_results(String filename, const RegistrationResults &results)
Writes a set of registration results.
Basic utilities for handling cryo-electron microscopy 3D density maps.
void crop(Image *img, const IntPair ¢er, int size)
void get_morphologic_gradient(const cv::Mat &m, cv::Mat &result, const cv::Mat &kernel)
void apply_mask(const cv::Mat &m, cv::Mat &result, const cvIntMat &mask, double val)
Applies a binary mask to an image.
double get_cross_correlation_coefficient(Image *im1, Image *im2)
Cross correlation between two images.
void save_images(Images images, const Strings &names, const ImageReaderWriter *rw)
void get_domes(cv::Mat &m, cv::Mat &result, double h)
Gets the domes of m with height h.
void do_normalize(Image *im, bool force=false)
Interface to specialized Particle types (e.g. atoms)
void do_matrix_to_image_flip(cv::Mat &m)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
ResultAlign2D get_translational_alignment_no_preprocessing(const cv::Mat &M1, const cv::Mat &M2)
void get_correlation2d_no_preprocessing(const cv::Mat &M1, const cv::Mat &M2, cv::Mat &corr)
Correlation without preprocessing.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
unsigned int get_enclosing_image_size(const ParticlesTemp &ps, double pixel_size, unsigned int slack)
Get an automatic size for an image that contains the particles.
std::pair< algebra::Transformation2D, double > ResultAlign2D
void do_resample_polar(Image *im1, Image *im2, const PolarResamplingParameters &polar_params)
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
em2d::ResultAlign2D get_complete_alignment_no_preprocessing(const cv::Mat &input, const cv::Mat &INPUT, const cv::Mat &POLAR1, cv::Mat &m_to_align, const cv::Mat &POLAR2, bool apply=false)
double get_overlap_percentage(cv::Mat &m1, cv::Mat &m2, const IntPair ¢er)
RegistrationResults read_registration_results(const String &filename)
Reads a set of registration results.
void get_diffusion_filtering_partial_derivative(const cv::Mat &m, cv::Mat &der, double dx, double dy, double ang)
Ints get_unique_index(const algebra::Rotation3D &rot)
Map a rotation to a list of 4 "unique" integers.
double get_global_score(const RegistrationResults &RRs)
void do_place(cv::Mat &mask, cv::Mat &m, const algebra::Vector2D &v)
void do_morphologic_reconstruction(const cv::Mat &mask, cv::Mat &marker, int neighbors_mode=4)
morphologic grayscale reconstruction (L Vincent, 1993)
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
Support for the RMF file format for storing hierarchical molecular data and markup.
Divide-and-conquer inferential optimization in discrete space.
Support for small angle X-ray scattering (SAXS) data.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
void get_projection(em2d::Image *img, const ParticlesTemp &ps, const RegistrationResult ®, const ProjectingOptions &options, MasksManagerPtr masks=MasksManagerPtr(), String name="")
Generates a projection from particles.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
A restraint is a term in an IMP ScoringFunction.
void get_spectrum(const cv::Mat &m, cv::Mat &real, cv::Mat &imag)
Computes the fft of a matrix and returns the real and imaginary matrices.