11 from sys
import version_info
12 if version_info >= (2,6,0):
13 def swig_import_helper():
14 from os.path
import dirname
18 fp, pathname, description = imp.find_module(
'_IMP_statistics', [dirname(__file__)])
20 import _IMP_statistics
21 return _IMP_statistics
24 _mod = imp.load_module(
'_IMP_statistics', fp, pathname, description)
28 _IMP_statistics = swig_import_helper()
29 del swig_import_helper
31 import _IMP_statistics
34 _swig_property = property
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38 if (name ==
"thisown"):
return self.this.own(value)
40 if type(value).__name__ ==
'SwigPyObject':
41 self.__dict__[name] = value
43 method = class_type.__swig_setmethods__.get(name,
None)
44 if method:
return method(self,value)
46 self.__dict__[name] = value
48 raise AttributeError(
"You cannot add attributes to %s" % self)
50 def _swig_setattr(self,class_type,name,value):
51 return _swig_setattr_nondynamic(self,class_type,name,value,0)
53 def _swig_getattr(self,class_type,name):
54 if (name ==
"thisown"):
return self.this.own()
55 method = class_type.__swig_getmethods__.get(name,
None)
56 if method:
return method(self)
57 raise AttributeError(name)
60 try: strthis =
"proxy of " + self.this.__repr__()
62 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
67 except AttributeError:
74 weakref_proxy = weakref.proxy
76 weakref_proxy =
lambda x: x
79 class IMP_STATISTICS_SwigPyIterator(_object):
80 """Proxy of C++ swig::IMP_STATISTICS_SwigPyIterator class"""
81 __swig_setmethods__ = {}
82 __setattr__ =
lambda self, name, value: _swig_setattr(self, IMP_STATISTICS_SwigPyIterator, name, value)
83 __swig_getmethods__ = {}
84 __getattr__ =
lambda self, name: _swig_getattr(self, IMP_STATISTICS_SwigPyIterator, name)
85 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
87 __swig_destroy__ = _IMP_statistics.delete_IMP_STATISTICS_SwigPyIterator
88 __del__ =
lambda self :
None;
90 """value(IMP_STATISTICS_SwigPyIterator self) -> PyObject *"""
91 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_value(self)
95 incr(IMP_STATISTICS_SwigPyIterator self, size_t n=1) -> IMP_STATISTICS_SwigPyIterator
96 incr(IMP_STATISTICS_SwigPyIterator self) -> IMP_STATISTICS_SwigPyIterator
98 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_incr(self, n)
102 decr(IMP_STATISTICS_SwigPyIterator self, size_t n=1) -> IMP_STATISTICS_SwigPyIterator
103 decr(IMP_STATISTICS_SwigPyIterator self) -> IMP_STATISTICS_SwigPyIterator
105 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_decr(self, n)
107 def distance(self, *args):
108 """distance(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> ptrdiff_t"""
109 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_distance(self, *args)
111 def equal(self, *args):
112 """equal(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> bool"""
113 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_equal(self, *args)
116 """copy(IMP_STATISTICS_SwigPyIterator self) -> IMP_STATISTICS_SwigPyIterator"""
117 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_copy(self)
120 """next(IMP_STATISTICS_SwigPyIterator self) -> PyObject *"""
121 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_next(self)
124 """__next__(IMP_STATISTICS_SwigPyIterator self) -> PyObject *"""
125 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___next__(self)
128 """previous(IMP_STATISTICS_SwigPyIterator self) -> PyObject *"""
129 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_previous(self)
131 def advance(self, *args):
132 """advance(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator"""
133 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_advance(self, *args)
135 def __eq__(self, *args):
136 """__eq__(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> bool"""
137 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___eq__(self, *args)
139 def __ne__(self, *args):
140 """__ne__(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> bool"""
141 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___ne__(self, *args)
143 def __iadd__(self, *args):
144 """__iadd__(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator"""
145 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___iadd__(self, *args)
147 def __isub__(self, *args):
148 """__isub__(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator"""
149 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___isub__(self, *args)
151 def __add__(self, *args):
152 """__add__(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator"""
153 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___add__(self, *args)
155 def __sub__(self, *args):
157 __sub__(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator
158 __sub__(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> ptrdiff_t
160 return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___sub__(self, *args)
162 def __iter__(self):
return self
163 IMP_STATISTICS_SwigPyIterator_swigregister = _IMP_statistics.IMP_STATISTICS_SwigPyIterator_swigregister
164 IMP_STATISTICS_SwigPyIterator_swigregister(IMP_STATISTICS_SwigPyIterator)
171 IMP_DEBUG = _IMP_statistics.IMP_DEBUG
172 IMP_RELEASE = _IMP_statistics.IMP_RELEASE
173 IMP_SILENT = _IMP_statistics.IMP_SILENT
174 IMP_PROGRESS = _IMP_statistics.IMP_PROGRESS
175 IMP_TERSE = _IMP_statistics.IMP_TERSE
176 IMP_VERBOSE = _IMP_statistics.IMP_VERBOSE
177 IMP_MEMORY = _IMP_statistics.IMP_MEMORY
178 IMP_NONE = _IMP_statistics.IMP_NONE
179 IMP_USAGE = _IMP_statistics.IMP_USAGE
180 IMP_INTERNAL = _IMP_statistics.IMP_INTERNAL
181 IMP_BASE_HAS_LOG4CXX = _IMP_statistics.IMP_BASE_HAS_LOG4CXX
182 IMP_COMPILER_HAS_AUTO = _IMP_statistics.IMP_COMPILER_HAS_AUTO
183 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_statistics.IMP_COMPILER_HAS_DEBUG_VECTOR
184 IMP_BASE_HAS_BOOST_RANDOM = _IMP_statistics.IMP_BASE_HAS_BOOST_RANDOM
185 IMP_BASE_HAS_GPERFTOOLS = _IMP_statistics.IMP_BASE_HAS_GPERFTOOLS
186 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_statistics.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
187 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_statistics.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
188 IMPBASE_SHOW_WARNINGS = _IMP_statistics.IMPBASE_SHOW_WARNINGS
190 class _DirectorObjects(object):
191 """@internal Simple class to keep references to director objects
192 to prevent premature deletion."""
195 def register(self, obj):
196 """Take a reference to a director object; will only work for
197 refcounted C++ classes"""
198 if hasattr(obj,
'get_ref_count'):
199 self._objects.append(obj)
201 """Only drop our reference and allow cleanup by Python if no other
202 Python references exist (we hold 3 references: one in self._objects,
203 one in x, and one in the argument list for getrefcount) *and* no
204 other C++ references exist (the Python object always holds one)"""
205 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
206 or x.get_ref_count() > 1]
210 def get_object_count(self):
211 """Get number of director objects (useful for testing only)"""
212 return len(self._objects)
213 _director_objects = _DirectorObjects()
215 DEFAULT_CHECK = _IMP_statistics.DEFAULT_CHECK
216 NONE = _IMP_statistics.NONE
217 USAGE = _IMP_statistics.USAGE
218 USAGE_AND_INTERNAL = _IMP_statistics.USAGE_AND_INTERNAL
221 """set_check_level(IMP::base::CheckLevel tf)"""
222 return _IMP_statistics.set_check_level(*args)
225 """get_check_level() -> IMP::base::CheckLevel"""
226 return _IMP_statistics.get_check_level()
227 class _ostream(_object):
228 """Proxy of C++ std::ostream class"""
229 __swig_setmethods__ = {}
230 __setattr__ =
lambda self, name, value: _swig_setattr(self, _ostream, name, value)
231 __swig_getmethods__ = {}
232 __getattr__ =
lambda self, name: _swig_getattr(self, _ostream, name)
233 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
234 __repr__ = _swig_repr
235 def write(self, *args):
236 """write(_ostream self, char const * osa_buf)"""
237 return _IMP_statistics._ostream_write(self, *args)
239 _ostream_swigregister = _IMP_statistics._ostream_swigregister
240 _ostream_swigregister(_ostream)
242 IMP_COMPILER_HAS_OVERRIDE = _IMP_statistics.IMP_COMPILER_HAS_OVERRIDE
243 IMP_COMPILER_HAS_FINAL = _IMP_statistics.IMP_COMPILER_HAS_FINAL
244 IMP_HAS_NOEXCEPT = _IMP_statistics.IMP_HAS_NOEXCEPT
246 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_statistics.IMP_CGAL_HAS_BOOST_FILESYSTEM
247 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_statistics.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
248 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_statistics.IMP_CGAL_HAS_BOOST_RANDOM
249 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_statistics.IMP_CGAL_HAS_BOOST_SYSTEM
250 IMPCGAL_SHOW_WARNINGS = _IMP_statistics.IMPCGAL_SHOW_WARNINGS
252 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_statistics.IMP_ALGEBRA_HAS_IMP_CGAL
253 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_statistics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
254 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_statistics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
255 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_statistics.IMP_ALGEBRA_HAS_BOOST_RANDOM
256 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_statistics.IMP_ALGEBRA_HAS_BOOST_SYSTEM
257 IMP_ALGEBRA_HAS_CGAL = _IMP_statistics.IMP_ALGEBRA_HAS_CGAL
258 IMP_ALGEBRA_HAS_ANN = _IMP_statistics.IMP_ALGEBRA_HAS_ANN
259 IMPALGEBRA_SHOW_WARNINGS = _IMP_statistics.IMPALGEBRA_SHOW_WARNINGS
261 IMP_KERNEL_HAS_IMP_CGAL = _IMP_statistics.IMP_KERNEL_HAS_IMP_CGAL
262 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_statistics.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
263 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_statistics.IMP_KERNEL_HAS_BOOST_RANDOM
264 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_statistics.IMP_KERNEL_HAS_BOOST_SYSTEM
265 IMP_KERNEL_HAS_CGAL = _IMP_statistics.IMP_KERNEL_HAS_CGAL
266 IMPKERNEL_SHOW_WARNINGS = _IMP_statistics.IMPKERNEL_SHOW_WARNINGS
268 IMP_STATISTICS_HAS_IMP_BASE = _IMP_statistics.IMP_STATISTICS_HAS_IMP_BASE
269 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_statistics.IMP_STATISTICS_HAS_IMP_CGAL
270 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_statistics.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
271 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_statistics.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
272 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_statistics.IMP_STATISTICS_HAS_BOOST_RANDOM
273 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_statistics.IMP_STATISTICS_HAS_BOOST_SYSTEM
274 IMP_STATISTICS_HAS_CGAL = _IMP_statistics.IMP_STATISTICS_HAS_CGAL
275 IMPSTATISTICS_SHOW_WARNINGS = _IMP_statistics.IMPSTATISTICS_SHOW_WARNINGS
277 _plural_types.append(
"Histogram1Ds")
278 _value_types.append(
"Histogram1D")
281 _plural_types.append(
"Histogram2Ds")
282 _value_types.append(
"Histogram2D")
285 _plural_types.append(
"Histogram3Ds")
286 _value_types.append(
"Histogram3D")
289 _plural_types.append(
"Histogram4Ds")
290 _value_types.append(
"Histogram4D")
293 _plural_types.append(
"Histogram5Ds")
294 _value_types.append(
"Histogram5D")
297 _plural_types.append(
"Histogram6Ds")
298 _value_types.append(
"Histogram6D")
301 _plural_types.append(
"Histogram1Ds")
302 _value_types.append(
"HistogramD<1>")
305 _plural_types.append(
"Histogram2Ds")
306 _value_types.append(
"HistogramD<2>")
309 _plural_types.append(
"Histogram3Ds")
310 _value_types.append(
"HistogramD<3>")
313 _plural_types.append(
"Histogram4Ds")
314 _value_types.append(
"HistogramD<4>")
317 _plural_types.append(
"Histogram5Ds")
318 _value_types.append(
"HistogramD<5>")
321 _plural_types.append(
"Histogram6Ds")
322 _value_types.append(
"HistogramD<6>")
325 _plural_types.append(
"HistogramKDs")
326 _value_types.append(
"HistogramKD")
329 _plural_types.append(
"HistogramKDs")
330 _value_types.append(
"HistogramD<-1>")
332 _object_types.append(
"PartitionalClustering")
335 def _object_cast_to_PartitionalClustering(*args):
336 """_object_cast_to_PartitionalClustering(Object o) -> PartitionalClustering"""
337 return _IMP_statistics._object_cast_to_PartitionalClustering(*args)
338 _object_types.append(
"PartitionalClusteringWithCenter")
341 def _object_cast_to_PartitionalClusteringWithCenter(*args):
342 """_object_cast_to_PartitionalClusteringWithCenter(Object o) -> PartitionalClusteringWithCenter"""
343 return _IMP_statistics._object_cast_to_PartitionalClusteringWithCenter(*args)
344 _object_types.append(
"Embedding")
347 def _object_cast_to_Embedding(*args):
348 """_object_cast_to_Embedding(Object o) -> Embedding"""
349 return _IMP_statistics._object_cast_to_Embedding(*args)
350 _object_types.append(
"ConfigurationSetXYZEmbedding")
353 def _object_cast_to_ConfigurationSetXYZEmbedding(*args):
354 """_object_cast_to_ConfigurationSetXYZEmbedding(Object o) -> ConfigurationSetXYZEmbedding"""
355 return _IMP_statistics._object_cast_to_ConfigurationSetXYZEmbedding(*args)
356 _object_types.append(
"VectorDEmbedding")
359 def _object_cast_to_VectorDEmbedding(*args):
360 """_object_cast_to_VectorDEmbedding(Object o) -> VectorDEmbedding"""
361 return _IMP_statistics._object_cast_to_VectorDEmbedding(*args)
362 _object_types.append(
"ParticleEmbedding")
365 def _object_cast_to_ParticleEmbedding(*args):
366 """_object_cast_to_ParticleEmbedding(Object o) -> ParticleEmbedding"""
367 return _IMP_statistics._object_cast_to_ParticleEmbedding(*args)
368 _object_types.append(
"Metric")
371 def _object_cast_to_Metric(*args):
372 """_object_cast_to_Metric(Object o) -> Metric"""
373 return _IMP_statistics._object_cast_to_Metric(*args)
374 _object_types.append(
"EuclideanMetric")
377 def _object_cast_to_EuclideanMetric(*args):
378 """_object_cast_to_EuclideanMetric(Object o) -> EuclideanMetric"""
379 return _IMP_statistics._object_cast_to_EuclideanMetric(*args)
380 _object_types.append(
"ConfigurationSetRMSDMetric")
383 def _object_cast_to_ConfigurationSetRMSDMetric(*args):
384 """_object_cast_to_ConfigurationSetRMSDMetric(Object o) -> ConfigurationSetRMSDMetric"""
385 return _IMP_statistics._object_cast_to_ConfigurationSetRMSDMetric(*args)
386 _object_types.append(
"RecursivePartitionalClusteringMetric")
389 def _object_cast_to_RecursivePartitionalClusteringMetric(*args):
390 """_object_cast_to_RecursivePartitionalClusteringMetric(Object o) -> RecursivePartitionalClusteringMetric"""
391 return _IMP_statistics._object_cast_to_RecursivePartitionalClusteringMetric(*args)
392 _object_types.append(
"RecursivePartitionalClusteringEmbedding")
395 def _object_cast_to_RecursivePartitionalClusteringEmbedding(*args):
396 """_object_cast_to_RecursivePartitionalClusteringEmbedding(Object o) -> RecursivePartitionalClusteringEmbedding"""
397 return _IMP_statistics._object_cast_to_RecursivePartitionalClusteringEmbedding(*args)
398 _object_types.append(
"ChiSquareMetric")
401 def _object_cast_to_ChiSquareMetric(*args):
402 """_object_cast_to_ChiSquareMetric(Object o) -> ChiSquareMetric"""
403 return _IMP_statistics._object_cast_to_ChiSquareMetric(*args)
405 """Proxy of C++ IMP::statistics::PartitionalClustering class"""
406 __swig_setmethods__ = {}
407 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
408 __setattr__ =
lambda self, name, value: _swig_setattr(self, PartitionalClustering, name, value)
409 __swig_getmethods__ = {}
410 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
411 __getattr__ =
lambda self, name: _swig_getattr(self, PartitionalClustering, name)
412 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined - class is abstract")
413 def get_number_of_clusters(self):
414 """get_number_of_clusters(PartitionalClustering self) -> unsigned int"""
415 return _IMP_statistics.PartitionalClustering_get_number_of_clusters(self)
417 def get_cluster(self, *args):
418 """get_cluster(PartitionalClustering self, unsigned int cluster_index) -> IMP::Ints const &"""
419 return _IMP_statistics.PartitionalClustering_get_cluster(self, *args)
421 def get_cluster_representative(self, *args):
422 """get_cluster_representative(PartitionalClustering self, unsigned int cluster_index) -> int"""
423 return _IMP_statistics.PartitionalClustering_get_cluster_representative(self, *args)
425 __swig_destroy__ = _IMP_statistics.delete_PartitionalClustering
426 __del__ =
lambda self :
None;
428 """__str__(PartitionalClustering self) -> std::string"""
429 return _IMP_statistics.PartitionalClustering___str__(self)
432 """__repr__(PartitionalClustering self) -> std::string"""
433 return _IMP_statistics.PartitionalClustering___repr__(self)
436 return _object_cast_to_PartitionalClustering(o)
437 get_from = staticmethod(get_from)
439 PartitionalClustering_swigregister = _IMP_statistics.PartitionalClustering_swigregister
440 PartitionalClustering_swigregister(PartitionalClustering)
444 """validate_partitional_clustering(PartitionalClustering pc, unsigned int n)"""
445 return _IMP_statistics.validate_partitional_clustering(*args)
447 """Proxy of C++ IMP::statistics::Embedding class"""
448 __swig_setmethods__ = {}
449 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
450 __setattr__ =
lambda self, name, value: _swig_setattr(self, Embedding, name, value)
451 __swig_getmethods__ = {}
452 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
453 __getattr__ =
lambda self, name: _swig_getattr(self, Embedding, name)
454 def __init__(self, *args):
455 """__init__(IMP::statistics::Embedding self, std::string name) -> Embedding"""
456 if self.__class__ == Embedding:
460 this = _IMP_statistics.new_Embedding(_self, *args)
461 try: self.this.append(this)
462 except: self.this = this
463 if self.__class__ != Embedding:
465 IMP.base._director_objects.register(self)
469 def do_get_weight(self, *args):
470 """do_get_weight(Embedding self, unsigned int i) -> double"""
471 return _IMP_statistics.Embedding_do_get_weight(self, *args)
473 def get_point(self, *args):
474 """get_point(Embedding self, unsigned int i) -> VectorKD"""
475 return _IMP_statistics.Embedding_get_point(self, *args)
477 def get_number_of_items(self):
478 """get_number_of_items(Embedding self) -> unsigned int"""
479 return _IMP_statistics.Embedding_get_number_of_items(self)
481 def get_weight(self, *args):
482 """get_weight(Embedding self, unsigned int i) -> double"""
483 return _IMP_statistics.Embedding_get_weight(self, *args)
485 def get_points(self):
486 """get_points(Embedding self) -> IMP::algebra::VectorKDs"""
487 return _IMP_statistics.Embedding_get_points(self)
490 """__str__(Embedding self) -> std::string"""
491 return _IMP_statistics.Embedding___str__(self)
494 """__repr__(Embedding self) -> std::string"""
495 return _IMP_statistics.Embedding___repr__(self)
498 return _object_cast_to_Embedding(o)
499 get_from = staticmethod(get_from)
501 def get_type_name(self):
502 return self.__class__.__name__
503 def do_show(self, out):
505 def get_version_info(self):
506 if"IMP::statistics" ==
"IMP":
507 return VersionInfo(
"python",
"0")
509 return IMP.VersionInfo(
"python",
"0")
511 return _object_cast_to_Embedding(o)
512 get_from = staticmethod(get_from)
514 __swig_destroy__ = _IMP_statistics.delete_Embedding
515 __del__ =
lambda self :
None;
516 def __disown__(self):
518 _IMP_statistics.disown_Embedding(self)
519 return weakref_proxy(self)
520 def do_destroy(self):
521 """do_destroy(Embedding self)"""
522 return _IMP_statistics.Embedding_do_destroy(self)
524 Embedding_swigregister = _IMP_statistics.Embedding_swigregister
525 Embedding_swigregister(Embedding)
528 """Proxy of C++ IMP::statistics::Metric class"""
529 __swig_setmethods__ = {}
530 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
531 __setattr__ =
lambda self, name, value: _swig_setattr(self, Metric, name, value)
532 __swig_getmethods__ = {}
533 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
534 __getattr__ =
lambda self, name: _swig_getattr(self, Metric, name)
535 def __init__(self, *args):
536 """__init__(IMP::statistics::Metric self, std::string name) -> Metric"""
537 if self.__class__ == Metric:
541 this = _IMP_statistics.new_Metric(_self, *args)
542 try: self.this.append(this)
543 except: self.this = this
544 if self.__class__ != Metric:
546 IMP.base._director_objects.register(self)
550 def do_get_weight(self, *args):
551 """do_get_weight(Metric self, unsigned int i) -> double"""
552 return _IMP_statistics.Metric_do_get_weight(self, *args)
555 """get_distance(Metric self, unsigned int i, unsigned int j) -> double"""
556 return _IMP_statistics.Metric_get_distance(self, *args)
558 def get_weight(self, *args):
559 """get_weight(Metric self, unsigned int i) -> double"""
560 return _IMP_statistics.Metric_get_weight(self, *args)
562 def get_number_of_items(self):
563 """get_number_of_items(Metric self) -> unsigned int"""
564 return _IMP_statistics.Metric_get_number_of_items(self)
566 __swig_destroy__ = _IMP_statistics.delete_Metric
567 __del__ =
lambda self :
None;
569 """__str__(Metric self) -> std::string"""
570 return _IMP_statistics.Metric___str__(self)
573 """__repr__(Metric self) -> std::string"""
574 return _IMP_statistics.Metric___repr__(self)
577 return _object_cast_to_Metric(o)
578 get_from = staticmethod(get_from)
580 def get_type_name(self):
581 return self.__class__.__name__
582 def do_show(self, out):
584 def get_version_info(self):
585 if"IMP::statistics" ==
"IMP":
586 return VersionInfo(
"python",
"0")
588 return IMP.VersionInfo(
"python",
"0")
590 return _object_cast_to_Metric(o)
591 get_from = staticmethod(get_from)
593 def __disown__(self):
595 _IMP_statistics.disown_Metric(self)
596 return weakref_proxy(self)
597 def do_destroy(self):
598 """do_destroy(Metric self)"""
599 return _IMP_statistics.Metric_do_destroy(self)
601 Metric_swigregister = _IMP_statistics.Metric_swigregister
602 Metric_swigregister(Metric)
604 class ChiSquareMetric(Metric):
605 """Proxy of C++ IMP::statistics::ChiSquareMetric class"""
606 __swig_setmethods__ = {}
607 for _s
in [Metric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
608 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChiSquareMetric, name, value)
609 __swig_getmethods__ = {}
610 for _s
in [Metric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
611 __getattr__ =
lambda self, name: _swig_getattr(self, ChiSquareMetric, name)
612 def __init__(self, *args):
614 __init__(IMP::statistics::ChiSquareMetric self, IMP::Floats data_exp, int constr_type=0) -> ChiSquareMetric
615 __init__(IMP::statistics::ChiSquareMetric self, IMP::Floats data_exp) -> ChiSquareMetric
617 this = _IMP_statistics.new_ChiSquareMetric(*args)
618 try: self.this.append(this)
619 except: self.this = this
620 def add_configuration(self, *args):
622 add_configuration(ChiSquareMetric self, IMP::Floats data, IMP::Floats stddev, double weight=1.0)
623 add_configuration(ChiSquareMetric self, IMP::Floats data, IMP::Floats stddev)
625 return _IMP_statistics.ChiSquareMetric_add_configuration(self, *args)
627 def get_data(self, *args):
628 """get_data(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
629 return _IMP_statistics.ChiSquareMetric_get_data(self, *args)
631 def get_standard_deviation(self, *args):
632 """get_standard_deviation(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
633 return _IMP_statistics.ChiSquareMetric_get_standard_deviation(self, *args)
635 def do_get_weight(self, *args):
636 """do_get_weight(ChiSquareMetric self, unsigned int i) -> double"""
637 return _IMP_statistics.ChiSquareMetric_do_get_weight(self, *args)
639 def get_chi_square_experimental(self, *args):
640 """get_chi_square_experimental(ChiSquareMetric self, unsigned int i) -> double"""
641 return _IMP_statistics.ChiSquareMetric_get_chi_square_experimental(self, *args)
643 def get_version_info(self):
644 """get_version_info(ChiSquareMetric self) -> VersionInfo"""
645 return _IMP_statistics.ChiSquareMetric_get_version_info(self)
648 """__str__(ChiSquareMetric self) -> std::string"""
649 return _IMP_statistics.ChiSquareMetric___str__(self)
652 """__repr__(ChiSquareMetric self) -> std::string"""
653 return _IMP_statistics.ChiSquareMetric___repr__(self)
656 return _object_cast_to_ChiSquareMetric(o)
657 get_from = staticmethod(get_from)
659 ChiSquareMetric_swigregister = _IMP_statistics.ChiSquareMetric_swigregister
660 ChiSquareMetric_swigregister(ChiSquareMetric)
662 class PartitionalClusteringWithCenter(PartitionalClustering):
663 """Proxy of C++ IMP::statistics::PartitionalClusteringWithCenter class"""
664 __swig_setmethods__ = {}
665 for _s
in [PartitionalClustering]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
666 __setattr__ =
lambda self, name, value: _swig_setattr(self, PartitionalClusteringWithCenter, name, value)
667 __swig_getmethods__ = {}
668 for _s
in [PartitionalClustering]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
669 __getattr__ =
lambda self, name: _swig_getattr(self, PartitionalClusteringWithCenter, name)
670 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
671 def get_cluster_center(self, *args):
672 """get_cluster_center(PartitionalClusteringWithCenter self, unsigned int i) -> VectorKD"""
673 return _IMP_statistics.PartitionalClusteringWithCenter_get_cluster_center(self, *args)
675 def get_version_info(self):
676 """get_version_info(PartitionalClusteringWithCenter self) -> VersionInfo"""
677 return _IMP_statistics.PartitionalClusteringWithCenter_get_version_info(self)
680 """__str__(PartitionalClusteringWithCenter self) -> std::string"""
681 return _IMP_statistics.PartitionalClusteringWithCenter___str__(self)
684 """__repr__(PartitionalClusteringWithCenter self) -> std::string"""
685 return _IMP_statistics.PartitionalClusteringWithCenter___repr__(self)
688 return _object_cast_to_PartitionalClusteringWithCenter(o)
689 get_from = staticmethod(get_from)
691 PartitionalClusteringWithCenter_swigregister = _IMP_statistics.PartitionalClusteringWithCenter_swigregister
692 PartitionalClusteringWithCenter_swigregister(PartitionalClusteringWithCenter)
694 class ConfigurationSetXYZEmbedding(Embedding):
695 """Proxy of C++ IMP::statistics::ConfigurationSetXYZEmbedding class"""
696 __swig_setmethods__ = {}
697 for _s
in [Embedding]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
698 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConfigurationSetXYZEmbedding, name, value)
699 __swig_getmethods__ = {}
700 for _s
in [Embedding]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
701 __getattr__ =
lambda self, name: _swig_getattr(self, ConfigurationSetXYZEmbedding, name)
702 def __init__(self, *args):
704 __init__(IMP::statistics::ConfigurationSetXYZEmbedding self, ConfigurationSet cs, _SingletonContainerAdaptor pi, bool align=False) -> ConfigurationSetXYZEmbedding
705 __init__(IMP::statistics::ConfigurationSetXYZEmbedding self, ConfigurationSet cs, _SingletonContainerAdaptor pi) -> ConfigurationSetXYZEmbedding
707 this = _IMP_statistics.new_ConfigurationSetXYZEmbedding(*args)
708 try: self.this.append(this)
709 except: self.this = this
710 def get_version_info(self):
711 """get_version_info(ConfigurationSetXYZEmbedding self) -> VersionInfo"""
712 return _IMP_statistics.ConfigurationSetXYZEmbedding_get_version_info(self)
715 """__str__(ConfigurationSetXYZEmbedding self) -> std::string"""
716 return _IMP_statistics.ConfigurationSetXYZEmbedding___str__(self)
719 """__repr__(ConfigurationSetXYZEmbedding self) -> std::string"""
720 return _IMP_statistics.ConfigurationSetXYZEmbedding___repr__(self)
723 return _object_cast_to_ConfigurationSetXYZEmbedding(o)
724 get_from = staticmethod(get_from)
726 ConfigurationSetXYZEmbedding_swigregister = _IMP_statistics.ConfigurationSetXYZEmbedding_swigregister
727 ConfigurationSetXYZEmbedding_swigregister(ConfigurationSetXYZEmbedding)
729 class ParticleEmbedding(Embedding):
730 """Proxy of C++ IMP::statistics::ParticleEmbedding class"""
731 __swig_setmethods__ = {}
732 for _s
in [Embedding]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
733 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParticleEmbedding, name, value)
734 __swig_getmethods__ = {}
735 for _s
in [Embedding]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
736 __getattr__ =
lambda self, name: _swig_getattr(self, ParticleEmbedding, name)
737 def __init__(self, *args):
739 __init__(IMP::statistics::ParticleEmbedding self, IMP::kernel::ParticlesTemp const & ps, IMP::kernel::FloatKeys const & ks=IMP::kernel::FloatKeys(
740 IMP::kernel::internal::
742 IMP::kernel::internal::
745 bool rescale=False) -> ParticleEmbedding
746 __init__(IMP::statistics::ParticleEmbedding self, IMP::kernel::ParticlesTemp const & ps, IMP::kernel::FloatKeys const & ks=IMP::kernel::FloatKeys(
747 IMP::kernel::internal::
749 IMP::kernel::internal::
751 3)) -> ParticleEmbedding
752 __init__(IMP::statistics::ParticleEmbedding self, IMP::kernel::ParticlesTemp const & ps) -> ParticleEmbedding
754 this = _IMP_statistics.new_ParticleEmbedding(*args)
755 try: self.this.append(this)
756 except: self.this = this
757 def get_version_info(self):
758 """get_version_info(ParticleEmbedding self) -> VersionInfo"""
759 return _IMP_statistics.ParticleEmbedding_get_version_info(self)
762 """__str__(ParticleEmbedding self) -> std::string"""
763 return _IMP_statistics.ParticleEmbedding___str__(self)
766 """__repr__(ParticleEmbedding self) -> std::string"""
767 return _IMP_statistics.ParticleEmbedding___repr__(self)
770 return _object_cast_to_ParticleEmbedding(o)
771 get_from = staticmethod(get_from)
773 ParticleEmbedding_swigregister = _IMP_statistics.ParticleEmbedding_swigregister
774 ParticleEmbedding_swigregister(ParticleEmbedding)
776 class VectorDEmbedding(Embedding):
777 """Proxy of C++ IMP::statistics::VectorDEmbedding class"""
778 __swig_setmethods__ = {}
779 for _s
in [Embedding]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
780 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorDEmbedding, name, value)
781 __swig_getmethods__ = {}
782 for _s
in [Embedding]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
783 __getattr__ =
lambda self, name: _swig_getattr(self, VectorDEmbedding, name)
784 def __init__(self, *args):
786 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::VectorKDs const & vs) -> VectorDEmbedding
787 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector2Ds const & vs) -> VectorDEmbedding
788 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector3Ds const & vs) -> VectorDEmbedding
789 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector4Ds const & vs) -> VectorDEmbedding
790 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector5Ds const & vs) -> VectorDEmbedding
791 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector6Ds const & vs) -> VectorDEmbedding
793 this = _IMP_statistics.new_VectorDEmbedding(*args)
794 try: self.this.append(this)
795 except: self.this = this
796 def get_version_info(self):
797 """get_version_info(VectorDEmbedding self) -> VersionInfo"""
798 return _IMP_statistics.VectorDEmbedding_get_version_info(self)
801 """__str__(VectorDEmbedding self) -> std::string"""
802 return _IMP_statistics.VectorDEmbedding___str__(self)
805 """__repr__(VectorDEmbedding self) -> std::string"""
806 return _IMP_statistics.VectorDEmbedding___repr__(self)
809 return _object_cast_to_VectorDEmbedding(o)
810 get_from = staticmethod(get_from)
812 VectorDEmbedding_swigregister = _IMP_statistics.VectorDEmbedding_swigregister
813 VectorDEmbedding_swigregister(VectorDEmbedding)
815 class EuclideanMetric(Metric):
816 """Proxy of C++ IMP::statistics::EuclideanMetric class"""
817 __swig_setmethods__ = {}
818 for _s
in [Metric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
819 __setattr__ =
lambda self, name, value: _swig_setattr(self, EuclideanMetric, name, value)
820 __swig_getmethods__ = {}
821 for _s
in [Metric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
822 __getattr__ =
lambda self, name: _swig_getattr(self, EuclideanMetric, name)
823 def __init__(self, *args):
824 """__init__(IMP::statistics::EuclideanMetric self, Embedding em) -> EuclideanMetric"""
825 this = _IMP_statistics.new_EuclideanMetric(*args)
826 try: self.this.append(this)
827 except: self.this = this
828 def get_version_info(self):
829 """get_version_info(EuclideanMetric self) -> VersionInfo"""
830 return _IMP_statistics.EuclideanMetric_get_version_info(self)
833 """__str__(EuclideanMetric self) -> std::string"""
834 return _IMP_statistics.EuclideanMetric___str__(self)
837 """__repr__(EuclideanMetric self) -> std::string"""
838 return _IMP_statistics.EuclideanMetric___repr__(self)
841 return _object_cast_to_EuclideanMetric(o)
842 get_from = staticmethod(get_from)
844 EuclideanMetric_swigregister = _IMP_statistics.EuclideanMetric_swigregister
845 EuclideanMetric_swigregister(EuclideanMetric)
847 class ConfigurationSetRMSDMetric(Metric):
848 """Proxy of C++ IMP::statistics::ConfigurationSetRMSDMetric class"""
849 __swig_setmethods__ = {}
850 for _s
in [Metric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
851 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConfigurationSetRMSDMetric, name, value)
852 __swig_getmethods__ = {}
853 for _s
in [Metric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
854 __getattr__ =
lambda self, name: _swig_getattr(self, ConfigurationSetRMSDMetric, name)
855 def __init__(self, *args):
857 __init__(IMP::statistics::ConfigurationSetRMSDMetric self, ConfigurationSet cs, SingletonContainer sc, bool align=False) -> ConfigurationSetRMSDMetric
858 __init__(IMP::statistics::ConfigurationSetRMSDMetric self, ConfigurationSet cs, SingletonContainer sc) -> ConfigurationSetRMSDMetric
860 this = _IMP_statistics.new_ConfigurationSetRMSDMetric(*args)
861 try: self.this.append(this)
862 except: self.this = this
863 def get_version_info(self):
864 """get_version_info(ConfigurationSetRMSDMetric self) -> VersionInfo"""
865 return _IMP_statistics.ConfigurationSetRMSDMetric_get_version_info(self)
868 """__str__(ConfigurationSetRMSDMetric self) -> std::string"""
869 return _IMP_statistics.ConfigurationSetRMSDMetric___str__(self)
872 """__repr__(ConfigurationSetRMSDMetric self) -> std::string"""
873 return _IMP_statistics.ConfigurationSetRMSDMetric___repr__(self)
876 return _object_cast_to_ConfigurationSetRMSDMetric(o)
877 get_from = staticmethod(get_from)
879 ConfigurationSetRMSDMetric_swigregister = _IMP_statistics.ConfigurationSetRMSDMetric_swigregister
880 ConfigurationSetRMSDMetric_swigregister(ConfigurationSetRMSDMetric)
884 """create_lloyds_kmeans(Embedding embedding, unsigned int k, unsigned int iterations) -> PartitionalClusteringWithCenter"""
885 return _IMP_statistics.create_lloyds_kmeans(*args)
888 """create_bin_based_clustering(Embedding embed, double side) -> PartitionalClusteringWithCenter"""
889 return _IMP_statistics.create_bin_based_clustering(*args)
893 create_centrality_clustering(Embedding d, double far, int k) -> PartitionalClustering
894 create_centrality_clustering(Metric d, double far, int k) -> PartitionalClustering
896 return _IMP_statistics.create_centrality_clustering(*args)
899 """create_diameter_clustering(Metric d, double maximum_diameter) -> PartitionalClustering"""
900 return _IMP_statistics.create_diameter_clustering(*args)
904 create_connectivity_clustering(Embedding embed, double dist) -> PartitionalClusteringWithCenter
905 create_connectivity_clustering(Metric metric, double dist) -> PartitionalClustering
907 return _IMP_statistics.create_connectivity_clustering(*args)
910 """create_gromos_clustering(Metric d, double cutoff) -> PartitionalClustering"""
911 return _IMP_statistics.create_gromos_clustering(*args)
914 """get_quantile(Histogram1D h, double fraction) -> double"""
915 return _IMP_statistics.get_quantile(*args)
918 """get_centroids(Embedding d, PartitionalClustering pc) -> IMP::algebra::VectorKDs"""
919 return _IMP_statistics.get_centroids(*args)
922 """get_representatives(Embedding d, PartitionalClustering pc) -> IMP::Ints"""
923 return _IMP_statistics.get_representatives(*args)
924 class RecursivePartitionalClusteringEmbedding(Embedding):
925 """Proxy of C++ IMP::statistics::RecursivePartitionalClusteringEmbedding class"""
926 __swig_setmethods__ = {}
927 for _s
in [Embedding]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
928 __setattr__ =
lambda self, name, value: _swig_setattr(self, RecursivePartitionalClusteringEmbedding, name, value)
929 __swig_getmethods__ = {}
930 for _s
in [Embedding]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
931 __getattr__ =
lambda self, name: _swig_getattr(self, RecursivePartitionalClusteringEmbedding, name)
932 def __init__(self, *args):
933 """__init__(IMP::statistics::RecursivePartitionalClusteringEmbedding self, Embedding metric, PartitionalClustering clustering) -> RecursivePartitionalClusteringEmbedding"""
934 this = _IMP_statistics.new_RecursivePartitionalClusteringEmbedding(*args)
935 try: self.this.append(this)
936 except: self.this = this
937 def create_full_clustering(self, *args):
938 """create_full_clustering(RecursivePartitionalClusteringEmbedding self, PartitionalClustering center_cluster) -> PartitionalClustering"""
939 return _IMP_statistics.RecursivePartitionalClusteringEmbedding_create_full_clustering(self, *args)
941 def get_version_info(self):
942 """get_version_info(RecursivePartitionalClusteringEmbedding self) -> VersionInfo"""
943 return _IMP_statistics.RecursivePartitionalClusteringEmbedding_get_version_info(self)
946 """__str__(RecursivePartitionalClusteringEmbedding self) -> std::string"""
947 return _IMP_statistics.RecursivePartitionalClusteringEmbedding___str__(self)
950 """__repr__(RecursivePartitionalClusteringEmbedding self) -> std::string"""
951 return _IMP_statistics.RecursivePartitionalClusteringEmbedding___repr__(self)
954 return _object_cast_to_RecursivePartitionalClusteringEmbedding(o)
955 get_from = staticmethod(get_from)
957 RecursivePartitionalClusteringEmbedding_swigregister = _IMP_statistics.RecursivePartitionalClusteringEmbedding_swigregister
958 RecursivePartitionalClusteringEmbedding_swigregister(RecursivePartitionalClusteringEmbedding)
960 class RecursivePartitionalClusteringMetric(Metric):
961 """Proxy of C++ IMP::statistics::RecursivePartitionalClusteringMetric class"""
962 __swig_setmethods__ = {}
963 for _s
in [Metric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
964 __setattr__ =
lambda self, name, value: _swig_setattr(self, RecursivePartitionalClusteringMetric, name, value)
965 __swig_getmethods__ = {}
966 for _s
in [Metric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
967 __getattr__ =
lambda self, name: _swig_getattr(self, RecursivePartitionalClusteringMetric, name)
968 def __init__(self, *args):
969 """__init__(IMP::statistics::RecursivePartitionalClusteringMetric self, Metric metric, PartitionalClustering clustering) -> RecursivePartitionalClusteringMetric"""
970 this = _IMP_statistics.new_RecursivePartitionalClusteringMetric(*args)
971 try: self.this.append(this)
972 except: self.this = this
973 def create_full_clustering(self, *args):
974 """create_full_clustering(RecursivePartitionalClusteringMetric self, PartitionalClustering center_cluster) -> PartitionalClustering"""
975 return _IMP_statistics.RecursivePartitionalClusteringMetric_create_full_clustering(self, *args)
977 def get_version_info(self):
978 """get_version_info(RecursivePartitionalClusteringMetric self) -> VersionInfo"""
979 return _IMP_statistics.RecursivePartitionalClusteringMetric_get_version_info(self)
982 """__str__(RecursivePartitionalClusteringMetric self) -> std::string"""
983 return _IMP_statistics.RecursivePartitionalClusteringMetric___str__(self)
986 """__repr__(RecursivePartitionalClusteringMetric self) -> std::string"""
987 return _IMP_statistics.RecursivePartitionalClusteringMetric___repr__(self)
990 return _object_cast_to_RecursivePartitionalClusteringMetric(o)
991 get_from = staticmethod(get_from)
993 RecursivePartitionalClusteringMetric_swigregister = _IMP_statistics.RecursivePartitionalClusteringMetric_swigregister
994 RecursivePartitionalClusteringMetric_swigregister(RecursivePartitionalClusteringMetric)
996 class Histogram1D(IMP.algebra._GeometricPrimitive1D):
997 """Proxy of C++ IMP::statistics::HistogramD<(1)> class"""
998 __swig_setmethods__ = {}
999 for _s
in [IMP.algebra._GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1000 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram1D, name, value)
1001 __swig_getmethods__ = {}
1002 for _s
in [IMP.algebra._GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1003 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram1D, name)
1004 def __init__(self, *args):
1006 __init__(IMP::statistics::HistogramD<(1)> self) -> Histogram1D
1007 __init__(IMP::statistics::HistogramD<(1)> self, double voxel_size, BoundingBox1D bb) -> Histogram1D
1009 this = _IMP_statistics.new_Histogram1D(*args)
1010 try: self.this.append(this)
1011 except: self.this = this
1012 def add(self, *args):
1014 add(Histogram1D self, Vector1D x, double weight=1)
1015 add(Histogram1D self, Vector1D x)
1017 return _IMP_statistics.Histogram1D_add(self, *args)
1019 def get_total_count(self):
1020 """get_total_count(Histogram1D self) -> double"""
1021 return _IMP_statistics.Histogram1D_get_total_count(self)
1023 def get_frequencies(self):
1024 """get_frequencies(Histogram1D self) -> Histogram1D"""
1025 return _IMP_statistics.Histogram1D_get_frequencies(self)
1027 def get_probability_distribution_function(self):
1028 """get_probability_distribution_function(Histogram1D self) -> Histogram1D"""
1029 return _IMP_statistics.Histogram1D_get_probability_distribution_function(self)
1031 def get_counts(self):
1032 """get_counts(Histogram1D self) -> _HistogramCountsGrid1D"""
1033 return _IMP_statistics.Histogram1D_get_counts(self)
1036 """get_mean(Histogram1D self) -> Vector1D"""
1037 return _IMP_statistics.Histogram1D_get_mean(self)
1039 def get_dimension(self):
1040 """get_dimension(Histogram1D self) -> unsigned int"""
1041 return _IMP_statistics.Histogram1D_get_dimension(self)
1043 def get_standard_deviation(self, *args):
1044 """get_standard_deviation(Histogram1D self, Vector1D mean) -> Vector1D"""
1045 return _IMP_statistics.Histogram1D_get_standard_deviation(self, *args)
1047 def get_bounding_box(self):
1048 """get_bounding_box(Histogram1D self) -> BoundingBox1D"""
1049 return _IMP_statistics.Histogram1D_get_bounding_box(self)
1051 def get_minimum_and_maximum(self):
1052 """get_minimum_and_maximum(Histogram1D self) -> IMP::FloatPair"""
1053 return _IMP_statistics.Histogram1D_get_minimum_and_maximum(self)
1055 def show(self, *args):
1057 show(Histogram1D self, _ostream out=std::cout)
1058 show(Histogram1D self)
1060 return _IMP_statistics.Histogram1D_show(self, *args)
1063 """__str__(Histogram1D self) -> std::string"""
1064 return _IMP_statistics.Histogram1D___str__(self)
1067 """__repr__(Histogram1D self) -> std::string"""
1068 return _IMP_statistics.Histogram1D___repr__(self)
1070 def __cmp__(self, *args):
1071 """__cmp__(Histogram1D self, Histogram1D arg2) -> int"""
1072 return _IMP_statistics.Histogram1D___cmp__(self, *args)
1074 __swig_destroy__ = _IMP_statistics.delete_Histogram1D
1075 __del__ =
lambda self :
None;
1076 Histogram1D_swigregister = _IMP_statistics.Histogram1D_swigregister
1077 Histogram1D_swigregister(Histogram1D)
1079 class Histogram2D(IMP.algebra._GeometricPrimitive2D):
1080 """Proxy of C++ IMP::statistics::HistogramD<(2)> class"""
1081 __swig_setmethods__ = {}
1082 for _s
in [IMP.algebra._GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1083 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram2D, name, value)
1084 __swig_getmethods__ = {}
1085 for _s
in [IMP.algebra._GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1086 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram2D, name)
1087 def __init__(self, *args):
1089 __init__(IMP::statistics::HistogramD<(2)> self) -> Histogram2D
1090 __init__(IMP::statistics::HistogramD<(2)> self, double voxel_size, BoundingBox2D bb) -> Histogram2D
1092 this = _IMP_statistics.new_Histogram2D(*args)
1093 try: self.this.append(this)
1094 except: self.this = this
1095 def add(self, *args):
1097 add(Histogram2D self, Vector2D x, double weight=1)
1098 add(Histogram2D self, Vector2D x)
1100 return _IMP_statistics.Histogram2D_add(self, *args)
1102 def get_total_count(self):
1103 """get_total_count(Histogram2D self) -> double"""
1104 return _IMP_statistics.Histogram2D_get_total_count(self)
1106 def get_frequencies(self):
1107 """get_frequencies(Histogram2D self) -> Histogram2D"""
1108 return _IMP_statistics.Histogram2D_get_frequencies(self)
1110 def get_probability_distribution_function(self):
1111 """get_probability_distribution_function(Histogram2D self) -> Histogram2D"""
1112 return _IMP_statistics.Histogram2D_get_probability_distribution_function(self)
1114 def get_counts(self):
1115 """get_counts(Histogram2D self) -> _HistogramCountsGrid2D"""
1116 return _IMP_statistics.Histogram2D_get_counts(self)
1119 """get_mean(Histogram2D self) -> Vector2D"""
1120 return _IMP_statistics.Histogram2D_get_mean(self)
1122 def get_dimension(self):
1123 """get_dimension(Histogram2D self) -> unsigned int"""
1124 return _IMP_statistics.Histogram2D_get_dimension(self)
1126 def get_standard_deviation(self, *args):
1127 """get_standard_deviation(Histogram2D self, Vector2D mean) -> Vector2D"""
1128 return _IMP_statistics.Histogram2D_get_standard_deviation(self, *args)
1130 def get_bounding_box(self):
1131 """get_bounding_box(Histogram2D self) -> BoundingBox2D"""
1132 return _IMP_statistics.Histogram2D_get_bounding_box(self)
1134 def get_minimum_and_maximum(self):
1135 """get_minimum_and_maximum(Histogram2D self) -> IMP::FloatPair"""
1136 return _IMP_statistics.Histogram2D_get_minimum_and_maximum(self)
1138 def show(self, *args):
1140 show(Histogram2D self, _ostream out=std::cout)
1141 show(Histogram2D self)
1143 return _IMP_statistics.Histogram2D_show(self, *args)
1146 """__str__(Histogram2D self) -> std::string"""
1147 return _IMP_statistics.Histogram2D___str__(self)
1150 """__repr__(Histogram2D self) -> std::string"""
1151 return _IMP_statistics.Histogram2D___repr__(self)
1153 def __cmp__(self, *args):
1154 """__cmp__(Histogram2D self, Histogram2D arg2) -> int"""
1155 return _IMP_statistics.Histogram2D___cmp__(self, *args)
1157 __swig_destroy__ = _IMP_statistics.delete_Histogram2D
1158 __del__ =
lambda self :
None;
1159 Histogram2D_swigregister = _IMP_statistics.Histogram2D_swigregister
1160 Histogram2D_swigregister(Histogram2D)
1162 class Histogram3D(IMP.algebra._GeometricPrimitive3D):
1163 """Proxy of C++ IMP::statistics::HistogramD<(3)> class"""
1164 __swig_setmethods__ = {}
1165 for _s
in [IMP.algebra._GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1166 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram3D, name, value)
1167 __swig_getmethods__ = {}
1168 for _s
in [IMP.algebra._GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1169 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram3D, name)
1170 def __init__(self, *args):
1172 __init__(IMP::statistics::HistogramD<(3)> self) -> Histogram3D
1173 __init__(IMP::statistics::HistogramD<(3)> self, double voxel_size, BoundingBox3D bb) -> Histogram3D
1175 this = _IMP_statistics.new_Histogram3D(*args)
1176 try: self.this.append(this)
1177 except: self.this = this
1178 def add(self, *args):
1180 add(Histogram3D self, Vector3D x, double weight=1)
1181 add(Histogram3D self, Vector3D x)
1183 return _IMP_statistics.Histogram3D_add(self, *args)
1185 def get_total_count(self):
1186 """get_total_count(Histogram3D self) -> double"""
1187 return _IMP_statistics.Histogram3D_get_total_count(self)
1189 def get_frequencies(self):
1190 """get_frequencies(Histogram3D self) -> Histogram3D"""
1191 return _IMP_statistics.Histogram3D_get_frequencies(self)
1193 def get_probability_distribution_function(self):
1194 """get_probability_distribution_function(Histogram3D self) -> Histogram3D"""
1195 return _IMP_statistics.Histogram3D_get_probability_distribution_function(self)
1197 def get_counts(self):
1198 """get_counts(Histogram3D self) -> _HistogramCountsGrid3D"""
1199 return _IMP_statistics.Histogram3D_get_counts(self)
1202 """get_mean(Histogram3D self) -> Vector3D"""
1203 return _IMP_statistics.Histogram3D_get_mean(self)
1205 def get_dimension(self):
1206 """get_dimension(Histogram3D self) -> unsigned int"""
1207 return _IMP_statistics.Histogram3D_get_dimension(self)
1209 def get_standard_deviation(self, *args):
1210 """get_standard_deviation(Histogram3D self, Vector3D mean) -> Vector3D"""
1211 return _IMP_statistics.Histogram3D_get_standard_deviation(self, *args)
1213 def get_bounding_box(self):
1214 """get_bounding_box(Histogram3D self) -> BoundingBox3D"""
1215 return _IMP_statistics.Histogram3D_get_bounding_box(self)
1217 def get_minimum_and_maximum(self):
1218 """get_minimum_and_maximum(Histogram3D self) -> IMP::FloatPair"""
1219 return _IMP_statistics.Histogram3D_get_minimum_and_maximum(self)
1221 def show(self, *args):
1223 show(Histogram3D self, _ostream out=std::cout)
1224 show(Histogram3D self)
1226 return _IMP_statistics.Histogram3D_show(self, *args)
1229 """__str__(Histogram3D self) -> std::string"""
1230 return _IMP_statistics.Histogram3D___str__(self)
1233 """__repr__(Histogram3D self) -> std::string"""
1234 return _IMP_statistics.Histogram3D___repr__(self)
1236 def __cmp__(self, *args):
1237 """__cmp__(Histogram3D self, Histogram3D arg2) -> int"""
1238 return _IMP_statistics.Histogram3D___cmp__(self, *args)
1240 __swig_destroy__ = _IMP_statistics.delete_Histogram3D
1241 __del__ =
lambda self :
None;
1242 Histogram3D_swigregister = _IMP_statistics.Histogram3D_swigregister
1243 Histogram3D_swigregister(Histogram3D)
1245 class Histogram4D(IMP.algebra._GeometricPrimitive4D):
1246 """Proxy of C++ IMP::statistics::HistogramD<(4)> class"""
1247 __swig_setmethods__ = {}
1248 for _s
in [IMP.algebra._GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1249 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram4D, name, value)
1250 __swig_getmethods__ = {}
1251 for _s
in [IMP.algebra._GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1252 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram4D, name)
1253 def __init__(self, *args):
1255 __init__(IMP::statistics::HistogramD<(4)> self) -> Histogram4D
1256 __init__(IMP::statistics::HistogramD<(4)> self, double voxel_size, BoundingBox4D bb) -> Histogram4D
1258 this = _IMP_statistics.new_Histogram4D(*args)
1259 try: self.this.append(this)
1260 except: self.this = this
1261 def add(self, *args):
1263 add(Histogram4D self, Vector4D x, double weight=1)
1264 add(Histogram4D self, Vector4D x)
1266 return _IMP_statistics.Histogram4D_add(self, *args)
1268 def get_total_count(self):
1269 """get_total_count(Histogram4D self) -> double"""
1270 return _IMP_statistics.Histogram4D_get_total_count(self)
1272 def get_frequencies(self):
1273 """get_frequencies(Histogram4D self) -> Histogram4D"""
1274 return _IMP_statistics.Histogram4D_get_frequencies(self)
1276 def get_probability_distribution_function(self):
1277 """get_probability_distribution_function(Histogram4D self) -> Histogram4D"""
1278 return _IMP_statistics.Histogram4D_get_probability_distribution_function(self)
1280 def get_counts(self):
1281 """get_counts(Histogram4D self) -> _HistogramCountsGrid4D"""
1282 return _IMP_statistics.Histogram4D_get_counts(self)
1285 """get_mean(Histogram4D self) -> Vector4D"""
1286 return _IMP_statistics.Histogram4D_get_mean(self)
1288 def get_dimension(self):
1289 """get_dimension(Histogram4D self) -> unsigned int"""
1290 return _IMP_statistics.Histogram4D_get_dimension(self)
1292 def get_standard_deviation(self, *args):
1293 """get_standard_deviation(Histogram4D self, Vector4D mean) -> Vector4D"""
1294 return _IMP_statistics.Histogram4D_get_standard_deviation(self, *args)
1296 def get_bounding_box(self):
1297 """get_bounding_box(Histogram4D self) -> BoundingBox4D"""
1298 return _IMP_statistics.Histogram4D_get_bounding_box(self)
1300 def get_minimum_and_maximum(self):
1301 """get_minimum_and_maximum(Histogram4D self) -> IMP::FloatPair"""
1302 return _IMP_statistics.Histogram4D_get_minimum_and_maximum(self)
1304 def show(self, *args):
1306 show(Histogram4D self, _ostream out=std::cout)
1307 show(Histogram4D self)
1309 return _IMP_statistics.Histogram4D_show(self, *args)
1312 """__str__(Histogram4D self) -> std::string"""
1313 return _IMP_statistics.Histogram4D___str__(self)
1316 """__repr__(Histogram4D self) -> std::string"""
1317 return _IMP_statistics.Histogram4D___repr__(self)
1319 def __cmp__(self, *args):
1320 """__cmp__(Histogram4D self, Histogram4D arg2) -> int"""
1321 return _IMP_statistics.Histogram4D___cmp__(self, *args)
1323 __swig_destroy__ = _IMP_statistics.delete_Histogram4D
1324 __del__ =
lambda self :
None;
1325 Histogram4D_swigregister = _IMP_statistics.Histogram4D_swigregister
1326 Histogram4D_swigregister(Histogram4D)
1328 class Histogram5D(IMP.algebra._GeometricPrimitive5D):
1329 """Proxy of C++ IMP::statistics::HistogramD<(5)> class"""
1330 __swig_setmethods__ = {}
1331 for _s
in [IMP.algebra._GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1332 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram5D, name, value)
1333 __swig_getmethods__ = {}
1334 for _s
in [IMP.algebra._GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1335 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram5D, name)
1336 def __init__(self, *args):
1338 __init__(IMP::statistics::HistogramD<(5)> self) -> Histogram5D
1339 __init__(IMP::statistics::HistogramD<(5)> self, double voxel_size, BoundingBox5D bb) -> Histogram5D
1341 this = _IMP_statistics.new_Histogram5D(*args)
1342 try: self.this.append(this)
1343 except: self.this = this
1344 def add(self, *args):
1346 add(Histogram5D self, Vector5D x, double weight=1)
1347 add(Histogram5D self, Vector5D x)
1349 return _IMP_statistics.Histogram5D_add(self, *args)
1351 def get_total_count(self):
1352 """get_total_count(Histogram5D self) -> double"""
1353 return _IMP_statistics.Histogram5D_get_total_count(self)
1355 def get_frequencies(self):
1356 """get_frequencies(Histogram5D self) -> Histogram5D"""
1357 return _IMP_statistics.Histogram5D_get_frequencies(self)
1359 def get_probability_distribution_function(self):
1360 """get_probability_distribution_function(Histogram5D self) -> Histogram5D"""
1361 return _IMP_statistics.Histogram5D_get_probability_distribution_function(self)
1363 def get_counts(self):
1364 """get_counts(Histogram5D self) -> _HistogramCountsGrid5D"""
1365 return _IMP_statistics.Histogram5D_get_counts(self)
1368 """get_mean(Histogram5D self) -> Vector5D"""
1369 return _IMP_statistics.Histogram5D_get_mean(self)
1371 def get_dimension(self):
1372 """get_dimension(Histogram5D self) -> unsigned int"""
1373 return _IMP_statistics.Histogram5D_get_dimension(self)
1375 def get_standard_deviation(self, *args):
1376 """get_standard_deviation(Histogram5D self, Vector5D mean) -> Vector5D"""
1377 return _IMP_statistics.Histogram5D_get_standard_deviation(self, *args)
1379 def get_bounding_box(self):
1380 """get_bounding_box(Histogram5D self) -> BoundingBox5D"""
1381 return _IMP_statistics.Histogram5D_get_bounding_box(self)
1383 def get_minimum_and_maximum(self):
1384 """get_minimum_and_maximum(Histogram5D self) -> IMP::FloatPair"""
1385 return _IMP_statistics.Histogram5D_get_minimum_and_maximum(self)
1387 def show(self, *args):
1389 show(Histogram5D self, _ostream out=std::cout)
1390 show(Histogram5D self)
1392 return _IMP_statistics.Histogram5D_show(self, *args)
1395 """__str__(Histogram5D self) -> std::string"""
1396 return _IMP_statistics.Histogram5D___str__(self)
1399 """__repr__(Histogram5D self) -> std::string"""
1400 return _IMP_statistics.Histogram5D___repr__(self)
1402 def __cmp__(self, *args):
1403 """__cmp__(Histogram5D self, Histogram5D arg2) -> int"""
1404 return _IMP_statistics.Histogram5D___cmp__(self, *args)
1406 __swig_destroy__ = _IMP_statistics.delete_Histogram5D
1407 __del__ =
lambda self :
None;
1408 Histogram5D_swigregister = _IMP_statistics.Histogram5D_swigregister
1409 Histogram5D_swigregister(Histogram5D)
1411 class Histogram6D(IMP.algebra._GeometricPrimitive6D):
1412 """Proxy of C++ IMP::statistics::HistogramD<(6)> class"""
1413 __swig_setmethods__ = {}
1414 for _s
in [IMP.algebra._GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1415 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram6D, name, value)
1416 __swig_getmethods__ = {}
1417 for _s
in [IMP.algebra._GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1418 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram6D, name)
1419 def __init__(self, *args):
1421 __init__(IMP::statistics::HistogramD<(6)> self) -> Histogram6D
1422 __init__(IMP::statistics::HistogramD<(6)> self, double voxel_size, BoundingBox6D bb) -> Histogram6D
1424 this = _IMP_statistics.new_Histogram6D(*args)
1425 try: self.this.append(this)
1426 except: self.this = this
1427 def add(self, *args):
1429 add(Histogram6D self, Vector6D x, double weight=1)
1430 add(Histogram6D self, Vector6D x)
1432 return _IMP_statistics.Histogram6D_add(self, *args)
1434 def get_total_count(self):
1435 """get_total_count(Histogram6D self) -> double"""
1436 return _IMP_statistics.Histogram6D_get_total_count(self)
1438 def get_frequencies(self):
1439 """get_frequencies(Histogram6D self) -> Histogram6D"""
1440 return _IMP_statistics.Histogram6D_get_frequencies(self)
1442 def get_probability_distribution_function(self):
1443 """get_probability_distribution_function(Histogram6D self) -> Histogram6D"""
1444 return _IMP_statistics.Histogram6D_get_probability_distribution_function(self)
1446 def get_counts(self):
1447 """get_counts(Histogram6D self) -> _HistogramCountsGrid6D"""
1448 return _IMP_statistics.Histogram6D_get_counts(self)
1451 """get_mean(Histogram6D self) -> Vector6D"""
1452 return _IMP_statistics.Histogram6D_get_mean(self)
1454 def get_dimension(self):
1455 """get_dimension(Histogram6D self) -> unsigned int"""
1456 return _IMP_statistics.Histogram6D_get_dimension(self)
1458 def get_standard_deviation(self, *args):
1459 """get_standard_deviation(Histogram6D self, Vector6D mean) -> Vector6D"""
1460 return _IMP_statistics.Histogram6D_get_standard_deviation(self, *args)
1462 def get_bounding_box(self):
1463 """get_bounding_box(Histogram6D self) -> BoundingBox6D"""
1464 return _IMP_statistics.Histogram6D_get_bounding_box(self)
1466 def get_minimum_and_maximum(self):
1467 """get_minimum_and_maximum(Histogram6D self) -> IMP::FloatPair"""
1468 return _IMP_statistics.Histogram6D_get_minimum_and_maximum(self)
1470 def show(self, *args):
1472 show(Histogram6D self, _ostream out=std::cout)
1473 show(Histogram6D self)
1475 return _IMP_statistics.Histogram6D_show(self, *args)
1478 """__str__(Histogram6D self) -> std::string"""
1479 return _IMP_statistics.Histogram6D___str__(self)
1482 """__repr__(Histogram6D self) -> std::string"""
1483 return _IMP_statistics.Histogram6D___repr__(self)
1485 def __cmp__(self, *args):
1486 """__cmp__(Histogram6D self, Histogram6D arg2) -> int"""
1487 return _IMP_statistics.Histogram6D___cmp__(self, *args)
1489 __swig_destroy__ = _IMP_statistics.delete_Histogram6D
1490 __del__ =
lambda self :
None;
1491 Histogram6D_swigregister = _IMP_statistics.Histogram6D_swigregister
1492 Histogram6D_swigregister(Histogram6D)
1494 class HistogramKD(IMP.algebra._GeometricPrimitiveKD):
1495 """Proxy of C++ IMP::statistics::HistogramD<(-1)> class"""
1496 __swig_setmethods__ = {}
1497 for _s
in [IMP.algebra._GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1498 __setattr__ =
lambda self, name, value: _swig_setattr(self, HistogramKD, name, value)
1499 __swig_getmethods__ = {}
1500 for _s
in [IMP.algebra._GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1501 __getattr__ =
lambda self, name: _swig_getattr(self, HistogramKD, name)
1502 def __init__(self, *args):
1504 __init__(IMP::statistics::HistogramD<(-1)> self) -> HistogramKD
1505 __init__(IMP::statistics::HistogramD<(-1)> self, double voxel_size, BoundingBoxKD bb) -> HistogramKD
1507 this = _IMP_statistics.new_HistogramKD(*args)
1508 try: self.this.append(this)
1509 except: self.this = this
1510 def add(self, *args):
1512 add(HistogramKD self, VectorKD x, double weight=1)
1513 add(HistogramKD self, VectorKD x)
1515 return _IMP_statistics.HistogramKD_add(self, *args)
1517 def get_total_count(self):
1518 """get_total_count(HistogramKD self) -> double"""
1519 return _IMP_statistics.HistogramKD_get_total_count(self)
1521 def get_frequencies(self):
1522 """get_frequencies(HistogramKD self) -> HistogramKD"""
1523 return _IMP_statistics.HistogramKD_get_frequencies(self)
1525 def get_probability_distribution_function(self):
1526 """get_probability_distribution_function(HistogramKD self) -> HistogramKD"""
1527 return _IMP_statistics.HistogramKD_get_probability_distribution_function(self)
1529 def get_counts(self):
1530 """get_counts(HistogramKD self) -> _HistogramCountsGridKD"""
1531 return _IMP_statistics.HistogramKD_get_counts(self)
1534 """get_mean(HistogramKD self) -> VectorKD"""
1535 return _IMP_statistics.HistogramKD_get_mean(self)
1537 def get_dimension(self):
1538 """get_dimension(HistogramKD self) -> unsigned int"""
1539 return _IMP_statistics.HistogramKD_get_dimension(self)
1541 def get_standard_deviation(self, *args):
1542 """get_standard_deviation(HistogramKD self, VectorKD mean) -> VectorKD"""
1543 return _IMP_statistics.HistogramKD_get_standard_deviation(self, *args)
1545 def get_bounding_box(self):
1546 """get_bounding_box(HistogramKD self) -> BoundingBoxKD"""
1547 return _IMP_statistics.HistogramKD_get_bounding_box(self)
1549 def get_minimum_and_maximum(self):
1550 """get_minimum_and_maximum(HistogramKD self) -> IMP::FloatPair"""
1551 return _IMP_statistics.HistogramKD_get_minimum_and_maximum(self)
1553 def show(self, *args):
1555 show(HistogramKD self, _ostream out=std::cout)
1556 show(HistogramKD self)
1558 return _IMP_statistics.HistogramKD_show(self, *args)
1561 """__str__(HistogramKD self) -> std::string"""
1562 return _IMP_statistics.HistogramKD___str__(self)
1565 """__repr__(HistogramKD self) -> std::string"""
1566 return _IMP_statistics.HistogramKD___repr__(self)
1568 def __cmp__(self, *args):
1569 """__cmp__(HistogramKD self, HistogramKD arg2) -> int"""
1570 return _IMP_statistics.HistogramKD___cmp__(self, *args)
1572 __swig_destroy__ = _IMP_statistics.delete_HistogramKD
1573 __del__ =
lambda self :
None;
1574 HistogramKD_swigregister = _IMP_statistics.HistogramKD_swigregister
1575 HistogramKD_swigregister(HistogramKD)
1577 class _IntDenseGridStorageKD(IMP.algebra.BoundedGridRangeKD):
1578 """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,int)> class"""
1579 __swig_setmethods__ = {}
1580 for _s
in [IMP.algebra.BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1581 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorageKD, name, value)
1582 __swig_getmethods__ = {}
1583 for _s
in [IMP.algebra.BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1584 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorageKD, name)
1585 __repr__ = _swig_repr
1586 def __setitem__(self, *args):
1588 __setitem__(_IntDenseGridStorageKD self, GridIndexKD i, int const & v)
1589 __setitem__(_IntDenseGridStorageKD self, unsigned int i, int const & v)
1591 return _IMP_statistics._IntDenseGridStorageKD___setitem__(self, *args)
1593 def __getitem__(self, *args):
1595 __getitem__(_IntDenseGridStorageKD self, GridIndexKD i) -> int const
1596 __getitem__(_IntDenseGridStorageKD self, unsigned int i) -> int const &
1598 return _IMP_statistics._IntDenseGridStorageKD___getitem__(self, *args)
1600 def __init__(self, *args):
1602 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, _IntDenseGridStorageKD o) -> _IntDenseGridStorageKD
1603 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorageKD
1604 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorageKD
1605 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, int const & default_value=int()) -> _IntDenseGridStorageKD
1606 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self) -> _IntDenseGridStorageKD
1608 this = _IMP_statistics.new__IntDenseGridStorageKD(*args)
1609 try: self.this.append(this)
1610 except: self.this = this
1612 """get_is_dense() -> bool"""
1613 return _IMP_statistics._IntDenseGridStorageKD_get_is_dense()
1615 if _newclass:get_is_dense = staticmethod(get_is_dense)
1616 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
1617 def show(self, *args):
1619 show(_IntDenseGridStorageKD self, _ostream out=std::cout)
1620 show(_IntDenseGridStorageKD self)
1622 return _IMP_statistics._IntDenseGridStorageKD_show(self, *args)
1624 def add_voxel(self, *args):
1625 """add_voxel(_IntDenseGridStorageKD self, ExtendedGridIndexKD arg2, int const & arg3) -> GridIndexKD"""
1626 return _IMP_statistics._IntDenseGridStorageKD_add_voxel(self, *args)
1628 def get_all_voxels(self):
1629 """get_all_voxels(_IntDenseGridStorageKD self) -> IMP::base::Vector< int >"""
1630 return _IMP_statistics._IntDenseGridStorageKD_get_all_voxels(self)
1632 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorageKD
1633 __del__ =
lambda self :
None;
1634 _IntDenseGridStorageKD_swigregister = _IMP_statistics._IntDenseGridStorageKD_swigregister
1635 _IntDenseGridStorageKD_swigregister(_IntDenseGridStorageKD)
1637 def _IntDenseGridStorageKD_get_is_dense():
1638 """_IntDenseGridStorageKD_get_is_dense() -> bool"""
1639 return _IMP_statistics._IntDenseGridStorageKD_get_is_dense()
1641 class _FloatDenseGridStorageKD(IMP.algebra.BoundedGridRangeKD):
1642 """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,double)> class"""
1643 __swig_setmethods__ = {}
1644 for _s
in [IMP.algebra.BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1645 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorageKD, name, value)
1646 __swig_getmethods__ = {}
1647 for _s
in [IMP.algebra.BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1648 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorageKD, name)
1649 __repr__ = _swig_repr
1650 def __setitem__(self, *args):
1652 __setitem__(_FloatDenseGridStorageKD self, GridIndexKD i, double const & v)
1653 __setitem__(_FloatDenseGridStorageKD self, unsigned int i, double const & v)
1655 return _IMP_statistics._FloatDenseGridStorageKD___setitem__(self, *args)
1657 def __getitem__(self, *args):
1659 __getitem__(_FloatDenseGridStorageKD self, GridIndexKD i) -> double const
1660 __getitem__(_FloatDenseGridStorageKD self, unsigned int i) -> double const &
1662 return _IMP_statistics._FloatDenseGridStorageKD___getitem__(self, *args)
1664 def __init__(self, *args):
1666 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, _FloatDenseGridStorageKD o) -> _FloatDenseGridStorageKD
1667 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorageKD
1668 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorageKD
1669 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, double const & default_value=double()) -> _FloatDenseGridStorageKD
1670 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self) -> _FloatDenseGridStorageKD
1672 this = _IMP_statistics.new__FloatDenseGridStorageKD(*args)
1673 try: self.this.append(this)
1674 except: self.this = this
1676 """get_is_dense() -> bool"""
1677 return _IMP_statistics._FloatDenseGridStorageKD_get_is_dense()
1679 if _newclass:get_is_dense = staticmethod(get_is_dense)
1680 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
1681 def show(self, *args):
1683 show(_FloatDenseGridStorageKD self, _ostream out=std::cout)
1684 show(_FloatDenseGridStorageKD self)
1686 return _IMP_statistics._FloatDenseGridStorageKD_show(self, *args)
1688 def add_voxel(self, *args):
1689 """add_voxel(_FloatDenseGridStorageKD self, ExtendedGridIndexKD arg2, double const & arg3) -> GridIndexKD"""
1690 return _IMP_statistics._FloatDenseGridStorageKD_add_voxel(self, *args)
1692 def get_all_voxels(self):
1693 """get_all_voxels(_FloatDenseGridStorageKD self) -> IMP::base::Vector< double >"""
1694 return _IMP_statistics._FloatDenseGridStorageKD_get_all_voxels(self)
1696 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorageKD
1697 __del__ =
lambda self :
None;
1698 _FloatDenseGridStorageKD_swigregister = _IMP_statistics._FloatDenseGridStorageKD_swigregister
1699 _FloatDenseGridStorageKD_swigregister(_FloatDenseGridStorageKD)
1701 def _FloatDenseGridStorageKD_get_is_dense():
1702 """_FloatDenseGridStorageKD_get_is_dense() -> bool"""
1703 return _IMP_statistics._FloatDenseGridStorageKD_get_is_dense()
1705 class _HistogramCountsGridKD(_FloatDenseGridStorageKD,IMP.algebra.DefaultEmbeddingKD,IMP.algebra._GeometricPrimitiveKD):
1706 """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> class"""
1707 __swig_setmethods__ = {}
1708 for _s
in [_FloatDenseGridStorageKD,IMP.algebra.DefaultEmbeddingKD,IMP.algebra._GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1709 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGridKD, name, value)
1710 __swig_getmethods__ = {}
1711 for _s
in [_FloatDenseGridStorageKD,IMP.algebra.DefaultEmbeddingKD,IMP.algebra._GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1712 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGridKD, name)
1713 __repr__ = _swig_repr
1714 def __init__(self, *args):
1716 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb, double default_value=double()) -> _HistogramCountsGridKD
1717 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> _HistogramCountsGridKD
1718 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb, double const & default_value=double()) -> _HistogramCountsGridKD
1719 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> _HistogramCountsGridKD
1720 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, VectorKD sides, BoundingBoxKD bb, double const & default_value=double()) -> _HistogramCountsGridKD
1721 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, VectorKD sides, BoundingBoxKD bb) -> _HistogramCountsGridKD
1722 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, _FloatDenseGridStorageKD storage, DefaultEmbeddingKD embed) -> _HistogramCountsGridKD
1723 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin, double const & default_value=double()) -> _HistogramCountsGridKD
1724 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> _HistogramCountsGridKD
1725 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, VectorKD sides, VectorKD origin, double const & default_value=double()) -> _HistogramCountsGridKD
1726 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, VectorKD sides, VectorKD origin) -> _HistogramCountsGridKD
1727 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self) -> _HistogramCountsGridKD
1729 this = _IMP_statistics.new__HistogramCountsGridKD(*args)
1730 try: self.this.append(this)
1731 except: self.this = this
1732 def show(self, *args):
1734 show(_HistogramCountsGridKD self, _ostream out=std::cout)
1735 show(_HistogramCountsGridKD self)
1737 return _IMP_statistics._HistogramCountsGridKD_show(self, *args)
1739 def __getitem__(self, *args):
1741 __getitem__(_HistogramCountsGridKD self, VectorKD i) -> double const
1742 __getitem__(_HistogramCountsGridKD self, GridIndexKD i) -> double const &
1744 return _IMP_statistics._HistogramCountsGridKD___getitem__(self, *args)
1746 def __setitem__(self, *args):
1748 __setitem__(_HistogramCountsGridKD self, VectorKD i, double const & v)
1749 __setitem__(_HistogramCountsGridKD self, GridIndexKD i, double const & vt)
1751 return _IMP_statistics._HistogramCountsGridKD___setitem__(self, *args)
1753 def add_voxel(self, *args):
1754 """add_voxel(_HistogramCountsGridKD self, VectorKD pt, double const & vt) -> GridIndexKD"""
1755 return _IMP_statistics._HistogramCountsGridKD_add_voxel(self, *args)
1757 def get_extended_index(self, *args):
1758 """get_extended_index(_HistogramCountsGridKD self, GridIndexKD index) -> ExtendedGridIndexKD"""
1759 return _IMP_statistics._HistogramCountsGridKD_get_extended_index(self, *args)
1761 def get_bounding_box(self, *args):
1763 get_bounding_box(_HistogramCountsGridKD self) -> BoundingBoxKD
1764 get_bounding_box(_HistogramCountsGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
1765 get_bounding_box(_HistogramCountsGridKD self, GridIndexKD i) -> BoundingBoxKD
1767 return _IMP_statistics._HistogramCountsGridKD_get_bounding_box(self, *args)
1769 def set_bounding_box(self, *args):
1770 """set_bounding_box(_HistogramCountsGridKD self, BoundingBoxKD bb3)"""
1771 return _IMP_statistics._HistogramCountsGridKD_set_bounding_box(self, *args)
1773 def get_nearest_index(self, *args):
1774 """get_nearest_index(_HistogramCountsGridKD self, VectorKD pt) -> GridIndexKD"""
1775 return _IMP_statistics._HistogramCountsGridKD_get_nearest_index(self, *args)
1777 def get_nearest_extended_index(self, *args):
1778 """get_nearest_extended_index(_HistogramCountsGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
1779 return _IMP_statistics._HistogramCountsGridKD_get_nearest_extended_index(self, *args)
1781 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGridKD
1782 __del__ =
lambda self :
None;
1783 _HistogramCountsGridKD_swigregister = _IMP_statistics._HistogramCountsGridKD_swigregister
1784 _HistogramCountsGridKD_swigregister(_HistogramCountsGridKD)
1786 class _IntDenseGridStorage1D(IMP.algebra.BoundedGridRange1D):
1787 """Proxy of C++ IMP::algebra::DenseGridStorageD<(1,int)> class"""
1788 __swig_setmethods__ = {}
1789 for _s
in [IMP.algebra.BoundedGridRange1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1790 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage1D, name, value)
1791 __swig_getmethods__ = {}
1792 for _s
in [IMP.algebra.BoundedGridRange1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1793 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage1D, name)
1794 __repr__ = _swig_repr
1795 def __setitem__(self, *args):
1797 __setitem__(_IntDenseGridStorage1D self, GridIndex1D i, int const & v)
1798 __setitem__(_IntDenseGridStorage1D self, unsigned int i, int const & v)
1800 return _IMP_statistics._IntDenseGridStorage1D___setitem__(self, *args)
1802 def __getitem__(self, *args):
1804 __getitem__(_IntDenseGridStorage1D self, GridIndex1D i) -> int const
1805 __getitem__(_IntDenseGridStorage1D self, unsigned int i) -> int const &
1807 return _IMP_statistics._IntDenseGridStorage1D___getitem__(self, *args)
1809 def __init__(self, *args):
1811 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, _IntDenseGridStorage1D o) -> _IntDenseGridStorage1D
1812 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage1D
1813 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage1D
1814 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, int const & default_value=int()) -> _IntDenseGridStorage1D
1815 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self) -> _IntDenseGridStorage1D
1817 this = _IMP_statistics.new__IntDenseGridStorage1D(*args)
1818 try: self.this.append(this)
1819 except: self.this = this
1821 """get_is_dense() -> bool"""
1822 return _IMP_statistics._IntDenseGridStorage1D_get_is_dense()
1824 if _newclass:get_is_dense = staticmethod(get_is_dense)
1825 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
1826 def show(self, *args):
1828 show(_IntDenseGridStorage1D self, _ostream out=std::cout)
1829 show(_IntDenseGridStorage1D self)
1831 return _IMP_statistics._IntDenseGridStorage1D_show(self, *args)
1833 def add_voxel(self, *args):
1834 """add_voxel(_IntDenseGridStorage1D self, ExtendedGridIndex1D arg2, int const & arg3) -> GridIndex1D"""
1835 return _IMP_statistics._IntDenseGridStorage1D_add_voxel(self, *args)
1837 def get_all_voxels(self):
1838 """get_all_voxels(_IntDenseGridStorage1D self) -> IMP::base::Vector< int >"""
1839 return _IMP_statistics._IntDenseGridStorage1D_get_all_voxels(self)
1841 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage1D
1842 __del__ =
lambda self :
None;
1843 _IntDenseGridStorage1D_swigregister = _IMP_statistics._IntDenseGridStorage1D_swigregister
1844 _IntDenseGridStorage1D_swigregister(_IntDenseGridStorage1D)
1846 def _IntDenseGridStorage1D_get_is_dense():
1847 """_IntDenseGridStorage1D_get_is_dense() -> bool"""
1848 return _IMP_statistics._IntDenseGridStorage1D_get_is_dense()
1850 class _FloatDenseGridStorage1D(IMP.algebra.BoundedGridRange1D):
1851 """Proxy of C++ IMP::algebra::DenseGridStorageD<(1,double)> class"""
1852 __swig_setmethods__ = {}
1853 for _s
in [IMP.algebra.BoundedGridRange1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1854 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage1D, name, value)
1855 __swig_getmethods__ = {}
1856 for _s
in [IMP.algebra.BoundedGridRange1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1857 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage1D, name)
1858 __repr__ = _swig_repr
1859 def __setitem__(self, *args):
1861 __setitem__(_FloatDenseGridStorage1D self, GridIndex1D i, double const & v)
1862 __setitem__(_FloatDenseGridStorage1D self, unsigned int i, double const & v)
1864 return _IMP_statistics._FloatDenseGridStorage1D___setitem__(self, *args)
1866 def __getitem__(self, *args):
1868 __getitem__(_FloatDenseGridStorage1D self, GridIndex1D i) -> double const
1869 __getitem__(_FloatDenseGridStorage1D self, unsigned int i) -> double const &
1871 return _IMP_statistics._FloatDenseGridStorage1D___getitem__(self, *args)
1873 def __init__(self, *args):
1875 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, _FloatDenseGridStorage1D o) -> _FloatDenseGridStorage1D
1876 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage1D
1877 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage1D
1878 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage1D
1879 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self) -> _FloatDenseGridStorage1D
1881 this = _IMP_statistics.new__FloatDenseGridStorage1D(*args)
1882 try: self.this.append(this)
1883 except: self.this = this
1885 """get_is_dense() -> bool"""
1886 return _IMP_statistics._FloatDenseGridStorage1D_get_is_dense()
1888 if _newclass:get_is_dense = staticmethod(get_is_dense)
1889 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
1890 def show(self, *args):
1892 show(_FloatDenseGridStorage1D self, _ostream out=std::cout)
1893 show(_FloatDenseGridStorage1D self)
1895 return _IMP_statistics._FloatDenseGridStorage1D_show(self, *args)
1897 def add_voxel(self, *args):
1898 """add_voxel(_FloatDenseGridStorage1D self, ExtendedGridIndex1D arg2, double const & arg3) -> GridIndex1D"""
1899 return _IMP_statistics._FloatDenseGridStorage1D_add_voxel(self, *args)
1901 def get_all_voxels(self):
1902 """get_all_voxels(_FloatDenseGridStorage1D self) -> IMP::base::Vector< double >"""
1903 return _IMP_statistics._FloatDenseGridStorage1D_get_all_voxels(self)
1905 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage1D
1906 __del__ =
lambda self :
None;
1907 _FloatDenseGridStorage1D_swigregister = _IMP_statistics._FloatDenseGridStorage1D_swigregister
1908 _FloatDenseGridStorage1D_swigregister(_FloatDenseGridStorage1D)
1910 def _FloatDenseGridStorage1D_get_is_dense():
1911 """_FloatDenseGridStorage1D_get_is_dense() -> bool"""
1912 return _IMP_statistics._FloatDenseGridStorage1D_get_is_dense()
1914 class _HistogramCountsGrid1D(_FloatDenseGridStorage1D,IMP.algebra.DefaultEmbedding1D,IMP.algebra._GeometricPrimitive1D):
1915 """Proxy of C++ IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> class"""
1916 __swig_setmethods__ = {}
1917 for _s
in [_FloatDenseGridStorage1D,IMP.algebra.DefaultEmbedding1D,IMP.algebra._GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1918 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid1D, name, value)
1919 __swig_getmethods__ = {}
1920 for _s
in [_FloatDenseGridStorage1D,IMP.algebra.DefaultEmbedding1D,IMP.algebra._GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1921 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid1D, name)
1922 __repr__ = _swig_repr
1923 def __init__(self, *args):
1925 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, IMP::Ints const counts, BoundingBox1D bb, double default_value=double()) -> _HistogramCountsGrid1D
1926 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, IMP::Ints const counts, BoundingBox1D bb) -> _HistogramCountsGrid1D
1927 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, double side, BoundingBox1D bb, double const & default_value=double()) -> _HistogramCountsGrid1D
1928 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, double side, BoundingBox1D bb) -> _HistogramCountsGrid1D
1929 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, Vector1D sides, BoundingBox1D bb, double const & default_value=double()) -> _HistogramCountsGrid1D
1930 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, Vector1D sides, BoundingBox1D bb) -> _HistogramCountsGrid1D
1931 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, _FloatDenseGridStorage1D storage, DefaultEmbedding1D embed) -> _HistogramCountsGrid1D
1932 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, double side, Vector1D origin, double const & default_value=double()) -> _HistogramCountsGrid1D
1933 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, double side, Vector1D origin) -> _HistogramCountsGrid1D
1934 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, Vector1D sides, Vector1D origin, double const & default_value=double()) -> _HistogramCountsGrid1D
1935 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, Vector1D sides, Vector1D origin) -> _HistogramCountsGrid1D
1936 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self) -> _HistogramCountsGrid1D
1938 this = _IMP_statistics.new__HistogramCountsGrid1D(*args)
1939 try: self.this.append(this)
1940 except: self.this = this
1941 def show(self, *args):
1943 show(_HistogramCountsGrid1D self, _ostream out=std::cout)
1944 show(_HistogramCountsGrid1D self)
1946 return _IMP_statistics._HistogramCountsGrid1D_show(self, *args)
1948 def __getitem__(self, *args):
1950 __getitem__(_HistogramCountsGrid1D self, Vector1D i) -> double const
1951 __getitem__(_HistogramCountsGrid1D self, GridIndex1D i) -> double const &
1953 return _IMP_statistics._HistogramCountsGrid1D___getitem__(self, *args)
1955 def __setitem__(self, *args):
1957 __setitem__(_HistogramCountsGrid1D self, Vector1D i, double const & v)
1958 __setitem__(_HistogramCountsGrid1D self, GridIndex1D i, double const & vt)
1960 return _IMP_statistics._HistogramCountsGrid1D___setitem__(self, *args)
1962 def add_voxel(self, *args):
1963 """add_voxel(_HistogramCountsGrid1D self, Vector1D pt, double const & vt) -> GridIndex1D"""
1964 return _IMP_statistics._HistogramCountsGrid1D_add_voxel(self, *args)
1966 def get_extended_index(self, *args):
1967 """get_extended_index(_HistogramCountsGrid1D self, GridIndex1D index) -> ExtendedGridIndex1D"""
1968 return _IMP_statistics._HistogramCountsGrid1D_get_extended_index(self, *args)
1970 def get_bounding_box(self, *args):
1972 get_bounding_box(_HistogramCountsGrid1D self) -> BoundingBox1D
1973 get_bounding_box(_HistogramCountsGrid1D self, ExtendedGridIndex1D i) -> BoundingBox1D
1974 get_bounding_box(_HistogramCountsGrid1D self, GridIndex1D i) -> BoundingBox1D
1976 return _IMP_statistics._HistogramCountsGrid1D_get_bounding_box(self, *args)
1978 def set_bounding_box(self, *args):
1979 """set_bounding_box(_HistogramCountsGrid1D self, BoundingBox1D bb3)"""
1980 return _IMP_statistics._HistogramCountsGrid1D_set_bounding_box(self, *args)
1982 def get_nearest_index(self, *args):
1983 """get_nearest_index(_HistogramCountsGrid1D self, Vector1D pt) -> GridIndex1D"""
1984 return _IMP_statistics._HistogramCountsGrid1D_get_nearest_index(self, *args)
1986 def get_nearest_extended_index(self, *args):
1987 """get_nearest_extended_index(_HistogramCountsGrid1D self, Vector1D pt) -> ExtendedGridIndex1D"""
1988 return _IMP_statistics._HistogramCountsGrid1D_get_nearest_extended_index(self, *args)
1990 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid1D
1991 __del__ =
lambda self :
None;
1992 _HistogramCountsGrid1D_swigregister = _IMP_statistics._HistogramCountsGrid1D_swigregister
1993 _HistogramCountsGrid1D_swigregister(_HistogramCountsGrid1D)
1995 class _IntDenseGridStorage2D(IMP.algebra.BoundedGridRange2D):
1996 """Proxy of C++ IMP::algebra::DenseGridStorageD<(2,int)> class"""
1997 __swig_setmethods__ = {}
1998 for _s
in [IMP.algebra.BoundedGridRange2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1999 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage2D, name, value)
2000 __swig_getmethods__ = {}
2001 for _s
in [IMP.algebra.BoundedGridRange2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2002 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage2D, name)
2003 __repr__ = _swig_repr
2004 def __setitem__(self, *args):
2006 __setitem__(_IntDenseGridStorage2D self, GridIndex2D i, int const & v)
2007 __setitem__(_IntDenseGridStorage2D self, unsigned int i, int const & v)
2009 return _IMP_statistics._IntDenseGridStorage2D___setitem__(self, *args)
2011 def __getitem__(self, *args):
2013 __getitem__(_IntDenseGridStorage2D self, GridIndex2D i) -> int const
2014 __getitem__(_IntDenseGridStorage2D self, unsigned int i) -> int const &
2016 return _IMP_statistics._IntDenseGridStorage2D___getitem__(self, *args)
2018 def __init__(self, *args):
2020 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, _IntDenseGridStorage2D o) -> _IntDenseGridStorage2D
2021 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage2D
2022 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage2D
2023 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, int const & default_value=int()) -> _IntDenseGridStorage2D
2024 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self) -> _IntDenseGridStorage2D
2026 this = _IMP_statistics.new__IntDenseGridStorage2D(*args)
2027 try: self.this.append(this)
2028 except: self.this = this
2030 """get_is_dense() -> bool"""
2031 return _IMP_statistics._IntDenseGridStorage2D_get_is_dense()
2033 if _newclass:get_is_dense = staticmethod(get_is_dense)
2034 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2035 def show(self, *args):
2037 show(_IntDenseGridStorage2D self, _ostream out=std::cout)
2038 show(_IntDenseGridStorage2D self)
2040 return _IMP_statistics._IntDenseGridStorage2D_show(self, *args)
2042 def add_voxel(self, *args):
2043 """add_voxel(_IntDenseGridStorage2D self, ExtendedGridIndex2D arg2, int const & arg3) -> GridIndex2D"""
2044 return _IMP_statistics._IntDenseGridStorage2D_add_voxel(self, *args)
2046 def get_all_voxels(self):
2047 """get_all_voxels(_IntDenseGridStorage2D self) -> IMP::base::Vector< int >"""
2048 return _IMP_statistics._IntDenseGridStorage2D_get_all_voxels(self)
2050 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage2D
2051 __del__ =
lambda self :
None;
2052 _IntDenseGridStorage2D_swigregister = _IMP_statistics._IntDenseGridStorage2D_swigregister
2053 _IntDenseGridStorage2D_swigregister(_IntDenseGridStorage2D)
2055 def _IntDenseGridStorage2D_get_is_dense():
2056 """_IntDenseGridStorage2D_get_is_dense() -> bool"""
2057 return _IMP_statistics._IntDenseGridStorage2D_get_is_dense()
2059 class _FloatDenseGridStorage2D(IMP.algebra.BoundedGridRange2D):
2060 """Proxy of C++ IMP::algebra::DenseGridStorageD<(2,double)> class"""
2061 __swig_setmethods__ = {}
2062 for _s
in [IMP.algebra.BoundedGridRange2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2063 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage2D, name, value)
2064 __swig_getmethods__ = {}
2065 for _s
in [IMP.algebra.BoundedGridRange2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2066 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage2D, name)
2067 __repr__ = _swig_repr
2068 def __setitem__(self, *args):
2070 __setitem__(_FloatDenseGridStorage2D self, GridIndex2D i, double const & v)
2071 __setitem__(_FloatDenseGridStorage2D self, unsigned int i, double const & v)
2073 return _IMP_statistics._FloatDenseGridStorage2D___setitem__(self, *args)
2075 def __getitem__(self, *args):
2077 __getitem__(_FloatDenseGridStorage2D self, GridIndex2D i) -> double const
2078 __getitem__(_FloatDenseGridStorage2D self, unsigned int i) -> double const &
2080 return _IMP_statistics._FloatDenseGridStorage2D___getitem__(self, *args)
2082 def __init__(self, *args):
2084 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, _FloatDenseGridStorage2D o) -> _FloatDenseGridStorage2D
2085 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage2D
2086 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage2D
2087 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage2D
2088 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self) -> _FloatDenseGridStorage2D
2090 this = _IMP_statistics.new__FloatDenseGridStorage2D(*args)
2091 try: self.this.append(this)
2092 except: self.this = this
2094 """get_is_dense() -> bool"""
2095 return _IMP_statistics._FloatDenseGridStorage2D_get_is_dense()
2097 if _newclass:get_is_dense = staticmethod(get_is_dense)
2098 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2099 def show(self, *args):
2101 show(_FloatDenseGridStorage2D self, _ostream out=std::cout)
2102 show(_FloatDenseGridStorage2D self)
2104 return _IMP_statistics._FloatDenseGridStorage2D_show(self, *args)
2106 def add_voxel(self, *args):
2107 """add_voxel(_FloatDenseGridStorage2D self, ExtendedGridIndex2D arg2, double const & arg3) -> GridIndex2D"""
2108 return _IMP_statistics._FloatDenseGridStorage2D_add_voxel(self, *args)
2110 def get_all_voxels(self):
2111 """get_all_voxels(_FloatDenseGridStorage2D self) -> IMP::base::Vector< double >"""
2112 return _IMP_statistics._FloatDenseGridStorage2D_get_all_voxels(self)
2114 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage2D
2115 __del__ =
lambda self :
None;
2116 _FloatDenseGridStorage2D_swigregister = _IMP_statistics._FloatDenseGridStorage2D_swigregister
2117 _FloatDenseGridStorage2D_swigregister(_FloatDenseGridStorage2D)
2119 def _FloatDenseGridStorage2D_get_is_dense():
2120 """_FloatDenseGridStorage2D_get_is_dense() -> bool"""
2121 return _IMP_statistics._FloatDenseGridStorage2D_get_is_dense()
2123 class _HistogramCountsGrid2D(_FloatDenseGridStorage2D,IMP.algebra.DefaultEmbedding2D,IMP.algebra._GeometricPrimitive2D):
2124 """Proxy of C++ IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> class"""
2125 __swig_setmethods__ = {}
2126 for _s
in [_FloatDenseGridStorage2D,IMP.algebra.DefaultEmbedding2D,IMP.algebra._GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2127 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid2D, name, value)
2128 __swig_getmethods__ = {}
2129 for _s
in [_FloatDenseGridStorage2D,IMP.algebra.DefaultEmbedding2D,IMP.algebra._GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2130 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid2D, name)
2131 __repr__ = _swig_repr
2132 def __init__(self, *args):
2134 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, IMP::Ints const counts, BoundingBox2D bb, double default_value=double()) -> _HistogramCountsGrid2D
2135 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, IMP::Ints const counts, BoundingBox2D bb) -> _HistogramCountsGrid2D
2136 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, double side, BoundingBox2D bb, double const & default_value=double()) -> _HistogramCountsGrid2D
2137 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, double side, BoundingBox2D bb) -> _HistogramCountsGrid2D
2138 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, Vector2D sides, BoundingBox2D bb, double const & default_value=double()) -> _HistogramCountsGrid2D
2139 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, Vector2D sides, BoundingBox2D bb) -> _HistogramCountsGrid2D
2140 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, _FloatDenseGridStorage2D storage, DefaultEmbedding2D embed) -> _HistogramCountsGrid2D
2141 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, double side, Vector2D origin, double const & default_value=double()) -> _HistogramCountsGrid2D
2142 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, double side, Vector2D origin) -> _HistogramCountsGrid2D
2143 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, Vector2D sides, Vector2D origin, double const & default_value=double()) -> _HistogramCountsGrid2D
2144 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, Vector2D sides, Vector2D origin) -> _HistogramCountsGrid2D
2145 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self) -> _HistogramCountsGrid2D
2147 this = _IMP_statistics.new__HistogramCountsGrid2D(*args)
2148 try: self.this.append(this)
2149 except: self.this = this
2150 def show(self, *args):
2152 show(_HistogramCountsGrid2D self, _ostream out=std::cout)
2153 show(_HistogramCountsGrid2D self)
2155 return _IMP_statistics._HistogramCountsGrid2D_show(self, *args)
2157 def __getitem__(self, *args):
2159 __getitem__(_HistogramCountsGrid2D self, Vector2D i) -> double const
2160 __getitem__(_HistogramCountsGrid2D self, GridIndex2D i) -> double const &
2162 return _IMP_statistics._HistogramCountsGrid2D___getitem__(self, *args)
2164 def __setitem__(self, *args):
2166 __setitem__(_HistogramCountsGrid2D self, Vector2D i, double const & v)
2167 __setitem__(_HistogramCountsGrid2D self, GridIndex2D i, double const & vt)
2169 return _IMP_statistics._HistogramCountsGrid2D___setitem__(self, *args)
2171 def add_voxel(self, *args):
2172 """add_voxel(_HistogramCountsGrid2D self, Vector2D pt, double const & vt) -> GridIndex2D"""
2173 return _IMP_statistics._HistogramCountsGrid2D_add_voxel(self, *args)
2175 def get_extended_index(self, *args):
2176 """get_extended_index(_HistogramCountsGrid2D self, GridIndex2D index) -> ExtendedGridIndex2D"""
2177 return _IMP_statistics._HistogramCountsGrid2D_get_extended_index(self, *args)
2179 def get_bounding_box(self, *args):
2181 get_bounding_box(_HistogramCountsGrid2D self) -> BoundingBox2D
2182 get_bounding_box(_HistogramCountsGrid2D self, ExtendedGridIndex2D i) -> BoundingBox2D
2183 get_bounding_box(_HistogramCountsGrid2D self, GridIndex2D i) -> BoundingBox2D
2185 return _IMP_statistics._HistogramCountsGrid2D_get_bounding_box(self, *args)
2187 def set_bounding_box(self, *args):
2188 """set_bounding_box(_HistogramCountsGrid2D self, BoundingBox2D bb3)"""
2189 return _IMP_statistics._HistogramCountsGrid2D_set_bounding_box(self, *args)
2191 def get_nearest_index(self, *args):
2192 """get_nearest_index(_HistogramCountsGrid2D self, Vector2D pt) -> GridIndex2D"""
2193 return _IMP_statistics._HistogramCountsGrid2D_get_nearest_index(self, *args)
2195 def get_nearest_extended_index(self, *args):
2196 """get_nearest_extended_index(_HistogramCountsGrid2D self, Vector2D pt) -> ExtendedGridIndex2D"""
2197 return _IMP_statistics._HistogramCountsGrid2D_get_nearest_extended_index(self, *args)
2199 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid2D
2200 __del__ =
lambda self :
None;
2201 _HistogramCountsGrid2D_swigregister = _IMP_statistics._HistogramCountsGrid2D_swigregister
2202 _HistogramCountsGrid2D_swigregister(_HistogramCountsGrid2D)
2204 class _IntDenseGridStorage3D(IMP.algebra.BoundedGridRange3D):
2205 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,int)> class"""
2206 __swig_setmethods__ = {}
2207 for _s
in [IMP.algebra.BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2208 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage3D, name, value)
2209 __swig_getmethods__ = {}
2210 for _s
in [IMP.algebra.BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2211 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage3D, name)
2212 __repr__ = _swig_repr
2213 def __setitem__(self, *args):
2215 __setitem__(_IntDenseGridStorage3D self, GridIndex3D i, int const & v)
2216 __setitem__(_IntDenseGridStorage3D self, unsigned int i, int const & v)
2218 return _IMP_statistics._IntDenseGridStorage3D___setitem__(self, *args)
2220 def __getitem__(self, *args):
2222 __getitem__(_IntDenseGridStorage3D self, GridIndex3D i) -> int const
2223 __getitem__(_IntDenseGridStorage3D self, unsigned int i) -> int const &
2225 return _IMP_statistics._IntDenseGridStorage3D___getitem__(self, *args)
2227 def __init__(self, *args):
2229 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, _IntDenseGridStorage3D o) -> _IntDenseGridStorage3D
2230 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage3D
2231 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage3D
2232 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, int const & default_value=int()) -> _IntDenseGridStorage3D
2233 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self) -> _IntDenseGridStorage3D
2235 this = _IMP_statistics.new__IntDenseGridStorage3D(*args)
2236 try: self.this.append(this)
2237 except: self.this = this
2239 """get_is_dense() -> bool"""
2240 return _IMP_statistics._IntDenseGridStorage3D_get_is_dense()
2242 if _newclass:get_is_dense = staticmethod(get_is_dense)
2243 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2244 def show(self, *args):
2246 show(_IntDenseGridStorage3D self, _ostream out=std::cout)
2247 show(_IntDenseGridStorage3D self)
2249 return _IMP_statistics._IntDenseGridStorage3D_show(self, *args)
2251 def add_voxel(self, *args):
2252 """add_voxel(_IntDenseGridStorage3D self, ExtendedGridIndex3D arg2, int const & arg3) -> GridIndex3D"""
2253 return _IMP_statistics._IntDenseGridStorage3D_add_voxel(self, *args)
2255 def get_all_voxels(self):
2256 """get_all_voxels(_IntDenseGridStorage3D self) -> IMP::base::Vector< int >"""
2257 return _IMP_statistics._IntDenseGridStorage3D_get_all_voxels(self)
2259 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage3D
2260 __del__ =
lambda self :
None;
2261 _IntDenseGridStorage3D_swigregister = _IMP_statistics._IntDenseGridStorage3D_swigregister
2262 _IntDenseGridStorage3D_swigregister(_IntDenseGridStorage3D)
2264 def _IntDenseGridStorage3D_get_is_dense():
2265 """_IntDenseGridStorage3D_get_is_dense() -> bool"""
2266 return _IMP_statistics._IntDenseGridStorage3D_get_is_dense()
2268 class _FloatDenseGridStorage3D(IMP.algebra.BoundedGridRange3D):
2269 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,double)> class"""
2270 __swig_setmethods__ = {}
2271 for _s
in [IMP.algebra.BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2272 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage3D, name, value)
2273 __swig_getmethods__ = {}
2274 for _s
in [IMP.algebra.BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2275 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage3D, name)
2276 __repr__ = _swig_repr
2277 def __setitem__(self, *args):
2279 __setitem__(_FloatDenseGridStorage3D self, GridIndex3D i, double const & v)
2280 __setitem__(_FloatDenseGridStorage3D self, unsigned int i, double const & v)
2282 return _IMP_statistics._FloatDenseGridStorage3D___setitem__(self, *args)
2284 def __getitem__(self, *args):
2286 __getitem__(_FloatDenseGridStorage3D self, GridIndex3D i) -> double const
2287 __getitem__(_FloatDenseGridStorage3D self, unsigned int i) -> double const &
2289 return _IMP_statistics._FloatDenseGridStorage3D___getitem__(self, *args)
2291 def __init__(self, *args):
2293 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, _FloatDenseGridStorage3D o) -> _FloatDenseGridStorage3D
2294 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage3D
2295 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage3D
2296 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage3D
2297 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self) -> _FloatDenseGridStorage3D
2299 this = _IMP_statistics.new__FloatDenseGridStorage3D(*args)
2300 try: self.this.append(this)
2301 except: self.this = this
2303 """get_is_dense() -> bool"""
2304 return _IMP_statistics._FloatDenseGridStorage3D_get_is_dense()
2306 if _newclass:get_is_dense = staticmethod(get_is_dense)
2307 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2308 def show(self, *args):
2310 show(_FloatDenseGridStorage3D self, _ostream out=std::cout)
2311 show(_FloatDenseGridStorage3D self)
2313 return _IMP_statistics._FloatDenseGridStorage3D_show(self, *args)
2315 def add_voxel(self, *args):
2316 """add_voxel(_FloatDenseGridStorage3D self, ExtendedGridIndex3D arg2, double const & arg3) -> GridIndex3D"""
2317 return _IMP_statistics._FloatDenseGridStorage3D_add_voxel(self, *args)
2319 def get_all_voxels(self):
2320 """get_all_voxels(_FloatDenseGridStorage3D self) -> IMP::base::Vector< double >"""
2321 return _IMP_statistics._FloatDenseGridStorage3D_get_all_voxels(self)
2323 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage3D
2324 __del__ =
lambda self :
None;
2325 _FloatDenseGridStorage3D_swigregister = _IMP_statistics._FloatDenseGridStorage3D_swigregister
2326 _FloatDenseGridStorage3D_swigregister(_FloatDenseGridStorage3D)
2328 def _FloatDenseGridStorage3D_get_is_dense():
2329 """_FloatDenseGridStorage3D_get_is_dense() -> bool"""
2330 return _IMP_statistics._FloatDenseGridStorage3D_get_is_dense()
2332 class _HistogramCountsGrid3D(_FloatDenseGridStorage3D,IMP.algebra.DefaultEmbedding3D,IMP.algebra._GeometricPrimitive3D):
2333 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
2334 __swig_setmethods__ = {}
2335 for _s
in [_FloatDenseGridStorage3D,IMP.algebra.DefaultEmbedding3D,IMP.algebra._GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2336 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid3D, name, value)
2337 __swig_getmethods__ = {}
2338 for _s
in [_FloatDenseGridStorage3D,IMP.algebra.DefaultEmbedding3D,IMP.algebra._GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2339 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid3D, name)
2340 __repr__ = _swig_repr
2341 def __init__(self, *args):
2343 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb, double default_value=double()) -> _HistogramCountsGrid3D
2344 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> _HistogramCountsGrid3D
2345 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb, double const & default_value=double()) -> _HistogramCountsGrid3D
2346 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> _HistogramCountsGrid3D
2347 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, Vector3D sides, BoundingBox3D bb, double const & default_value=double()) -> _HistogramCountsGrid3D
2348 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, Vector3D sides, BoundingBox3D bb) -> _HistogramCountsGrid3D
2349 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _FloatDenseGridStorage3D storage, DefaultEmbedding3D embed) -> _HistogramCountsGrid3D
2350 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin, double const & default_value=double()) -> _HistogramCountsGrid3D
2351 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> _HistogramCountsGrid3D
2352 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, Vector3D sides, Vector3D origin, double const & default_value=double()) -> _HistogramCountsGrid3D
2353 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, Vector3D sides, Vector3D origin) -> _HistogramCountsGrid3D
2354 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> _HistogramCountsGrid3D
2356 this = _IMP_statistics.new__HistogramCountsGrid3D(*args)
2357 try: self.this.append(this)
2358 except: self.this = this
2359 def show(self, *args):
2361 show(_HistogramCountsGrid3D self, _ostream out=std::cout)
2362 show(_HistogramCountsGrid3D self)
2364 return _IMP_statistics._HistogramCountsGrid3D_show(self, *args)
2366 def __getitem__(self, *args):
2368 __getitem__(_HistogramCountsGrid3D self, Vector3D i) -> double const
2369 __getitem__(_HistogramCountsGrid3D self, GridIndex3D i) -> double const &
2371 return _IMP_statistics._HistogramCountsGrid3D___getitem__(self, *args)
2373 def __setitem__(self, *args):
2375 __setitem__(_HistogramCountsGrid3D self, Vector3D i, double const & v)
2376 __setitem__(_HistogramCountsGrid3D self, GridIndex3D i, double const & vt)
2378 return _IMP_statistics._HistogramCountsGrid3D___setitem__(self, *args)
2380 def add_voxel(self, *args):
2381 """add_voxel(_HistogramCountsGrid3D self, Vector3D pt, double const & vt) -> GridIndex3D"""
2382 return _IMP_statistics._HistogramCountsGrid3D_add_voxel(self, *args)
2384 def get_extended_index(self, *args):
2385 """get_extended_index(_HistogramCountsGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D"""
2386 return _IMP_statistics._HistogramCountsGrid3D_get_extended_index(self, *args)
2388 def get_bounding_box(self, *args):
2390 get_bounding_box(_HistogramCountsGrid3D self) -> BoundingBox3D
2391 get_bounding_box(_HistogramCountsGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
2392 get_bounding_box(_HistogramCountsGrid3D self, GridIndex3D i) -> BoundingBox3D
2394 return _IMP_statistics._HistogramCountsGrid3D_get_bounding_box(self, *args)
2396 def set_bounding_box(self, *args):
2397 """set_bounding_box(_HistogramCountsGrid3D self, BoundingBox3D bb3)"""
2398 return _IMP_statistics._HistogramCountsGrid3D_set_bounding_box(self, *args)
2400 def get_nearest_index(self, *args):
2401 """get_nearest_index(_HistogramCountsGrid3D self, Vector3D pt) -> GridIndex3D"""
2402 return _IMP_statistics._HistogramCountsGrid3D_get_nearest_index(self, *args)
2404 def get_nearest_extended_index(self, *args):
2405 """get_nearest_extended_index(_HistogramCountsGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
2406 return _IMP_statistics._HistogramCountsGrid3D_get_nearest_extended_index(self, *args)
2408 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid3D
2409 __del__ =
lambda self :
None;
2410 _HistogramCountsGrid3D_swigregister = _IMP_statistics._HistogramCountsGrid3D_swigregister
2411 _HistogramCountsGrid3D_swigregister(_HistogramCountsGrid3D)
2413 class _IntDenseGridStorage4D(IMP.algebra.BoundedGridRange4D):
2414 """Proxy of C++ IMP::algebra::DenseGridStorageD<(4,int)> class"""
2415 __swig_setmethods__ = {}
2416 for _s
in [IMP.algebra.BoundedGridRange4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2417 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage4D, name, value)
2418 __swig_getmethods__ = {}
2419 for _s
in [IMP.algebra.BoundedGridRange4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2420 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage4D, name)
2421 __repr__ = _swig_repr
2422 def __setitem__(self, *args):
2424 __setitem__(_IntDenseGridStorage4D self, GridIndex4D i, int const & v)
2425 __setitem__(_IntDenseGridStorage4D self, unsigned int i, int const & v)
2427 return _IMP_statistics._IntDenseGridStorage4D___setitem__(self, *args)
2429 def __getitem__(self, *args):
2431 __getitem__(_IntDenseGridStorage4D self, GridIndex4D i) -> int const
2432 __getitem__(_IntDenseGridStorage4D self, unsigned int i) -> int const &
2434 return _IMP_statistics._IntDenseGridStorage4D___getitem__(self, *args)
2436 def __init__(self, *args):
2438 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, _IntDenseGridStorage4D o) -> _IntDenseGridStorage4D
2439 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage4D
2440 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage4D
2441 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, int const & default_value=int()) -> _IntDenseGridStorage4D
2442 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self) -> _IntDenseGridStorage4D
2444 this = _IMP_statistics.new__IntDenseGridStorage4D(*args)
2445 try: self.this.append(this)
2446 except: self.this = this
2448 """get_is_dense() -> bool"""
2449 return _IMP_statistics._IntDenseGridStorage4D_get_is_dense()
2451 if _newclass:get_is_dense = staticmethod(get_is_dense)
2452 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2453 def show(self, *args):
2455 show(_IntDenseGridStorage4D self, _ostream out=std::cout)
2456 show(_IntDenseGridStorage4D self)
2458 return _IMP_statistics._IntDenseGridStorage4D_show(self, *args)
2460 def add_voxel(self, *args):
2461 """add_voxel(_IntDenseGridStorage4D self, ExtendedGridIndex4D arg2, int const & arg3) -> GridIndex4D"""
2462 return _IMP_statistics._IntDenseGridStorage4D_add_voxel(self, *args)
2464 def get_all_voxels(self):
2465 """get_all_voxels(_IntDenseGridStorage4D self) -> IMP::base::Vector< int >"""
2466 return _IMP_statistics._IntDenseGridStorage4D_get_all_voxels(self)
2468 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage4D
2469 __del__ =
lambda self :
None;
2470 _IntDenseGridStorage4D_swigregister = _IMP_statistics._IntDenseGridStorage4D_swigregister
2471 _IntDenseGridStorage4D_swigregister(_IntDenseGridStorage4D)
2473 def _IntDenseGridStorage4D_get_is_dense():
2474 """_IntDenseGridStorage4D_get_is_dense() -> bool"""
2475 return _IMP_statistics._IntDenseGridStorage4D_get_is_dense()
2477 class _FloatDenseGridStorage4D(IMP.algebra.BoundedGridRange4D):
2478 """Proxy of C++ IMP::algebra::DenseGridStorageD<(4,double)> class"""
2479 __swig_setmethods__ = {}
2480 for _s
in [IMP.algebra.BoundedGridRange4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2481 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage4D, name, value)
2482 __swig_getmethods__ = {}
2483 for _s
in [IMP.algebra.BoundedGridRange4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2484 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage4D, name)
2485 __repr__ = _swig_repr
2486 def __setitem__(self, *args):
2488 __setitem__(_FloatDenseGridStorage4D self, GridIndex4D i, double const & v)
2489 __setitem__(_FloatDenseGridStorage4D self, unsigned int i, double const & v)
2491 return _IMP_statistics._FloatDenseGridStorage4D___setitem__(self, *args)
2493 def __getitem__(self, *args):
2495 __getitem__(_FloatDenseGridStorage4D self, GridIndex4D i) -> double const
2496 __getitem__(_FloatDenseGridStorage4D self, unsigned int i) -> double const &
2498 return _IMP_statistics._FloatDenseGridStorage4D___getitem__(self, *args)
2500 def __init__(self, *args):
2502 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, _FloatDenseGridStorage4D o) -> _FloatDenseGridStorage4D
2503 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage4D
2504 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage4D
2505 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage4D
2506 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self) -> _FloatDenseGridStorage4D
2508 this = _IMP_statistics.new__FloatDenseGridStorage4D(*args)
2509 try: self.this.append(this)
2510 except: self.this = this
2512 """get_is_dense() -> bool"""
2513 return _IMP_statistics._FloatDenseGridStorage4D_get_is_dense()
2515 if _newclass:get_is_dense = staticmethod(get_is_dense)
2516 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2517 def show(self, *args):
2519 show(_FloatDenseGridStorage4D self, _ostream out=std::cout)
2520 show(_FloatDenseGridStorage4D self)
2522 return _IMP_statistics._FloatDenseGridStorage4D_show(self, *args)
2524 def add_voxel(self, *args):
2525 """add_voxel(_FloatDenseGridStorage4D self, ExtendedGridIndex4D arg2, double const & arg3) -> GridIndex4D"""
2526 return _IMP_statistics._FloatDenseGridStorage4D_add_voxel(self, *args)
2528 def get_all_voxels(self):
2529 """get_all_voxels(_FloatDenseGridStorage4D self) -> IMP::base::Vector< double >"""
2530 return _IMP_statistics._FloatDenseGridStorage4D_get_all_voxels(self)
2532 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage4D
2533 __del__ =
lambda self :
None;
2534 _FloatDenseGridStorage4D_swigregister = _IMP_statistics._FloatDenseGridStorage4D_swigregister
2535 _FloatDenseGridStorage4D_swigregister(_FloatDenseGridStorage4D)
2537 def _FloatDenseGridStorage4D_get_is_dense():
2538 """_FloatDenseGridStorage4D_get_is_dense() -> bool"""
2539 return _IMP_statistics._FloatDenseGridStorage4D_get_is_dense()
2541 class _HistogramCountsGrid4D(_FloatDenseGridStorage4D,IMP.algebra.DefaultEmbedding4D,IMP.algebra._GeometricPrimitive4D):
2542 """Proxy of C++ IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> class"""
2543 __swig_setmethods__ = {}
2544 for _s
in [_FloatDenseGridStorage4D,IMP.algebra.DefaultEmbedding4D,IMP.algebra._GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2545 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid4D, name, value)
2546 __swig_getmethods__ = {}
2547 for _s
in [_FloatDenseGridStorage4D,IMP.algebra.DefaultEmbedding4D,IMP.algebra._GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2548 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid4D, name)
2549 __repr__ = _swig_repr
2550 def __init__(self, *args):
2552 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, IMP::Ints const counts, BoundingBox4D bb, double default_value=double()) -> _HistogramCountsGrid4D
2553 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, IMP::Ints const counts, BoundingBox4D bb) -> _HistogramCountsGrid4D
2554 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, double side, BoundingBox4D bb, double const & default_value=double()) -> _HistogramCountsGrid4D
2555 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, double side, BoundingBox4D bb) -> _HistogramCountsGrid4D
2556 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, Vector4D sides, BoundingBox4D bb, double const & default_value=double()) -> _HistogramCountsGrid4D
2557 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, Vector4D sides, BoundingBox4D bb) -> _HistogramCountsGrid4D
2558 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, _FloatDenseGridStorage4D storage, DefaultEmbedding4D embed) -> _HistogramCountsGrid4D
2559 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, double side, Vector4D origin, double const & default_value=double()) -> _HistogramCountsGrid4D
2560 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, double side, Vector4D origin) -> _HistogramCountsGrid4D
2561 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, Vector4D sides, Vector4D origin, double const & default_value=double()) -> _HistogramCountsGrid4D
2562 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, Vector4D sides, Vector4D origin) -> _HistogramCountsGrid4D
2563 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self) -> _HistogramCountsGrid4D
2565 this = _IMP_statistics.new__HistogramCountsGrid4D(*args)
2566 try: self.this.append(this)
2567 except: self.this = this
2568 def show(self, *args):
2570 show(_HistogramCountsGrid4D self, _ostream out=std::cout)
2571 show(_HistogramCountsGrid4D self)
2573 return _IMP_statistics._HistogramCountsGrid4D_show(self, *args)
2575 def __getitem__(self, *args):
2577 __getitem__(_HistogramCountsGrid4D self, Vector4D i) -> double const
2578 __getitem__(_HistogramCountsGrid4D self, GridIndex4D i) -> double const &
2580 return _IMP_statistics._HistogramCountsGrid4D___getitem__(self, *args)
2582 def __setitem__(self, *args):
2584 __setitem__(_HistogramCountsGrid4D self, Vector4D i, double const & v)
2585 __setitem__(_HistogramCountsGrid4D self, GridIndex4D i, double const & vt)
2587 return _IMP_statistics._HistogramCountsGrid4D___setitem__(self, *args)
2589 def add_voxel(self, *args):
2590 """add_voxel(_HistogramCountsGrid4D self, Vector4D pt, double const & vt) -> GridIndex4D"""
2591 return _IMP_statistics._HistogramCountsGrid4D_add_voxel(self, *args)
2593 def get_extended_index(self, *args):
2594 """get_extended_index(_HistogramCountsGrid4D self, GridIndex4D index) -> ExtendedGridIndex4D"""
2595 return _IMP_statistics._HistogramCountsGrid4D_get_extended_index(self, *args)
2597 def get_bounding_box(self, *args):
2599 get_bounding_box(_HistogramCountsGrid4D self) -> BoundingBox4D
2600 get_bounding_box(_HistogramCountsGrid4D self, ExtendedGridIndex4D i) -> BoundingBox4D
2601 get_bounding_box(_HistogramCountsGrid4D self, GridIndex4D i) -> BoundingBox4D
2603 return _IMP_statistics._HistogramCountsGrid4D_get_bounding_box(self, *args)
2605 def set_bounding_box(self, *args):
2606 """set_bounding_box(_HistogramCountsGrid4D self, BoundingBox4D bb3)"""
2607 return _IMP_statistics._HistogramCountsGrid4D_set_bounding_box(self, *args)
2609 def get_nearest_index(self, *args):
2610 """get_nearest_index(_HistogramCountsGrid4D self, Vector4D pt) -> GridIndex4D"""
2611 return _IMP_statistics._HistogramCountsGrid4D_get_nearest_index(self, *args)
2613 def get_nearest_extended_index(self, *args):
2614 """get_nearest_extended_index(_HistogramCountsGrid4D self, Vector4D pt) -> ExtendedGridIndex4D"""
2615 return _IMP_statistics._HistogramCountsGrid4D_get_nearest_extended_index(self, *args)
2617 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid4D
2618 __del__ =
lambda self :
None;
2619 _HistogramCountsGrid4D_swigregister = _IMP_statistics._HistogramCountsGrid4D_swigregister
2620 _HistogramCountsGrid4D_swigregister(_HistogramCountsGrid4D)
2622 class _IntDenseGridStorage5D(IMP.algebra.BoundedGridRange5D):
2623 """Proxy of C++ IMP::algebra::DenseGridStorageD<(5,int)> class"""
2624 __swig_setmethods__ = {}
2625 for _s
in [IMP.algebra.BoundedGridRange5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2626 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage5D, name, value)
2627 __swig_getmethods__ = {}
2628 for _s
in [IMP.algebra.BoundedGridRange5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2629 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage5D, name)
2630 __repr__ = _swig_repr
2631 def __setitem__(self, *args):
2633 __setitem__(_IntDenseGridStorage5D self, GridIndex5D i, int const & v)
2634 __setitem__(_IntDenseGridStorage5D self, unsigned int i, int const & v)
2636 return _IMP_statistics._IntDenseGridStorage5D___setitem__(self, *args)
2638 def __getitem__(self, *args):
2640 __getitem__(_IntDenseGridStorage5D self, GridIndex5D i) -> int const
2641 __getitem__(_IntDenseGridStorage5D self, unsigned int i) -> int const &
2643 return _IMP_statistics._IntDenseGridStorage5D___getitem__(self, *args)
2645 def __init__(self, *args):
2647 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, _IntDenseGridStorage5D o) -> _IntDenseGridStorage5D
2648 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage5D
2649 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage5D
2650 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, int const & default_value=int()) -> _IntDenseGridStorage5D
2651 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self) -> _IntDenseGridStorage5D
2653 this = _IMP_statistics.new__IntDenseGridStorage5D(*args)
2654 try: self.this.append(this)
2655 except: self.this = this
2657 """get_is_dense() -> bool"""
2658 return _IMP_statistics._IntDenseGridStorage5D_get_is_dense()
2660 if _newclass:get_is_dense = staticmethod(get_is_dense)
2661 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2662 def show(self, *args):
2664 show(_IntDenseGridStorage5D self, _ostream out=std::cout)
2665 show(_IntDenseGridStorage5D self)
2667 return _IMP_statistics._IntDenseGridStorage5D_show(self, *args)
2669 def add_voxel(self, *args):
2670 """add_voxel(_IntDenseGridStorage5D self, ExtendedGridIndex5D arg2, int const & arg3) -> GridIndex5D"""
2671 return _IMP_statistics._IntDenseGridStorage5D_add_voxel(self, *args)
2673 def get_all_voxels(self):
2674 """get_all_voxels(_IntDenseGridStorage5D self) -> IMP::base::Vector< int >"""
2675 return _IMP_statistics._IntDenseGridStorage5D_get_all_voxels(self)
2677 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage5D
2678 __del__ =
lambda self :
None;
2679 _IntDenseGridStorage5D_swigregister = _IMP_statistics._IntDenseGridStorage5D_swigregister
2680 _IntDenseGridStorage5D_swigregister(_IntDenseGridStorage5D)
2682 def _IntDenseGridStorage5D_get_is_dense():
2683 """_IntDenseGridStorage5D_get_is_dense() -> bool"""
2684 return _IMP_statistics._IntDenseGridStorage5D_get_is_dense()
2686 class _FloatDenseGridStorage5D(IMP.algebra.BoundedGridRange5D):
2687 """Proxy of C++ IMP::algebra::DenseGridStorageD<(5,double)> class"""
2688 __swig_setmethods__ = {}
2689 for _s
in [IMP.algebra.BoundedGridRange5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2690 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage5D, name, value)
2691 __swig_getmethods__ = {}
2692 for _s
in [IMP.algebra.BoundedGridRange5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2693 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage5D, name)
2694 __repr__ = _swig_repr
2695 def __setitem__(self, *args):
2697 __setitem__(_FloatDenseGridStorage5D self, GridIndex5D i, double const & v)
2698 __setitem__(_FloatDenseGridStorage5D self, unsigned int i, double const & v)
2700 return _IMP_statistics._FloatDenseGridStorage5D___setitem__(self, *args)
2702 def __getitem__(self, *args):
2704 __getitem__(_FloatDenseGridStorage5D self, GridIndex5D i) -> double const
2705 __getitem__(_FloatDenseGridStorage5D self, unsigned int i) -> double const &
2707 return _IMP_statistics._FloatDenseGridStorage5D___getitem__(self, *args)
2709 def __init__(self, *args):
2711 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, _FloatDenseGridStorage5D o) -> _FloatDenseGridStorage5D
2712 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage5D
2713 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage5D
2714 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage5D
2715 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self) -> _FloatDenseGridStorage5D
2717 this = _IMP_statistics.new__FloatDenseGridStorage5D(*args)
2718 try: self.this.append(this)
2719 except: self.this = this
2721 """get_is_dense() -> bool"""
2722 return _IMP_statistics._FloatDenseGridStorage5D_get_is_dense()
2724 if _newclass:get_is_dense = staticmethod(get_is_dense)
2725 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2726 def show(self, *args):
2728 show(_FloatDenseGridStorage5D self, _ostream out=std::cout)
2729 show(_FloatDenseGridStorage5D self)
2731 return _IMP_statistics._FloatDenseGridStorage5D_show(self, *args)
2733 def add_voxel(self, *args):
2734 """add_voxel(_FloatDenseGridStorage5D self, ExtendedGridIndex5D arg2, double const & arg3) -> GridIndex5D"""
2735 return _IMP_statistics._FloatDenseGridStorage5D_add_voxel(self, *args)
2737 def get_all_voxels(self):
2738 """get_all_voxels(_FloatDenseGridStorage5D self) -> IMP::base::Vector< double >"""
2739 return _IMP_statistics._FloatDenseGridStorage5D_get_all_voxels(self)
2741 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage5D
2742 __del__ =
lambda self :
None;
2743 _FloatDenseGridStorage5D_swigregister = _IMP_statistics._FloatDenseGridStorage5D_swigregister
2744 _FloatDenseGridStorage5D_swigregister(_FloatDenseGridStorage5D)
2746 def _FloatDenseGridStorage5D_get_is_dense():
2747 """_FloatDenseGridStorage5D_get_is_dense() -> bool"""
2748 return _IMP_statistics._FloatDenseGridStorage5D_get_is_dense()
2750 class _HistogramCountsGrid5D(_FloatDenseGridStorage5D,IMP.algebra.DefaultEmbedding5D,IMP.algebra._GeometricPrimitive5D):
2751 """Proxy of C++ IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> class"""
2752 __swig_setmethods__ = {}
2753 for _s
in [_FloatDenseGridStorage5D,IMP.algebra.DefaultEmbedding5D,IMP.algebra._GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2754 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid5D, name, value)
2755 __swig_getmethods__ = {}
2756 for _s
in [_FloatDenseGridStorage5D,IMP.algebra.DefaultEmbedding5D,IMP.algebra._GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2757 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid5D, name)
2758 __repr__ = _swig_repr
2759 def __init__(self, *args):
2761 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, IMP::Ints const counts, BoundingBox5D bb, double default_value=double()) -> _HistogramCountsGrid5D
2762 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, IMP::Ints const counts, BoundingBox5D bb) -> _HistogramCountsGrid5D
2763 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, double side, BoundingBox5D bb, double const & default_value=double()) -> _HistogramCountsGrid5D
2764 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, double side, BoundingBox5D bb) -> _HistogramCountsGrid5D
2765 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, Vector5D sides, BoundingBox5D bb, double const & default_value=double()) -> _HistogramCountsGrid5D
2766 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, Vector5D sides, BoundingBox5D bb) -> _HistogramCountsGrid5D
2767 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, _FloatDenseGridStorage5D storage, DefaultEmbedding5D embed) -> _HistogramCountsGrid5D
2768 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, double side, Vector5D origin, double const & default_value=double()) -> _HistogramCountsGrid5D
2769 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, double side, Vector5D origin) -> _HistogramCountsGrid5D
2770 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, Vector5D sides, Vector5D origin, double const & default_value=double()) -> _HistogramCountsGrid5D
2771 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, Vector5D sides, Vector5D origin) -> _HistogramCountsGrid5D
2772 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self) -> _HistogramCountsGrid5D
2774 this = _IMP_statistics.new__HistogramCountsGrid5D(*args)
2775 try: self.this.append(this)
2776 except: self.this = this
2777 def show(self, *args):
2779 show(_HistogramCountsGrid5D self, _ostream out=std::cout)
2780 show(_HistogramCountsGrid5D self)
2782 return _IMP_statistics._HistogramCountsGrid5D_show(self, *args)
2784 def __getitem__(self, *args):
2786 __getitem__(_HistogramCountsGrid5D self, Vector5D i) -> double const
2787 __getitem__(_HistogramCountsGrid5D self, GridIndex5D i) -> double const &
2789 return _IMP_statistics._HistogramCountsGrid5D___getitem__(self, *args)
2791 def __setitem__(self, *args):
2793 __setitem__(_HistogramCountsGrid5D self, Vector5D i, double const & v)
2794 __setitem__(_HistogramCountsGrid5D self, GridIndex5D i, double const & vt)
2796 return _IMP_statistics._HistogramCountsGrid5D___setitem__(self, *args)
2798 def add_voxel(self, *args):
2799 """add_voxel(_HistogramCountsGrid5D self, Vector5D pt, double const & vt) -> GridIndex5D"""
2800 return _IMP_statistics._HistogramCountsGrid5D_add_voxel(self, *args)
2802 def get_extended_index(self, *args):
2803 """get_extended_index(_HistogramCountsGrid5D self, GridIndex5D index) -> ExtendedGridIndex5D"""
2804 return _IMP_statistics._HistogramCountsGrid5D_get_extended_index(self, *args)
2806 def get_bounding_box(self, *args):
2808 get_bounding_box(_HistogramCountsGrid5D self) -> BoundingBox5D
2809 get_bounding_box(_HistogramCountsGrid5D self, ExtendedGridIndex5D i) -> BoundingBox5D
2810 get_bounding_box(_HistogramCountsGrid5D self, GridIndex5D i) -> BoundingBox5D
2812 return _IMP_statistics._HistogramCountsGrid5D_get_bounding_box(self, *args)
2814 def set_bounding_box(self, *args):
2815 """set_bounding_box(_HistogramCountsGrid5D self, BoundingBox5D bb3)"""
2816 return _IMP_statistics._HistogramCountsGrid5D_set_bounding_box(self, *args)
2818 def get_nearest_index(self, *args):
2819 """get_nearest_index(_HistogramCountsGrid5D self, Vector5D pt) -> GridIndex5D"""
2820 return _IMP_statistics._HistogramCountsGrid5D_get_nearest_index(self, *args)
2822 def get_nearest_extended_index(self, *args):
2823 """get_nearest_extended_index(_HistogramCountsGrid5D self, Vector5D pt) -> ExtendedGridIndex5D"""
2824 return _IMP_statistics._HistogramCountsGrid5D_get_nearest_extended_index(self, *args)
2826 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid5D
2827 __del__ =
lambda self :
None;
2828 _HistogramCountsGrid5D_swigregister = _IMP_statistics._HistogramCountsGrid5D_swigregister
2829 _HistogramCountsGrid5D_swigregister(_HistogramCountsGrid5D)
2831 class _IntDenseGridStorage6D(IMP.algebra.BoundedGridRange6D):
2832 """Proxy of C++ IMP::algebra::DenseGridStorageD<(6,int)> class"""
2833 __swig_setmethods__ = {}
2834 for _s
in [IMP.algebra.BoundedGridRange6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2835 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage6D, name, value)
2836 __swig_getmethods__ = {}
2837 for _s
in [IMP.algebra.BoundedGridRange6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2838 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage6D, name)
2839 __repr__ = _swig_repr
2840 def __setitem__(self, *args):
2842 __setitem__(_IntDenseGridStorage6D self, GridIndex6D i, int const & v)
2843 __setitem__(_IntDenseGridStorage6D self, unsigned int i, int const & v)
2845 return _IMP_statistics._IntDenseGridStorage6D___setitem__(self, *args)
2847 def __getitem__(self, *args):
2849 __getitem__(_IntDenseGridStorage6D self, GridIndex6D i) -> int const
2850 __getitem__(_IntDenseGridStorage6D self, unsigned int i) -> int const &
2852 return _IMP_statistics._IntDenseGridStorage6D___getitem__(self, *args)
2854 def __init__(self, *args):
2856 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, _IntDenseGridStorage6D o) -> _IntDenseGridStorage6D
2857 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage6D
2858 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage6D
2859 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, int const & default_value=int()) -> _IntDenseGridStorage6D
2860 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self) -> _IntDenseGridStorage6D
2862 this = _IMP_statistics.new__IntDenseGridStorage6D(*args)
2863 try: self.this.append(this)
2864 except: self.this = this
2866 """get_is_dense() -> bool"""
2867 return _IMP_statistics._IntDenseGridStorage6D_get_is_dense()
2869 if _newclass:get_is_dense = staticmethod(get_is_dense)
2870 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2871 def show(self, *args):
2873 show(_IntDenseGridStorage6D self, _ostream out=std::cout)
2874 show(_IntDenseGridStorage6D self)
2876 return _IMP_statistics._IntDenseGridStorage6D_show(self, *args)
2878 def add_voxel(self, *args):
2879 """add_voxel(_IntDenseGridStorage6D self, ExtendedGridIndex6D arg2, int const & arg3) -> GridIndex6D"""
2880 return _IMP_statistics._IntDenseGridStorage6D_add_voxel(self, *args)
2882 def get_all_voxels(self):
2883 """get_all_voxels(_IntDenseGridStorage6D self) -> IMP::base::Vector< int >"""
2884 return _IMP_statistics._IntDenseGridStorage6D_get_all_voxels(self)
2886 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage6D
2887 __del__ =
lambda self :
None;
2888 _IntDenseGridStorage6D_swigregister = _IMP_statistics._IntDenseGridStorage6D_swigregister
2889 _IntDenseGridStorage6D_swigregister(_IntDenseGridStorage6D)
2891 def _IntDenseGridStorage6D_get_is_dense():
2892 """_IntDenseGridStorage6D_get_is_dense() -> bool"""
2893 return _IMP_statistics._IntDenseGridStorage6D_get_is_dense()
2895 class _FloatDenseGridStorage6D(IMP.algebra.BoundedGridRange6D):
2896 """Proxy of C++ IMP::algebra::DenseGridStorageD<(6,double)> class"""
2897 __swig_setmethods__ = {}
2898 for _s
in [IMP.algebra.BoundedGridRange6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2899 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage6D, name, value)
2900 __swig_getmethods__ = {}
2901 for _s
in [IMP.algebra.BoundedGridRange6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2902 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage6D, name)
2903 __repr__ = _swig_repr
2904 def __setitem__(self, *args):
2906 __setitem__(_FloatDenseGridStorage6D self, GridIndex6D i, double const & v)
2907 __setitem__(_FloatDenseGridStorage6D self, unsigned int i, double const & v)
2909 return _IMP_statistics._FloatDenseGridStorage6D___setitem__(self, *args)
2911 def __getitem__(self, *args):
2913 __getitem__(_FloatDenseGridStorage6D self, GridIndex6D i) -> double const
2914 __getitem__(_FloatDenseGridStorage6D self, unsigned int i) -> double const &
2916 return _IMP_statistics._FloatDenseGridStorage6D___getitem__(self, *args)
2918 def __init__(self, *args):
2920 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, _FloatDenseGridStorage6D o) -> _FloatDenseGridStorage6D
2921 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage6D
2922 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage6D
2923 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage6D
2924 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self) -> _FloatDenseGridStorage6D
2926 this = _IMP_statistics.new__FloatDenseGridStorage6D(*args)
2927 try: self.this.append(this)
2928 except: self.this = this
2930 """get_is_dense() -> bool"""
2931 return _IMP_statistics._FloatDenseGridStorage6D_get_is_dense()
2933 if _newclass:get_is_dense = staticmethod(get_is_dense)
2934 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2935 def show(self, *args):
2937 show(_FloatDenseGridStorage6D self, _ostream out=std::cout)
2938 show(_FloatDenseGridStorage6D self)
2940 return _IMP_statistics._FloatDenseGridStorage6D_show(self, *args)
2942 def add_voxel(self, *args):
2943 """add_voxel(_FloatDenseGridStorage6D self, ExtendedGridIndex6D arg2, double const & arg3) -> GridIndex6D"""
2944 return _IMP_statistics._FloatDenseGridStorage6D_add_voxel(self, *args)
2946 def get_all_voxels(self):
2947 """get_all_voxels(_FloatDenseGridStorage6D self) -> IMP::base::Vector< double >"""
2948 return _IMP_statistics._FloatDenseGridStorage6D_get_all_voxels(self)
2950 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage6D
2951 __del__ =
lambda self :
None;
2952 _FloatDenseGridStorage6D_swigregister = _IMP_statistics._FloatDenseGridStorage6D_swigregister
2953 _FloatDenseGridStorage6D_swigregister(_FloatDenseGridStorage6D)
2955 def _FloatDenseGridStorage6D_get_is_dense():
2956 """_FloatDenseGridStorage6D_get_is_dense() -> bool"""
2957 return _IMP_statistics._FloatDenseGridStorage6D_get_is_dense()
2959 class _HistogramCountsGrid6D(_FloatDenseGridStorage6D,IMP.algebra.DefaultEmbedding6D,IMP.algebra._GeometricPrimitive6D):
2960 """Proxy of C++ IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> class"""
2961 __swig_setmethods__ = {}
2962 for _s
in [_FloatDenseGridStorage6D,IMP.algebra.DefaultEmbedding6D,IMP.algebra._GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2963 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid6D, name, value)
2964 __swig_getmethods__ = {}
2965 for _s
in [_FloatDenseGridStorage6D,IMP.algebra.DefaultEmbedding6D,IMP.algebra._GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2966 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid6D, name)
2967 __repr__ = _swig_repr
2968 def __init__(self, *args):
2970 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, IMP::Ints const counts, BoundingBox6D bb, double default_value=double()) -> _HistogramCountsGrid6D
2971 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, IMP::Ints const counts, BoundingBox6D bb) -> _HistogramCountsGrid6D
2972 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, double side, BoundingBox6D bb, double const & default_value=double()) -> _HistogramCountsGrid6D
2973 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, double side, BoundingBox6D bb) -> _HistogramCountsGrid6D
2974 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, Vector6D sides, BoundingBox6D bb, double const & default_value=double()) -> _HistogramCountsGrid6D
2975 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, Vector6D sides, BoundingBox6D bb) -> _HistogramCountsGrid6D
2976 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, _FloatDenseGridStorage6D storage, DefaultEmbedding6D embed) -> _HistogramCountsGrid6D
2977 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, double side, Vector6D origin, double const & default_value=double()) -> _HistogramCountsGrid6D
2978 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, double side, Vector6D origin) -> _HistogramCountsGrid6D
2979 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, Vector6D sides, Vector6D origin, double const & default_value=double()) -> _HistogramCountsGrid6D
2980 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, Vector6D sides, Vector6D origin) -> _HistogramCountsGrid6D
2981 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self) -> _HistogramCountsGrid6D
2983 this = _IMP_statistics.new__HistogramCountsGrid6D(*args)
2984 try: self.this.append(this)
2985 except: self.this = this
2986 def show(self, *args):
2988 show(_HistogramCountsGrid6D self, _ostream out=std::cout)
2989 show(_HistogramCountsGrid6D self)
2991 return _IMP_statistics._HistogramCountsGrid6D_show(self, *args)
2993 def __getitem__(self, *args):
2995 __getitem__(_HistogramCountsGrid6D self, Vector6D i) -> double const
2996 __getitem__(_HistogramCountsGrid6D self, GridIndex6D i) -> double const &
2998 return _IMP_statistics._HistogramCountsGrid6D___getitem__(self, *args)
3000 def __setitem__(self, *args):
3002 __setitem__(_HistogramCountsGrid6D self, Vector6D i, double const & v)
3003 __setitem__(_HistogramCountsGrid6D self, GridIndex6D i, double const & vt)
3005 return _IMP_statistics._HistogramCountsGrid6D___setitem__(self, *args)
3007 def add_voxel(self, *args):
3008 """add_voxel(_HistogramCountsGrid6D self, Vector6D pt, double const & vt) -> GridIndex6D"""
3009 return _IMP_statistics._HistogramCountsGrid6D_add_voxel(self, *args)
3011 def get_extended_index(self, *args):
3012 """get_extended_index(_HistogramCountsGrid6D self, GridIndex6D index) -> ExtendedGridIndex6D"""
3013 return _IMP_statistics._HistogramCountsGrid6D_get_extended_index(self, *args)
3015 def get_bounding_box(self, *args):
3017 get_bounding_box(_HistogramCountsGrid6D self) -> BoundingBox6D
3018 get_bounding_box(_HistogramCountsGrid6D self, ExtendedGridIndex6D i) -> BoundingBox6D
3019 get_bounding_box(_HistogramCountsGrid6D self, GridIndex6D i) -> BoundingBox6D
3021 return _IMP_statistics._HistogramCountsGrid6D_get_bounding_box(self, *args)
3023 def set_bounding_box(self, *args):
3024 """set_bounding_box(_HistogramCountsGrid6D self, BoundingBox6D bb3)"""
3025 return _IMP_statistics._HistogramCountsGrid6D_set_bounding_box(self, *args)
3027 def get_nearest_index(self, *args):
3028 """get_nearest_index(_HistogramCountsGrid6D self, Vector6D pt) -> GridIndex6D"""
3029 return _IMP_statistics._HistogramCountsGrid6D_get_nearest_index(self, *args)
3031 def get_nearest_extended_index(self, *args):
3032 """get_nearest_extended_index(_HistogramCountsGrid6D self, Vector6D pt) -> ExtendedGridIndex6D"""
3033 return _IMP_statistics._HistogramCountsGrid6D_get_nearest_extended_index(self, *args)
3035 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid6D
3036 __del__ =
lambda self :
None;
3037 _HistogramCountsGrid6D_swigregister = _IMP_statistics._HistogramCountsGrid6D_swigregister
3038 _HistogramCountsGrid6D_swigregister(_HistogramCountsGrid6D)
3041 show_histogram= _histogram.show_histogram
3044 def get_module_version():
3045 """get_module_version() -> std::string const"""
3046 return _IMP_statistics.get_module_version()
3049 """get_example_path(std::string fname) -> std::string"""
3050 return _IMP_statistics.get_example_path(*args)
3053 """get_data_path(std::string fname) -> std::string"""
3054 return _IMP_statistics.get_data_path(*args)
3055 import _version_check
3056 _version_check.check_version(get_module_version())
PartitionalClusteringWithCenter * create_lloyds_kmeans(Embedding *embedding, unsigned int k, unsigned int iterations)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
std::string get_data_path(std::string file_name)
Return the full path to installed data.
Make CGAL functionality available to IMP.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
double get_quantile(const Histogram1D &h, double fraction)
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
void validate_partitional_clustering(PartitionalClustering *pc, unsigned int n)
Check that the clustering is a valid clustering of n elements.
PartitionalClustering * create_gromos_clustering(Metric *d, double cutoff)
double get_distance(const Plane3D &pln, const Vector3D &p)
Return the distance between a plane and a point in 3D.
PartitionalClustering * create_diameter_clustering(Metric *d, double maximum_diameter)
PartitionalClustering * create_connectivity_clustering(Metric *metric, double dist)
Base functionality and abstract base classes for representation, scoring and sampling.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
PartitionalClusteringWithCenter * create_bin_based_clustering(Embedding *embed, double side)
Common base class for heavy weight IMP objects.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
CheckLevel get_check_level()
Get the current audit mode.
PartitionalClustering * create_centrality_clustering(Metric *d, double far, int k)
algebra::VectorKDs get_centroids(Embedding *d, PartitionalClustering *pc)
Ints get_representatives(Embedding *d, PartitionalClustering *pc)