10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_em2d', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_em2d', fp, pathname, description)
32 _IMP_em2d = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_EM2D_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_EM2D_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_em2d.delete_IMP_EM2D_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_EM2D_SwigPyIterator self) -> PyObject *"""
125 return _IMP_em2d.IMP_EM2D_SwigPyIterator_value(self)
130 incr(IMP_EM2D_SwigPyIterator self, size_t n=1) -> IMP_EM2D_SwigPyIterator
131 incr(IMP_EM2D_SwigPyIterator self) -> IMP_EM2D_SwigPyIterator
133 return _IMP_em2d.IMP_EM2D_SwigPyIterator_incr(self, n)
138 decr(IMP_EM2D_SwigPyIterator self, size_t n=1) -> IMP_EM2D_SwigPyIterator
139 decr(IMP_EM2D_SwigPyIterator self) -> IMP_EM2D_SwigPyIterator
141 return _IMP_em2d.IMP_EM2D_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_em2d.IMP_EM2D_SwigPyIterator_distance(self, x)
150 """equal(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> bool"""
151 return _IMP_em2d.IMP_EM2D_SwigPyIterator_equal(self, x)
155 """copy(IMP_EM2D_SwigPyIterator self) -> IMP_EM2D_SwigPyIterator"""
156 return _IMP_em2d.IMP_EM2D_SwigPyIterator_copy(self)
160 """next(IMP_EM2D_SwigPyIterator self) -> PyObject *"""
161 return _IMP_em2d.IMP_EM2D_SwigPyIterator_next(self)
165 """__next__(IMP_EM2D_SwigPyIterator self) -> PyObject *"""
166 return _IMP_em2d.IMP_EM2D_SwigPyIterator___next__(self)
170 """previous(IMP_EM2D_SwigPyIterator self) -> PyObject *"""
171 return _IMP_em2d.IMP_EM2D_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator"""
176 return _IMP_em2d.IMP_EM2D_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> bool"""
181 return _IMP_em2d.IMP_EM2D_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> bool"""
186 return _IMP_em2d.IMP_EM2D_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator"""
191 return _IMP_em2d.IMP_EM2D_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator"""
196 return _IMP_em2d.IMP_EM2D_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator"""
201 return _IMP_em2d.IMP_EM2D_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_EM2D_SwigPyIterator self, ptrdiff_t n) -> IMP_EM2D_SwigPyIterator
207 __sub__(IMP_EM2D_SwigPyIterator self, IMP_EM2D_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_em2d.IMP_EM2D_SwigPyIterator___sub__(self, *args)
213 IMP_EM2D_SwigPyIterator_swigregister = _IMP_em2d.IMP_EM2D_SwigPyIterator_swigregister
214 IMP_EM2D_SwigPyIterator_swigregister(IMP_EM2D_SwigPyIterator)
223 _IMP_em2d.IMP_DEBUG_swigconstant(_IMP_em2d)
224 IMP_DEBUG = _IMP_em2d.IMP_DEBUG
226 _IMP_em2d.IMP_RELEASE_swigconstant(_IMP_em2d)
227 IMP_RELEASE = _IMP_em2d.IMP_RELEASE
229 _IMP_em2d.IMP_SILENT_swigconstant(_IMP_em2d)
230 IMP_SILENT = _IMP_em2d.IMP_SILENT
232 _IMP_em2d.IMP_PROGRESS_swigconstant(_IMP_em2d)
233 IMP_PROGRESS = _IMP_em2d.IMP_PROGRESS
235 _IMP_em2d.IMP_TERSE_swigconstant(_IMP_em2d)
236 IMP_TERSE = _IMP_em2d.IMP_TERSE
238 _IMP_em2d.IMP_VERBOSE_swigconstant(_IMP_em2d)
239 IMP_VERBOSE = _IMP_em2d.IMP_VERBOSE
241 _IMP_em2d.IMP_MEMORY_swigconstant(_IMP_em2d)
242 IMP_MEMORY = _IMP_em2d.IMP_MEMORY
244 _IMP_em2d.IMP_NONE_swigconstant(_IMP_em2d)
245 IMP_NONE = _IMP_em2d.IMP_NONE
247 _IMP_em2d.IMP_USAGE_swigconstant(_IMP_em2d)
248 IMP_USAGE = _IMP_em2d.IMP_USAGE
250 _IMP_em2d.IMP_INTERNAL_swigconstant(_IMP_em2d)
251 IMP_INTERNAL = _IMP_em2d.IMP_INTERNAL
253 _IMP_em2d.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_em2d)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_em2d.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_em2d.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_em2d)
257 IMP_COMPILER_HAS_AUTO = _IMP_em2d.IMP_COMPILER_HAS_AUTO
259 _IMP_em2d.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_em2d)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_em2d.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_em2d.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_em2d)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_em2d.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_em2d.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_em2d.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_em2d.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_em2d)
269 IMP_KERNEL_HAS_NUMPY = _IMP_em2d.IMP_KERNEL_HAS_NUMPY
271 _IMP_em2d.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_em2d)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_em2d.IMP_KERNEL_HAS_GPERFTOOLS
274 _IMP_em2d.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_em2d)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_em2d.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
277 _IMP_em2d.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_em2d)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_em2d.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
280 _IMP_em2d.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_em2d)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_em2d.IMPKERNEL_SHOW_WARNINGS
284 class _DirectorObjects(object):
285 """@internal Simple class to keep references to director objects
286 to prevent premature deletion."""
289 def register(self, obj):
290 """Take a reference to a director object; will only work for
291 refcounted C++ classes"""
292 if hasattr(obj,
'get_ref_count'):
293 self._objects.append(obj)
295 """Only drop our reference and allow cleanup by Python if no other
296 Python references exist (we hold 3 references: one in self._objects,
297 one in x, and one in the argument list for getrefcount) *and* no
298 other C++ references exist (the Python object always holds one)"""
299 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
300 or x.get_ref_count() > 1]
304 def get_object_count(self):
305 """Get number of director objects (useful for testing only)"""
306 return len(self._objects)
307 _director_objects = _DirectorObjects()
309 class _ostream(object):
310 """Proxy of C++ std::ostream class"""
311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
313 def __init__(self, *args, **kwargs):
314 raise AttributeError(
"No constructor defined")
315 __repr__ = _swig_repr
317 def write(self, osa_buf):
318 """write(_ostream self, char const * osa_buf)"""
319 return _IMP_em2d._ostream_write(self, osa_buf)
321 _ostream_swigregister = _IMP_em2d._ostream_swigregister
322 _ostream_swigregister(_ostream)
325 _IMP_em2d.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_em2d)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_em2d.IMP_COMPILER_HAS_OVERRIDE
328 _IMP_em2d.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_em2d)
329 IMP_COMPILER_HAS_FINAL = _IMP_em2d.IMP_COMPILER_HAS_FINAL
331 _IMP_em2d.IMP_HAS_NOEXCEPT_swigconstant(_IMP_em2d)
332 IMP_HAS_NOEXCEPT = _IMP_em2d.IMP_HAS_NOEXCEPT
334 _IMP_em2d.IMP_C_OPEN_BINARY_swigconstant(_IMP_em2d)
335 IMP_C_OPEN_BINARY = _IMP_em2d.IMP_C_OPEN_BINARY
338 _IMP_em2d.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_CGAL_HAS_BOOST_FILESYSTEM
341 _IMP_em2d.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
344 _IMP_em2d.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_em2d.IMP_CGAL_HAS_BOOST_RANDOM
347 _IMP_em2d.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_CGAL_HAS_BOOST_SYSTEM
350 _IMP_em2d.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_em2d)
351 IMP_CGAL_HAS_NUMPY = _IMP_em2d.IMP_CGAL_HAS_NUMPY
353 _IMP_em2d.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_em2d)
354 IMPCGAL_SHOW_WARNINGS = _IMP_em2d.IMPCGAL_SHOW_WARNINGS
357 _IMP_em2d.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_em2d.IMP_ALGEBRA_HAS_IMP_CGAL
360 _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
363 _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
366 _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_RANDOM
369 _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_ALGEBRA_HAS_BOOST_SYSTEM
372 _IMP_em2d.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_em2d)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_em2d.IMP_ALGEBRA_HAS_CGAL
375 _IMP_em2d.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_em2d)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_em2d.IMP_ALGEBRA_HAS_NUMPY
378 _IMP_em2d.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_em2d)
379 IMP_ALGEBRA_HAS_ANN = _IMP_em2d.IMP_ALGEBRA_HAS_ANN
381 _IMP_em2d.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_em2d)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_em2d.IMPALGEBRA_SHOW_WARNINGS
385 _IMP_em2d.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_em2d.IMP_DISPLAY_HAS_IMP_CGAL
388 _IMP_em2d.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
391 _IMP_em2d.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
394 _IMP_em2d.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_em2d.IMP_DISPLAY_HAS_BOOST_RANDOM
397 _IMP_em2d.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_DISPLAY_HAS_BOOST_SYSTEM
400 _IMP_em2d.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_em2d)
401 IMP_DISPLAY_HAS_CGAL = _IMP_em2d.IMP_DISPLAY_HAS_CGAL
403 _IMP_em2d.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_em2d)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_em2d.IMP_DISPLAY_HAS_NUMPY
406 _IMP_em2d.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_em2d)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_em2d.IMPDISPLAY_SHOW_WARNINGS
410 _IMP_em2d.IMP_GSL_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
411 IMP_GSL_HAS_IMP_CGAL = _IMP_em2d.IMP_GSL_HAS_IMP_CGAL
413 _IMP_em2d.IMP_GSL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
414 IMP_GSL_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_GSL_HAS_BOOST_FILESYSTEM
416 _IMP_em2d.IMP_GSL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
417 IMP_GSL_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_GSL_HAS_BOOST_PROGRAMOPTIONS
419 _IMP_em2d.IMP_GSL_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
420 IMP_GSL_HAS_BOOST_RANDOM = _IMP_em2d.IMP_GSL_HAS_BOOST_RANDOM
422 _IMP_em2d.IMP_GSL_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
423 IMP_GSL_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_GSL_HAS_BOOST_SYSTEM
425 _IMP_em2d.IMP_GSL_HAS_CGAL_swigconstant(_IMP_em2d)
426 IMP_GSL_HAS_CGAL = _IMP_em2d.IMP_GSL_HAS_CGAL
428 _IMP_em2d.IMP_GSL_HAS_NUMPY_swigconstant(_IMP_em2d)
429 IMP_GSL_HAS_NUMPY = _IMP_em2d.IMP_GSL_HAS_NUMPY
431 _IMP_em2d.IMPGSL_SHOW_WARNINGS_swigconstant(_IMP_em2d)
432 IMPGSL_SHOW_WARNINGS = _IMP_em2d.IMPGSL_SHOW_WARNINGS
435 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
436 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
438 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
439 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
441 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
442 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
444 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
445 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
447 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
448 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
450 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_em2d)
451 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_CGAL
453 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_em2d)
454 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_HDF5
456 _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_em2d)
457 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_em2d.IMP_SCORE_FUNCTOR_HAS_NUMPY
459 _IMP_em2d.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_em2d)
460 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_em2d.IMPSCOREFUNCTOR_SHOW_WARNINGS
463 _IMP_em2d.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
464 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_em2d.IMP_STATISTICS_HAS_IMP_CGAL
466 _IMP_em2d.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
467 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
469 _IMP_em2d.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
470 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
472 _IMP_em2d.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
473 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_em2d.IMP_STATISTICS_HAS_BOOST_RANDOM
475 _IMP_em2d.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
476 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_STATISTICS_HAS_BOOST_SYSTEM
478 _IMP_em2d.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_em2d)
479 IMP_STATISTICS_HAS_CGAL = _IMP_em2d.IMP_STATISTICS_HAS_CGAL
481 _IMP_em2d.IMP_STATISTICS_HAS_NUMPY_swigconstant(_IMP_em2d)
482 IMP_STATISTICS_HAS_NUMPY = _IMP_em2d.IMP_STATISTICS_HAS_NUMPY
484 _IMP_em2d.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_em2d)
485 IMPSTATISTICS_SHOW_WARNINGS = _IMP_em2d.IMPSTATISTICS_SHOW_WARNINGS
488 _IMP_em2d.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
489 IMP_CORE_HAS_IMP_CGAL = _IMP_em2d.IMP_CORE_HAS_IMP_CGAL
491 _IMP_em2d.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
492 IMP_CORE_HAS_IMP_KERNEL = _IMP_em2d.IMP_CORE_HAS_IMP_KERNEL
494 _IMP_em2d.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
495 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_CORE_HAS_BOOST_FILESYSTEM
497 _IMP_em2d.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
498 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
500 _IMP_em2d.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
501 IMP_CORE_HAS_BOOST_RANDOM = _IMP_em2d.IMP_CORE_HAS_BOOST_RANDOM
503 _IMP_em2d.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
504 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_CORE_HAS_BOOST_SYSTEM
506 _IMP_em2d.IMP_CORE_HAS_CGAL_swigconstant(_IMP_em2d)
507 IMP_CORE_HAS_CGAL = _IMP_em2d.IMP_CORE_HAS_CGAL
509 _IMP_em2d.IMP_CORE_HAS_HDF5_swigconstant(_IMP_em2d)
510 IMP_CORE_HAS_HDF5 = _IMP_em2d.IMP_CORE_HAS_HDF5
512 _IMP_em2d.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_em2d)
513 IMP_CORE_HAS_NUMPY = _IMP_em2d.IMP_CORE_HAS_NUMPY
515 _IMP_em2d.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_em2d)
516 IMPCORE_SHOW_WARNINGS = _IMP_em2d.IMPCORE_SHOW_WARNINGS
519 _IMP_em2d.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_em2d)
520 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_em2d.IMP_CONTAINER_HAS_IMP_ALGEBRA
522 _IMP_em2d.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
523 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_em2d.IMP_CONTAINER_HAS_IMP_CGAL
525 _IMP_em2d.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_em2d)
526 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_em2d.IMP_CONTAINER_HAS_IMP_DISPLAY
528 _IMP_em2d.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
529 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_em2d.IMP_CONTAINER_HAS_IMP_KERNEL
531 _IMP_em2d.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
532 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
534 _IMP_em2d.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
535 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
537 _IMP_em2d.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
538 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
540 _IMP_em2d.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
541 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_em2d.IMP_CONTAINER_HAS_BOOST_RANDOM
543 _IMP_em2d.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
544 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_CONTAINER_HAS_BOOST_SYSTEM
546 _IMP_em2d.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_em2d)
547 IMP_CONTAINER_HAS_CGAL = _IMP_em2d.IMP_CONTAINER_HAS_CGAL
549 _IMP_em2d.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_em2d)
550 IMP_CONTAINER_HAS_HDF5 = _IMP_em2d.IMP_CONTAINER_HAS_HDF5
552 _IMP_em2d.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_em2d)
553 IMP_CONTAINER_HAS_NUMPY = _IMP_em2d.IMP_CONTAINER_HAS_NUMPY
555 _IMP_em2d.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
556 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_em2d.IMP_CONTAINER_HAS_PYTHON_IHM
558 _IMP_em2d.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_em2d)
559 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_em2d.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
561 _IMP_em2d.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_em2d)
562 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_em2d.IMP_CONTAINER_HAS_ROBIN_MAP
564 _IMP_em2d.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_em2d)
565 IMPCONTAINER_SHOW_WARNINGS = _IMP_em2d.IMPCONTAINER_SHOW_WARNINGS
568 _IMP_em2d.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
569 IMP_ATOM_HAS_IMP_CGAL = _IMP_em2d.IMP_ATOM_HAS_IMP_CGAL
571 _IMP_em2d.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
572 IMP_ATOM_HAS_IMP_KERNEL = _IMP_em2d.IMP_ATOM_HAS_IMP_KERNEL
574 _IMP_em2d.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
575 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
577 _IMP_em2d.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
578 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
580 _IMP_em2d.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
581 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_em2d.IMP_ATOM_HAS_BOOST_RANDOM
583 _IMP_em2d.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
584 IMP_ATOM_HAS_BOOST_REGEX = _IMP_em2d.IMP_ATOM_HAS_BOOST_REGEX
586 _IMP_em2d.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
587 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_ATOM_HAS_BOOST_SYSTEM
589 _IMP_em2d.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_em2d)
590 IMP_ATOM_HAS_CGAL = _IMP_em2d.IMP_ATOM_HAS_CGAL
592 _IMP_em2d.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_em2d)
593 IMP_ATOM_HAS_HDF5 = _IMP_em2d.IMP_ATOM_HAS_HDF5
595 _IMP_em2d.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_em2d)
596 IMP_ATOM_HAS_NUMPY = _IMP_em2d.IMP_ATOM_HAS_NUMPY
598 _IMP_em2d.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
599 IMP_ATOM_HAS_PYTHON_IHM = _IMP_em2d.IMP_ATOM_HAS_PYTHON_IHM
601 _IMP_em2d.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_em2d)
602 IMPATOM_SHOW_WARNINGS = _IMP_em2d.IMPATOM_SHOW_WARNINGS
604 _IMP_em2d.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_em2d)
605 IMP_ATOM_TYPE_INDEX = _IMP_em2d.IMP_ATOM_TYPE_INDEX
607 _IMP_em2d.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_em2d)
608 IMP_RESIDUE_TYPE_INDEX = _IMP_em2d.IMP_RESIDUE_TYPE_INDEX
610 _IMP_em2d.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_em2d)
611 IMP_HIERARCHY_TYPE_INDEX = _IMP_em2d.IMP_HIERARCHY_TYPE_INDEX
613 _IMP_em2d.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_em2d)
614 IMP_CHAIN_TYPE_INDEX = _IMP_em2d.IMP_CHAIN_TYPE_INDEX
617 _IMP_em2d.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
618 IMP_EM_HAS_IMP_CGAL = _IMP_em2d.IMP_EM_HAS_IMP_CGAL
620 _IMP_em2d.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_em2d)
621 IMP_EM_HAS_IMP_CONTAINER = _IMP_em2d.IMP_EM_HAS_IMP_CONTAINER
623 _IMP_em2d.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_em2d)
624 IMP_EM_HAS_IMP_DISPLAY = _IMP_em2d.IMP_EM_HAS_IMP_DISPLAY
626 _IMP_em2d.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
627 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_EM_HAS_IMP_SCORE_FUNCTOR
629 _IMP_em2d.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
630 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_EM_HAS_BOOST_FILESYSTEM
632 _IMP_em2d.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
633 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
635 _IMP_em2d.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
636 IMP_EM_HAS_BOOST_RANDOM = _IMP_em2d.IMP_EM_HAS_BOOST_RANDOM
638 _IMP_em2d.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
639 IMP_EM_HAS_BOOST_REGEX = _IMP_em2d.IMP_EM_HAS_BOOST_REGEX
641 _IMP_em2d.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
642 IMP_EM_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_EM_HAS_BOOST_SYSTEM
644 _IMP_em2d.IMP_EM_HAS_CGAL_swigconstant(_IMP_em2d)
645 IMP_EM_HAS_CGAL = _IMP_em2d.IMP_EM_HAS_CGAL
647 _IMP_em2d.IMP_EM_HAS_HDF5_swigconstant(_IMP_em2d)
648 IMP_EM_HAS_HDF5 = _IMP_em2d.IMP_EM_HAS_HDF5
650 _IMP_em2d.IMP_EM_HAS_NUMPY_swigconstant(_IMP_em2d)
651 IMP_EM_HAS_NUMPY = _IMP_em2d.IMP_EM_HAS_NUMPY
653 _IMP_em2d.IMP_EM_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
654 IMP_EM_HAS_PYTHON_IHM = _IMP_em2d.IMP_EM_HAS_PYTHON_IHM
656 _IMP_em2d.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_em2d)
657 IMPEM_SHOW_WARNINGS = _IMP_em2d.IMPEM_SHOW_WARNINGS
660 _IMP_em2d.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
661 IMP_SAXS_HAS_IMP_CGAL = _IMP_em2d.IMP_SAXS_HAS_IMP_CGAL
663 _IMP_em2d.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_em2d)
664 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_em2d.IMP_SAXS_HAS_IMP_CONTAINER
666 _IMP_em2d.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_em2d)
667 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_em2d.IMP_SAXS_HAS_IMP_DISPLAY
669 _IMP_em2d.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
670 IMP_SAXS_HAS_IMP_KERNEL = _IMP_em2d.IMP_SAXS_HAS_IMP_KERNEL
672 _IMP_em2d.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
673 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
675 _IMP_em2d.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
676 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_SAXS_HAS_BOOST_FILESYSTEM
678 _IMP_em2d.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
679 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
681 _IMP_em2d.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
682 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_em2d.IMP_SAXS_HAS_BOOST_RANDOM
684 _IMP_em2d.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
685 IMP_SAXS_HAS_BOOST_REGEX = _IMP_em2d.IMP_SAXS_HAS_BOOST_REGEX
687 _IMP_em2d.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
688 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_SAXS_HAS_BOOST_SYSTEM
690 _IMP_em2d.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_em2d)
691 IMP_SAXS_HAS_CGAL = _IMP_em2d.IMP_SAXS_HAS_CGAL
693 _IMP_em2d.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_em2d)
694 IMP_SAXS_HAS_HDF5 = _IMP_em2d.IMP_SAXS_HAS_HDF5
696 _IMP_em2d.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_em2d)
697 IMP_SAXS_HAS_NUMPY = _IMP_em2d.IMP_SAXS_HAS_NUMPY
699 _IMP_em2d.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
700 IMP_SAXS_HAS_PYTHON_IHM = _IMP_em2d.IMP_SAXS_HAS_PYTHON_IHM
702 _IMP_em2d.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_em2d)
703 IMPSAXS_SHOW_WARNINGS = _IMP_em2d.IMPSAXS_SHOW_WARNINGS
706 _IMP_em2d.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
707 IMP_ISD_HAS_IMP_CGAL = _IMP_em2d.IMP_ISD_HAS_IMP_CGAL
709 _IMP_em2d.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_em2d)
710 IMP_ISD_HAS_IMP_DISPLAY = _IMP_em2d.IMP_ISD_HAS_IMP_DISPLAY
712 _IMP_em2d.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
713 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
715 _IMP_em2d.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
716 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_ISD_HAS_BOOST_FILESYSTEM
718 _IMP_em2d.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
719 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
721 _IMP_em2d.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
722 IMP_ISD_HAS_BOOST_RANDOM = _IMP_em2d.IMP_ISD_HAS_BOOST_RANDOM
724 _IMP_em2d.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
725 IMP_ISD_HAS_BOOST_REGEX = _IMP_em2d.IMP_ISD_HAS_BOOST_REGEX
727 _IMP_em2d.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
728 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_ISD_HAS_BOOST_SYSTEM
730 _IMP_em2d.IMP_ISD_HAS_CGAL_swigconstant(_IMP_em2d)
731 IMP_ISD_HAS_CGAL = _IMP_em2d.IMP_ISD_HAS_CGAL
733 _IMP_em2d.IMP_ISD_HAS_HDF5_swigconstant(_IMP_em2d)
734 IMP_ISD_HAS_HDF5 = _IMP_em2d.IMP_ISD_HAS_HDF5
736 _IMP_em2d.IMP_ISD_HAS_NUMPY_swigconstant(_IMP_em2d)
737 IMP_ISD_HAS_NUMPY = _IMP_em2d.IMP_ISD_HAS_NUMPY
739 _IMP_em2d.IMP_ISD_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
740 IMP_ISD_HAS_PYTHON_IHM = _IMP_em2d.IMP_ISD_HAS_PYTHON_IHM
742 _IMP_em2d.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_em2d)
743 IMPISD_SHOW_WARNINGS = _IMP_em2d.IMPISD_SHOW_WARNINGS
746 _IMP_em2d.IMP_RMF_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
747 IMP_RMF_HAS_IMP_CGAL = _IMP_em2d.IMP_RMF_HAS_IMP_CGAL
749 _IMP_em2d.IMP_RMF_HAS_IMP_EM_swigconstant(_IMP_em2d)
750 IMP_RMF_HAS_IMP_EM = _IMP_em2d.IMP_RMF_HAS_IMP_EM
752 _IMP_em2d.IMP_RMF_HAS_IMP_SAXS_swigconstant(_IMP_em2d)
753 IMP_RMF_HAS_IMP_SAXS = _IMP_em2d.IMP_RMF_HAS_IMP_SAXS
755 _IMP_em2d.IMP_RMF_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
756 IMP_RMF_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_RMF_HAS_IMP_SCORE_FUNCTOR
758 _IMP_em2d.IMP_RMF_HAS_IMP_STATISTICS_swigconstant(_IMP_em2d)
759 IMP_RMF_HAS_IMP_STATISTICS = _IMP_em2d.IMP_RMF_HAS_IMP_STATISTICS
761 _IMP_em2d.IMP_RMF_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
762 IMP_RMF_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_RMF_HAS_BOOST_FILESYSTEM
764 _IMP_em2d.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
765 IMP_RMF_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_RMF_HAS_BOOST_PROGRAMOPTIONS
767 _IMP_em2d.IMP_RMF_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
768 IMP_RMF_HAS_BOOST_RANDOM = _IMP_em2d.IMP_RMF_HAS_BOOST_RANDOM
770 _IMP_em2d.IMP_RMF_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
771 IMP_RMF_HAS_BOOST_REGEX = _IMP_em2d.IMP_RMF_HAS_BOOST_REGEX
773 _IMP_em2d.IMP_RMF_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
774 IMP_RMF_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_RMF_HAS_BOOST_SYSTEM
776 _IMP_em2d.IMP_RMF_HAS_CGAL_swigconstant(_IMP_em2d)
777 IMP_RMF_HAS_CGAL = _IMP_em2d.IMP_RMF_HAS_CGAL
779 _IMP_em2d.IMP_RMF_HAS_HDF5_swigconstant(_IMP_em2d)
780 IMP_RMF_HAS_HDF5 = _IMP_em2d.IMP_RMF_HAS_HDF5
782 _IMP_em2d.IMP_RMF_HAS_NUMPY_swigconstant(_IMP_em2d)
783 IMP_RMF_HAS_NUMPY = _IMP_em2d.IMP_RMF_HAS_NUMPY
785 _IMP_em2d.IMP_RMF_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
786 IMP_RMF_HAS_PYTHON_IHM = _IMP_em2d.IMP_RMF_HAS_PYTHON_IHM
788 _IMP_em2d.IMPRMF_SHOW_WARNINGS_swigconstant(_IMP_em2d)
789 IMPRMF_SHOW_WARNINGS = _IMP_em2d.IMPRMF_SHOW_WARNINGS
793 _IMP_em2d.IMP_DOMINO_HAS_IMP_ATOM_swigconstant(_IMP_em2d)
794 IMP_DOMINO_HAS_IMP_ATOM = _IMP_em2d.IMP_DOMINO_HAS_IMP_ATOM
796 _IMP_em2d.IMP_DOMINO_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
797 IMP_DOMINO_HAS_IMP_CGAL = _IMP_em2d.IMP_DOMINO_HAS_IMP_CGAL
799 _IMP_em2d.IMP_DOMINO_HAS_IMP_EM_swigconstant(_IMP_em2d)
800 IMP_DOMINO_HAS_IMP_EM = _IMP_em2d.IMP_DOMINO_HAS_IMP_EM
802 _IMP_em2d.IMP_DOMINO_HAS_IMP_ISD_swigconstant(_IMP_em2d)
803 IMP_DOMINO_HAS_IMP_ISD = _IMP_em2d.IMP_DOMINO_HAS_IMP_ISD
805 _IMP_em2d.IMP_DOMINO_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
806 IMP_DOMINO_HAS_IMP_KERNEL = _IMP_em2d.IMP_DOMINO_HAS_IMP_KERNEL
808 _IMP_em2d.IMP_DOMINO_HAS_IMP_RMF_swigconstant(_IMP_em2d)
809 IMP_DOMINO_HAS_IMP_RMF = _IMP_em2d.IMP_DOMINO_HAS_IMP_RMF
811 _IMP_em2d.IMP_DOMINO_HAS_IMP_SAXS_swigconstant(_IMP_em2d)
812 IMP_DOMINO_HAS_IMP_SAXS = _IMP_em2d.IMP_DOMINO_HAS_IMP_SAXS
814 _IMP_em2d.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
815 IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_DOMINO_HAS_IMP_SCORE_FUNCTOR
817 _IMP_em2d.IMP_DOMINO_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_em2d)
818 IMP_DOMINO_HAS_BOOST_FILESYSTEM = _IMP_em2d.IMP_DOMINO_HAS_BOOST_FILESYSTEM
820 _IMP_em2d.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_em2d)
821 IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS = _IMP_em2d.IMP_DOMINO_HAS_BOOST_PROGRAMOPTIONS
823 _IMP_em2d.IMP_DOMINO_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
824 IMP_DOMINO_HAS_BOOST_RANDOM = _IMP_em2d.IMP_DOMINO_HAS_BOOST_RANDOM
826 _IMP_em2d.IMP_DOMINO_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
827 IMP_DOMINO_HAS_BOOST_REGEX = _IMP_em2d.IMP_DOMINO_HAS_BOOST_REGEX
829 _IMP_em2d.IMP_DOMINO_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
830 IMP_DOMINO_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_DOMINO_HAS_BOOST_SYSTEM
832 _IMP_em2d.IMP_DOMINO_HAS_CGAL_swigconstant(_IMP_em2d)
833 IMP_DOMINO_HAS_CGAL = _IMP_em2d.IMP_DOMINO_HAS_CGAL
835 _IMP_em2d.IMP_DOMINO_HAS_HDF5_swigconstant(_IMP_em2d)
836 IMP_DOMINO_HAS_HDF5 = _IMP_em2d.IMP_DOMINO_HAS_HDF5
838 _IMP_em2d.IMP_DOMINO_HAS_NUMPY_swigconstant(_IMP_em2d)
839 IMP_DOMINO_HAS_NUMPY = _IMP_em2d.IMP_DOMINO_HAS_NUMPY
841 _IMP_em2d.IMP_DOMINO_HAS_RMF_swigconstant(_IMP_em2d)
842 IMP_DOMINO_HAS_RMF = _IMP_em2d.IMP_DOMINO_HAS_RMF
844 _IMP_em2d.IMP_DOMINO_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
845 IMP_DOMINO_HAS_PYTHON_IHM = _IMP_em2d.IMP_DOMINO_HAS_PYTHON_IHM
847 _IMP_em2d.IMPDOMINO_SHOW_WARNINGS_swigconstant(_IMP_em2d)
848 IMPDOMINO_SHOW_WARNINGS = _IMP_em2d.IMPDOMINO_SHOW_WARNINGS
852 _IMP_em2d.IMP_EM2D_HAS_IMP_CGAL_swigconstant(_IMP_em2d)
853 IMP_EM2D_HAS_IMP_CGAL = _IMP_em2d.IMP_EM2D_HAS_IMP_CGAL
855 _IMP_em2d.IMP_EM2D_HAS_IMP_ISD_swigconstant(_IMP_em2d)
856 IMP_EM2D_HAS_IMP_ISD = _IMP_em2d.IMP_EM2D_HAS_IMP_ISD
858 _IMP_em2d.IMP_EM2D_HAS_IMP_KERNEL_swigconstant(_IMP_em2d)
859 IMP_EM2D_HAS_IMP_KERNEL = _IMP_em2d.IMP_EM2D_HAS_IMP_KERNEL
861 _IMP_em2d.IMP_EM2D_HAS_IMP_RMF_swigconstant(_IMP_em2d)
862 IMP_EM2D_HAS_IMP_RMF = _IMP_em2d.IMP_EM2D_HAS_IMP_RMF
864 _IMP_em2d.IMP_EM2D_HAS_IMP_SAXS_swigconstant(_IMP_em2d)
865 IMP_EM2D_HAS_IMP_SAXS = _IMP_em2d.IMP_EM2D_HAS_IMP_SAXS
867 _IMP_em2d.IMP_EM2D_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_em2d)
868 IMP_EM2D_HAS_IMP_SCORE_FUNCTOR = _IMP_em2d.IMP_EM2D_HAS_IMP_SCORE_FUNCTOR
870 _IMP_em2d.IMP_EM2D_HAS_IMP_STATISTICS_swigconstant(_IMP_em2d)
871 IMP_EM2D_HAS_IMP_STATISTICS = _IMP_em2d.IMP_EM2D_HAS_IMP_STATISTICS
873 _IMP_em2d.IMP_EM2D_HAS_BOOST_GRAPH_swigconstant(_IMP_em2d)
874 IMP_EM2D_HAS_BOOST_GRAPH = _IMP_em2d.IMP_EM2D_HAS_BOOST_GRAPH
876 _IMP_em2d.IMP_EM2D_HAS_BOOST_RANDOM_swigconstant(_IMP_em2d)
877 IMP_EM2D_HAS_BOOST_RANDOM = _IMP_em2d.IMP_EM2D_HAS_BOOST_RANDOM
879 _IMP_em2d.IMP_EM2D_HAS_BOOST_REGEX_swigconstant(_IMP_em2d)
880 IMP_EM2D_HAS_BOOST_REGEX = _IMP_em2d.IMP_EM2D_HAS_BOOST_REGEX
882 _IMP_em2d.IMP_EM2D_HAS_BOOST_SYSTEM_swigconstant(_IMP_em2d)
883 IMP_EM2D_HAS_BOOST_SYSTEM = _IMP_em2d.IMP_EM2D_HAS_BOOST_SYSTEM
885 _IMP_em2d.IMP_EM2D_HAS_CGAL_swigconstant(_IMP_em2d)
886 IMP_EM2D_HAS_CGAL = _IMP_em2d.IMP_EM2D_HAS_CGAL
888 _IMP_em2d.IMP_EM2D_HAS_GSL_swigconstant(_IMP_em2d)
889 IMP_EM2D_HAS_GSL = _IMP_em2d.IMP_EM2D_HAS_GSL
891 _IMP_em2d.IMP_EM2D_HAS_HDF5_swigconstant(_IMP_em2d)
892 IMP_EM2D_HAS_HDF5 = _IMP_em2d.IMP_EM2D_HAS_HDF5
894 _IMP_em2d.IMP_EM2D_HAS_NUMPY_swigconstant(_IMP_em2d)
895 IMP_EM2D_HAS_NUMPY = _IMP_em2d.IMP_EM2D_HAS_NUMPY
897 _IMP_em2d.IMP_EM2D_HAS_OPENCV22_swigconstant(_IMP_em2d)
898 IMP_EM2D_HAS_OPENCV22 = _IMP_em2d.IMP_EM2D_HAS_OPENCV22
900 _IMP_em2d.IMP_EM2D_HAS_RMF_swigconstant(_IMP_em2d)
901 IMP_EM2D_HAS_RMF = _IMP_em2d.IMP_EM2D_HAS_RMF
903 _IMP_em2d.IMP_EM2D_HAS_PYTHON_IHM_swigconstant(_IMP_em2d)
904 IMP_EM2D_HAS_PYTHON_IHM = _IMP_em2d.IMP_EM2D_HAS_PYTHON_IHM
906 _IMP_em2d.IMP_EM2D_HAS_OPENCV21_swigconstant(_IMP_em2d)
907 IMP_EM2D_HAS_OPENCV21 = _IMP_em2d.IMP_EM2D_HAS_OPENCV21
909 _IMP_em2d.IMP_EM2D_HAS_OPENCV3_swigconstant(_IMP_em2d)
910 IMP_EM2D_HAS_OPENCV3 = _IMP_em2d.IMP_EM2D_HAS_OPENCV3
912 _IMP_em2d.IMPEM2D_SHOW_WARNINGS_swigconstant(_IMP_em2d)
913 IMPEM2D_SHOW_WARNINGS = _IMP_em2d.IMPEM2D_SHOW_WARNINGS
915 PolarResamplingParametersList=list
916 _plural_types.append(
"PolarResamplingParametersList")
917 _value_types.append(
"PolarResamplingParameters")
921 _plural_types.append(
"ProjectionMasks")
922 _value_types.append(
"ProjectionMask")
926 _plural_types.append(
"MasksManagers")
927 _value_types.append(
"MasksManager")
930 RegistrationResults=list
931 _plural_types.append(
"RegistrationResults")
932 _value_types.append(
"RegistrationResult")
936 _plural_types.append(
"ClusterSets")
937 _value_types.append(
"ClusterSet")
941 _plural_types.append(
"SingleLinkages")
942 _value_types.append(
"SingleLinkage")
945 CompleteLinkages=list
946 _plural_types.append(
"CompleteLinkages")
947 _value_types.append(
"CompleteLinkage")
950 AverageDistanceLinkages=list
951 _plural_types.append(
"AverageDistanceLinkages")
952 _value_types.append(
"AverageDistanceLinkage")
955 SegmentationParametersList=list
956 _plural_types.append(
"SegmentationParametersList")
957 _value_types.append(
"SegmentationParameters")
960 MatchTemplateResults=list
961 _plural_types.append(
"MatchTemplateResults")
962 _value_types.append(
"MatchTemplateResult")
965 ProjectingParametersList=list
966 _plural_types.append(
"ProjectingParametersList")
967 _value_types.append(
"ProjectingParameters")
970 ProjectingOptionsList=list
971 _plural_types.append(
"ProjectingOptionsList")
972 _value_types.append(
"ProjectingOptions")
975 Em2DRestraintParametersList=list
976 _plural_types.append(
"Em2DRestraintParametersList")
977 _value_types.append(
"Em2DRestraintParameters")
980 _object_types.append(
"ProjectionFinder")
983 def _object_cast_to_ProjectionFinder(o):
984 """_object_cast_to_ProjectionFinder(Object o) -> ProjectionFinder"""
985 return _IMP_em2d._object_cast_to_ProjectionFinder(o)
987 _object_types.append(
"ScoreFunction")
990 def _object_cast_to_ScoreFunction(o):
991 """_object_cast_to_ScoreFunction(Object o) -> ScoreFunction"""
992 return _IMP_em2d._object_cast_to_ScoreFunction(o)
994 _object_types.append(
"ChiSquaredScore")
997 def _object_cast_to_ChiSquaredScore(o):
998 """_object_cast_to_ChiSquaredScore(Object o) -> ChiSquaredScore"""
999 return _IMP_em2d._object_cast_to_ChiSquaredScore(o)
1001 _object_types.append(
"EM2DScore")
1004 def _object_cast_to_EM2DScore(o):
1005 """_object_cast_to_EM2DScore(Object o) -> EM2DScore"""
1006 return _IMP_em2d._object_cast_to_EM2DScore(o)
1008 _object_types.append(
"MeanAbsoluteDifference")
1011 def _object_cast_to_MeanAbsoluteDifference(o):
1012 """_object_cast_to_MeanAbsoluteDifference(Object o) -> MeanAbsoluteDifference"""
1013 return _IMP_em2d._object_cast_to_MeanAbsoluteDifference(o)
1015 _object_types.append(
"ProjectionParametersScoreState")
1018 def _object_cast_to_ProjectionParametersScoreState(o):
1019 """_object_cast_to_ProjectionParametersScoreState(Object o) -> ProjectionParametersScoreState"""
1020 return _IMP_em2d._object_cast_to_ProjectionParametersScoreState(o)
1022 _object_types.append(
"Em2DRestraint")
1025 def _object_cast_to_Em2DRestraint(o):
1026 """_object_cast_to_Em2DRestraint(Object o) -> Em2DRestraint"""
1027 return _IMP_em2d._object_cast_to_Em2DRestraint(o)
1029 _object_types.append(
"Image")
1032 def _object_cast_to_Image(o):
1033 """_object_cast_to_Image(Object o) -> Image"""
1034 return _IMP_em2d._object_cast_to_Image(o)
1036 _object_types.append(
"ImageReaderWriter")
1039 def _object_cast_to_ImageReaderWriter(o):
1040 """_object_cast_to_ImageReaderWriter(Object o) -> ImageReaderWriter"""
1041 return _IMP_em2d._object_cast_to_ImageReaderWriter(o)
1043 _object_types.append(
"JPGImageReaderWriter")
1046 def _object_cast_to_JPGImageReaderWriter(o):
1047 """_object_cast_to_JPGImageReaderWriter(Object o) -> JPGImageReaderWriter"""
1048 return _IMP_em2d._object_cast_to_JPGImageReaderWriter(o)
1050 _object_types.append(
"TIFFImageReaderWriter")
1053 def _object_cast_to_TIFFImageReaderWriter(o):
1054 """_object_cast_to_TIFFImageReaderWriter(Object o) -> TIFFImageReaderWriter"""
1055 return _IMP_em2d._object_cast_to_TIFFImageReaderWriter(o)
1057 _object_types.append(
"SpiderImageReaderWriter")
1060 def _object_cast_to_SpiderImageReaderWriter(o):
1061 """_object_cast_to_SpiderImageReaderWriter(Object o) -> SpiderImageReaderWriter"""
1062 return _IMP_em2d._object_cast_to_SpiderImageReaderWriter(o)
1064 _object_types.append(
"CollisionCrossSection")
1067 def _object_cast_to_CollisionCrossSection(o):
1068 """_object_cast_to_CollisionCrossSection(Object o) -> CollisionCrossSection"""
1069 return _IMP_em2d._object_cast_to_CollisionCrossSection(o)
1071 _object_types.append(
"GridStates")
1074 def _object_cast_to_GridStates(o):
1075 """_object_cast_to_GridStates(Object o) -> GridStates"""
1076 return _IMP_em2d._object_cast_to_GridStates(o)
1078 _object_types.append(
"ProjectionStates")
1081 def _object_cast_to_ProjectionStates(o):
1082 """_object_cast_to_ProjectionStates(Object o) -> ProjectionStates"""
1083 return _IMP_em2d._object_cast_to_ProjectionStates(o)
1085 _object_types.append(
"DistanceFilter")
1088 def _object_cast_to_DistanceFilter(o):
1089 """_object_cast_to_DistanceFilter(Object o) -> DistanceFilter"""
1090 return _IMP_em2d._object_cast_to_DistanceFilter(o)
1092 _object_types.append(
"DistanceFilterTable")
1095 def _object_cast_to_DistanceFilterTable(o):
1096 """_object_cast_to_DistanceFilterTable(Object o) -> DistanceFilterTable"""
1097 return _IMP_em2d._object_cast_to_DistanceFilterTable(o)
1099 _object_types.append(
"RigidBodiesImageFitRestraint")
1102 def _object_cast_to_RigidBodiesImageFitRestraint(o):
1103 """_object_cast_to_RigidBodiesImageFitRestraint(Object o) -> RigidBodiesImageFitRestraint"""
1104 return _IMP_em2d._object_cast_to_RigidBodiesImageFitRestraint(o)
1106 _object_types.append(
"DummyRestraint")
1109 def _object_cast_to_DummyRestraint(o):
1110 """_object_cast_to_DummyRestraint(Object o) -> DummyRestraint"""
1111 return _IMP_em2d._object_cast_to_DummyRestraint(o)
1113 _object_types.append(
"ParticlesDummyRestraint")
1116 def _object_cast_to_ParticlesDummyRestraint(o):
1117 """_object_cast_to_ParticlesDummyRestraint(Object o) -> ParticlesDummyRestraint"""
1118 return _IMP_em2d._object_cast_to_ParticlesDummyRestraint(o)
1120 _object_types.append(
"RelativePositionMover")
1123 def _object_cast_to_RelativePositionMover(o):
1124 """_object_cast_to_RelativePositionMover(Object o) -> RelativePositionMover"""
1125 return _IMP_em2d._object_cast_to_RelativePositionMover(o)
1127 _object_types.append(
"PCAFitRestraint")
1130 def _object_cast_to_em2dPCAFitRestraint(o):
1131 """_object_cast_to_em2dPCAFitRestraint(Object o) -> PCAFitRestraint"""
1132 return _IMP_em2d._object_cast_to_em2dPCAFitRestraint(o)
1134 def ProjectionParametersList(l=[]):
1135 return [ProjectionParameters(x)
for x
in l]
1136 _plural_types.append(
"ProjectionParametersList")
1139 _value_types.append(
"ProjectionParameters")
1144 show(cv::Mat const & m, _ostream out)
1145 show(cv::Mat const & m)
1147 return _IMP_em2d.show(*args)
1150 """write_matrix(cv::Mat & m, std::string name)"""
1151 return _IMP_em2d.write_matrix(m, name)
1153 """Proxy of C++ IMP::em2d::ImageReaderWriter class"""
1154 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1156 def __init__(self, *args, **kwargs):
1157 raise AttributeError(
"No constructor defined - class is abstract")
1159 def read(self, filename, header, data):
1160 """read(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat & data)"""
1161 return _IMP_em2d.ImageReaderWriter_read(self, filename, header, data)
1164 def read_from_floats(self, filename, header, data):
1165 """read_from_floats(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat & data)"""
1166 return _IMP_em2d.ImageReaderWriter_read_from_floats(self, filename, header, data)
1169 def read_from_ints(self, filename, header, data):
1170 """read_from_ints(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat & data)"""
1171 return _IMP_em2d.ImageReaderWriter_read_from_ints(self, filename, header, data)
1174 def write(self, filename, header, data):
1175 """write(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat const & data)"""
1176 return _IMP_em2d.ImageReaderWriter_write(self, filename, header, data)
1179 def write_to_floats(self, filename, header, data):
1180 """write_to_floats(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat const & data)"""
1181 return _IMP_em2d.ImageReaderWriter_write_to_floats(self, filename, header, data)
1184 def write_to_ints(self, filename, header, data):
1185 """write_to_ints(ImageReaderWriter self, IMP::String const & filename, ImageHeader header, cv::Mat const & data)"""
1186 return _IMP_em2d.ImageReaderWriter_write_to_ints(self, filename, header, data)
1189 def get_version_info(self):
1190 """get_version_info(ImageReaderWriter self) -> VersionInfo"""
1191 return _IMP_em2d.ImageReaderWriter_get_version_info(self)
1195 """__str__(ImageReaderWriter self) -> std::string"""
1196 return _IMP_em2d.ImageReaderWriter___str__(self)
1200 """__repr__(ImageReaderWriter self) -> std::string"""
1201 return _IMP_em2d.ImageReaderWriter___repr__(self)
1206 return _object_cast_to_ImageReaderWriter(o)
1208 ImageReaderWriter_swigregister = _IMP_em2d.ImageReaderWriter_swigregister
1209 ImageReaderWriter_swigregister(ImageReaderWriter)
1211 class PolarResamplingParameters(object):
1212 """Proxy of C++ IMP::em2d::PolarResamplingParameters class"""
1213 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1215 def __init__(self, *args):
1217 __init__(IMP::em2d::PolarResamplingParameters self) -> PolarResamplingParameters
1218 __init__(IMP::em2d::PolarResamplingParameters self, unsigned int rows, unsigned int cols) -> PolarResamplingParameters
1219 __init__(IMP::em2d::PolarResamplingParameters self, cv::Mat const & m) -> PolarResamplingParameters
1221 this = _IMP_em2d.new_PolarResamplingParameters(*args)
1223 self.this.append(this)
1226 __swig_destroy__ = _IMP_em2d.delete_PolarResamplingParameters
1227 __del__ =
lambda self:
None
1229 def setup(self, rows, cols):
1230 """setup(PolarResamplingParameters self, unsigned int rows, unsigned int cols)"""
1231 return _IMP_em2d.PolarResamplingParameters_setup(self, rows, cols)
1234 def get_starting_radius(self):
1235 """get_starting_radius(PolarResamplingParameters self) -> double"""
1236 return _IMP_em2d.PolarResamplingParameters_get_starting_radius(self)
1239 def get_ending_radius(self):
1240 """get_ending_radius(PolarResamplingParameters self) -> double"""
1241 return _IMP_em2d.PolarResamplingParameters_get_ending_radius(self)
1244 def get_radius(self, n_ring):
1245 """get_radius(PolarResamplingParameters self, unsigned int n_ring) -> double"""
1246 return _IMP_em2d.PolarResamplingParameters_get_radius(self, n_ring)
1249 def get_number_of_rings(self):
1250 """get_number_of_rings(PolarResamplingParameters self) -> unsigned int"""
1251 return _IMP_em2d.PolarResamplingParameters_get_number_of_rings(self)
1254 def set_estimated_number_of_angles(self, aprox_value):
1255 """set_estimated_number_of_angles(PolarResamplingParameters self, unsigned int aprox_value)"""
1256 return _IMP_em2d.PolarResamplingParameters_set_estimated_number_of_angles(self, aprox_value)
1259 def get_number_of_angles(self):
1260 """get_number_of_angles(PolarResamplingParameters self) -> unsigned int"""
1261 return _IMP_em2d.PolarResamplingParameters_get_number_of_angles(self)
1264 def get_angle_step(self):
1265 """get_angle_step(PolarResamplingParameters self) -> double"""
1266 return _IMP_em2d.PolarResamplingParameters_get_angle_step(self)
1269 def get_radius_step(self):
1270 """get_radius_step(PolarResamplingParameters self) -> double"""
1271 return _IMP_em2d.PolarResamplingParameters_get_radius_step(self)
1274 def create_maps_for_resampling(self):
1275 """create_maps_for_resampling(PolarResamplingParameters self)"""
1276 return _IMP_em2d.PolarResamplingParameters_create_maps_for_resampling(self)
1279 def get_resampling_maps(self, m1, m2):
1280 """get_resampling_maps(PolarResamplingParameters self, cv::Mat & m1, cv::Mat & m2)"""
1281 return _IMP_em2d.PolarResamplingParameters_get_resampling_maps(self, m1, m2)
1284 def get_resampling_map(self, m1):
1285 """get_resampling_map(PolarResamplingParameters self, cv::Mat & m1)"""
1286 return _IMP_em2d.PolarResamplingParameters_get_resampling_map(self, m1)
1289 def show(self, out):
1290 """show(PolarResamplingParameters self, _ostream out)"""
1291 return _IMP_em2d.PolarResamplingParameters_show(self, out)
1294 def get_is_setup(self):
1295 """get_is_setup(PolarResamplingParameters self) -> bool"""
1296 return _IMP_em2d.PolarResamplingParameters_get_is_setup(self)
1300 """__str__(PolarResamplingParameters self) -> std::string"""
1301 return _IMP_em2d.PolarResamplingParameters___str__(self)
1305 """__repr__(PolarResamplingParameters self) -> std::string"""
1306 return _IMP_em2d.PolarResamplingParameters___repr__(self)
1308 PolarResamplingParameters_swigregister = _IMP_em2d.PolarResamplingParameters_swigregister
1309 PolarResamplingParameters_swigregister(PolarResamplingParameters)
1311 class SegmentationParameters(object):
1312 """Proxy of C++ IMP::em2d::SegmentationParameters class"""
1313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1314 image_pixel_size = _swig_property(_IMP_em2d.SegmentationParameters_image_pixel_size_get, _IMP_em2d.SegmentationParameters_image_pixel_size_set)
1315 diffusion_beta = _swig_property(_IMP_em2d.SegmentationParameters_diffusion_beta_get, _IMP_em2d.SegmentationParameters_diffusion_beta_set)
1316 diffusion_timesteps = _swig_property(_IMP_em2d.SegmentationParameters_diffusion_timesteps_get, _IMP_em2d.SegmentationParameters_diffusion_timesteps_set)
1317 fill_holes_stddevs = _swig_property(_IMP_em2d.SegmentationParameters_fill_holes_stddevs_get, _IMP_em2d.SegmentationParameters_fill_holes_stddevs_set)
1318 opening_kernel = _swig_property(_IMP_em2d.SegmentationParameters_opening_kernel_get, _IMP_em2d.SegmentationParameters_opening_kernel_set)
1319 remove_sizing_percentage = _swig_property(_IMP_em2d.SegmentationParameters_remove_sizing_percentage_get, _IMP_em2d.SegmentationParameters_remove_sizing_percentage_set)
1320 binary_background = _swig_property(_IMP_em2d.SegmentationParameters_binary_background_get, _IMP_em2d.SegmentationParameters_binary_background_set)
1321 binary_foreground = _swig_property(_IMP_em2d.SegmentationParameters_binary_foreground_get, _IMP_em2d.SegmentationParameters_binary_foreground_set)
1322 threshold = _swig_property(_IMP_em2d.SegmentationParameters_threshold_get, _IMP_em2d.SegmentationParameters_threshold_set)
1324 def __init__(self, *args):
1326 __init__(IMP::em2d::SegmentationParameters self) -> SegmentationParameters
1327 __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
1329 this = _IMP_em2d.new_SegmentationParameters(*args)
1331 self.this.append(this)
1335 def show(self, *args):
1337 show(SegmentationParameters self, _ostream out)
1338 show(SegmentationParameters self)
1340 return _IMP_em2d.SegmentationParameters_show(self, *args)
1344 """__str__(SegmentationParameters self) -> std::string"""
1345 return _IMP_em2d.SegmentationParameters___str__(self)
1349 """__repr__(SegmentationParameters self) -> std::string"""
1350 return _IMP_em2d.SegmentationParameters___repr__(self)
1352 __swig_destroy__ = _IMP_em2d.delete_SegmentationParameters
1353 __del__ =
lambda self:
None
1354 SegmentationParameters_swigregister = _IMP_em2d.SegmentationParameters_swigregister
1355 SegmentationParameters_swigregister(SegmentationParameters)
1357 class MatchTemplateResult(object):
1358 """Proxy of C++ IMP::em2d::MatchTemplateResult class"""
1359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1360 pair = _swig_property(_IMP_em2d.MatchTemplateResult_pair_get, _IMP_em2d.MatchTemplateResult_pair_set)
1361 cross_correlation = _swig_property(_IMP_em2d.MatchTemplateResult_cross_correlation_get, _IMP_em2d.MatchTemplateResult_cross_correlation_set)
1363 def __init__(self, p, cc):
1364 """__init__(IMP::em2d::MatchTemplateResult self, IMP::IntPair p, double cc) -> MatchTemplateResult"""
1365 this = _IMP_em2d.new_MatchTemplateResult(p, cc)
1367 self.this.append(this)
1371 def show(self, *args):
1373 show(MatchTemplateResult self, _ostream out)
1374 show(MatchTemplateResult self)
1376 return _IMP_em2d.MatchTemplateResult_show(self, *args)
1380 """__str__(MatchTemplateResult self) -> std::string"""
1381 return _IMP_em2d.MatchTemplateResult___str__(self)
1385 """__repr__(MatchTemplateResult self) -> std::string"""
1386 return _IMP_em2d.MatchTemplateResult___repr__(self)
1388 __swig_destroy__ = _IMP_em2d.delete_MatchTemplateResult
1389 __del__ =
lambda self:
None
1390 MatchTemplateResult_swigregister = _IMP_em2d.MatchTemplateResult_swigregister
1391 MatchTemplateResult_swigregister(MatchTemplateResult)
1395 """apply_mask(cv::Mat const & m, cv::Mat & result, IMP::em2d::cvIntMat const & mask, double val)"""
1396 return _IMP_em2d.apply_mask(m, result, mask, val)
1400 apply_circular_mask(cv::Mat const & mat, cv::Mat & result, int radius, double value=0.0)
1401 apply_circular_mask(cv::Mat const & mat, cv::Mat & result, int radius)
1403 return _IMP_em2d.apply_circular_mask(mat, result, radius, value)
1406 """get_mean(cv::Mat const & mat, IMP::em2d::cvIntMat const & mask) -> double"""
1407 return _IMP_em2d.get_mean(mat, mask)
1410 """create_circular_mask(int rows, int cols, int radius) -> IMP::em2d::cvIntMat"""
1411 return _IMP_em2d.create_circular_mask(rows, cols, radius)
1413 def do_histogram_stretching(m, boxes, offset):
1414 """do_histogram_stretching(cv::Mat & m, int boxes, int offset)"""
1415 return _IMP_em2d.do_histogram_stretching(m, boxes, offset)
1418 """do_dilate_and_shrink_warp(cv::Mat & m, cv::Mat const & grayscale, cv::Mat & kernel)"""
1419 return _IMP_em2d.do_dilate_and_shrink_warp(m, grayscale, kernel)
1423 do_morphologic_reconstruction(cv::Mat const & mask, cv::Mat & marker, int neighbors_mode=4)
1424 do_morphologic_reconstruction(cv::Mat const & mask, cv::Mat & marker)
1426 return _IMP_em2d.do_morphologic_reconstruction(mask, marker, neighbors_mode)
1429 """do_labeling(IMP::em2d::cvIntMat const & m, IMP::em2d::cvIntMat & mat_to_label) -> int"""
1430 return _IMP_em2d.do_labeling(m, mat_to_label)
1433 """get_diffusion_filtering_partial_derivative(cv::Mat const & m, cv::Mat & der, double dx, double dy, double ang)"""
1434 return _IMP_em2d.get_diffusion_filtering_partial_derivative(m, der, dx, dy, ang)
1437 """get_domes(cv::Mat & m, cv::Mat & result, double h)"""
1438 return _IMP_em2d.get_domes(m, result, h)
1440 def get_transformed(input, transformed, T):
1441 """get_transformed(cv::Mat const & input, cv::Mat & transformed, Transformation2D T)"""
1442 return _IMP_em2d.get_transformed(input, transformed, T)
1446 apply_threshold(cv::Mat & m, cv::Mat & result, double threshold=0.0)
1447 apply_threshold(cv::Mat & m, cv::Mat & result)
1449 return _IMP_em2d.apply_threshold(m, result, threshold)
1452 """do_morphologic_contrast_enhancement(cv::Mat const & m, cv::Mat & result, cv::Mat const & kernel, unsigned int iterations)"""
1453 return _IMP_em2d.do_morphologic_contrast_enhancement(m, result, kernel, iterations)
1456 """get_morphologic_gradient(cv::Mat const & m, cv::Mat & result, cv::Mat const & kernel)"""
1457 return _IMP_em2d.get_morphologic_gradient(m, result, kernel)
1460 """get_overlap_percentage(cv::Mat & m1, cv::Mat & m2, IMP::IntPair const & center) -> double"""
1461 return _IMP_em2d.get_overlap_percentage(m1, m2, center)
1464 """get_best_template_matches(cv::Mat const & m, cv::Mat const & templ, unsigned int n) -> IMP::em2d::MatchTemplateResults"""
1465 return _IMP_em2d.get_best_template_matches(m, templ, n)
1467 """Proxy of C++ IMP::em2d::Image class"""
1468 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1470 def __init__(self, *args):
1472 __init__(IMP::em2d::Image self) -> Image
1473 __init__(IMP::em2d::Image self, int rows, int cols) -> Image
1474 __init__(IMP::em2d::Image self, IMP::String filename, ImageReaderWriter reader) -> Image
1476 this = _IMP_em2d.new_Image(*args)
1478 self.this.append(this)
1483 """get_data(Image self) -> cv::Mat &"""
1484 return _IMP_em2d.Image_get_data(self)
1487 def set_data(self, mat):
1488 """set_data(Image self, cv::Mat const & mat)"""
1489 return _IMP_em2d.Image_set_data(self, mat)
1492 def set_zeros(self):
1493 """set_zeros(Image self)"""
1494 return _IMP_em2d.Image_set_zeros(self)
1497 def set_value(self, *args):
1499 set_value(Image self, double val)
1500 set_value(Image self, int i, int j, double val)
1502 return _IMP_em2d.Image_set_value(self, *args)
1505 def __call__(self, i, j):
1506 """__call__(Image self, int i, int j) -> double"""
1507 return _IMP_em2d.Image___call__(self, i, j)
1510 def get_header(self):
1511 """get_header(Image self) -> ImageHeader"""
1512 return _IMP_em2d.Image_get_header(self)
1515 def set_size(self, *args):
1517 set_size(Image self, int rows, int cols)
1518 set_size(Image self, Image img)
1520 return _IMP_em2d.Image_set_size(self, *args)
1523 def update_header(self):
1524 """update_header(Image self)"""
1525 return _IMP_em2d.Image_update_header(self)
1528 def read(self, filename, reader):
1529 """read(Image self, IMP::String filename, ImageReaderWriter reader)"""
1530 return _IMP_em2d.Image_read(self, filename, reader)
1533 def write(self, filename, writer):
1534 """write(Image self, IMP::String const & filename, ImageReaderWriter writer)"""
1535 return _IMP_em2d.Image_write(self, filename, writer)
1538 def show(self, out):
1539 """show(Image self, _ostream out)"""
1540 return _IMP_em2d.Image_show(self, out)
1543 def get_version_info(self):
1544 """get_version_info(Image self) -> VersionInfo"""
1545 return _IMP_em2d.Image_get_version_info(self)
1548 def set_name(self, name):
1549 """set_name(Image self, IMP::String const & name)"""
1550 return _IMP_em2d.Image_set_name(self, name)
1554 """get_name(Image self) -> IMP::String"""
1555 return _IMP_em2d.Image_get_name(self)
1558 def get_min_and_max_values(self):
1559 """get_min_and_max_values(Image self) -> IMP::FloatRange"""
1560 return _IMP_em2d.Image_get_min_and_max_values(self)
1564 """__str__(Image self) -> std::string"""
1565 return _IMP_em2d.Image___str__(self)
1569 """__repr__(Image self) -> std::string"""
1570 return _IMP_em2d.Image___repr__(self)
1575 return _object_cast_to_Image(o)
1577 Image_swigregister = _IMP_em2d.Image_swigregister
1578 Image_swigregister(Image)
1582 """read_images(IMP::Strings const & names, ImageReaderWriter rw) -> IMP::em2d::Images"""
1583 return _IMP_em2d.read_images(names, rw)
1586 """save_images(IMP::em2d::Images images, IMP::Strings const & names, ImageReaderWriter rw)"""
1587 return _IMP_em2d.save_images(images, names, rw)
1591 do_normalize(cv::Mat & m)
1592 do_normalize(Image im, bool force=False)
1593 do_normalize(Image im)
1595 return _IMP_em2d.do_normalize(*args)
1599 get_histogram(cv::Mat const & m, int bins) -> IMP::Floats
1600 get_histogram(Image img, int bins) -> IMP::Floats
1602 return _IMP_em2d.get_histogram(*args)
1606 apply_variance_filter(cv::Mat const & input, cv::Mat & filtered, int kernelsize)
1607 apply_variance_filter(Image input, Image filtered, int kernelsize)
1609 return _IMP_em2d.apply_variance_filter(*args)
1613 apply_diffusion_filter(cv::Mat const & m, cv::Mat & result, double beta, double pixelsize, unsigned int time_steps)
1614 apply_diffusion_filter(Image input, Image filtered, double beta, double pixelsize, int time_steps)
1616 return _IMP_em2d.apply_diffusion_filter(*args)
1618 def do_fill_holes(*args):
1620 do_fill_holes(cv::Mat const & m, cv::Mat & result, double h)
1621 do_fill_holes(Image input, Image result, double n_stddevs)
1623 return _IMP_em2d.do_fill_holes(*args)
1625 def do_combined_fill_holes_and_threshold(*args):
1627 do_combined_fill_holes_and_threshold(cv::Mat & m, cv::Mat & result, double n_stddevs, double threshold=0.0)
1628 do_combined_fill_holes_and_threshold(cv::Mat & m, cv::Mat & result, double n_stddevs)
1629 do_combined_fill_holes_and_threshold(Image input, Image result, double n_stddevs)
1631 return _IMP_em2d.do_combined_fill_holes_and_threshold(*args)
1633 def do_extend_borders(*args):
1635 do_extend_borders(cv::Mat & orig, cv::Mat & dst, unsigned int pix)
1636 do_extend_borders(Image im1, Image im2, unsigned int pix)
1638 return _IMP_em2d.do_extend_borders(*args)
1640 def do_segmentation(*args):
1642 do_segmentation(cv::Mat const & m, cv::Mat & result, SegmentationParameters params)
1643 do_segmentation(Image input, Image result, SegmentationParameters params)
1645 return _IMP_em2d.do_segmentation(*args)
1647 def do_remove_small_objects(*args):
1649 do_remove_small_objects(IMP::em2d::cvIntMat & m, double percentage, int background=0, int foreground=1)
1650 do_remove_small_objects(IMP::em2d::cvIntMat & m, double percentage, int background=0)
1651 do_remove_small_objects(IMP::em2d::cvIntMat & m, double percentage)
1652 do_remove_small_objects(Image input, double percentage, int background=0, int foreground=1)
1653 do_remove_small_objects(Image input, double percentage, int background=0)
1654 do_remove_small_objects(Image input, double percentage)
1656 return _IMP_em2d.do_remove_small_objects(*args)
1659 """do_subtract_images(Image first, Image second, Image result)"""
1660 return _IMP_em2d.do_subtract_images(first, second, result)
1662 def add_noise(*args):
1664 add_noise(cv::Mat & v, double op1, double op2, IMP::String const & mode, double df=3)
1665 add_noise(cv::Mat & v, double op1, double op2, IMP::String const & mode)
1666 add_noise(cv::Mat & v, double op1, double op2)
1667 add_noise(Image im1, double op1, double op2, IMP::String const & mode, double df=3)
1668 add_noise(Image im1, double op1, double op2, IMP::String const & mode)
1669 add_noise(Image im1, double op1, double op2)
1671 return _IMP_em2d.add_noise(*args)
1675 do_resample_polar(cv::Mat const & input, cv::Mat & resampled, PolarResamplingParameters polar_params)
1676 do_resample_polar(Image im1, Image im2, PolarResamplingParameters polar_params)
1678 return _IMP_em2d.do_resample_polar(*args)
1682 crop(cv::Mat const & m, IMP::IntPair const & center, int size) -> cv::Mat
1683 crop(Image img, IMP::IntPair const & center, int size)
1685 return _IMP_em2d.crop(*args)
1688 """apply_mean_outside_mask(Image img, double radius)"""
1689 return _IMP_em2d.apply_mean_outside_mask(img, radius)
1690 class RegistrationResult(object):
1691 """Proxy of C++ IMP::em2d::RegistrationResult class"""
1692 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1694 def __init__(self, *args):
1696 __init__(IMP::em2d::RegistrationResult self) -> RegistrationResult
1697 __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
1698 __init__(IMP::em2d::RegistrationResult self, double phi, double theta, double psi, Vector2D shift, int projection_index=0, int image_index=0) -> RegistrationResult
1699 __init__(IMP::em2d::RegistrationResult self, double phi, double theta, double psi, Vector2D shift, int projection_index=0) -> RegistrationResult
1700 __init__(IMP::em2d::RegistrationResult self, double phi, double theta, double psi, Vector2D shift) -> RegistrationResult
1701 __init__(IMP::em2d::RegistrationResult self, Rotation3D R, Vector2D shift, int projection_index=0, int image_index=0, IMP::String name) -> RegistrationResult
1702 __init__(IMP::em2d::RegistrationResult self, Rotation3D R, Vector2D shift, int projection_index=0, int image_index=0) -> RegistrationResult
1703 __init__(IMP::em2d::RegistrationResult self, Rotation3D R, Vector2D shift, int projection_index=0) -> RegistrationResult
1704 __init__(IMP::em2d::RegistrationResult self, Rotation3D R, Vector2D shift) -> RegistrationResult
1705 __init__(IMP::em2d::RegistrationResult self, Rotation3D R) -> RegistrationResult
1707 this = _IMP_em2d.new_RegistrationResult(*args)
1709 self.this.append(this)
1714 """get_phi(RegistrationResult self) -> double"""
1715 return _IMP_em2d.RegistrationResult_get_phi(self)
1718 def get_theta(self):
1719 """get_theta(RegistrationResult self) -> double"""
1720 return _IMP_em2d.RegistrationResult_get_theta(self)
1724 """get_psi(RegistrationResult self) -> double"""
1725 return _IMP_em2d.RegistrationResult_get_psi(self)
1728 def get_shift(self):
1729 """get_shift(RegistrationResult self) -> Vector2D"""
1730 return _IMP_em2d.RegistrationResult_get_shift(self)
1733 def get_shift_3d(self):
1734 """get_shift_3d(RegistrationResult self) -> Vector3D"""
1735 return _IMP_em2d.RegistrationResult_get_shift_3d(self)
1738 def get_projection_index(self):
1739 """get_projection_index(RegistrationResult self) -> int"""
1740 return _IMP_em2d.RegistrationResult_get_projection_index(self)
1743 def set_projection_index(self, index):
1744 """set_projection_index(RegistrationResult self, int index)"""
1745 return _IMP_em2d.RegistrationResult_set_projection_index(self, index)
1748 def get_image_index(self):
1749 """get_image_index(RegistrationResult self) -> int"""
1750 return _IMP_em2d.RegistrationResult_get_image_index(self)
1753 def set_image_index(self, index):
1754 """set_image_index(RegistrationResult self, int index)"""
1755 return _IMP_em2d.RegistrationResult_set_image_index(self, index)
1759 """get_name(RegistrationResult self) -> IMP::String"""
1760 return _IMP_em2d.RegistrationResult_get_name(self)
1764 """get_ccc(RegistrationResult self) -> double"""
1765 return _IMP_em2d.RegistrationResult_get_ccc(self)
1768 def set_ccc(self, ccc):
1769 """set_ccc(RegistrationResult self, double ccc)"""
1770 return _IMP_em2d.RegistrationResult_set_ccc(self, ccc)
1773 def get_score(self):
1774 """get_score(RegistrationResult self) -> double"""
1775 return _IMP_em2d.RegistrationResult_get_score(self)
1778 def set_score(self, Score):
1779 """set_score(RegistrationResult self, double Score)"""
1780 return _IMP_em2d.RegistrationResult_set_score(self, Score)
1783 def set_rotation(self, *args):
1785 set_rotation(RegistrationResult self, double phi, double theta, double psi)
1786 set_rotation(RegistrationResult self, Rotation3D R)
1788 return _IMP_em2d.RegistrationResult_set_rotation(self, *args)
1791 def set_shift(self, shift):
1792 """set_shift(RegistrationResult self, Vector2D shift)"""
1793 return _IMP_em2d.RegistrationResult_set_shift(self, shift)
1796 def set_name(self, name):
1797 """set_name(RegistrationResult self, IMP::String name)"""
1798 return _IMP_em2d.RegistrationResult_set_name(self, name)
1801 def add_in_plane_transformation(self, t):
1802 """add_in_plane_transformation(RegistrationResult self, Transformation2D t)"""
1803 return _IMP_em2d.RegistrationResult_add_in_plane_transformation(self, t)
1806 def show(self, *args):
1808 show(RegistrationResult self, _ostream out)
1809 show(RegistrationResult self)
1811 return _IMP_em2d.RegistrationResult_show(self, *args)
1814 def write(self, *args):
1816 write(RegistrationResult self, _ostream out)
1817 write(RegistrationResult self)
1819 return _IMP_em2d.RegistrationResult_write(self, *args)
1822 def write_comment_line(self, *args):
1824 write_comment_line(RegistrationResult self, _ostream out)
1825 write_comment_line(RegistrationResult self)
1827 return _IMP_em2d.RegistrationResult_write_comment_line(self, *args)
1831 """read(RegistrationResult self, IMP::String const & s)"""
1832 return _IMP_em2d.RegistrationResult_read(self, s)
1835 def set_random_registration(self, index, maximum_shift):
1836 """set_random_registration(RegistrationResult self, unsigned int index, double maximum_shift)"""
1837 return _IMP_em2d.RegistrationResult_set_random_registration(self, index, maximum_shift)
1840 def get_rotation(self):
1841 """get_rotation(RegistrationResult self) -> Rotation3D"""
1842 return _IMP_em2d.RegistrationResult_get_rotation(self)
1845 def set_in_image(self, header):
1846 """set_in_image(RegistrationResult self, ImageHeader header)"""
1847 return _IMP_em2d.RegistrationResult_set_in_image(self, header)
1850 def read_from_image(self, header):
1851 """read_from_image(RegistrationResult self, ImageHeader header)"""
1852 return _IMP_em2d.RegistrationResult_read_from_image(self, header)
1855 def get_is_optimized_result(self):
1856 """get_is_optimized_result(RegistrationResult self) -> bool"""
1857 return _IMP_em2d.RegistrationResult_get_is_optimized_result(self)
1859 __swig_destroy__ = _IMP_em2d.delete_RegistrationResult
1860 __del__ =
lambda self:
None
1863 """__str__(RegistrationResult self) -> std::string"""
1864 return _IMP_em2d.RegistrationResult___str__(self)
1868 """__repr__(RegistrationResult self) -> std::string"""
1869 return _IMP_em2d.RegistrationResult___repr__(self)
1871 RegistrationResult_swigregister = _IMP_em2d.RegistrationResult_swigregister
1872 RegistrationResult_swigregister(RegistrationResult)
1876 """read_registration_results(IMP::String const & filename) -> IMP::em2d::RegistrationResults"""
1877 return _IMP_em2d.read_registration_results(filename)
1880 """write_registration_results(IMP::String filename, IMP::em2d::RegistrationResults const & results)"""
1881 return _IMP_em2d.write_registration_results(filename, results)
1885 get_random_registration_results(unsigned int n, double maximum_shift=5.0) -> IMP::em2d::RegistrationResults
1886 get_random_registration_results(unsigned int n) -> IMP::em2d::RegistrationResults
1888 return _IMP_em2d.get_random_registration_results(n, maximum_shift)
1891 """get_evenly_distributed_registration_results(unsigned int n_projections) -> IMP::em2d::RegistrationResults"""
1892 return _IMP_em2d.get_evenly_distributed_registration_results(n_projections)
1893 class SpiderImageReaderWriter(ImageReaderWriter):
1894 """Proxy of C++ IMP::em2d::SpiderImageReaderWriter class"""
1895 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1896 filename_ = _swig_property(_IMP_em2d.SpiderImageReaderWriter_filename__get, _IMP_em2d.SpiderImageReaderWriter_filename__set)
1897 skip_type_check_ = _swig_property(_IMP_em2d.SpiderImageReaderWriter_skip_type_check__get, _IMP_em2d.SpiderImageReaderWriter_skip_type_check__set)
1898 force_reversed_ = _swig_property(_IMP_em2d.SpiderImageReaderWriter_force_reversed__get, _IMP_em2d.SpiderImageReaderWriter_force_reversed__set)
1899 skip_extra_checkings_ = _swig_property(_IMP_em2d.SpiderImageReaderWriter_skip_extra_checkings__get, _IMP_em2d.SpiderImageReaderWriter_skip_extra_checkings__set)
1901 def __init__(self, *args):
1903 __init__(IMP::em2d::SpiderImageReaderWriter self) -> SpiderImageReaderWriter
1904 __init__(IMP::em2d::SpiderImageReaderWriter self, IMP::String const & filename, bool skip_type_check, bool force_reversed, bool skip_extra_checkings) -> SpiderImageReaderWriter
1906 this = _IMP_em2d.new_SpiderImageReaderWriter(*args)
1908 self.this.append(this)
1913 """__str__(SpiderImageReaderWriter self) -> std::string"""
1914 return _IMP_em2d.SpiderImageReaderWriter___str__(self)
1918 """__repr__(SpiderImageReaderWriter self) -> std::string"""
1919 return _IMP_em2d.SpiderImageReaderWriter___repr__(self)
1924 return _object_cast_to_SpiderImageReaderWriter(o)
1926 SpiderImageReaderWriter_swigregister = _IMP_em2d.SpiderImageReaderWriter_swigregister
1927 SpiderImageReaderWriter_swigregister(SpiderImageReaderWriter)
1929 class JPGImageReaderWriter(ImageReaderWriter):
1930 """Proxy of C++ IMP::em2d::JPGImageReaderWriter class"""
1931 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1934 """__init__(IMP::em2d::JPGImageReaderWriter self) -> JPGImageReaderWriter"""
1935 this = _IMP_em2d.new_JPGImageReaderWriter()
1937 self.this.append(this)
1942 """__str__(JPGImageReaderWriter self) -> std::string"""
1943 return _IMP_em2d.JPGImageReaderWriter___str__(self)
1947 """__repr__(JPGImageReaderWriter self) -> std::string"""
1948 return _IMP_em2d.JPGImageReaderWriter___repr__(self)
1953 return _object_cast_to_JPGImageReaderWriter(o)
1955 JPGImageReaderWriter_swigregister = _IMP_em2d.JPGImageReaderWriter_swigregister
1956 JPGImageReaderWriter_swigregister(JPGImageReaderWriter)
1958 class TIFFImageReaderWriter(ImageReaderWriter):
1959 """Proxy of C++ IMP::em2d::TIFFImageReaderWriter class"""
1960 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1963 """__init__(IMP::em2d::TIFFImageReaderWriter self) -> TIFFImageReaderWriter"""
1964 this = _IMP_em2d.new_TIFFImageReaderWriter()
1966 self.this.append(this)
1971 """__str__(TIFFImageReaderWriter self) -> std::string"""
1972 return _IMP_em2d.TIFFImageReaderWriter___str__(self)
1976 """__repr__(TIFFImageReaderWriter self) -> std::string"""
1977 return _IMP_em2d.TIFFImageReaderWriter___repr__(self)
1982 return _object_cast_to_TIFFImageReaderWriter(o)
1984 TIFFImageReaderWriter_swigregister = _IMP_em2d.TIFFImageReaderWriter_swigregister
1985 TIFFImageReaderWriter_swigregister(TIFFImageReaderWriter)
1989 """do_matrix_to_image_flip(cv::Mat & m)"""
1990 return _IMP_em2d.do_matrix_to_image_flip(m)
1993 """get_autocorrelation2d_no_preprocessing(cv::Mat const & M, cv::Mat & corr)"""
1994 return _IMP_em2d.get_autocorrelation2d_no_preprocessing(M, corr)
1998 get_autocorrelation2d(Image im1, Image im2)
1999 get_autocorrelation2d(cv::Mat const & m, cv::Mat & corr)
2001 return _IMP_em2d.get_autocorrelation2d(*args)
2005 get_correlation2d(Image im1, Image im2, Image corr)
2006 get_correlation2d(cv::Mat const & A, cv::Mat const & B, cv::Mat & corr)
2008 return _IMP_em2d.get_correlation2d(*args)
2011 """get_correlation2d_no_preprocessing(cv::Mat const & M1, cv::Mat const & M2, cv::Mat & corr)"""
2012 return _IMP_em2d.get_correlation2d_no_preprocessing(M1, M2, corr)
2015 """get_fft_using_optimal_size(cv::Mat const & m, cv::Mat & M)"""
2016 return _IMP_em2d.get_fft_using_optimal_size(m, M)
2019 """get_spectrum(cv::Mat const & m, cv::Mat & real, cv::Mat & imag)"""
2020 return _IMP_em2d.get_spectrum(m, real, imag)
2023 """get_rotation_error(RegistrationResult rr1, RegistrationResult rr2) -> double"""
2024 return _IMP_em2d.get_rotation_error(rr1, rr2)
2027 """get_shift_error(RegistrationResult rr1, RegistrationResult rr2) -> double"""
2028 return _IMP_em2d.get_shift_error(rr1, rr2)
2030 def get_average_rotation_error(correct_RRs, computed_RRs):
2031 """get_average_rotation_error(IMP::em2d::RegistrationResults const & correct_RRs, IMP::em2d::RegistrationResults const & computed_RRs) -> double"""
2032 return _IMP_em2d.get_average_rotation_error(correct_RRs, computed_RRs)
2034 def get_average_shift_error(correct_RRs, computed_RRs):
2035 """get_average_shift_error(IMP::em2d::RegistrationResults const & correct_RRs, IMP::em2d::RegistrationResults const & computed_RRs) -> double"""
2036 return _IMP_em2d.get_average_shift_error(correct_RRs, computed_RRs)
2040 get_cross_correlation_coefficient(Image im1, Image im2) -> double
2041 get_cross_correlation_coefficient(cv::Mat const & m1, cv::Mat const & m2) -> double
2043 return _IMP_em2d.get_cross_correlation_coefficient(*args)
2046 """get_global_score(IMP::em2d::RegistrationResults const & RRs) -> double"""
2047 return _IMP_em2d.get_global_score(RRs)
2049 """Proxy of C++ IMP::em2d::ScoreFunction class"""
2050 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2052 def __init__(self, *args, **kwargs):
2053 raise AttributeError(
"No constructor defined - class is abstract")
2055 def get_score(self, image, projection):
2056 """get_score(ScoreFunction self, Image image, Image projection) -> double"""
2057 return _IMP_em2d.ScoreFunction_get_score(self, image, projection)
2060 def set_variance_image(self, var):
2061 """set_variance_image(ScoreFunction self, Image var)"""
2062 return _IMP_em2d.ScoreFunction_set_variance_image(self, var)
2065 def get_version_info(self):
2066 """get_version_info(ScoreFunction self) -> VersionInfo"""
2067 return _IMP_em2d.ScoreFunction_get_version_info(self)
2071 """__str__(ScoreFunction self) -> std::string"""
2072 return _IMP_em2d.ScoreFunction___str__(self)
2076 """__repr__(ScoreFunction self) -> std::string"""
2077 return _IMP_em2d.ScoreFunction___repr__(self)
2082 return _object_cast_to_ScoreFunction(o)
2084 ScoreFunction_swigregister = _IMP_em2d.ScoreFunction_swigregister
2085 ScoreFunction_swigregister(ScoreFunction)
2087 class ChiSquaredScore(ScoreFunction):
2088 """Proxy of C++ IMP::em2d::ChiSquaredScore class"""
2089 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2092 """__init__(IMP::em2d::ChiSquaredScore self) -> ChiSquaredScore"""
2093 this = _IMP_em2d.new_ChiSquaredScore()
2095 self.this.append(this)
2100 """__str__(ChiSquaredScore self) -> std::string"""
2101 return _IMP_em2d.ChiSquaredScore___str__(self)
2105 """__repr__(ChiSquaredScore self) -> std::string"""
2106 return _IMP_em2d.ChiSquaredScore___repr__(self)
2111 return _object_cast_to_ChiSquaredScore(o)
2113 __swig_destroy__ = _IMP_em2d.delete_ChiSquaredScore
2114 __del__ =
lambda self:
None
2115 ChiSquaredScore_swigregister = _IMP_em2d.ChiSquaredScore_swigregister
2116 ChiSquaredScore_swigregister(ChiSquaredScore)
2118 class EM2DScore(ScoreFunction):
2119 """Proxy of C++ IMP::em2d::EM2DScore class"""
2120 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2123 """__init__(IMP::em2d::EM2DScore self) -> EM2DScore"""
2124 this = _IMP_em2d.new_EM2DScore()
2126 self.this.append(this)
2131 """__str__(EM2DScore self) -> std::string"""
2132 return _IMP_em2d.EM2DScore___str__(self)
2136 """__repr__(EM2DScore self) -> std::string"""
2137 return _IMP_em2d.EM2DScore___repr__(self)
2142 return _object_cast_to_EM2DScore(o)
2144 __swig_destroy__ = _IMP_em2d.delete_EM2DScore
2145 __del__ =
lambda self:
None
2146 EM2DScore_swigregister = _IMP_em2d.EM2DScore_swigregister
2147 EM2DScore_swigregister(EM2DScore)
2149 class MeanAbsoluteDifference(ScoreFunction):
2150 """Proxy of C++ IMP::em2d::MeanAbsoluteDifference class"""
2151 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2154 """__init__(IMP::em2d::MeanAbsoluteDifference self) -> MeanAbsoluteDifference"""
2155 this = _IMP_em2d.new_MeanAbsoluteDifference()
2157 self.this.append(this)
2162 """__str__(MeanAbsoluteDifference self) -> std::string"""
2163 return _IMP_em2d.MeanAbsoluteDifference___str__(self)
2167 """__repr__(MeanAbsoluteDifference self) -> std::string"""
2168 return _IMP_em2d.MeanAbsoluteDifference___repr__(self)
2173 return _object_cast_to_MeanAbsoluteDifference(o)
2175 __swig_destroy__ = _IMP_em2d.delete_MeanAbsoluteDifference
2176 __del__ =
lambda self:
None
2177 MeanAbsoluteDifference_swigregister = _IMP_em2d.MeanAbsoluteDifference_swigregister
2178 MeanAbsoluteDifference_swigregister(MeanAbsoluteDifference)
2182 """read_selection_file(IMP::String fn) -> IMP::Strings"""
2183 return _IMP_em2d.read_selection_file(fn)
2186 """create_filenames(unsigned long number, IMP::String basic_name, IMP::String extension) -> IMP::Strings"""
2187 return _IMP_em2d.create_filenames(number, basic_name, extension)
2189 """Proxy of C++ IMP::em2d::ProjectionParameters class"""
2190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2192 def __init__(self, *args):
2194 __init__(IMP::em2d::ProjectionParameters self) -> ProjectionParameters
2195 __init__(IMP::em2d::ProjectionParameters self, Model m, ParticleIndex id) -> ProjectionParameters
2196 __init__(IMP::em2d::ProjectionParameters self, _ParticleAdaptor d) -> ProjectionParameters
2198 this = _IMP_em2d.new_ProjectionParameters(*args)
2200 self.this.append(this)
2204 def show(self, *args):
2206 show(ProjectionParameters self, _ostream out)
2207 show(ProjectionParameters self)
2209 return _IMP_em2d.ProjectionParameters_show(self, *args)
2212 def setup_particle(*args):
2214 setup_particle(Model m, ParticleIndex pi) -> ProjectionParameters
2215 setup_particle(_ParticleAdaptor decorator) -> ProjectionParameters
2217 return _IMP_em2d.ProjectionParameters_setup_particle(*args)
2219 setup_particle = staticmethod(setup_particle)
2220 __swig_destroy__ = _IMP_em2d.delete_ProjectionParameters
2221 __del__ =
lambda self:
None
2224 """get_keys() -> IMP::FloatKeys const &"""
2225 return _IMP_em2d.ProjectionParameters_get_keys()
2227 get_keys = staticmethod(get_keys)
2229 def set_proper_ranges_for_keys(self, m, min_translation_values, max_translation_values):
2230 """set_proper_ranges_for_keys(ProjectionParameters self, Model m, Vector3D min_translation_values, Vector3D max_translation_values)"""
2231 return _IMP_em2d.ProjectionParameters_set_proper_ranges_for_keys(self, m, min_translation_values, max_translation_values)
2234 def get_is_setup(*args):
2236 get_is_setup(_ParticleAdaptor p) -> bool
2237 get_is_setup(Model m, ParticleIndex pi) -> bool
2239 return _IMP_em2d.ProjectionParameters_get_is_setup(*args)
2241 get_is_setup = staticmethod(get_is_setup)
2243 def get_parameters_optimized(self):
2244 """get_parameters_optimized(ProjectionParameters self) -> bool"""
2245 return _IMP_em2d.ProjectionParameters_get_parameters_optimized(self)
2248 def get_translation(self):
2249 """get_translation(ProjectionParameters self) -> Vector3D"""
2250 return _IMP_em2d.ProjectionParameters_get_translation(self)
2253 def set_translation(self, v):
2254 """set_translation(ProjectionParameters self, Vector3D v)"""
2255 return _IMP_em2d.ProjectionParameters_set_translation(self, v)
2258 def get_rotation(self):
2259 """get_rotation(ProjectionParameters self) -> Rotation3D"""
2260 return _IMP_em2d.ProjectionParameters_get_rotation(self)
2263 def set_rotation(self, R):
2264 """set_rotation(ProjectionParameters self, Rotation3D R)"""
2265 return _IMP_em2d.ProjectionParameters_set_rotation(self, R)
2268 def set_parameters_optimized(self, tf):
2269 """set_parameters_optimized(ProjectionParameters self, bool tf)"""
2270 return _IMP_em2d.ProjectionParameters_set_parameters_optimized(self, tf)
2273 def get_quaternion_1(self):
2274 """get_quaternion_1(ProjectionParameters self) -> double"""
2275 return _IMP_em2d.ProjectionParameters_get_quaternion_1(self)
2278 def set_quaternion_1(self, t):
2279 """set_quaternion_1(ProjectionParameters self, double t)"""
2280 return _IMP_em2d.ProjectionParameters_set_quaternion_1(self, t)
2283 def get_quaternion_2(self):
2284 """get_quaternion_2(ProjectionParameters self) -> double"""
2285 return _IMP_em2d.ProjectionParameters_get_quaternion_2(self)
2288 def set_quaternion_2(self, t):
2289 """set_quaternion_2(ProjectionParameters self, double t)"""
2290 return _IMP_em2d.ProjectionParameters_set_quaternion_2(self, t)
2293 def get_quaternion_3(self):
2294 """get_quaternion_3(ProjectionParameters self) -> double"""
2295 return _IMP_em2d.ProjectionParameters_get_quaternion_3(self)
2298 def set_quaternion_3(self, t):
2299 """set_quaternion_3(ProjectionParameters self, double t)"""
2300 return _IMP_em2d.ProjectionParameters_set_quaternion_3(self, t)
2303 def get_quaternion_4(self):
2304 """get_quaternion_4(ProjectionParameters self) -> double"""
2305 return _IMP_em2d.ProjectionParameters_get_quaternion_4(self)
2308 def set_quaternion_4(self, t):
2309 """set_quaternion_4(ProjectionParameters self, double t)"""
2310 return _IMP_em2d.ProjectionParameters_set_quaternion_4(self, t)
2313 def get_translation_x(self):
2314 """get_translation_x(ProjectionParameters self) -> double"""
2315 return _IMP_em2d.ProjectionParameters_get_translation_x(self)
2318 def set_translation_x(self, t):
2319 """set_translation_x(ProjectionParameters self, double t)"""
2320 return _IMP_em2d.ProjectionParameters_set_translation_x(self, t)
2323 def get_translation_y(self):
2324 """get_translation_y(ProjectionParameters self) -> double"""
2325 return _IMP_em2d.ProjectionParameters_get_translation_y(self)
2328 def set_translation_y(self, t):
2329 """set_translation_y(ProjectionParameters self, double t)"""
2330 return _IMP_em2d.ProjectionParameters_set_translation_y(self, t)
2333 def add_attribute(self, *args):
2335 add_attribute(ProjectionParameters self, FloatKey k, IMP::Float v, bool opt)
2336 add_attribute(ProjectionParameters self, FloatKey a0, IMP::Float a1)
2337 add_attribute(ProjectionParameters self, IntKey a0, IMP::Int a1)
2338 add_attribute(ProjectionParameters self, FloatsKey a0, IMP::Floats a1)
2339 add_attribute(ProjectionParameters self, IntsKey a0, IMP::Ints a1)
2340 add_attribute(ProjectionParameters self, StringKey a0, IMP::String a1)
2341 add_attribute(ProjectionParameters self, ParticleIndexKey a0, Particle a1)
2342 add_attribute(ProjectionParameters self, ObjectKey a0, Object a1)
2344 return _IMP_em2d.ProjectionParameters_add_attribute(self, *args)
2347 def get_value(self, *args):
2349 get_value(ProjectionParameters self, FloatKey a0) -> IMP::Float
2350 get_value(ProjectionParameters self, IntKey a0) -> IMP::Int
2351 get_value(ProjectionParameters self, FloatsKey a0) -> IMP::Floats
2352 get_value(ProjectionParameters self, IntsKey a0) -> IMP::Ints
2353 get_value(ProjectionParameters self, StringKey a0) -> IMP::String
2354 get_value(ProjectionParameters self, ParticleIndexKey a0) -> Particle
2355 get_value(ProjectionParameters self, ObjectKey a0) -> Object
2357 return _IMP_em2d.ProjectionParameters_get_value(self, *args)
2360 def set_value(self, *args):
2362 set_value(ProjectionParameters self, FloatKey a0, IMP::Float a1)
2363 set_value(ProjectionParameters self, IntKey a0, IMP::Int a1)
2364 set_value(ProjectionParameters self, FloatsKey a0, IMP::Floats a1)
2365 set_value(ProjectionParameters self, IntsKey a0, IMP::Ints a1)
2366 set_value(ProjectionParameters self, StringKey a0, IMP::String a1)
2367 set_value(ProjectionParameters self, ParticleIndexKey a0, Particle a1)
2368 set_value(ProjectionParameters self, ObjectKey a0, Object a1)
2370 return _IMP_em2d.ProjectionParameters_set_value(self, *args)
2373 def remove_attribute(self, *args):
2375 remove_attribute(ProjectionParameters self, FloatKey a0)
2376 remove_attribute(ProjectionParameters self, IntKey a0)
2377 remove_attribute(ProjectionParameters self, FloatsKey a0)
2378 remove_attribute(ProjectionParameters self, IntsKey a0)
2379 remove_attribute(ProjectionParameters self, StringKey a0)
2380 remove_attribute(ProjectionParameters self, ParticleIndexKey a0)
2381 remove_attribute(ProjectionParameters self, ObjectKey a0)
2383 return _IMP_em2d.ProjectionParameters_remove_attribute(self, *args)
2386 def has_attribute(self, *args):
2388 has_attribute(ProjectionParameters self, FloatKey a0) -> bool
2389 has_attribute(ProjectionParameters self, IntKey a0) -> bool
2390 has_attribute(ProjectionParameters self, FloatsKey a0) -> bool
2391 has_attribute(ProjectionParameters self, IntsKey a0) -> bool
2392 has_attribute(ProjectionParameters self, StringKey a0) -> bool
2393 has_attribute(ProjectionParameters self, ParticleIndexKey a0) -> bool
2394 has_attribute(ProjectionParameters self, ObjectKey a0) -> bool
2396 return _IMP_em2d.ProjectionParameters_has_attribute(self, *args)
2399 def get_derivative(self, a0):
2400 """get_derivative(ProjectionParameters self, FloatKey a0) -> double"""
2401 return _IMP_em2d.ProjectionParameters_get_derivative(self, a0)
2405 """get_name(ProjectionParameters self) -> std::string"""
2406 return _IMP_em2d.ProjectionParameters_get_name(self)
2409 def clear_caches(self):
2410 """clear_caches(ProjectionParameters self)"""
2411 return _IMP_em2d.ProjectionParameters_clear_caches(self)
2414 def set_name(self, a0):
2415 """set_name(ProjectionParameters self, std::string a0)"""
2416 return _IMP_em2d.ProjectionParameters_set_name(self, a0)
2420 """set_check_level(ProjectionParameters self, IMP::CheckLevel a0)"""
2421 return _IMP_em2d.ProjectionParameters_set_check_level(self, a0)
2424 def add_to_derivative(self, a0, a1, a2):
2425 """add_to_derivative(ProjectionParameters self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2426 return _IMP_em2d.ProjectionParameters_add_to_derivative(self, a0, a1, a2)
2429 def set_is_optimized(self, a0, a1):
2430 """set_is_optimized(ProjectionParameters self, FloatKey a0, bool a1)"""
2431 return _IMP_em2d.ProjectionParameters_set_is_optimized(self, a0, a1)
2434 def get_is_optimized(self, a0):
2435 """get_is_optimized(ProjectionParameters self, FloatKey a0) -> bool"""
2436 return _IMP_em2d.ProjectionParameters_get_is_optimized(self, a0)
2440 """get_check_level(ProjectionParameters self) -> IMP::CheckLevel"""
2441 return _IMP_em2d.ProjectionParameters_get_check_level(self)
2444 def __eq__(self, *args):
2446 __eq__(ProjectionParameters self, ProjectionParameters o) -> bool
2447 __eq__(ProjectionParameters self, Particle d) -> bool
2449 return _IMP_em2d.ProjectionParameters___eq__(self, *args)
2452 def __ne__(self, *args):
2454 __ne__(ProjectionParameters self, ProjectionParameters o) -> bool
2455 __ne__(ProjectionParameters self, Particle d) -> bool
2457 return _IMP_em2d.ProjectionParameters___ne__(self, *args)
2460 def __le__(self, *args):
2462 __le__(ProjectionParameters self, ProjectionParameters o) -> bool
2463 __le__(ProjectionParameters self, Particle d) -> bool
2465 return _IMP_em2d.ProjectionParameters___le__(self, *args)
2468 def __lt__(self, *args):
2470 __lt__(ProjectionParameters self, ProjectionParameters o) -> bool
2471 __lt__(ProjectionParameters self, Particle d) -> bool
2473 return _IMP_em2d.ProjectionParameters___lt__(self, *args)
2476 def __ge__(self, *args):
2478 __ge__(ProjectionParameters self, ProjectionParameters o) -> bool
2479 __ge__(ProjectionParameters self, Particle d) -> bool
2481 return _IMP_em2d.ProjectionParameters___ge__(self, *args)
2484 def __gt__(self, *args):
2486 __gt__(ProjectionParameters self, ProjectionParameters o) -> bool
2487 __gt__(ProjectionParameters self, Particle d) -> bool
2489 return _IMP_em2d.ProjectionParameters___gt__(self, *args)
2493 """__hash__(ProjectionParameters self) -> std::size_t"""
2494 return _IMP_em2d.ProjectionParameters___hash__(self)
2498 """__str__(ProjectionParameters self) -> std::string"""
2499 return _IMP_em2d.ProjectionParameters___str__(self)
2503 """__repr__(ProjectionParameters self) -> std::string"""
2504 return _IMP_em2d.ProjectionParameters___repr__(self)
2506 ProjectionParameters_swigregister = _IMP_em2d.ProjectionParameters_swigregister
2507 ProjectionParameters_swigregister(ProjectionParameters)
2509 def ProjectionParameters_setup_particle(*args):
2511 setup_particle(Model m, ParticleIndex pi) -> ProjectionParameters
2512 ProjectionParameters_setup_particle(_ParticleAdaptor decorator) -> ProjectionParameters
2514 return _IMP_em2d.ProjectionParameters_setup_particle(*args)
2516 def ProjectionParameters_get_keys():
2517 """ProjectionParameters_get_keys() -> IMP::FloatKeys const &"""
2518 return _IMP_em2d.ProjectionParameters_get_keys()
2520 def ProjectionParameters_get_is_setup(*args):
2522 get_is_setup(_ParticleAdaptor p) -> bool
2523 ProjectionParameters_get_is_setup(Model m, ParticleIndex pi) -> bool
2525 return _IMP_em2d.ProjectionParameters_get_is_setup(*args)
2528 def __lshift__(out, n):
2529 """__lshift__(_ostream out, ProjectionParameters n) -> _ostream"""
2530 return _IMP_em2d.__lshift__(out, n)
2532 """Proxy of C++ IMP::em2d::ProjectionParametersScoreState class"""
2533 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2535 def __init__(self, p):
2536 """__init__(IMP::em2d::ProjectionParametersScoreState self, Particle p) -> ProjectionParametersScoreState"""
2537 this = _IMP_em2d.new_ProjectionParametersScoreState(p)
2539 self.this.append(this)
2543 def do_before_evaluate(self):
2544 """do_before_evaluate(ProjectionParametersScoreState self)"""
2545 return _IMP_em2d.ProjectionParametersScoreState_do_before_evaluate(self)
2548 def do_after_evaluate(self, da):
2549 """do_after_evaluate(ProjectionParametersScoreState self, DerivativeAccumulator da)"""
2550 return _IMP_em2d.ProjectionParametersScoreState_do_after_evaluate(self, da)
2553 def do_get_inputs(self):
2554 """do_get_inputs(ProjectionParametersScoreState self) -> IMP::ModelObjectsTemp"""
2555 return _IMP_em2d.ProjectionParametersScoreState_do_get_inputs(self)
2558 def do_get_outputs(self):
2559 """do_get_outputs(ProjectionParametersScoreState self) -> IMP::ModelObjectsTemp"""
2560 return _IMP_em2d.ProjectionParametersScoreState_do_get_outputs(self)
2563 def get_version_info(self):
2564 """get_version_info(ProjectionParametersScoreState self) -> VersionInfo"""
2565 return _IMP_em2d.ProjectionParametersScoreState_get_version_info(self)
2569 """__str__(ProjectionParametersScoreState self) -> std::string"""
2570 return _IMP_em2d.ProjectionParametersScoreState___str__(self)
2574 """__repr__(ProjectionParametersScoreState self) -> std::string"""
2575 return _IMP_em2d.ProjectionParametersScoreState___repr__(self)
2580 return _object_cast_to_ProjectionParametersScoreState(o)
2582 ProjectionParametersScoreState_swigregister = _IMP_em2d.ProjectionParametersScoreState_swigregister
2583 ProjectionParametersScoreState_swigregister(ProjectionParametersScoreState)
2585 class ProjectionMask(object):
2586 """Proxy of C++ IMP::em2d::ProjectionMask class"""
2587 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2589 def __init__(self, *args, **kwargs):
2590 raise AttributeError(
"No constructor defined")
2592 def apply(self, m, v):
2593 """apply(ProjectionMask self, cv::Mat & m, Vector2D v)"""
2594 return _IMP_em2d.ProjectionMask_apply(self, m, v)
2597 def show(self, *args):
2599 show(ProjectionMask self, _ostream out)
2600 show(ProjectionMask self)
2602 return _IMP_em2d.ProjectionMask_show(self, *args)
2604 __swig_destroy__ = _IMP_em2d.delete_ProjectionMask
2605 __del__ =
lambda self:
None
2608 """__str__(ProjectionMask self) -> std::string"""
2609 return _IMP_em2d.ProjectionMask___str__(self)
2613 """__repr__(ProjectionMask self) -> std::string"""
2614 return _IMP_em2d.ProjectionMask___repr__(self)
2616 ProjectionMask_swigregister = _IMP_em2d.ProjectionMask_swigregister
2617 ProjectionMask_swigregister(ProjectionMask)
2621 """do_place(cv::Mat & mask, cv::Mat & m, Vector2D v)"""
2622 return _IMP_em2d.do_place(mask, m, v)
2623 class MasksManager(object):
2624 """Proxy of C++ IMP::em2d::MasksManager class"""
2625 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2627 def __init__(self, *args):
2629 __init__(IMP::em2d::MasksManager self) -> MasksManager
2630 __init__(IMP::em2d::MasksManager self, double resolution, double pixelsize) -> MasksManager
2632 this = _IMP_em2d.new_MasksManager(*args)
2634 self.this.append(this)
2638 def setup_kernel(self, resolution, pixelsize):
2639 """setup_kernel(MasksManager self, double resolution, double pixelsize)"""
2640 return _IMP_em2d.MasksManager_setup_kernel(self, resolution, pixelsize)
2643 def create_masks(self, ps):
2644 """create_masks(MasksManager self, IMP::ParticlesTemp const & ps)"""
2645 return _IMP_em2d.MasksManager_create_masks(self, ps)
2648 def create_mask(self, mass):
2649 """create_mask(MasksManager self, double mass)"""
2650 return _IMP_em2d.MasksManager_create_mask(self, mass)
2653 def find_mask(self, mass):
2654 """find_mask(MasksManager self, double mass) -> IMP::em2d::ProjectionMaskPtr"""
2655 return _IMP_em2d.MasksManager_find_mask(self, mass)
2658 def show(self, *args):
2660 show(MasksManager self, _ostream out)
2661 show(MasksManager self)
2663 return _IMP_em2d.MasksManager_show(self, *args)
2666 def get_number_of_masks(self):
2667 """get_number_of_masks(MasksManager self) -> unsigned int"""
2668 return _IMP_em2d.MasksManager_get_number_of_masks(self)
2670 __swig_destroy__ = _IMP_em2d.delete_MasksManager
2671 __del__ =
lambda self:
None
2674 """__str__(MasksManager self) -> std::string"""
2675 return _IMP_em2d.MasksManager___str__(self)
2679 """__repr__(MasksManager self) -> std::string"""
2680 return _IMP_em2d.MasksManager___repr__(self)
2682 MasksManager_swigregister = _IMP_em2d.MasksManager_swigregister
2683 MasksManager_swigregister(MasksManager)
2685 class ProjectingParameters(object):
2686 """Proxy of C++ IMP::em2d::ProjectingParameters class"""
2687 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2688 pixel_size = _swig_property(_IMP_em2d.ProjectingParameters_pixel_size_get, _IMP_em2d.ProjectingParameters_pixel_size_set)
2689 resolution = _swig_property(_IMP_em2d.ProjectingParameters_resolution_get, _IMP_em2d.ProjectingParameters_resolution_set)
2691 def __init__(self, *args):
2693 __init__(IMP::em2d::ProjectingParameters self) -> ProjectingParameters
2694 __init__(IMP::em2d::ProjectingParameters self, double ps, double res) -> ProjectingParameters
2696 this = _IMP_em2d.new_ProjectingParameters(*args)
2698 self.this.append(this)
2702 def show(self, *args):
2704 show(ProjectingParameters self, _ostream out)
2705 show(ProjectingParameters self)
2707 return _IMP_em2d.ProjectingParameters_show(self, *args)
2711 """__str__(ProjectingParameters self) -> std::string"""
2712 return _IMP_em2d.ProjectingParameters___str__(self)
2716 """__repr__(ProjectingParameters self) -> std::string"""
2717 return _IMP_em2d.ProjectingParameters___repr__(self)
2719 __swig_destroy__ = _IMP_em2d.delete_ProjectingParameters
2720 __del__ =
lambda self:
None
2721 ProjectingParameters_swigregister = _IMP_em2d.ProjectingParameters_swigregister
2722 ProjectingParameters_swigregister(ProjectingParameters)
2724 class ProjectingOptions(ProjectingParameters):
2725 """Proxy of C++ IMP::em2d::ProjectingOptions class"""
2726 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2727 save_images = _swig_property(_IMP_em2d.ProjectingOptions_save_images_get, _IMP_em2d.ProjectingOptions_save_images_set)
2728 normalize = _swig_property(_IMP_em2d.ProjectingOptions_normalize_get, _IMP_em2d.ProjectingOptions_normalize_set)
2729 clear_matrix_before_projecting = _swig_property(_IMP_em2d.ProjectingOptions_clear_matrix_before_projecting_get, _IMP_em2d.ProjectingOptions_clear_matrix_before_projecting_set)
2731 def __init__(self, *args):
2733 __init__(IMP::em2d::ProjectingOptions self) -> ProjectingOptions
2734 __init__(IMP::em2d::ProjectingOptions self, double ps, double res) -> ProjectingOptions
2735 __init__(IMP::em2d::ProjectingOptions self, double ps, double res, ImageReaderWriter irw) -> ProjectingOptions
2737 this = _IMP_em2d.new_ProjectingOptions(*args)
2739 self.this.append(this)
2743 def show(self, *args):
2745 show(ProjectingOptions self, _ostream out)
2746 show(ProjectingOptions self)
2748 return _IMP_em2d.ProjectingOptions_show(self, *args)
2752 """__str__(ProjectingOptions self) -> std::string"""
2753 return _IMP_em2d.ProjectingOptions___str__(self)
2757 """__repr__(ProjectingOptions self) -> std::string"""
2758 return _IMP_em2d.ProjectingOptions___repr__(self)
2760 __swig_destroy__ = _IMP_em2d.delete_ProjectingOptions
2761 __del__ =
lambda self:
None
2762 ProjectingOptions_swigregister = _IMP_em2d.ProjectingOptions_swigregister
2763 ProjectingOptions_swigregister(ProjectingOptions)
2768 get_projections(IMP::ParticlesTemp const & ps, IMP::algebra::SphericalVector3Ds const & vs, int rows, int cols, ProjectingOptions options, IMP::Strings names) -> IMP::em2d::Images
2769 get_projections(IMP::ParticlesTemp const & ps, IMP::algebra::SphericalVector3Ds const & vs, int rows, int cols, ProjectingOptions options) -> IMP::em2d::Images
2770 get_projections(IMP::ParticlesTemp const & ps, IMP::em2d::RegistrationResults const & registration_values, int rows, int cols, ProjectingOptions options, IMP::Strings names) -> IMP::em2d::Images
2771 get_projections(IMP::ParticlesTemp const & ps, IMP::em2d::RegistrationResults const & registration_values, int rows, int cols, ProjectingOptions options) -> IMP::em2d::Images
2773 return _IMP_em2d.get_projections(*args)
2777 get_projection(Image img, IMP::ParticlesTemp const & ps, RegistrationResult reg, ProjectingOptions options, IMP::em2d::MasksManagerPtr masks, IMP::String name)
2778 get_projection(Image img, IMP::ParticlesTemp const & ps, RegistrationResult reg, ProjectingOptions options, IMP::em2d::MasksManagerPtr masks)
2779 get_projection(Image img, IMP::ParticlesTemp const & ps, RegistrationResult reg, ProjectingOptions options)
2781 return _IMP_em2d.get_projection(*args)
2784 """do_project_particles(IMP::ParticlesTemp const & ps, cv::Mat & m2, Rotation3D R, Vector3D translation, ProjectingOptions options, IMP::em2d::MasksManagerPtr masks)"""
2785 return _IMP_em2d.do_project_particles(ps, m2, R, translation, options, masks)
2788 """create_evenly_distributed_projections(IMP::ParticlesTemp const & ps, unsigned int n, ProjectingOptions options) -> IMP::em2d::Images"""
2789 return _IMP_em2d.create_evenly_distributed_projections(ps, n, options)
2793 do_project_vectors(IMP::algebra::Vector3Ds const & ps, Rotation3D R, Vector3D translation) -> IMP::algebra::Vector2Ds
2794 do_project_vectors(IMP::algebra::Vector3Ds const & ps, Rotation3D R, Vector3D translation, Vector3D center) -> IMP::algebra::Vector2Ds
2796 return _IMP_em2d.do_project_vectors(*args)
2799 """get_enclosing_image_size(IMP::ParticlesTemp const & ps, double pixel_size, unsigned int slack) -> unsigned int"""
2800 return _IMP_em2d.get_enclosing_image_size(ps, pixel_size, slack)
2804 get_complete_alignment(cv::Mat const & input, cv::Mat & m_to_align, bool apply=False) -> ResultAlign2D
2805 get_complete_alignment(cv::Mat const & input, cv::Mat & m_to_align) -> ResultAlign2D
2807 return _IMP_em2d.get_complete_alignment(input, m_to_align, apply)
2811 get_rotational_alignment(cv::Mat const & input, cv::Mat & m_to_align, bool apply=False) -> ResultAlign2D
2812 get_rotational_alignment(cv::Mat const & input, cv::Mat & m_to_align) -> ResultAlign2D
2814 return _IMP_em2d.get_rotational_alignment(input, m_to_align, apply)
2818 get_translational_alignment(cv::Mat const & input, cv::Mat & m_to_align, bool apply=False) -> ResultAlign2D
2819 get_translational_alignment(cv::Mat const & input, cv::Mat & m_to_align) -> ResultAlign2D
2821 return _IMP_em2d.get_translational_alignment(input, m_to_align, apply)
2825 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
2826 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
2828 return _IMP_em2d.get_complete_alignment_no_preprocessing(input, INPUT, POLAR1, m_to_align, POLAR2, apply)
2831 """get_rotational_alignment_no_preprocessing(cv::Mat const & POLAR1, cv::Mat const & POLAR2) -> ResultAlign2D"""
2832 return _IMP_em2d.get_rotational_alignment_no_preprocessing(POLAR1, POLAR2)
2835 """get_translational_alignment_no_preprocessing(cv::Mat const & M1, cv::Mat const & M2) -> ResultAlign2D"""
2836 return _IMP_em2d.get_translational_alignment_no_preprocessing(M1, M2)
2839 """get_complete_alignment_with_centers_no_preprocessing(Vector2D center1, Vector2D center2, cv::Mat const & AUTOC_POLAR1, cv::Mat const & AUTOC_POLAR2) -> ResultAlign2D"""
2840 return _IMP_em2d.get_complete_alignment_with_centers_no_preprocessing(center1, center2, AUTOC_POLAR1, AUTOC_POLAR2)
2844 write_vectors_as_pdb(IMP::algebra::Vector2Ds const vs, IMP::String const filename)
2845 write_vectors_as_pdb(IMP::algebra::Vector3Ds const vs, IMP::String const filename)
2847 return _IMP_em2d.write_vectors_as_pdb(*args)
2848 class Em2DRestraintParameters(ProjectingParameters):
2849 """Proxy of C++ IMP::em2d::Em2DRestraintParameters class"""
2850 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2851 n_projections = _swig_property(_IMP_em2d.Em2DRestraintParameters_n_projections_get, _IMP_em2d.Em2DRestraintParameters_n_projections_set)
2852 coarse_registration_method = _swig_property(_IMP_em2d.Em2DRestraintParameters_coarse_registration_method_get, _IMP_em2d.Em2DRestraintParameters_coarse_registration_method_set)
2853 save_match_images = _swig_property(_IMP_em2d.Em2DRestraintParameters_save_match_images_get, _IMP_em2d.Em2DRestraintParameters_save_match_images_set)
2854 optimization_steps = _swig_property(_IMP_em2d.Em2DRestraintParameters_optimization_steps_get, _IMP_em2d.Em2DRestraintParameters_optimization_steps_set)
2855 simplex_initial_length = _swig_property(_IMP_em2d.Em2DRestraintParameters_simplex_initial_length_get, _IMP_em2d.Em2DRestraintParameters_simplex_initial_length_set)
2856 simplex_minimum_size = _swig_property(_IMP_em2d.Em2DRestraintParameters_simplex_minimum_size_get, _IMP_em2d.Em2DRestraintParameters_simplex_minimum_size_set)
2858 def __init__(self, *args):
2860 __init__(IMP::em2d::Em2DRestraintParameters self) -> Em2DRestraintParameters
2861 __init__(IMP::em2d::Em2DRestraintParameters self, double ps, double res, unsigned int n_proj=20) -> Em2DRestraintParameters
2862 __init__(IMP::em2d::Em2DRestraintParameters self, double ps, double res) -> Em2DRestraintParameters
2864 this = _IMP_em2d.new_Em2DRestraintParameters(*args)
2866 self.this.append(this)
2870 def show(self, *args):
2872 show(Em2DRestraintParameters self, _ostream out)
2873 show(Em2DRestraintParameters self)
2875 return _IMP_em2d.Em2DRestraintParameters_show(self, *args)
2879 """__str__(Em2DRestraintParameters self) -> std::string"""
2880 return _IMP_em2d.Em2DRestraintParameters___str__(self)
2884 """__repr__(Em2DRestraintParameters self) -> std::string"""
2885 return _IMP_em2d.Em2DRestraintParameters___repr__(self)
2887 __swig_destroy__ = _IMP_em2d.delete_Em2DRestraintParameters
2888 __del__ =
lambda self:
None
2889 Em2DRestraintParameters_swigregister = _IMP_em2d.Em2DRestraintParameters_swigregister
2890 Em2DRestraintParameters_swigregister(Em2DRestraintParameters)
2891 cvar = _IMP_em2d.cvar
2892 ALIGN2D_NO_PREPROCESSING = cvar.ALIGN2D_NO_PREPROCESSING
2893 ALIGN2D_PREPROCESSING = cvar.ALIGN2D_PREPROCESSING
2894 ALIGN2D_WITH_CENTERS = cvar.ALIGN2D_WITH_CENTERS
2897 """Proxy of C++ IMP::em2d::ProjectionFinder class"""
2898 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2901 """__init__(IMP::em2d::ProjectionFinder self) -> ProjectionFinder"""
2902 this = _IMP_em2d.new_ProjectionFinder()
2904 self.this.append(this)
2908 def setup(self, score_function, params):
2909 """setup(ProjectionFinder self, ScoreFunction score_function, Em2DRestraintParameters params)"""
2910 return _IMP_em2d.ProjectionFinder_setup(self, score_function, params)
2913 def set_subjects(self, subjects):
2914 """set_subjects(ProjectionFinder self, IMP::em2d::Images const & subjects)"""
2915 return _IMP_em2d.ProjectionFinder_set_subjects(self, subjects)
2918 def set_projections(self, projections):
2919 """set_projections(ProjectionFinder self, IMP::em2d::Images const & projections)"""
2920 return _IMP_em2d.ProjectionFinder_set_projections(self, projections)
2923 def set_variance_images(self, variances):
2924 """set_variance_images(ProjectionFinder self, IMP::em2d::Images const & variances)"""
2925 return _IMP_em2d.ProjectionFinder_set_variance_images(self, variances)
2928 def set_model_particles(self, ps):
2929 """set_model_particles(ProjectionFinder self, IMP::ParticlesTemp const & ps)"""
2930 return _IMP_em2d.ProjectionFinder_set_model_particles(self, ps)
2933 def set_save_match_images(self, x):
2934 """set_save_match_images(ProjectionFinder self, bool x)"""
2935 return _IMP_em2d.ProjectionFinder_set_save_match_images(self, x)
2938 def get_save_match_images(self):
2939 """get_save_match_images(ProjectionFinder self) -> bool"""
2940 return _IMP_em2d.ProjectionFinder_get_save_match_images(self)
2943 def set_fast_mode(self, n):
2944 """set_fast_mode(ProjectionFinder self, unsigned int n)"""
2945 return _IMP_em2d.ProjectionFinder_set_fast_mode(self, n)
2948 def get_registration_results(self):
2949 """get_registration_results(ProjectionFinder self) -> IMP::em2d::RegistrationResults"""
2950 return _IMP_em2d.ProjectionFinder_get_registration_results(self)
2953 def get_coarse_registration(self):
2954 """get_coarse_registration(ProjectionFinder self)"""
2955 return _IMP_em2d.ProjectionFinder_get_coarse_registration(self)
2958 def get_complete_registration(self):
2959 """get_complete_registration(ProjectionFinder self)"""
2960 return _IMP_em2d.ProjectionFinder_get_complete_registration(self)
2964 """get_global_score(ProjectionFinder self) -> double"""
2965 return _IMP_em2d.ProjectionFinder_get_global_score(self)
2968 def show(self, out):
2969 """show(ProjectionFinder self, _ostream out)"""
2970 return _IMP_em2d.ProjectionFinder_show(self, out)
2973 def get_preprocessing_time(self):
2974 """get_preprocessing_time(ProjectionFinder self) -> double"""
2975 return _IMP_em2d.ProjectionFinder_get_preprocessing_time(self)
2978 def get_coarse_registration_time(self):
2979 """get_coarse_registration_time(ProjectionFinder self) -> double"""
2980 return _IMP_em2d.ProjectionFinder_get_coarse_registration_time(self)
2983 def get_fine_registration_time(self):
2984 """get_fine_registration_time(ProjectionFinder self) -> double"""
2985 return _IMP_em2d.ProjectionFinder_get_fine_registration_time(self)
2988 def get_number_of_subjects(self):
2989 """get_number_of_subjects(ProjectionFinder self) -> unsigned int"""
2990 return _IMP_em2d.ProjectionFinder_get_number_of_subjects(self)
2993 def set_number_of_class_averages_members(self, n_members):
2994 """set_number_of_class_averages_members(ProjectionFinder self, IMP::Ints n_members)"""
2995 return _IMP_em2d.ProjectionFinder_set_number_of_class_averages_members(self, n_members)
2998 def get_number_of_projections(self):
2999 """get_number_of_projections(ProjectionFinder self) -> unsigned int"""
3000 return _IMP_em2d.ProjectionFinder_get_number_of_projections(self)
3003 def get_version_info(self):
3004 """get_version_info(ProjectionFinder self) -> VersionInfo"""
3005 return _IMP_em2d.ProjectionFinder_get_version_info(self)
3009 """__str__(ProjectionFinder self) -> std::string"""
3010 return _IMP_em2d.ProjectionFinder___str__(self)
3014 """__repr__(ProjectionFinder self) -> std::string"""
3015 return _IMP_em2d.ProjectionFinder___repr__(self)
3020 return _object_cast_to_ProjectionFinder(o)
3022 ProjectionFinder_swigregister = _IMP_em2d.ProjectionFinder_swigregister
3023 ProjectionFinder_swigregister(ProjectionFinder)
3026 """Proxy of C++ IMP::em2d::Em2DRestraint class"""
3027 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3029 def __init__(self, m):
3030 """__init__(IMP::em2d::Em2DRestraint self, Model m) -> Em2DRestraint"""
3031 this = _IMP_em2d.new_Em2DRestraint(m)
3033 self.this.append(this)
3037 def setup(self, score_function, params):
3038 """setup(Em2DRestraint self, ScoreFunction score_function, Em2DRestraintParameters params)"""
3039 return _IMP_em2d.Em2DRestraint_setup(self, score_function, params)
3042 def set_particles(self, particles_container):
3043 """set_particles(Em2DRestraint self, SingletonContainer particles_container)"""
3044 return _IMP_em2d.Em2DRestraint_set_particles(self, particles_container)
3047 def set_images(self, em_images):
3048 """set_images(Em2DRestraint self, IMP::em2d::Images const em_images)"""
3049 return _IMP_em2d.Em2DRestraint_set_images(self, em_images)
3052 def set_variance_images(self, variance_images):
3053 """set_variance_images(Em2DRestraint self, IMP::em2d::Images const variance_images)"""
3054 return _IMP_em2d.Em2DRestraint_set_variance_images(self, variance_images)
3057 def set_fast_mode(self, n):
3058 """set_fast_mode(Em2DRestraint self, unsigned int n)"""
3059 return _IMP_em2d.Em2DRestraint_set_fast_mode(self, n)
3062 def set_coarse_registration_mode(self, opt):
3063 """set_coarse_registration_mode(Em2DRestraint self, bool opt)"""
3064 return _IMP_em2d.Em2DRestraint_set_coarse_registration_mode(self, opt)
3067 def get_registration_results(self):
3068 """get_registration_results(Em2DRestraint self) -> IMP::em2d::RegistrationResults"""
3069 return _IMP_em2d.Em2DRestraint_get_registration_results(self)
3072 def do_get_inputs(self):
3073 """do_get_inputs(Em2DRestraint self) -> IMP::ModelObjectsTemp"""
3074 return _IMP_em2d.Em2DRestraint_do_get_inputs(self)
3077 def get_version_info(self):
3078 """get_version_info(Em2DRestraint self) -> VersionInfo"""
3079 return _IMP_em2d.Em2DRestraint_get_version_info(self)
3083 """__str__(Em2DRestraint self) -> std::string"""
3084 return _IMP_em2d.Em2DRestraint___str__(self)
3088 """__repr__(Em2DRestraint self) -> std::string"""
3089 return _IMP_em2d.Em2DRestraint___repr__(self)
3094 return _object_cast_to_Em2DRestraint(o)
3096 Em2DRestraint_swigregister = _IMP_em2d.Em2DRestraint_swigregister
3097 Em2DRestraint_swigregister(Em2DRestraint)
3099 class ClusterSet(object):
3100 """Proxy of C++ IMP::em2d::ClusterSet class"""
3101 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3103 def __init__(self, N):
3104 """__init__(IMP::em2d::ClusterSet self, unsigned int N) -> ClusterSet"""
3105 this = _IMP_em2d.new_ClusterSet(N)
3107 self.this.append(this)
3111 def do_join_clusters(self, cluster_id1, cluster_id2, distance_between_clusters):
3112 """do_join_clusters(ClusterSet self, unsigned int cluster_id1, unsigned int cluster_id2, double distance_between_clusters)"""
3113 return _IMP_em2d.ClusterSet_do_join_clusters(self, cluster_id1, cluster_id2, distance_between_clusters)
3116 def get_cluster_elements(self, id):
3117 """get_cluster_elements(ClusterSet self, unsigned int id) -> IMP::Ints"""
3118 return _IMP_em2d.ClusterSet_get_cluster_elements(self, id)
3121 def get_clusters_below_cutoff(self, cutoff):
3122 """get_clusters_below_cutoff(ClusterSet self, double cutoff) -> IMP::Ints"""
3123 return _IMP_em2d.ClusterSet_get_clusters_below_cutoff(self, cutoff)
3126 def get_cluster_formed_at_step(self, step):
3127 """get_cluster_formed_at_step(ClusterSet self, unsigned int step) -> IMP::Ints"""
3128 return _IMP_em2d.ClusterSet_get_cluster_formed_at_step(self, step)
3131 def get_distance_at_step(self, step):
3132 """get_distance_at_step(ClusterSet self, unsigned int step) -> double"""
3133 return _IMP_em2d.ClusterSet_get_distance_at_step(self, step)
3136 def get_id_for_cluster_at_step(self, step):
3137 """get_id_for_cluster_at_step(ClusterSet self, unsigned int step) -> unsigned int"""
3138 return _IMP_em2d.ClusterSet_get_id_for_cluster_at_step(self, step)
3141 def get_linkage_matrix(self):
3142 """get_linkage_matrix(ClusterSet self) -> IMP::FloatsList"""
3143 return _IMP_em2d.ClusterSet_get_linkage_matrix(self)
3146 def get_linkage_matrix_in_matlab_format(self):
3147 """get_linkage_matrix_in_matlab_format(ClusterSet self) -> IMP::FloatsList"""
3148 return _IMP_em2d.ClusterSet_get_linkage_matrix_in_matlab_format(self)
3151 def get_number_of_steps(self):
3152 """get_number_of_steps(ClusterSet self) -> unsigned int"""
3153 return _IMP_em2d.ClusterSet_get_number_of_steps(self)
3156 def show(self, out):
3157 """show(ClusterSet self, _ostream out)"""
3158 return _IMP_em2d.ClusterSet_show(self, out)
3162 """__str__(ClusterSet self) -> std::string"""
3163 return _IMP_em2d.ClusterSet___str__(self)
3167 """__repr__(ClusterSet self) -> std::string"""
3168 return _IMP_em2d.ClusterSet___repr__(self)
3170 __swig_destroy__ = _IMP_em2d.delete_ClusterSet
3171 __del__ =
lambda self:
None
3172 ClusterSet_swigregister = _IMP_em2d.ClusterSet_swigregister
3173 ClusterSet_swigregister(ClusterSet)
3175 class SingleLinkage(object):
3176 """Proxy of C++ IMP::em2d::SingleLinkage class"""
3177 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3180 """__init__(IMP::em2d::SingleLinkage self) -> SingleLinkage"""
3181 this = _IMP_em2d.new_SingleLinkage()
3183 self.this.append(this)
3187 def __call__(self, id1, id2, cluster_set, distances):
3188 """__call__(SingleLinkage self, unsigned int id1, unsigned int id2, ClusterSet cluster_set, IMP::FloatsList const & distances) -> double"""
3189 return _IMP_em2d.SingleLinkage___call__(self, id1, id2, cluster_set, distances)
3192 def show(self, out):
3193 """show(SingleLinkage self, _ostream out)"""
3194 return _IMP_em2d.SingleLinkage_show(self, out)
3198 """__str__(SingleLinkage self) -> std::string"""
3199 return _IMP_em2d.SingleLinkage___str__(self)
3203 """__repr__(SingleLinkage self) -> std::string"""
3204 return _IMP_em2d.SingleLinkage___repr__(self)
3206 __swig_destroy__ = _IMP_em2d.delete_SingleLinkage
3207 __del__ =
lambda self:
None
3208 SingleLinkage_swigregister = _IMP_em2d.SingleLinkage_swigregister
3209 SingleLinkage_swigregister(SingleLinkage)
3211 class CompleteLinkage(object):
3212 """Proxy of C++ IMP::em2d::CompleteLinkage class"""
3213 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3216 """__init__(IMP::em2d::CompleteLinkage self) -> CompleteLinkage"""
3217 this = _IMP_em2d.new_CompleteLinkage()
3219 self.this.append(this)
3223 def __call__(self, id1, id2, cluster_set, distances):
3224 """__call__(CompleteLinkage self, unsigned int id1, unsigned int id2, ClusterSet cluster_set, IMP::FloatsList const & distances) -> double"""
3225 return _IMP_em2d.CompleteLinkage___call__(self, id1, id2, cluster_set, distances)
3228 def show(self, out):
3229 """show(CompleteLinkage self, _ostream out)"""
3230 return _IMP_em2d.CompleteLinkage_show(self, out)
3234 """__str__(CompleteLinkage self) -> std::string"""
3235 return _IMP_em2d.CompleteLinkage___str__(self)
3239 """__repr__(CompleteLinkage self) -> std::string"""
3240 return _IMP_em2d.CompleteLinkage___repr__(self)
3242 __swig_destroy__ = _IMP_em2d.delete_CompleteLinkage
3243 __del__ =
lambda self:
None
3244 CompleteLinkage_swigregister = _IMP_em2d.CompleteLinkage_swigregister
3245 CompleteLinkage_swigregister(CompleteLinkage)
3247 class AverageDistanceLinkage(object):
3248 """Proxy of C++ IMP::em2d::AverageDistanceLinkage class"""
3249 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3252 """__init__(IMP::em2d::AverageDistanceLinkage self) -> AverageDistanceLinkage"""
3253 this = _IMP_em2d.new_AverageDistanceLinkage()
3255 self.this.append(this)
3259 def __call__(self, id1, id2, cluster_set, distances):
3260 """__call__(AverageDistanceLinkage self, unsigned int id1, unsigned int id2, ClusterSet cluster_set, IMP::FloatsList const & distances) -> double"""
3261 return _IMP_em2d.AverageDistanceLinkage___call__(self, id1, id2, cluster_set, distances)
3264 def show(self, out):
3265 """show(AverageDistanceLinkage self, _ostream out)"""
3266 return _IMP_em2d.AverageDistanceLinkage_show(self, out)
3270 """__str__(AverageDistanceLinkage self) -> std::string"""
3271 return _IMP_em2d.AverageDistanceLinkage___str__(self)
3275 """__repr__(AverageDistanceLinkage self) -> std::string"""
3276 return _IMP_em2d.AverageDistanceLinkage___repr__(self)
3278 __swig_destroy__ = _IMP_em2d.delete_AverageDistanceLinkage
3279 __del__ =
lambda self:
None
3280 AverageDistanceLinkage_swigregister = _IMP_em2d.AverageDistanceLinkage_swigregister
3281 AverageDistanceLinkage_swigregister(AverageDistanceLinkage)
3284 """Proxy of C++ IMP::em2d::CollisionCrossSection class"""
3285 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3287 def __init__(self, n_projections, resolution, pixel_size, projection_image_size):
3288 """__init__(IMP::em2d::CollisionCrossSection self, unsigned int n_projections, double resolution, double pixel_size, double projection_image_size) -> CollisionCrossSection"""
3289 this = _IMP_em2d.new_CollisionCrossSection(n_projections, resolution, pixel_size, projection_image_size)
3291 self.this.append(this)
3295 def set_model_particles(self, ps):
3296 """set_model_particles(CollisionCrossSection self, IMP::ParticlesTemp const & ps)"""
3297 return _IMP_em2d.CollisionCrossSection_set_model_particles(self, ps)
3301 """get_ccs(CollisionCrossSection self) -> double"""
3302 return _IMP_em2d.CollisionCrossSection_get_ccs(self)
3305 def show(self, out):
3306 """show(CollisionCrossSection self, _ostream out)"""
3307 return _IMP_em2d.CollisionCrossSection_show(self, out)
3310 def get_version_info(self):
3311 """get_version_info(CollisionCrossSection self) -> VersionInfo"""
3312 return _IMP_em2d.CollisionCrossSection_get_version_info(self)
3316 """__str__(CollisionCrossSection self) -> std::string"""
3317 return _IMP_em2d.CollisionCrossSection___str__(self)
3321 """__repr__(CollisionCrossSection self) -> std::string"""
3322 return _IMP_em2d.CollisionCrossSection___repr__(self)
3327 return _object_cast_to_CollisionCrossSection(o)
3329 CollisionCrossSection_swigregister = _IMP_em2d.CollisionCrossSection_swigregister
3330 CollisionCrossSection_swigregister(CollisionCrossSection)
3333 """Proxy of C++ IMP::em2d::GridStates class"""
3334 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3336 def __init__(self, *args):
3338 __init__(IMP::em2d::GridStates self, IMP::algebra::Vector3Ds const & positions, IMP::algebra::Rotation3Ds const & orientations, IMP::String const & name) -> GridStates
3339 __init__(IMP::em2d::GridStates self, IMP::algebra::Vector3Ds const & positions, IMP::algebra::Rotation3Ds const & orientations) -> GridStates
3341 this = _IMP_em2d.new_GridStates(*args)
3343 self.this.append(this)
3347 def get_position(self, i):
3348 """get_position(GridStates self, unsigned int i) -> Vector3D"""
3349 return _IMP_em2d.GridStates_get_position(self, i)
3352 def get_orientation(self, i):
3353 """get_orientation(GridStates self, unsigned int i) -> Rotation3D"""
3354 return _IMP_em2d.GridStates_get_orientation(self, i)
3357 def get_version_info(self):
3358 """get_version_info(GridStates self) -> VersionInfo"""
3359 return _IMP_em2d.GridStates_get_version_info(self)
3363 """__str__(GridStates self) -> std::string"""
3364 return _IMP_em2d.GridStates___str__(self)
3368 """__repr__(GridStates self) -> std::string"""
3369 return _IMP_em2d.GridStates___repr__(self)
3374 return _object_cast_to_GridStates(o)
3376 GridStates_swigregister = _IMP_em2d.GridStates_swigregister
3377 GridStates_swigregister(GridStates)
3379 class ProjectionStates(GridStates):
3380 """Proxy of C++ IMP::em2d::ProjectionStates class"""
3381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3383 def __init__(self, *args):
3385 __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
3386 __init__(IMP::em2d::ProjectionStates self, IMP::algebra::Vector3Ds const & positions, IMP::algebra::Rotation3Ds const & orientations, IMP::em2d::Images const & projections) -> ProjectionStates
3388 this = _IMP_em2d.new_ProjectionStates(*args)
3390 self.this.append(this)
3395 """get_projection(ProjectionStates self, unsigned int i) -> Image"""
3396 return _IMP_em2d.ProjectionStates_get_projection(self, i)
3400 """__str__(ProjectionStates self) -> std::string"""
3401 return _IMP_em2d.ProjectionStates___str__(self)
3405 """__repr__(ProjectionStates self) -> std::string"""
3406 return _IMP_em2d.ProjectionStates___repr__(self)
3411 return _object_cast_to_ProjectionStates(o)
3413 ProjectionStates_swigregister = _IMP_em2d.ProjectionStates_swigregister
3414 ProjectionStates_swigregister(ProjectionStates)
3417 """Proxy of C++ IMP::em2d::DistanceFilter class"""
3418 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3420 def __init__(self, subset_to_act_on, subset_to_restrain, ps_table, max_distance):
3421 """__init__(IMP::em2d::DistanceFilter self, Subset subset_to_act_on, Subset subset_to_restrain, ParticleStatesTable ps_table, double max_distance) -> DistanceFilter"""
3422 this = _IMP_em2d.new_DistanceFilter(subset_to_act_on, subset_to_restrain, ps_table, max_distance)
3424 self.this.append(this)
3428 def show(self, *args):
3430 show(DistanceFilter self, _ostream out)
3431 show(DistanceFilter self)
3433 return _IMP_em2d.DistanceFilter_show(self, *args)
3436 def get_version_info(self):
3437 """get_version_info(DistanceFilter self) -> VersionInfo"""
3438 return _IMP_em2d.DistanceFilter_get_version_info(self)
3442 """__str__(DistanceFilter self) -> std::string"""
3443 return _IMP_em2d.DistanceFilter___str__(self)
3447 """__repr__(DistanceFilter self) -> std::string"""
3448 return _IMP_em2d.DistanceFilter___repr__(self)
3453 return _object_cast_to_DistanceFilter(o)
3455 DistanceFilter_swigregister = _IMP_em2d.DistanceFilter_swigregister
3456 DistanceFilter_swigregister(DistanceFilter)
3459 """Proxy of C++ IMP::em2d::DistanceFilterTable class"""
3460 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3462 def __init__(self, subset_to_act_on, ps_table, max_distance):
3463 """__init__(IMP::em2d::DistanceFilterTable self, Subset subset_to_act_on, ParticleStatesTable ps_table, double max_distance) -> DistanceFilterTable"""
3464 this = _IMP_em2d.new_DistanceFilterTable(subset_to_act_on, ps_table, max_distance)
3466 self.this.append(this)
3470 def show(self, *args):
3472 show(DistanceFilterTable self, _ostream out)
3473 show(DistanceFilterTable self)
3475 return _IMP_em2d.DistanceFilterTable_show(self, *args)
3478 def get_version_info(self):
3479 """get_version_info(DistanceFilterTable self) -> VersionInfo"""
3480 return _IMP_em2d.DistanceFilterTable_get_version_info(self)
3484 """__str__(DistanceFilterTable self) -> std::string"""
3485 return _IMP_em2d.DistanceFilterTable___str__(self)
3489 """__repr__(DistanceFilterTable self) -> std::string"""
3490 return _IMP_em2d.DistanceFilterTable___repr__(self)
3495 return _object_cast_to_DistanceFilterTable(o)
3497 DistanceFilterTable_swigregister = _IMP_em2d.DistanceFilterTable_swigregister
3498 DistanceFilterTable_swigregister(DistanceFilterTable)
3500 class IntsOrder(object):
3501 """Proxy of C++ IMP::em2d::IntsOrder class"""
3502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3503 __repr__ = _swig_repr
3505 def __call__(self, a, b):
3506 """__call__(IntsOrder self, IMP::Ints const & a, IMP::Ints const & b) -> bool"""
3507 return _IMP_em2d.IntsOrder___call__(self, a, b)
3511 """__init__(IMP::em2d::IntsOrder self) -> IntsOrder"""
3512 this = _IMP_em2d.new_IntsOrder()
3514 self.this.append(this)
3517 __swig_destroy__ = _IMP_em2d.delete_IntsOrder
3518 __del__ =
lambda self:
None
3519 IntsOrder_swigregister = _IMP_em2d.IntsOrder_swigregister
3520 IntsOrder_swigregister(IntsOrder)
3523 """Proxy of C++ IMP::em2d::RigidBodiesImageFitRestraint class"""
3524 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3526 def get_version_info(self):
3527 """get_version_info(RigidBodiesImageFitRestraint self) -> VersionInfo"""
3528 return _IMP_em2d.RigidBodiesImageFitRestraint_get_version_info(self)
3531 def __init__(self, scf, rbs, img):
3532 """__init__(IMP::em2d::RigidBodiesImageFitRestraint self, ScoreFunction scf, IMP::core::RigidBodies const & rbs, Image img) -> RigidBodiesImageFitRestraint"""
3533 this = _IMP_em2d.new_RigidBodiesImageFitRestraint(scf, rbs, img)
3535 self.this.append(this)
3539 def set_projecting_parameters(self, p):
3540 """set_projecting_parameters(RigidBodiesImageFitRestraint self, ProjectingParameters p)"""
3541 return _IMP_em2d.RigidBodiesImageFitRestraint_set_projecting_parameters(self, p)
3544 def set_orientations(self, rb, rots):
3545 """set_orientations(RigidBodiesImageFitRestraint self, RigidBody rb, IMP::algebra::Rotation3Ds const & rots)"""
3546 return _IMP_em2d.RigidBodiesImageFitRestraint_set_orientations(self, rb, rots)
3549 def get_number_of_masks(self, rb):
3550 """get_number_of_masks(RigidBodiesImageFitRestraint self, RigidBody rb) -> unsigned int"""
3551 return _IMP_em2d.RigidBodiesImageFitRestraint_get_number_of_masks(self, rb)
3555 """__str__(RigidBodiesImageFitRestraint self) -> std::string"""
3556 return _IMP_em2d.RigidBodiesImageFitRestraint___str__(self)
3560 """__repr__(RigidBodiesImageFitRestraint self) -> std::string"""
3561 return _IMP_em2d.RigidBodiesImageFitRestraint___repr__(self)
3566 return _object_cast_to_RigidBodiesImageFitRestraint(o)
3568 RigidBodiesImageFitRestraint_swigregister = _IMP_em2d.RigidBodiesImageFitRestraint_swigregister
3569 RigidBodiesImageFitRestraint_swigregister(RigidBodiesImageFitRestraint)
3573 """get_unique_index(Rotation3D rot) -> IMP::Ints"""
3574 return _IMP_em2d.get_unique_index(rot)
3576 """Proxy of C++ IMP::em2d::RelativePositionMover class"""
3577 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3579 def __init__(self, d, max_translation, max_rotation):
3580 """__init__(IMP::em2d::RelativePositionMover self, RigidBody d, IMP::Float max_translation, IMP::Float max_rotation) -> RelativePositionMover"""
3581 this = _IMP_em2d.new_RelativePositionMover(d, max_translation, max_rotation)
3583 self.this.append(this)
3587 def add_internal_transformations(self, d, transforms):
3588 """add_internal_transformations(RelativePositionMover self, RigidBody d, IMP::algebra::Transformation3Ds transforms)"""
3589 return _IMP_em2d.RelativePositionMover_add_internal_transformations(self, d, transforms)
3592 def set_random_move_probability(self, p):
3593 """set_random_move_probability(RelativePositionMover self, IMP::Float p)"""
3594 return _IMP_em2d.RelativePositionMover_set_random_move_probability(self, p)
3598 """__str__(RelativePositionMover self) -> std::string"""
3599 return _IMP_em2d.RelativePositionMover___str__(self)
3603 """__repr__(RelativePositionMover self) -> std::string"""
3604 return _IMP_em2d.RelativePositionMover___repr__(self)
3609 return _object_cast_to_RelativePositionMover(o)
3611 RelativePositionMover_swigregister = _IMP_em2d.RelativePositionMover_swigregister
3612 RelativePositionMover_swigregister(RelativePositionMover)
3615 """Proxy of C++ IMP::em2d::DummyRestraint class"""
3616 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3618 def __init__(self, p, q):
3619 """__init__(IMP::em2d::DummyRestraint self, Particle p, Particle q) -> DummyRestraint"""
3620 this = _IMP_em2d.new_DummyRestraint(p, q)
3622 self.this.append(this)
3626 def show(self, *args):
3628 show(DummyRestraint self, _ostream out)
3629 show(DummyRestraint self)
3631 return _IMP_em2d.DummyRestraint_show(self, *args)
3634 def do_get_inputs(self):
3635 """do_get_inputs(DummyRestraint self) -> IMP::ModelObjectsTemp"""
3636 return _IMP_em2d.DummyRestraint_do_get_inputs(self)
3639 def get_version_info(self):
3640 """get_version_info(DummyRestraint self) -> VersionInfo"""
3641 return _IMP_em2d.DummyRestraint_get_version_info(self)
3645 """__str__(DummyRestraint self) -> std::string"""
3646 return _IMP_em2d.DummyRestraint___str__(self)
3650 """__repr__(DummyRestraint self) -> std::string"""
3651 return _IMP_em2d.DummyRestraint___repr__(self)
3656 return _object_cast_to_DummyRestraint(o)
3658 DummyRestraint_swigregister = _IMP_em2d.DummyRestraint_swigregister
3659 DummyRestraint_swigregister(DummyRestraint)
3662 """Proxy of C++ IMP::em2d::ParticlesDummyRestraint class"""
3663 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3665 def __init__(self, sc):
3666 """__init__(IMP::em2d::ParticlesDummyRestraint self, SingletonContainer sc) -> ParticlesDummyRestraint"""
3667 this = _IMP_em2d.new_ParticlesDummyRestraint(sc)
3669 self.this.append(this)
3673 def show(self, *args):
3675 show(ParticlesDummyRestraint self, _ostream out)
3676 show(ParticlesDummyRestraint self)
3678 return _IMP_em2d.ParticlesDummyRestraint_show(self, *args)
3681 def do_get_inputs(self):
3682 """do_get_inputs(ParticlesDummyRestraint self) -> IMP::ModelObjectsTemp"""
3683 return _IMP_em2d.ParticlesDummyRestraint_do_get_inputs(self)
3686 def get_version_info(self):
3687 """get_version_info(ParticlesDummyRestraint self) -> VersionInfo"""
3688 return _IMP_em2d.ParticlesDummyRestraint_get_version_info(self)
3692 """__str__(ParticlesDummyRestraint self) -> std::string"""
3693 return _IMP_em2d.ParticlesDummyRestraint___str__(self)
3697 """__repr__(ParticlesDummyRestraint self) -> std::string"""
3698 return _IMP_em2d.ParticlesDummyRestraint___repr__(self)
3703 return _object_cast_to_ParticlesDummyRestraint(o)
3705 ParticlesDummyRestraint_swigregister = _IMP_em2d.ParticlesDummyRestraint_swigregister
3706 ParticlesDummyRestraint_swigregister(ParticlesDummyRestraint)
3709 """Proxy of C++ IMP::em2d::PCAFitRestraint class"""
3710 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3712 def __init__(self, particles, image_files, pixel_size, resolution=10.0, projection_number=100, reuse_direction=False, n_components=1):
3714 __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
3715 __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
3716 __init__(IMP::em2d::PCAFitRestraint self, IMP::Particles particles, Strings image_files, double pixel_size, double resolution=10.0, unsigned int projection_number=100) -> PCAFitRestraint
3717 __init__(IMP::em2d::PCAFitRestraint self, IMP::Particles particles, Strings image_files, double pixel_size, double resolution=10.0) -> PCAFitRestraint
3718 __init__(IMP::em2d::PCAFitRestraint self, IMP::Particles particles, Strings image_files, double pixel_size) -> PCAFitRestraint
3720 this = _IMP_em2d.new_PCAFitRestraint(particles, image_files, pixel_size, resolution, projection_number, reuse_direction, n_components)
3722 self.this.append(this)
3726 def get_projection_number(self):
3727 """get_projection_number(PCAFitRestraint self) -> unsigned int"""
3728 return _IMP_em2d.PCAFitRestraint_get_projection_number(self)
3731 def set_projection_number(self, n):
3732 """set_projection_number(PCAFitRestraint self, unsigned int n)"""
3733 return _IMP_em2d.PCAFitRestraint_set_projection_number(self, n)
3736 def get_transformation(self, image_number):
3737 """get_transformation(PCAFitRestraint self, unsigned int image_number) -> Transformation3D"""
3738 return _IMP_em2d.PCAFitRestraint_get_transformation(self, image_number)
3742 """get_cross_correlation_coefficient(PCAFitRestraint self, unsigned int image_number) -> double"""
3743 return _IMP_em2d.PCAFitRestraint_get_cross_correlation_coefficient(self, image_number)
3746 def write_best_projections(self, file_name, evaluate=False):
3748 write_best_projections(PCAFitRestraint self, std::string file_name, bool evaluate=False)
3749 write_best_projections(PCAFitRestraint self, std::string file_name)
3751 return _IMP_em2d.PCAFitRestraint_write_best_projections(self, file_name, evaluate)
3754 def do_get_inputs(self):
3755 """do_get_inputs(PCAFitRestraint self) -> IMP::ModelObjectsTemp"""
3756 return _IMP_em2d.PCAFitRestraint_do_get_inputs(self)
3759 def get_version_info(self):
3760 """get_version_info(PCAFitRestraint self) -> VersionInfo"""
3761 return _IMP_em2d.PCAFitRestraint_get_version_info(self)
3765 """__str__(PCAFitRestraint self) -> std::string"""
3766 return _IMP_em2d.PCAFitRestraint___str__(self)
3770 """__repr__(PCAFitRestraint self) -> std::string"""
3771 return _IMP_em2d.PCAFitRestraint___repr__(self)
3776 return _object_cast_to_em2dPCAFitRestraint(o)
3778 PCAFitRestraint_swigregister = _IMP_em2d.PCAFitRestraint_swigregister
3779 PCAFitRestraint_swigregister(PCAFitRestraint)
3782 """Proxy of C++ std::pair<(IMP::algebra::Transformation2D,double)> class"""
3783 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3784 __repr__ = _swig_repr
3786 def __init__(self, *args):
3788 __init__(std::pair<(IMP::algebra::Transformation2D,double)> self) -> ResultAlign2D
3789 __init__(std::pair<(IMP::algebra::Transformation2D,double)> self, Transformation2D first, double second) -> ResultAlign2D
3790 __init__(std::pair<(IMP::algebra::Transformation2D,double)> self, ResultAlign2D p) -> ResultAlign2D
3792 this = _IMP_em2d.new_ResultAlign2D(*args)
3794 self.this.append(this)
3797 first = _swig_property(_IMP_em2d.ResultAlign2D_first_get, _IMP_em2d.ResultAlign2D_first_set)
3798 second = _swig_property(_IMP_em2d.ResultAlign2D_second_get, _IMP_em2d.ResultAlign2D_second_set)
3802 return str((self.first, self.second))
3803 def __getitem__(self, index):
3808 def __setitem__(self, index, val):
3813 __swig_destroy__ = _IMP_em2d.delete_ResultAlign2D
3814 __del__ =
lambda self:
None
3815 ResultAlign2D_swigregister = _IMP_em2d.ResultAlign2D_swigregister
3816 ResultAlign2D_swigregister(ResultAlign2D)
3819 def _do_hierarchical_clustering_single_linkage(distances):
3820 """_do_hierarchical_clustering_single_linkage(IMP::FloatsList const & distances) -> ClusterSet"""
3821 return _IMP_em2d._do_hierarchical_clustering_single_linkage(distances)
3823 def _do_hierarchical_clustering_complete_linkage(distances):
3824 """_do_hierarchical_clustering_complete_linkage(IMP::FloatsList const & distances) -> ClusterSet"""
3825 return _IMP_em2d._do_hierarchical_clustering_complete_linkage(distances)
3827 def _do_hierarchical_clustering_average_distance_linkage(distances):
3828 """_do_hierarchical_clustering_average_distance_linkage(IMP::FloatsList const & distances) -> ClusterSet"""
3829 return _IMP_em2d._do_hierarchical_clustering_average_distance_linkage(distances)
3831 do_hierarchical_clustering_single_linkage = _do_hierarchical_clustering_single_linkage
3832 do_hierarchical_clustering_complete_linkage = _do_hierarchical_clustering_complete_linkage
3833 do_hierarchical_clustering_average_distance_linkage = _do_hierarchical_clustering_average_distance_linkage
3837 """get_module_version() -> std::string const"""
3838 return _IMP_em2d.get_module_version()
3841 """get_example_path(std::string fname) -> std::string"""
3842 return _IMP_em2d.get_example_path(fname)
3845 """get_data_path(std::string fname) -> std::string"""
3846 return _IMP_em2d.get_data_path(fname)
3848 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.