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 Embedding_swigregister = _IMP_statistics.Embedding_swigregister
521 Embedding_swigregister(Embedding)
524 """Proxy of C++ IMP::statistics::Metric class"""
525 __swig_setmethods__ = {}
526 for _s
in [
IMP.base.Object]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
527 __setattr__ =
lambda self, name, value: _swig_setattr(self, Metric, name, value)
528 __swig_getmethods__ = {}
529 for _s
in [
IMP.base.Object]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
530 __getattr__ =
lambda self, name: _swig_getattr(self, Metric, name)
531 def __init__(self, *args):
532 """__init__(IMP::statistics::Metric self, std::string name) -> Metric"""
533 if self.__class__ == Metric:
537 this = _IMP_statistics.new_Metric(_self, *args)
538 try: self.this.append(this)
539 except: self.this = this
540 if self.__class__ != Metric:
542 IMP.base._director_objects.register(self)
546 def do_get_weight(self, *args):
547 """do_get_weight(Metric self, unsigned int i) -> double"""
548 return _IMP_statistics.Metric_do_get_weight(self, *args)
551 """get_distance(Metric self, unsigned int i, unsigned int j) -> double"""
552 return _IMP_statistics.Metric_get_distance(self, *args)
554 def get_weight(self, *args):
555 """get_weight(Metric self, unsigned int i) -> double"""
556 return _IMP_statistics.Metric_get_weight(self, *args)
558 def get_number_of_items(self):
559 """get_number_of_items(Metric self) -> unsigned int"""
560 return _IMP_statistics.Metric_get_number_of_items(self)
562 __swig_destroy__ = _IMP_statistics.delete_Metric
563 __del__ =
lambda self :
None;
565 """__str__(Metric self) -> std::string"""
566 return _IMP_statistics.Metric___str__(self)
569 """__repr__(Metric self) -> std::string"""
570 return _IMP_statistics.Metric___repr__(self)
573 return _object_cast_to_Metric(o)
574 get_from = staticmethod(get_from)
576 def get_type_name(self):
577 return self.__class__.__name__
578 def do_show(self, out):
580 def get_version_info(self):
581 if"IMP::statistics" ==
"IMP":
582 return VersionInfo(
"python",
"0")
584 return IMP.VersionInfo(
"python",
"0")
586 return _object_cast_to_Metric(o)
587 get_from = staticmethod(get_from)
589 def __disown__(self):
591 _IMP_statistics.disown_Metric(self)
592 return weakref_proxy(self)
593 Metric_swigregister = _IMP_statistics.Metric_swigregister
594 Metric_swigregister(Metric)
596 class ChiSquareMetric(Metric):
597 """Proxy of C++ IMP::statistics::ChiSquareMetric class"""
598 __swig_setmethods__ = {}
599 for _s
in [Metric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
600 __setattr__ =
lambda self, name, value: _swig_setattr(self, ChiSquareMetric, name, value)
601 __swig_getmethods__ = {}
602 for _s
in [Metric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
603 __getattr__ =
lambda self, name: _swig_getattr(self, ChiSquareMetric, name)
604 def __init__(self, *args):
606 __init__(IMP::statistics::ChiSquareMetric self, IMP::Floats data_exp, int constr_type=0) -> ChiSquareMetric
607 __init__(IMP::statistics::ChiSquareMetric self, IMP::Floats data_exp) -> ChiSquareMetric
609 this = _IMP_statistics.new_ChiSquareMetric(*args)
610 try: self.this.append(this)
611 except: self.this = this
612 def add_configuration(self, *args):
614 add_configuration(ChiSquareMetric self, IMP::Floats data, IMP::Floats stddev, double weight=1.0)
615 add_configuration(ChiSquareMetric self, IMP::Floats data, IMP::Floats stddev)
617 return _IMP_statistics.ChiSquareMetric_add_configuration(self, *args)
619 def get_data(self, *args):
620 """get_data(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
621 return _IMP_statistics.ChiSquareMetric_get_data(self, *args)
623 def get_standard_deviation(self, *args):
624 """get_standard_deviation(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
625 return _IMP_statistics.ChiSquareMetric_get_standard_deviation(self, *args)
627 def do_get_weight(self, *args):
628 """do_get_weight(ChiSquareMetric self, unsigned int i) -> double"""
629 return _IMP_statistics.ChiSquareMetric_do_get_weight(self, *args)
631 def get_chi_square_experimental(self, *args):
632 """get_chi_square_experimental(ChiSquareMetric self, unsigned int i) -> double"""
633 return _IMP_statistics.ChiSquareMetric_get_chi_square_experimental(self, *args)
635 def get_version_info(self):
636 """get_version_info(ChiSquareMetric self) -> VersionInfo"""
637 return _IMP_statistics.ChiSquareMetric_get_version_info(self)
640 """__str__(ChiSquareMetric self) -> std::string"""
641 return _IMP_statistics.ChiSquareMetric___str__(self)
644 """__repr__(ChiSquareMetric self) -> std::string"""
645 return _IMP_statistics.ChiSquareMetric___repr__(self)
648 return _object_cast_to_ChiSquareMetric(o)
649 get_from = staticmethod(get_from)
651 ChiSquareMetric_swigregister = _IMP_statistics.ChiSquareMetric_swigregister
652 ChiSquareMetric_swigregister(ChiSquareMetric)
654 class PartitionalClusteringWithCenter(PartitionalClustering):
655 """Proxy of C++ IMP::statistics::PartitionalClusteringWithCenter class"""
656 __swig_setmethods__ = {}
657 for _s
in [PartitionalClustering]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
658 __setattr__ =
lambda self, name, value: _swig_setattr(self, PartitionalClusteringWithCenter, name, value)
659 __swig_getmethods__ = {}
660 for _s
in [PartitionalClustering]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
661 __getattr__ =
lambda self, name: _swig_getattr(self, PartitionalClusteringWithCenter, name)
662 def __init__(self, *args, **kwargs):
raise AttributeError(
"No constructor defined")
663 def get_cluster_center(self, *args):
664 """get_cluster_center(PartitionalClusteringWithCenter self, unsigned int i) -> VectorKD"""
665 return _IMP_statistics.PartitionalClusteringWithCenter_get_cluster_center(self, *args)
667 def get_version_info(self):
668 """get_version_info(PartitionalClusteringWithCenter self) -> VersionInfo"""
669 return _IMP_statistics.PartitionalClusteringWithCenter_get_version_info(self)
672 """__str__(PartitionalClusteringWithCenter self) -> std::string"""
673 return _IMP_statistics.PartitionalClusteringWithCenter___str__(self)
676 """__repr__(PartitionalClusteringWithCenter self) -> std::string"""
677 return _IMP_statistics.PartitionalClusteringWithCenter___repr__(self)
680 return _object_cast_to_PartitionalClusteringWithCenter(o)
681 get_from = staticmethod(get_from)
683 PartitionalClusteringWithCenter_swigregister = _IMP_statistics.PartitionalClusteringWithCenter_swigregister
684 PartitionalClusteringWithCenter_swigregister(PartitionalClusteringWithCenter)
686 class ConfigurationSetXYZEmbedding(Embedding):
687 """Proxy of C++ IMP::statistics::ConfigurationSetXYZEmbedding class"""
688 __swig_setmethods__ = {}
689 for _s
in [Embedding]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
690 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConfigurationSetXYZEmbedding, name, value)
691 __swig_getmethods__ = {}
692 for _s
in [Embedding]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
693 __getattr__ =
lambda self, name: _swig_getattr(self, ConfigurationSetXYZEmbedding, name)
694 def __init__(self, *args):
696 __init__(IMP::statistics::ConfigurationSetXYZEmbedding self, ConfigurationSet cs, _SingletonContainerAdaptor pi, bool align=False) -> ConfigurationSetXYZEmbedding
697 __init__(IMP::statistics::ConfigurationSetXYZEmbedding self, ConfigurationSet cs, _SingletonContainerAdaptor pi) -> ConfigurationSetXYZEmbedding
699 this = _IMP_statistics.new_ConfigurationSetXYZEmbedding(*args)
700 try: self.this.append(this)
701 except: self.this = this
702 def get_version_info(self):
703 """get_version_info(ConfigurationSetXYZEmbedding self) -> VersionInfo"""
704 return _IMP_statistics.ConfigurationSetXYZEmbedding_get_version_info(self)
707 """__str__(ConfigurationSetXYZEmbedding self) -> std::string"""
708 return _IMP_statistics.ConfigurationSetXYZEmbedding___str__(self)
711 """__repr__(ConfigurationSetXYZEmbedding self) -> std::string"""
712 return _IMP_statistics.ConfigurationSetXYZEmbedding___repr__(self)
715 return _object_cast_to_ConfigurationSetXYZEmbedding(o)
716 get_from = staticmethod(get_from)
718 ConfigurationSetXYZEmbedding_swigregister = _IMP_statistics.ConfigurationSetXYZEmbedding_swigregister
719 ConfigurationSetXYZEmbedding_swigregister(ConfigurationSetXYZEmbedding)
721 class ParticleEmbedding(Embedding):
722 """Proxy of C++ IMP::statistics::ParticleEmbedding class"""
723 __swig_setmethods__ = {}
724 for _s
in [Embedding]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
725 __setattr__ =
lambda self, name, value: _swig_setattr(self, ParticleEmbedding, name, value)
726 __swig_getmethods__ = {}
727 for _s
in [Embedding]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
728 __getattr__ =
lambda self, name: _swig_getattr(self, ParticleEmbedding, name)
729 def __init__(self, *args):
731 __init__(IMP::statistics::ParticleEmbedding self, IMP::kernel::ParticlesTemp const & ps, IMP::kernel::FloatKeys const & ks=IMP::kernel::FloatKeys(
732 IMP::kernel::internal::
734 IMP::kernel::internal::
737 bool rescale=False) -> ParticleEmbedding
738 __init__(IMP::statistics::ParticleEmbedding self, IMP::kernel::ParticlesTemp const & ps, IMP::kernel::FloatKeys const & ks=IMP::kernel::FloatKeys(
739 IMP::kernel::internal::
741 IMP::kernel::internal::
743 3)) -> ParticleEmbedding
744 __init__(IMP::statistics::ParticleEmbedding self, IMP::kernel::ParticlesTemp const & ps) -> ParticleEmbedding
746 this = _IMP_statistics.new_ParticleEmbedding(*args)
747 try: self.this.append(this)
748 except: self.this = this
749 def get_version_info(self):
750 """get_version_info(ParticleEmbedding self) -> VersionInfo"""
751 return _IMP_statistics.ParticleEmbedding_get_version_info(self)
754 """__str__(ParticleEmbedding self) -> std::string"""
755 return _IMP_statistics.ParticleEmbedding___str__(self)
758 """__repr__(ParticleEmbedding self) -> std::string"""
759 return _IMP_statistics.ParticleEmbedding___repr__(self)
762 return _object_cast_to_ParticleEmbedding(o)
763 get_from = staticmethod(get_from)
765 ParticleEmbedding_swigregister = _IMP_statistics.ParticleEmbedding_swigregister
766 ParticleEmbedding_swigregister(ParticleEmbedding)
768 class VectorDEmbedding(Embedding):
769 """Proxy of C++ IMP::statistics::VectorDEmbedding class"""
770 __swig_setmethods__ = {}
771 for _s
in [Embedding]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
772 __setattr__ =
lambda self, name, value: _swig_setattr(self, VectorDEmbedding, name, value)
773 __swig_getmethods__ = {}
774 for _s
in [Embedding]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
775 __getattr__ =
lambda self, name: _swig_getattr(self, VectorDEmbedding, name)
776 def __init__(self, *args):
778 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::VectorKDs const & vs) -> VectorDEmbedding
779 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector2Ds const & vs) -> VectorDEmbedding
780 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector3Ds const & vs) -> VectorDEmbedding
781 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector4Ds const & vs) -> VectorDEmbedding
782 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector5Ds const & vs) -> VectorDEmbedding
783 __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector6Ds const & vs) -> VectorDEmbedding
785 this = _IMP_statistics.new_VectorDEmbedding(*args)
786 try: self.this.append(this)
787 except: self.this = this
788 def get_version_info(self):
789 """get_version_info(VectorDEmbedding self) -> VersionInfo"""
790 return _IMP_statistics.VectorDEmbedding_get_version_info(self)
793 """__str__(VectorDEmbedding self) -> std::string"""
794 return _IMP_statistics.VectorDEmbedding___str__(self)
797 """__repr__(VectorDEmbedding self) -> std::string"""
798 return _IMP_statistics.VectorDEmbedding___repr__(self)
801 return _object_cast_to_VectorDEmbedding(o)
802 get_from = staticmethod(get_from)
804 VectorDEmbedding_swigregister = _IMP_statistics.VectorDEmbedding_swigregister
805 VectorDEmbedding_swigregister(VectorDEmbedding)
807 class EuclideanMetric(Metric):
808 """Proxy of C++ IMP::statistics::EuclideanMetric class"""
809 __swig_setmethods__ = {}
810 for _s
in [Metric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
811 __setattr__ =
lambda self, name, value: _swig_setattr(self, EuclideanMetric, name, value)
812 __swig_getmethods__ = {}
813 for _s
in [Metric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
814 __getattr__ =
lambda self, name: _swig_getattr(self, EuclideanMetric, name)
815 def __init__(self, *args):
816 """__init__(IMP::statistics::EuclideanMetric self, Embedding em) -> EuclideanMetric"""
817 this = _IMP_statistics.new_EuclideanMetric(*args)
818 try: self.this.append(this)
819 except: self.this = this
820 def get_version_info(self):
821 """get_version_info(EuclideanMetric self) -> VersionInfo"""
822 return _IMP_statistics.EuclideanMetric_get_version_info(self)
825 """__str__(EuclideanMetric self) -> std::string"""
826 return _IMP_statistics.EuclideanMetric___str__(self)
829 """__repr__(EuclideanMetric self) -> std::string"""
830 return _IMP_statistics.EuclideanMetric___repr__(self)
833 return _object_cast_to_EuclideanMetric(o)
834 get_from = staticmethod(get_from)
836 EuclideanMetric_swigregister = _IMP_statistics.EuclideanMetric_swigregister
837 EuclideanMetric_swigregister(EuclideanMetric)
839 class ConfigurationSetRMSDMetric(Metric):
840 """Proxy of C++ IMP::statistics::ConfigurationSetRMSDMetric class"""
841 __swig_setmethods__ = {}
842 for _s
in [Metric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
843 __setattr__ =
lambda self, name, value: _swig_setattr(self, ConfigurationSetRMSDMetric, name, value)
844 __swig_getmethods__ = {}
845 for _s
in [Metric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
846 __getattr__ =
lambda self, name: _swig_getattr(self, ConfigurationSetRMSDMetric, name)
847 def __init__(self, *args):
849 __init__(IMP::statistics::ConfigurationSetRMSDMetric self, ConfigurationSet cs, SingletonContainer sc, bool align=False) -> ConfigurationSetRMSDMetric
850 __init__(IMP::statistics::ConfigurationSetRMSDMetric self, ConfigurationSet cs, SingletonContainer sc) -> ConfigurationSetRMSDMetric
852 this = _IMP_statistics.new_ConfigurationSetRMSDMetric(*args)
853 try: self.this.append(this)
854 except: self.this = this
855 def get_version_info(self):
856 """get_version_info(ConfigurationSetRMSDMetric self) -> VersionInfo"""
857 return _IMP_statistics.ConfigurationSetRMSDMetric_get_version_info(self)
860 """__str__(ConfigurationSetRMSDMetric self) -> std::string"""
861 return _IMP_statistics.ConfigurationSetRMSDMetric___str__(self)
864 """__repr__(ConfigurationSetRMSDMetric self) -> std::string"""
865 return _IMP_statistics.ConfigurationSetRMSDMetric___repr__(self)
868 return _object_cast_to_ConfigurationSetRMSDMetric(o)
869 get_from = staticmethod(get_from)
871 ConfigurationSetRMSDMetric_swigregister = _IMP_statistics.ConfigurationSetRMSDMetric_swigregister
872 ConfigurationSetRMSDMetric_swigregister(ConfigurationSetRMSDMetric)
876 """create_lloyds_kmeans(Embedding embedding, unsigned int k, unsigned int iterations) -> PartitionalClusteringWithCenter"""
877 return _IMP_statistics.create_lloyds_kmeans(*args)
880 """create_bin_based_clustering(Embedding embed, double side) -> PartitionalClusteringWithCenter"""
881 return _IMP_statistics.create_bin_based_clustering(*args)
885 create_centrality_clustering(Embedding d, double far, int k) -> PartitionalClustering
886 create_centrality_clustering(Metric d, double far, int k) -> PartitionalClustering
888 return _IMP_statistics.create_centrality_clustering(*args)
891 """create_diameter_clustering(Metric d, double maximum_diameter) -> PartitionalClustering"""
892 return _IMP_statistics.create_diameter_clustering(*args)
896 create_connectivity_clustering(Embedding embed, double dist) -> PartitionalClusteringWithCenter
897 create_connectivity_clustering(Metric metric, double dist) -> PartitionalClustering
899 return _IMP_statistics.create_connectivity_clustering(*args)
902 """create_gromos_clustering(Metric d, double cutoff) -> PartitionalClustering"""
903 return _IMP_statistics.create_gromos_clustering(*args)
906 """get_quantile(Histogram1D h, double fraction) -> double"""
907 return _IMP_statistics.get_quantile(*args)
910 """get_centroids(Embedding d, PartitionalClustering pc) -> IMP::algebra::VectorKDs"""
911 return _IMP_statistics.get_centroids(*args)
914 """get_representatives(Embedding d, PartitionalClustering pc) -> IMP::Ints"""
915 return _IMP_statistics.get_representatives(*args)
916 class RecursivePartitionalClusteringEmbedding(Embedding):
917 """Proxy of C++ IMP::statistics::RecursivePartitionalClusteringEmbedding class"""
918 __swig_setmethods__ = {}
919 for _s
in [Embedding]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
920 __setattr__ =
lambda self, name, value: _swig_setattr(self, RecursivePartitionalClusteringEmbedding, name, value)
921 __swig_getmethods__ = {}
922 for _s
in [Embedding]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
923 __getattr__ =
lambda self, name: _swig_getattr(self, RecursivePartitionalClusteringEmbedding, name)
924 def __init__(self, *args):
925 """__init__(IMP::statistics::RecursivePartitionalClusteringEmbedding self, Embedding metric, PartitionalClustering clustering) -> RecursivePartitionalClusteringEmbedding"""
926 this = _IMP_statistics.new_RecursivePartitionalClusteringEmbedding(*args)
927 try: self.this.append(this)
928 except: self.this = this
929 def create_full_clustering(self, *args):
930 """create_full_clustering(RecursivePartitionalClusteringEmbedding self, PartitionalClustering center_cluster) -> PartitionalClustering"""
931 return _IMP_statistics.RecursivePartitionalClusteringEmbedding_create_full_clustering(self, *args)
933 def get_version_info(self):
934 """get_version_info(RecursivePartitionalClusteringEmbedding self) -> VersionInfo"""
935 return _IMP_statistics.RecursivePartitionalClusteringEmbedding_get_version_info(self)
938 """__str__(RecursivePartitionalClusteringEmbedding self) -> std::string"""
939 return _IMP_statistics.RecursivePartitionalClusteringEmbedding___str__(self)
942 """__repr__(RecursivePartitionalClusteringEmbedding self) -> std::string"""
943 return _IMP_statistics.RecursivePartitionalClusteringEmbedding___repr__(self)
946 return _object_cast_to_RecursivePartitionalClusteringEmbedding(o)
947 get_from = staticmethod(get_from)
949 RecursivePartitionalClusteringEmbedding_swigregister = _IMP_statistics.RecursivePartitionalClusteringEmbedding_swigregister
950 RecursivePartitionalClusteringEmbedding_swigregister(RecursivePartitionalClusteringEmbedding)
952 class RecursivePartitionalClusteringMetric(Metric):
953 """Proxy of C++ IMP::statistics::RecursivePartitionalClusteringMetric class"""
954 __swig_setmethods__ = {}
955 for _s
in [Metric]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
956 __setattr__ =
lambda self, name, value: _swig_setattr(self, RecursivePartitionalClusteringMetric, name, value)
957 __swig_getmethods__ = {}
958 for _s
in [Metric]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
959 __getattr__ =
lambda self, name: _swig_getattr(self, RecursivePartitionalClusteringMetric, name)
960 def __init__(self, *args):
961 """__init__(IMP::statistics::RecursivePartitionalClusteringMetric self, Metric metric, PartitionalClustering clustering) -> RecursivePartitionalClusteringMetric"""
962 this = _IMP_statistics.new_RecursivePartitionalClusteringMetric(*args)
963 try: self.this.append(this)
964 except: self.this = this
965 def create_full_clustering(self, *args):
966 """create_full_clustering(RecursivePartitionalClusteringMetric self, PartitionalClustering center_cluster) -> PartitionalClustering"""
967 return _IMP_statistics.RecursivePartitionalClusteringMetric_create_full_clustering(self, *args)
969 def get_version_info(self):
970 """get_version_info(RecursivePartitionalClusteringMetric self) -> VersionInfo"""
971 return _IMP_statistics.RecursivePartitionalClusteringMetric_get_version_info(self)
974 """__str__(RecursivePartitionalClusteringMetric self) -> std::string"""
975 return _IMP_statistics.RecursivePartitionalClusteringMetric___str__(self)
978 """__repr__(RecursivePartitionalClusteringMetric self) -> std::string"""
979 return _IMP_statistics.RecursivePartitionalClusteringMetric___repr__(self)
982 return _object_cast_to_RecursivePartitionalClusteringMetric(o)
983 get_from = staticmethod(get_from)
985 RecursivePartitionalClusteringMetric_swigregister = _IMP_statistics.RecursivePartitionalClusteringMetric_swigregister
986 RecursivePartitionalClusteringMetric_swigregister(RecursivePartitionalClusteringMetric)
988 class Histogram1D(IMP.algebra._GeometricPrimitive1D):
989 """Proxy of C++ IMP::statistics::HistogramD<(1)> class"""
990 __swig_setmethods__ = {}
991 for _s
in [IMP.algebra._GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
992 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram1D, name, value)
993 __swig_getmethods__ = {}
994 for _s
in [IMP.algebra._GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
995 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram1D, name)
996 def __init__(self, *args):
998 __init__(IMP::statistics::HistogramD<(1)> self) -> Histogram1D
999 __init__(IMP::statistics::HistogramD<(1)> self, double voxel_size, BoundingBox1D bb) -> Histogram1D
1001 this = _IMP_statistics.new_Histogram1D(*args)
1002 try: self.this.append(this)
1003 except: self.this = this
1004 def add(self, *args):
1006 add(Histogram1D self, Vector1D x, double weight=1)
1007 add(Histogram1D self, Vector1D x)
1009 return _IMP_statistics.Histogram1D_add(self, *args)
1011 def get_total_count(self):
1012 """get_total_count(Histogram1D self) -> double"""
1013 return _IMP_statistics.Histogram1D_get_total_count(self)
1015 def get_frequencies(self):
1016 """get_frequencies(Histogram1D self) -> Histogram1D"""
1017 return _IMP_statistics.Histogram1D_get_frequencies(self)
1019 def get_probability_distribution_function(self):
1020 """get_probability_distribution_function(Histogram1D self) -> Histogram1D"""
1021 return _IMP_statistics.Histogram1D_get_probability_distribution_function(self)
1023 def get_counts(self):
1024 """get_counts(Histogram1D self) -> _HistogramCountsGrid1D"""
1025 return _IMP_statistics.Histogram1D_get_counts(self)
1028 """get_mean(Histogram1D self) -> Vector1D"""
1029 return _IMP_statistics.Histogram1D_get_mean(self)
1031 def get_dimension(self):
1032 """get_dimension(Histogram1D self) -> unsigned int"""
1033 return _IMP_statistics.Histogram1D_get_dimension(self)
1035 def get_standard_deviation(self, *args):
1036 """get_standard_deviation(Histogram1D self, Vector1D mean) -> Vector1D"""
1037 return _IMP_statistics.Histogram1D_get_standard_deviation(self, *args)
1040 """get_bounding_box(Histogram1D self) -> BoundingBox1D"""
1041 return _IMP_statistics.Histogram1D_get_bounding_box(self)
1043 def get_minimum_and_maximum(self):
1044 """get_minimum_and_maximum(Histogram1D self) -> IMP::FloatPair"""
1045 return _IMP_statistics.Histogram1D_get_minimum_and_maximum(self)
1047 def show(self, *args):
1049 show(Histogram1D self, _ostream out=std::cout)
1050 show(Histogram1D self)
1052 return _IMP_statistics.Histogram1D_show(self, *args)
1055 """__str__(Histogram1D self) -> std::string"""
1056 return _IMP_statistics.Histogram1D___str__(self)
1059 """__repr__(Histogram1D self) -> std::string"""
1060 return _IMP_statistics.Histogram1D___repr__(self)
1062 def __cmp__(self, *args):
1063 """__cmp__(Histogram1D self, Histogram1D arg2) -> int"""
1064 return _IMP_statistics.Histogram1D___cmp__(self, *args)
1066 __swig_destroy__ = _IMP_statistics.delete_Histogram1D
1067 __del__ =
lambda self :
None;
1068 Histogram1D_swigregister = _IMP_statistics.Histogram1D_swigregister
1069 Histogram1D_swigregister(Histogram1D)
1071 class Histogram2D(IMP.algebra._GeometricPrimitive2D):
1072 """Proxy of C++ IMP::statistics::HistogramD<(2)> class"""
1073 __swig_setmethods__ = {}
1074 for _s
in [IMP.algebra._GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1075 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram2D, name, value)
1076 __swig_getmethods__ = {}
1077 for _s
in [IMP.algebra._GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1078 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram2D, name)
1079 def __init__(self, *args):
1081 __init__(IMP::statistics::HistogramD<(2)> self) -> Histogram2D
1082 __init__(IMP::statistics::HistogramD<(2)> self, double voxel_size, BoundingBox2D bb) -> Histogram2D
1084 this = _IMP_statistics.new_Histogram2D(*args)
1085 try: self.this.append(this)
1086 except: self.this = this
1087 def add(self, *args):
1089 add(Histogram2D self, Vector2D x, double weight=1)
1090 add(Histogram2D self, Vector2D x)
1092 return _IMP_statistics.Histogram2D_add(self, *args)
1094 def get_total_count(self):
1095 """get_total_count(Histogram2D self) -> double"""
1096 return _IMP_statistics.Histogram2D_get_total_count(self)
1098 def get_frequencies(self):
1099 """get_frequencies(Histogram2D self) -> Histogram2D"""
1100 return _IMP_statistics.Histogram2D_get_frequencies(self)
1102 def get_probability_distribution_function(self):
1103 """get_probability_distribution_function(Histogram2D self) -> Histogram2D"""
1104 return _IMP_statistics.Histogram2D_get_probability_distribution_function(self)
1106 def get_counts(self):
1107 """get_counts(Histogram2D self) -> _HistogramCountsGrid2D"""
1108 return _IMP_statistics.Histogram2D_get_counts(self)
1111 """get_mean(Histogram2D self) -> Vector2D"""
1112 return _IMP_statistics.Histogram2D_get_mean(self)
1114 def get_dimension(self):
1115 """get_dimension(Histogram2D self) -> unsigned int"""
1116 return _IMP_statistics.Histogram2D_get_dimension(self)
1118 def get_standard_deviation(self, *args):
1119 """get_standard_deviation(Histogram2D self, Vector2D mean) -> Vector2D"""
1120 return _IMP_statistics.Histogram2D_get_standard_deviation(self, *args)
1123 """get_bounding_box(Histogram2D self) -> BoundingBox2D"""
1124 return _IMP_statistics.Histogram2D_get_bounding_box(self)
1126 def get_minimum_and_maximum(self):
1127 """get_minimum_and_maximum(Histogram2D self) -> IMP::FloatPair"""
1128 return _IMP_statistics.Histogram2D_get_minimum_and_maximum(self)
1130 def show(self, *args):
1132 show(Histogram2D self, _ostream out=std::cout)
1133 show(Histogram2D self)
1135 return _IMP_statistics.Histogram2D_show(self, *args)
1138 """__str__(Histogram2D self) -> std::string"""
1139 return _IMP_statistics.Histogram2D___str__(self)
1142 """__repr__(Histogram2D self) -> std::string"""
1143 return _IMP_statistics.Histogram2D___repr__(self)
1145 def __cmp__(self, *args):
1146 """__cmp__(Histogram2D self, Histogram2D arg2) -> int"""
1147 return _IMP_statistics.Histogram2D___cmp__(self, *args)
1149 __swig_destroy__ = _IMP_statistics.delete_Histogram2D
1150 __del__ =
lambda self :
None;
1151 Histogram2D_swigregister = _IMP_statistics.Histogram2D_swigregister
1152 Histogram2D_swigregister(Histogram2D)
1154 class Histogram3D(IMP.algebra._GeometricPrimitive3D):
1155 """Proxy of C++ IMP::statistics::HistogramD<(3)> class"""
1156 __swig_setmethods__ = {}
1157 for _s
in [IMP.algebra._GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1158 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram3D, name, value)
1159 __swig_getmethods__ = {}
1160 for _s
in [IMP.algebra._GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1161 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram3D, name)
1162 def __init__(self, *args):
1164 __init__(IMP::statistics::HistogramD<(3)> self) -> Histogram3D
1165 __init__(IMP::statistics::HistogramD<(3)> self, double voxel_size, BoundingBox3D bb) -> Histogram3D
1167 this = _IMP_statistics.new_Histogram3D(*args)
1168 try: self.this.append(this)
1169 except: self.this = this
1170 def add(self, *args):
1172 add(Histogram3D self, Vector3D x, double weight=1)
1173 add(Histogram3D self, Vector3D x)
1175 return _IMP_statistics.Histogram3D_add(self, *args)
1177 def get_total_count(self):
1178 """get_total_count(Histogram3D self) -> double"""
1179 return _IMP_statistics.Histogram3D_get_total_count(self)
1181 def get_frequencies(self):
1182 """get_frequencies(Histogram3D self) -> Histogram3D"""
1183 return _IMP_statistics.Histogram3D_get_frequencies(self)
1185 def get_probability_distribution_function(self):
1186 """get_probability_distribution_function(Histogram3D self) -> Histogram3D"""
1187 return _IMP_statistics.Histogram3D_get_probability_distribution_function(self)
1189 def get_counts(self):
1190 """get_counts(Histogram3D self) -> _HistogramCountsGrid3D"""
1191 return _IMP_statistics.Histogram3D_get_counts(self)
1194 """get_mean(Histogram3D self) -> Vector3D"""
1195 return _IMP_statistics.Histogram3D_get_mean(self)
1197 def get_dimension(self):
1198 """get_dimension(Histogram3D self) -> unsigned int"""
1199 return _IMP_statistics.Histogram3D_get_dimension(self)
1201 def get_standard_deviation(self, *args):
1202 """get_standard_deviation(Histogram3D self, Vector3D mean) -> Vector3D"""
1203 return _IMP_statistics.Histogram3D_get_standard_deviation(self, *args)
1206 """get_bounding_box(Histogram3D self) -> BoundingBox3D"""
1207 return _IMP_statistics.Histogram3D_get_bounding_box(self)
1209 def get_minimum_and_maximum(self):
1210 """get_minimum_and_maximum(Histogram3D self) -> IMP::FloatPair"""
1211 return _IMP_statistics.Histogram3D_get_minimum_and_maximum(self)
1213 def show(self, *args):
1215 show(Histogram3D self, _ostream out=std::cout)
1216 show(Histogram3D self)
1218 return _IMP_statistics.Histogram3D_show(self, *args)
1221 """__str__(Histogram3D self) -> std::string"""
1222 return _IMP_statistics.Histogram3D___str__(self)
1225 """__repr__(Histogram3D self) -> std::string"""
1226 return _IMP_statistics.Histogram3D___repr__(self)
1228 def __cmp__(self, *args):
1229 """__cmp__(Histogram3D self, Histogram3D arg2) -> int"""
1230 return _IMP_statistics.Histogram3D___cmp__(self, *args)
1232 __swig_destroy__ = _IMP_statistics.delete_Histogram3D
1233 __del__ =
lambda self :
None;
1234 Histogram3D_swigregister = _IMP_statistics.Histogram3D_swigregister
1235 Histogram3D_swigregister(Histogram3D)
1237 class Histogram4D(IMP.algebra._GeometricPrimitive4D):
1238 """Proxy of C++ IMP::statistics::HistogramD<(4)> class"""
1239 __swig_setmethods__ = {}
1240 for _s
in [IMP.algebra._GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1241 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram4D, name, value)
1242 __swig_getmethods__ = {}
1243 for _s
in [IMP.algebra._GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1244 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram4D, name)
1245 def __init__(self, *args):
1247 __init__(IMP::statistics::HistogramD<(4)> self) -> Histogram4D
1248 __init__(IMP::statistics::HistogramD<(4)> self, double voxel_size, BoundingBox4D bb) -> Histogram4D
1250 this = _IMP_statistics.new_Histogram4D(*args)
1251 try: self.this.append(this)
1252 except: self.this = this
1253 def add(self, *args):
1255 add(Histogram4D self, Vector4D x, double weight=1)
1256 add(Histogram4D self, Vector4D x)
1258 return _IMP_statistics.Histogram4D_add(self, *args)
1260 def get_total_count(self):
1261 """get_total_count(Histogram4D self) -> double"""
1262 return _IMP_statistics.Histogram4D_get_total_count(self)
1264 def get_frequencies(self):
1265 """get_frequencies(Histogram4D self) -> Histogram4D"""
1266 return _IMP_statistics.Histogram4D_get_frequencies(self)
1268 def get_probability_distribution_function(self):
1269 """get_probability_distribution_function(Histogram4D self) -> Histogram4D"""
1270 return _IMP_statistics.Histogram4D_get_probability_distribution_function(self)
1272 def get_counts(self):
1273 """get_counts(Histogram4D self) -> _HistogramCountsGrid4D"""
1274 return _IMP_statistics.Histogram4D_get_counts(self)
1277 """get_mean(Histogram4D self) -> Vector4D"""
1278 return _IMP_statistics.Histogram4D_get_mean(self)
1280 def get_dimension(self):
1281 """get_dimension(Histogram4D self) -> unsigned int"""
1282 return _IMP_statistics.Histogram4D_get_dimension(self)
1284 def get_standard_deviation(self, *args):
1285 """get_standard_deviation(Histogram4D self, Vector4D mean) -> Vector4D"""
1286 return _IMP_statistics.Histogram4D_get_standard_deviation(self, *args)
1289 """get_bounding_box(Histogram4D self) -> BoundingBox4D"""
1290 return _IMP_statistics.Histogram4D_get_bounding_box(self)
1292 def get_minimum_and_maximum(self):
1293 """get_minimum_and_maximum(Histogram4D self) -> IMP::FloatPair"""
1294 return _IMP_statistics.Histogram4D_get_minimum_and_maximum(self)
1296 def show(self, *args):
1298 show(Histogram4D self, _ostream out=std::cout)
1299 show(Histogram4D self)
1301 return _IMP_statistics.Histogram4D_show(self, *args)
1304 """__str__(Histogram4D self) -> std::string"""
1305 return _IMP_statistics.Histogram4D___str__(self)
1308 """__repr__(Histogram4D self) -> std::string"""
1309 return _IMP_statistics.Histogram4D___repr__(self)
1311 def __cmp__(self, *args):
1312 """__cmp__(Histogram4D self, Histogram4D arg2) -> int"""
1313 return _IMP_statistics.Histogram4D___cmp__(self, *args)
1315 __swig_destroy__ = _IMP_statistics.delete_Histogram4D
1316 __del__ =
lambda self :
None;
1317 Histogram4D_swigregister = _IMP_statistics.Histogram4D_swigregister
1318 Histogram4D_swigregister(Histogram4D)
1320 class Histogram5D(IMP.algebra._GeometricPrimitive5D):
1321 """Proxy of C++ IMP::statistics::HistogramD<(5)> class"""
1322 __swig_setmethods__ = {}
1323 for _s
in [IMP.algebra._GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1324 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram5D, name, value)
1325 __swig_getmethods__ = {}
1326 for _s
in [IMP.algebra._GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1327 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram5D, name)
1328 def __init__(self, *args):
1330 __init__(IMP::statistics::HistogramD<(5)> self) -> Histogram5D
1331 __init__(IMP::statistics::HistogramD<(5)> self, double voxel_size, BoundingBox5D bb) -> Histogram5D
1333 this = _IMP_statistics.new_Histogram5D(*args)
1334 try: self.this.append(this)
1335 except: self.this = this
1336 def add(self, *args):
1338 add(Histogram5D self, Vector5D x, double weight=1)
1339 add(Histogram5D self, Vector5D x)
1341 return _IMP_statistics.Histogram5D_add(self, *args)
1343 def get_total_count(self):
1344 """get_total_count(Histogram5D self) -> double"""
1345 return _IMP_statistics.Histogram5D_get_total_count(self)
1347 def get_frequencies(self):
1348 """get_frequencies(Histogram5D self) -> Histogram5D"""
1349 return _IMP_statistics.Histogram5D_get_frequencies(self)
1351 def get_probability_distribution_function(self):
1352 """get_probability_distribution_function(Histogram5D self) -> Histogram5D"""
1353 return _IMP_statistics.Histogram5D_get_probability_distribution_function(self)
1355 def get_counts(self):
1356 """get_counts(Histogram5D self) -> _HistogramCountsGrid5D"""
1357 return _IMP_statistics.Histogram5D_get_counts(self)
1360 """get_mean(Histogram5D self) -> Vector5D"""
1361 return _IMP_statistics.Histogram5D_get_mean(self)
1363 def get_dimension(self):
1364 """get_dimension(Histogram5D self) -> unsigned int"""
1365 return _IMP_statistics.Histogram5D_get_dimension(self)
1367 def get_standard_deviation(self, *args):
1368 """get_standard_deviation(Histogram5D self, Vector5D mean) -> Vector5D"""
1369 return _IMP_statistics.Histogram5D_get_standard_deviation(self, *args)
1372 """get_bounding_box(Histogram5D self) -> BoundingBox5D"""
1373 return _IMP_statistics.Histogram5D_get_bounding_box(self)
1375 def get_minimum_and_maximum(self):
1376 """get_minimum_and_maximum(Histogram5D self) -> IMP::FloatPair"""
1377 return _IMP_statistics.Histogram5D_get_minimum_and_maximum(self)
1379 def show(self, *args):
1381 show(Histogram5D self, _ostream out=std::cout)
1382 show(Histogram5D self)
1384 return _IMP_statistics.Histogram5D_show(self, *args)
1387 """__str__(Histogram5D self) -> std::string"""
1388 return _IMP_statistics.Histogram5D___str__(self)
1391 """__repr__(Histogram5D self) -> std::string"""
1392 return _IMP_statistics.Histogram5D___repr__(self)
1394 def __cmp__(self, *args):
1395 """__cmp__(Histogram5D self, Histogram5D arg2) -> int"""
1396 return _IMP_statistics.Histogram5D___cmp__(self, *args)
1398 __swig_destroy__ = _IMP_statistics.delete_Histogram5D
1399 __del__ =
lambda self :
None;
1400 Histogram5D_swigregister = _IMP_statistics.Histogram5D_swigregister
1401 Histogram5D_swigregister(Histogram5D)
1403 class Histogram6D(IMP.algebra._GeometricPrimitive6D):
1404 """Proxy of C++ IMP::statistics::HistogramD<(6)> class"""
1405 __swig_setmethods__ = {}
1406 for _s
in [IMP.algebra._GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1407 __setattr__ =
lambda self, name, value: _swig_setattr(self, Histogram6D, name, value)
1408 __swig_getmethods__ = {}
1409 for _s
in [IMP.algebra._GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1410 __getattr__ =
lambda self, name: _swig_getattr(self, Histogram6D, name)
1411 def __init__(self, *args):
1413 __init__(IMP::statistics::HistogramD<(6)> self) -> Histogram6D
1414 __init__(IMP::statistics::HistogramD<(6)> self, double voxel_size, BoundingBox6D bb) -> Histogram6D
1416 this = _IMP_statistics.new_Histogram6D(*args)
1417 try: self.this.append(this)
1418 except: self.this = this
1419 def add(self, *args):
1421 add(Histogram6D self, Vector6D x, double weight=1)
1422 add(Histogram6D self, Vector6D x)
1424 return _IMP_statistics.Histogram6D_add(self, *args)
1426 def get_total_count(self):
1427 """get_total_count(Histogram6D self) -> double"""
1428 return _IMP_statistics.Histogram6D_get_total_count(self)
1430 def get_frequencies(self):
1431 """get_frequencies(Histogram6D self) -> Histogram6D"""
1432 return _IMP_statistics.Histogram6D_get_frequencies(self)
1434 def get_probability_distribution_function(self):
1435 """get_probability_distribution_function(Histogram6D self) -> Histogram6D"""
1436 return _IMP_statistics.Histogram6D_get_probability_distribution_function(self)
1438 def get_counts(self):
1439 """get_counts(Histogram6D self) -> _HistogramCountsGrid6D"""
1440 return _IMP_statistics.Histogram6D_get_counts(self)
1443 """get_mean(Histogram6D self) -> Vector6D"""
1444 return _IMP_statistics.Histogram6D_get_mean(self)
1446 def get_dimension(self):
1447 """get_dimension(Histogram6D self) -> unsigned int"""
1448 return _IMP_statistics.Histogram6D_get_dimension(self)
1450 def get_standard_deviation(self, *args):
1451 """get_standard_deviation(Histogram6D self, Vector6D mean) -> Vector6D"""
1452 return _IMP_statistics.Histogram6D_get_standard_deviation(self, *args)
1455 """get_bounding_box(Histogram6D self) -> BoundingBox6D"""
1456 return _IMP_statistics.Histogram6D_get_bounding_box(self)
1458 def get_minimum_and_maximum(self):
1459 """get_minimum_and_maximum(Histogram6D self) -> IMP::FloatPair"""
1460 return _IMP_statistics.Histogram6D_get_minimum_and_maximum(self)
1462 def show(self, *args):
1464 show(Histogram6D self, _ostream out=std::cout)
1465 show(Histogram6D self)
1467 return _IMP_statistics.Histogram6D_show(self, *args)
1470 """__str__(Histogram6D self) -> std::string"""
1471 return _IMP_statistics.Histogram6D___str__(self)
1474 """__repr__(Histogram6D self) -> std::string"""
1475 return _IMP_statistics.Histogram6D___repr__(self)
1477 def __cmp__(self, *args):
1478 """__cmp__(Histogram6D self, Histogram6D arg2) -> int"""
1479 return _IMP_statistics.Histogram6D___cmp__(self, *args)
1481 __swig_destroy__ = _IMP_statistics.delete_Histogram6D
1482 __del__ =
lambda self :
None;
1483 Histogram6D_swigregister = _IMP_statistics.Histogram6D_swigregister
1484 Histogram6D_swigregister(Histogram6D)
1486 class HistogramKD(IMP.algebra._GeometricPrimitiveKD):
1487 """Proxy of C++ IMP::statistics::HistogramD<(-1)> class"""
1488 __swig_setmethods__ = {}
1489 for _s
in [IMP.algebra._GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1490 __setattr__ =
lambda self, name, value: _swig_setattr(self, HistogramKD, name, value)
1491 __swig_getmethods__ = {}
1492 for _s
in [IMP.algebra._GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1493 __getattr__ =
lambda self, name: _swig_getattr(self, HistogramKD, name)
1494 def __init__(self, *args):
1496 __init__(IMP::statistics::HistogramD<(-1)> self) -> HistogramKD
1497 __init__(IMP::statistics::HistogramD<(-1)> self, double voxel_size, BoundingBoxKD bb) -> HistogramKD
1499 this = _IMP_statistics.new_HistogramKD(*args)
1500 try: self.this.append(this)
1501 except: self.this = this
1502 def add(self, *args):
1504 add(HistogramKD self, VectorKD x, double weight=1)
1505 add(HistogramKD self, VectorKD x)
1507 return _IMP_statistics.HistogramKD_add(self, *args)
1509 def get_total_count(self):
1510 """get_total_count(HistogramKD self) -> double"""
1511 return _IMP_statistics.HistogramKD_get_total_count(self)
1513 def get_frequencies(self):
1514 """get_frequencies(HistogramKD self) -> HistogramKD"""
1515 return _IMP_statistics.HistogramKD_get_frequencies(self)
1517 def get_probability_distribution_function(self):
1518 """get_probability_distribution_function(HistogramKD self) -> HistogramKD"""
1519 return _IMP_statistics.HistogramKD_get_probability_distribution_function(self)
1521 def get_counts(self):
1522 """get_counts(HistogramKD self) -> _HistogramCountsGridKD"""
1523 return _IMP_statistics.HistogramKD_get_counts(self)
1526 """get_mean(HistogramKD self) -> VectorKD"""
1527 return _IMP_statistics.HistogramKD_get_mean(self)
1529 def get_dimension(self):
1530 """get_dimension(HistogramKD self) -> unsigned int"""
1531 return _IMP_statistics.HistogramKD_get_dimension(self)
1533 def get_standard_deviation(self, *args):
1534 """get_standard_deviation(HistogramKD self, VectorKD mean) -> VectorKD"""
1535 return _IMP_statistics.HistogramKD_get_standard_deviation(self, *args)
1538 """get_bounding_box(HistogramKD self) -> BoundingBoxKD"""
1539 return _IMP_statistics.HistogramKD_get_bounding_box(self)
1541 def get_minimum_and_maximum(self):
1542 """get_minimum_and_maximum(HistogramKD self) -> IMP::FloatPair"""
1543 return _IMP_statistics.HistogramKD_get_minimum_and_maximum(self)
1545 def show(self, *args):
1547 show(HistogramKD self, _ostream out=std::cout)
1548 show(HistogramKD self)
1550 return _IMP_statistics.HistogramKD_show(self, *args)
1553 """__str__(HistogramKD self) -> std::string"""
1554 return _IMP_statistics.HistogramKD___str__(self)
1557 """__repr__(HistogramKD self) -> std::string"""
1558 return _IMP_statistics.HistogramKD___repr__(self)
1560 def __cmp__(self, *args):
1561 """__cmp__(HistogramKD self, HistogramKD arg2) -> int"""
1562 return _IMP_statistics.HistogramKD___cmp__(self, *args)
1564 __swig_destroy__ = _IMP_statistics.delete_HistogramKD
1565 __del__ =
lambda self :
None;
1566 HistogramKD_swigregister = _IMP_statistics.HistogramKD_swigregister
1567 HistogramKD_swigregister(HistogramKD)
1569 class _IntDenseGridStorageKD(IMP.algebra.BoundedGridRangeKD):
1570 """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,int)> class"""
1571 __swig_setmethods__ = {}
1572 for _s
in [IMP.algebra.BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1573 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorageKD, name, value)
1574 __swig_getmethods__ = {}
1575 for _s
in [IMP.algebra.BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1576 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorageKD, name)
1577 __repr__ = _swig_repr
1578 def __setitem__(self, *args):
1580 __setitem__(_IntDenseGridStorageKD self, GridIndexKD i, int const & v)
1581 __setitem__(_IntDenseGridStorageKD self, unsigned int i, int const & v)
1583 return _IMP_statistics._IntDenseGridStorageKD___setitem__(self, *args)
1585 def __getitem__(self, *args):
1587 __getitem__(_IntDenseGridStorageKD self, GridIndexKD i) -> int const
1588 __getitem__(_IntDenseGridStorageKD self, unsigned int i) -> int const &
1590 return _IMP_statistics._IntDenseGridStorageKD___getitem__(self, *args)
1592 def __init__(self, *args):
1594 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, _IntDenseGridStorageKD o) -> _IntDenseGridStorageKD
1595 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorageKD
1596 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorageKD
1597 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, int const & default_value=int()) -> _IntDenseGridStorageKD
1598 __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self) -> _IntDenseGridStorageKD
1600 this = _IMP_statistics.new__IntDenseGridStorageKD(*args)
1601 try: self.this.append(this)
1602 except: self.this = this
1604 """get_is_dense() -> bool"""
1605 return _IMP_statistics._IntDenseGridStorageKD_get_is_dense()
1607 if _newclass:get_is_dense = staticmethod(get_is_dense)
1608 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
1609 def show(self, *args):
1611 show(_IntDenseGridStorageKD self, _ostream out=std::cout)
1612 show(_IntDenseGridStorageKD self)
1614 return _IMP_statistics._IntDenseGridStorageKD_show(self, *args)
1616 def add_voxel(self, *args):
1617 """add_voxel(_IntDenseGridStorageKD self, ExtendedGridIndexKD arg2, int const & arg3) -> GridIndexKD"""
1618 return _IMP_statistics._IntDenseGridStorageKD_add_voxel(self, *args)
1620 def get_all_voxels(self):
1621 """get_all_voxels(_IntDenseGridStorageKD self) -> IMP::base::Vector< int >"""
1622 return _IMP_statistics._IntDenseGridStorageKD_get_all_voxels(self)
1624 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorageKD
1625 __del__ =
lambda self :
None;
1626 _IntDenseGridStorageKD_swigregister = _IMP_statistics._IntDenseGridStorageKD_swigregister
1627 _IntDenseGridStorageKD_swigregister(_IntDenseGridStorageKD)
1629 def _IntDenseGridStorageKD_get_is_dense():
1630 """_IntDenseGridStorageKD_get_is_dense() -> bool"""
1631 return _IMP_statistics._IntDenseGridStorageKD_get_is_dense()
1633 class _FloatDenseGridStorageKD(IMP.algebra.BoundedGridRangeKD):
1634 """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,double)> class"""
1635 __swig_setmethods__ = {}
1636 for _s
in [IMP.algebra.BoundedGridRangeKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1637 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorageKD, name, value)
1638 __swig_getmethods__ = {}
1639 for _s
in [IMP.algebra.BoundedGridRangeKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1640 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorageKD, name)
1641 __repr__ = _swig_repr
1642 def __setitem__(self, *args):
1644 __setitem__(_FloatDenseGridStorageKD self, GridIndexKD i, double const & v)
1645 __setitem__(_FloatDenseGridStorageKD self, unsigned int i, double const & v)
1647 return _IMP_statistics._FloatDenseGridStorageKD___setitem__(self, *args)
1649 def __getitem__(self, *args):
1651 __getitem__(_FloatDenseGridStorageKD self, GridIndexKD i) -> double const
1652 __getitem__(_FloatDenseGridStorageKD self, unsigned int i) -> double const &
1654 return _IMP_statistics._FloatDenseGridStorageKD___getitem__(self, *args)
1656 def __init__(self, *args):
1658 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, _FloatDenseGridStorageKD o) -> _FloatDenseGridStorageKD
1659 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorageKD
1660 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorageKD
1661 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, double const & default_value=double()) -> _FloatDenseGridStorageKD
1662 __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self) -> _FloatDenseGridStorageKD
1664 this = _IMP_statistics.new__FloatDenseGridStorageKD(*args)
1665 try: self.this.append(this)
1666 except: self.this = this
1668 """get_is_dense() -> bool"""
1669 return _IMP_statistics._FloatDenseGridStorageKD_get_is_dense()
1671 if _newclass:get_is_dense = staticmethod(get_is_dense)
1672 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
1673 def show(self, *args):
1675 show(_FloatDenseGridStorageKD self, _ostream out=std::cout)
1676 show(_FloatDenseGridStorageKD self)
1678 return _IMP_statistics._FloatDenseGridStorageKD_show(self, *args)
1680 def add_voxel(self, *args):
1681 """add_voxel(_FloatDenseGridStorageKD self, ExtendedGridIndexKD arg2, double const & arg3) -> GridIndexKD"""
1682 return _IMP_statistics._FloatDenseGridStorageKD_add_voxel(self, *args)
1684 def get_all_voxels(self):
1685 """get_all_voxels(_FloatDenseGridStorageKD self) -> IMP::base::Vector< double >"""
1686 return _IMP_statistics._FloatDenseGridStorageKD_get_all_voxels(self)
1688 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorageKD
1689 __del__ =
lambda self :
None;
1690 _FloatDenseGridStorageKD_swigregister = _IMP_statistics._FloatDenseGridStorageKD_swigregister
1691 _FloatDenseGridStorageKD_swigregister(_FloatDenseGridStorageKD)
1693 def _FloatDenseGridStorageKD_get_is_dense():
1694 """_FloatDenseGridStorageKD_get_is_dense() -> bool"""
1695 return _IMP_statistics._FloatDenseGridStorageKD_get_is_dense()
1697 class _HistogramCountsGridKD(_FloatDenseGridStorageKD,IMP.algebra.DefaultEmbeddingKD,IMP.algebra._GeometricPrimitiveKD):
1698 """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> class"""
1699 __swig_setmethods__ = {}
1700 for _s
in [_FloatDenseGridStorageKD,IMP.algebra.DefaultEmbeddingKD,IMP.algebra._GeometricPrimitiveKD]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1701 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGridKD, name, value)
1702 __swig_getmethods__ = {}
1703 for _s
in [_FloatDenseGridStorageKD,IMP.algebra.DefaultEmbeddingKD,IMP.algebra._GeometricPrimitiveKD]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1704 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGridKD, name)
1705 __repr__ = _swig_repr
1706 def __init__(self, *args):
1708 __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
1709 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> _HistogramCountsGridKD
1710 __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
1711 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> _HistogramCountsGridKD
1712 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, _FloatDenseGridStorageKD storage, DefaultEmbeddingKD embed) -> _HistogramCountsGridKD
1713 __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
1714 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> _HistogramCountsGridKD
1715 __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self) -> _HistogramCountsGridKD
1717 this = _IMP_statistics.new__HistogramCountsGridKD(*args)
1718 try: self.this.append(this)
1719 except: self.this = this
1720 def show(self, *args):
1722 show(_HistogramCountsGridKD self, _ostream out=std::cout)
1723 show(_HistogramCountsGridKD self)
1725 return _IMP_statistics._HistogramCountsGridKD_show(self, *args)
1727 def __getitem__(self, *args):
1729 __getitem__(_HistogramCountsGridKD self, VectorKD i) -> double const
1730 __getitem__(_HistogramCountsGridKD self, GridIndexKD i) -> double const &
1732 return _IMP_statistics._HistogramCountsGridKD___getitem__(self, *args)
1734 def __setitem__(self, *args):
1736 __setitem__(_HistogramCountsGridKD self, VectorKD i, double const & v)
1737 __setitem__(_HistogramCountsGridKD self, GridIndexKD i, double const & vt)
1739 return _IMP_statistics._HistogramCountsGridKD___setitem__(self, *args)
1741 def add_voxel(self, *args):
1742 """add_voxel(_HistogramCountsGridKD self, VectorKD pt, double const & vt) -> GridIndexKD"""
1743 return _IMP_statistics._HistogramCountsGridKD_add_voxel(self, *args)
1745 def get_extended_index(self, *args):
1746 """get_extended_index(_HistogramCountsGridKD self, GridIndexKD index) -> ExtendedGridIndexKD"""
1747 return _IMP_statistics._HistogramCountsGridKD_get_extended_index(self, *args)
1751 get_bounding_box(_HistogramCountsGridKD self) -> BoundingBoxKD
1752 get_bounding_box(_HistogramCountsGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
1753 get_bounding_box(_HistogramCountsGridKD self, GridIndexKD i) -> BoundingBoxKD
1755 return _IMP_statistics._HistogramCountsGridKD_get_bounding_box(self, *args)
1757 def set_bounding_box(self, *args):
1758 """set_bounding_box(_HistogramCountsGridKD self, BoundingBoxKD bb3)"""
1759 return _IMP_statistics._HistogramCountsGridKD_set_bounding_box(self, *args)
1761 def get_nearest_index(self, *args):
1762 """get_nearest_index(_HistogramCountsGridKD self, VectorKD pt) -> GridIndexKD"""
1763 return _IMP_statistics._HistogramCountsGridKD_get_nearest_index(self, *args)
1765 def get_nearest_extended_index(self, *args):
1766 """get_nearest_extended_index(_HistogramCountsGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
1767 return _IMP_statistics._HistogramCountsGridKD_get_nearest_extended_index(self, *args)
1769 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGridKD
1770 __del__ =
lambda self :
None;
1771 _HistogramCountsGridKD_swigregister = _IMP_statistics._HistogramCountsGridKD_swigregister
1772 _HistogramCountsGridKD_swigregister(_HistogramCountsGridKD)
1774 class _IntDenseGridStorage1D(IMP.algebra.BoundedGridRange1D):
1775 """Proxy of C++ IMP::algebra::DenseGridStorageD<(1,int)> class"""
1776 __swig_setmethods__ = {}
1777 for _s
in [IMP.algebra.BoundedGridRange1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1778 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage1D, name, value)
1779 __swig_getmethods__ = {}
1780 for _s
in [IMP.algebra.BoundedGridRange1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1781 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage1D, name)
1782 __repr__ = _swig_repr
1783 def __setitem__(self, *args):
1785 __setitem__(_IntDenseGridStorage1D self, GridIndex1D i, int const & v)
1786 __setitem__(_IntDenseGridStorage1D self, unsigned int i, int const & v)
1788 return _IMP_statistics._IntDenseGridStorage1D___setitem__(self, *args)
1790 def __getitem__(self, *args):
1792 __getitem__(_IntDenseGridStorage1D self, GridIndex1D i) -> int const
1793 __getitem__(_IntDenseGridStorage1D self, unsigned int i) -> int const &
1795 return _IMP_statistics._IntDenseGridStorage1D___getitem__(self, *args)
1797 def __init__(self, *args):
1799 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, _IntDenseGridStorage1D o) -> _IntDenseGridStorage1D
1800 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage1D
1801 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage1D
1802 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, int const & default_value=int()) -> _IntDenseGridStorage1D
1803 __init__(IMP::algebra::DenseGridStorageD<(1,int)> self) -> _IntDenseGridStorage1D
1805 this = _IMP_statistics.new__IntDenseGridStorage1D(*args)
1806 try: self.this.append(this)
1807 except: self.this = this
1809 """get_is_dense() -> bool"""
1810 return _IMP_statistics._IntDenseGridStorage1D_get_is_dense()
1812 if _newclass:get_is_dense = staticmethod(get_is_dense)
1813 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
1814 def show(self, *args):
1816 show(_IntDenseGridStorage1D self, _ostream out=std::cout)
1817 show(_IntDenseGridStorage1D self)
1819 return _IMP_statistics._IntDenseGridStorage1D_show(self, *args)
1821 def add_voxel(self, *args):
1822 """add_voxel(_IntDenseGridStorage1D self, ExtendedGridIndex1D arg2, int const & arg3) -> GridIndex1D"""
1823 return _IMP_statistics._IntDenseGridStorage1D_add_voxel(self, *args)
1825 def get_all_voxels(self):
1826 """get_all_voxels(_IntDenseGridStorage1D self) -> IMP::base::Vector< int >"""
1827 return _IMP_statistics._IntDenseGridStorage1D_get_all_voxels(self)
1829 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage1D
1830 __del__ =
lambda self :
None;
1831 _IntDenseGridStorage1D_swigregister = _IMP_statistics._IntDenseGridStorage1D_swigregister
1832 _IntDenseGridStorage1D_swigregister(_IntDenseGridStorage1D)
1834 def _IntDenseGridStorage1D_get_is_dense():
1835 """_IntDenseGridStorage1D_get_is_dense() -> bool"""
1836 return _IMP_statistics._IntDenseGridStorage1D_get_is_dense()
1838 class _FloatDenseGridStorage1D(IMP.algebra.BoundedGridRange1D):
1839 """Proxy of C++ IMP::algebra::DenseGridStorageD<(1,double)> class"""
1840 __swig_setmethods__ = {}
1841 for _s
in [IMP.algebra.BoundedGridRange1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1842 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage1D, name, value)
1843 __swig_getmethods__ = {}
1844 for _s
in [IMP.algebra.BoundedGridRange1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1845 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage1D, name)
1846 __repr__ = _swig_repr
1847 def __setitem__(self, *args):
1849 __setitem__(_FloatDenseGridStorage1D self, GridIndex1D i, double const & v)
1850 __setitem__(_FloatDenseGridStorage1D self, unsigned int i, double const & v)
1852 return _IMP_statistics._FloatDenseGridStorage1D___setitem__(self, *args)
1854 def __getitem__(self, *args):
1856 __getitem__(_FloatDenseGridStorage1D self, GridIndex1D i) -> double const
1857 __getitem__(_FloatDenseGridStorage1D self, unsigned int i) -> double const &
1859 return _IMP_statistics._FloatDenseGridStorage1D___getitem__(self, *args)
1861 def __init__(self, *args):
1863 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, _FloatDenseGridStorage1D o) -> _FloatDenseGridStorage1D
1864 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage1D
1865 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage1D
1866 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage1D
1867 __init__(IMP::algebra::DenseGridStorageD<(1,double)> self) -> _FloatDenseGridStorage1D
1869 this = _IMP_statistics.new__FloatDenseGridStorage1D(*args)
1870 try: self.this.append(this)
1871 except: self.this = this
1873 """get_is_dense() -> bool"""
1874 return _IMP_statistics._FloatDenseGridStorage1D_get_is_dense()
1876 if _newclass:get_is_dense = staticmethod(get_is_dense)
1877 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
1878 def show(self, *args):
1880 show(_FloatDenseGridStorage1D self, _ostream out=std::cout)
1881 show(_FloatDenseGridStorage1D self)
1883 return _IMP_statistics._FloatDenseGridStorage1D_show(self, *args)
1885 def add_voxel(self, *args):
1886 """add_voxel(_FloatDenseGridStorage1D self, ExtendedGridIndex1D arg2, double const & arg3) -> GridIndex1D"""
1887 return _IMP_statistics._FloatDenseGridStorage1D_add_voxel(self, *args)
1889 def get_all_voxels(self):
1890 """get_all_voxels(_FloatDenseGridStorage1D self) -> IMP::base::Vector< double >"""
1891 return _IMP_statistics._FloatDenseGridStorage1D_get_all_voxels(self)
1893 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage1D
1894 __del__ =
lambda self :
None;
1895 _FloatDenseGridStorage1D_swigregister = _IMP_statistics._FloatDenseGridStorage1D_swigregister
1896 _FloatDenseGridStorage1D_swigregister(_FloatDenseGridStorage1D)
1898 def _FloatDenseGridStorage1D_get_is_dense():
1899 """_FloatDenseGridStorage1D_get_is_dense() -> bool"""
1900 return _IMP_statistics._FloatDenseGridStorage1D_get_is_dense()
1902 class _HistogramCountsGrid1D(_FloatDenseGridStorage1D,IMP.algebra.DefaultEmbedding1D,IMP.algebra._GeometricPrimitive1D):
1903 """Proxy of C++ IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> class"""
1904 __swig_setmethods__ = {}
1905 for _s
in [_FloatDenseGridStorage1D,IMP.algebra.DefaultEmbedding1D,IMP.algebra._GeometricPrimitive1D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1906 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid1D, name, value)
1907 __swig_getmethods__ = {}
1908 for _s
in [_FloatDenseGridStorage1D,IMP.algebra.DefaultEmbedding1D,IMP.algebra._GeometricPrimitive1D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1909 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid1D, name)
1910 __repr__ = _swig_repr
1911 def __init__(self, *args):
1913 __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
1914 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, IMP::Ints const counts, BoundingBox1D bb) -> _HistogramCountsGrid1D
1915 __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
1916 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, double side, BoundingBox1D bb) -> _HistogramCountsGrid1D
1917 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, _FloatDenseGridStorage1D storage, DefaultEmbedding1D embed) -> _HistogramCountsGrid1D
1918 __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
1919 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, double side, Vector1D origin) -> _HistogramCountsGrid1D
1920 __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self) -> _HistogramCountsGrid1D
1922 this = _IMP_statistics.new__HistogramCountsGrid1D(*args)
1923 try: self.this.append(this)
1924 except: self.this = this
1925 def show(self, *args):
1927 show(_HistogramCountsGrid1D self, _ostream out=std::cout)
1928 show(_HistogramCountsGrid1D self)
1930 return _IMP_statistics._HistogramCountsGrid1D_show(self, *args)
1932 def __getitem__(self, *args):
1934 __getitem__(_HistogramCountsGrid1D self, Vector1D i) -> double const
1935 __getitem__(_HistogramCountsGrid1D self, GridIndex1D i) -> double const &
1937 return _IMP_statistics._HistogramCountsGrid1D___getitem__(self, *args)
1939 def __setitem__(self, *args):
1941 __setitem__(_HistogramCountsGrid1D self, Vector1D i, double const & v)
1942 __setitem__(_HistogramCountsGrid1D self, GridIndex1D i, double const & vt)
1944 return _IMP_statistics._HistogramCountsGrid1D___setitem__(self, *args)
1946 def add_voxel(self, *args):
1947 """add_voxel(_HistogramCountsGrid1D self, Vector1D pt, double const & vt) -> GridIndex1D"""
1948 return _IMP_statistics._HistogramCountsGrid1D_add_voxel(self, *args)
1950 def get_extended_index(self, *args):
1951 """get_extended_index(_HistogramCountsGrid1D self, GridIndex1D index) -> ExtendedGridIndex1D"""
1952 return _IMP_statistics._HistogramCountsGrid1D_get_extended_index(self, *args)
1956 get_bounding_box(_HistogramCountsGrid1D self) -> BoundingBox1D
1957 get_bounding_box(_HistogramCountsGrid1D self, ExtendedGridIndex1D i) -> BoundingBox1D
1958 get_bounding_box(_HistogramCountsGrid1D self, GridIndex1D i) -> BoundingBox1D
1960 return _IMP_statistics._HistogramCountsGrid1D_get_bounding_box(self, *args)
1962 def set_bounding_box(self, *args):
1963 """set_bounding_box(_HistogramCountsGrid1D self, BoundingBox1D bb3)"""
1964 return _IMP_statistics._HistogramCountsGrid1D_set_bounding_box(self, *args)
1966 def get_nearest_index(self, *args):
1967 """get_nearest_index(_HistogramCountsGrid1D self, Vector1D pt) -> GridIndex1D"""
1968 return _IMP_statistics._HistogramCountsGrid1D_get_nearest_index(self, *args)
1970 def get_nearest_extended_index(self, *args):
1971 """get_nearest_extended_index(_HistogramCountsGrid1D self, Vector1D pt) -> ExtendedGridIndex1D"""
1972 return _IMP_statistics._HistogramCountsGrid1D_get_nearest_extended_index(self, *args)
1974 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid1D
1975 __del__ =
lambda self :
None;
1976 _HistogramCountsGrid1D_swigregister = _IMP_statistics._HistogramCountsGrid1D_swigregister
1977 _HistogramCountsGrid1D_swigregister(_HistogramCountsGrid1D)
1979 class _IntDenseGridStorage2D(IMP.algebra.BoundedGridRange2D):
1980 """Proxy of C++ IMP::algebra::DenseGridStorageD<(2,int)> class"""
1981 __swig_setmethods__ = {}
1982 for _s
in [IMP.algebra.BoundedGridRange2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
1983 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage2D, name, value)
1984 __swig_getmethods__ = {}
1985 for _s
in [IMP.algebra.BoundedGridRange2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
1986 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage2D, name)
1987 __repr__ = _swig_repr
1988 def __setitem__(self, *args):
1990 __setitem__(_IntDenseGridStorage2D self, GridIndex2D i, int const & v)
1991 __setitem__(_IntDenseGridStorage2D self, unsigned int i, int const & v)
1993 return _IMP_statistics._IntDenseGridStorage2D___setitem__(self, *args)
1995 def __getitem__(self, *args):
1997 __getitem__(_IntDenseGridStorage2D self, GridIndex2D i) -> int const
1998 __getitem__(_IntDenseGridStorage2D self, unsigned int i) -> int const &
2000 return _IMP_statistics._IntDenseGridStorage2D___getitem__(self, *args)
2002 def __init__(self, *args):
2004 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, _IntDenseGridStorage2D o) -> _IntDenseGridStorage2D
2005 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage2D
2006 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage2D
2007 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, int const & default_value=int()) -> _IntDenseGridStorage2D
2008 __init__(IMP::algebra::DenseGridStorageD<(2,int)> self) -> _IntDenseGridStorage2D
2010 this = _IMP_statistics.new__IntDenseGridStorage2D(*args)
2011 try: self.this.append(this)
2012 except: self.this = this
2014 """get_is_dense() -> bool"""
2015 return _IMP_statistics._IntDenseGridStorage2D_get_is_dense()
2017 if _newclass:get_is_dense = staticmethod(get_is_dense)
2018 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2019 def show(self, *args):
2021 show(_IntDenseGridStorage2D self, _ostream out=std::cout)
2022 show(_IntDenseGridStorage2D self)
2024 return _IMP_statistics._IntDenseGridStorage2D_show(self, *args)
2026 def add_voxel(self, *args):
2027 """add_voxel(_IntDenseGridStorage2D self, ExtendedGridIndex2D arg2, int const & arg3) -> GridIndex2D"""
2028 return _IMP_statistics._IntDenseGridStorage2D_add_voxel(self, *args)
2030 def get_all_voxels(self):
2031 """get_all_voxels(_IntDenseGridStorage2D self) -> IMP::base::Vector< int >"""
2032 return _IMP_statistics._IntDenseGridStorage2D_get_all_voxels(self)
2034 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage2D
2035 __del__ =
lambda self :
None;
2036 _IntDenseGridStorage2D_swigregister = _IMP_statistics._IntDenseGridStorage2D_swigregister
2037 _IntDenseGridStorage2D_swigregister(_IntDenseGridStorage2D)
2039 def _IntDenseGridStorage2D_get_is_dense():
2040 """_IntDenseGridStorage2D_get_is_dense() -> bool"""
2041 return _IMP_statistics._IntDenseGridStorage2D_get_is_dense()
2043 class _FloatDenseGridStorage2D(IMP.algebra.BoundedGridRange2D):
2044 """Proxy of C++ IMP::algebra::DenseGridStorageD<(2,double)> class"""
2045 __swig_setmethods__ = {}
2046 for _s
in [IMP.algebra.BoundedGridRange2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2047 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage2D, name, value)
2048 __swig_getmethods__ = {}
2049 for _s
in [IMP.algebra.BoundedGridRange2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2050 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage2D, name)
2051 __repr__ = _swig_repr
2052 def __setitem__(self, *args):
2054 __setitem__(_FloatDenseGridStorage2D self, GridIndex2D i, double const & v)
2055 __setitem__(_FloatDenseGridStorage2D self, unsigned int i, double const & v)
2057 return _IMP_statistics._FloatDenseGridStorage2D___setitem__(self, *args)
2059 def __getitem__(self, *args):
2061 __getitem__(_FloatDenseGridStorage2D self, GridIndex2D i) -> double const
2062 __getitem__(_FloatDenseGridStorage2D self, unsigned int i) -> double const &
2064 return _IMP_statistics._FloatDenseGridStorage2D___getitem__(self, *args)
2066 def __init__(self, *args):
2068 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, _FloatDenseGridStorage2D o) -> _FloatDenseGridStorage2D
2069 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage2D
2070 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage2D
2071 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage2D
2072 __init__(IMP::algebra::DenseGridStorageD<(2,double)> self) -> _FloatDenseGridStorage2D
2074 this = _IMP_statistics.new__FloatDenseGridStorage2D(*args)
2075 try: self.this.append(this)
2076 except: self.this = this
2078 """get_is_dense() -> bool"""
2079 return _IMP_statistics._FloatDenseGridStorage2D_get_is_dense()
2081 if _newclass:get_is_dense = staticmethod(get_is_dense)
2082 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2083 def show(self, *args):
2085 show(_FloatDenseGridStorage2D self, _ostream out=std::cout)
2086 show(_FloatDenseGridStorage2D self)
2088 return _IMP_statistics._FloatDenseGridStorage2D_show(self, *args)
2090 def add_voxel(self, *args):
2091 """add_voxel(_FloatDenseGridStorage2D self, ExtendedGridIndex2D arg2, double const & arg3) -> GridIndex2D"""
2092 return _IMP_statistics._FloatDenseGridStorage2D_add_voxel(self, *args)
2094 def get_all_voxels(self):
2095 """get_all_voxels(_FloatDenseGridStorage2D self) -> IMP::base::Vector< double >"""
2096 return _IMP_statistics._FloatDenseGridStorage2D_get_all_voxels(self)
2098 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage2D
2099 __del__ =
lambda self :
None;
2100 _FloatDenseGridStorage2D_swigregister = _IMP_statistics._FloatDenseGridStorage2D_swigregister
2101 _FloatDenseGridStorage2D_swigregister(_FloatDenseGridStorage2D)
2103 def _FloatDenseGridStorage2D_get_is_dense():
2104 """_FloatDenseGridStorage2D_get_is_dense() -> bool"""
2105 return _IMP_statistics._FloatDenseGridStorage2D_get_is_dense()
2107 class _HistogramCountsGrid2D(_FloatDenseGridStorage2D,IMP.algebra.DefaultEmbedding2D,IMP.algebra._GeometricPrimitive2D):
2108 """Proxy of C++ IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> class"""
2109 __swig_setmethods__ = {}
2110 for _s
in [_FloatDenseGridStorage2D,IMP.algebra.DefaultEmbedding2D,IMP.algebra._GeometricPrimitive2D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2111 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid2D, name, value)
2112 __swig_getmethods__ = {}
2113 for _s
in [_FloatDenseGridStorage2D,IMP.algebra.DefaultEmbedding2D,IMP.algebra._GeometricPrimitive2D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2114 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid2D, name)
2115 __repr__ = _swig_repr
2116 def __init__(self, *args):
2118 __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
2119 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, IMP::Ints const counts, BoundingBox2D bb) -> _HistogramCountsGrid2D
2120 __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
2121 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, double side, BoundingBox2D bb) -> _HistogramCountsGrid2D
2122 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, _FloatDenseGridStorage2D storage, DefaultEmbedding2D embed) -> _HistogramCountsGrid2D
2123 __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
2124 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, double side, Vector2D origin) -> _HistogramCountsGrid2D
2125 __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self) -> _HistogramCountsGrid2D
2127 this = _IMP_statistics.new__HistogramCountsGrid2D(*args)
2128 try: self.this.append(this)
2129 except: self.this = this
2130 def show(self, *args):
2132 show(_HistogramCountsGrid2D self, _ostream out=std::cout)
2133 show(_HistogramCountsGrid2D self)
2135 return _IMP_statistics._HistogramCountsGrid2D_show(self, *args)
2137 def __getitem__(self, *args):
2139 __getitem__(_HistogramCountsGrid2D self, Vector2D i) -> double const
2140 __getitem__(_HistogramCountsGrid2D self, GridIndex2D i) -> double const &
2142 return _IMP_statistics._HistogramCountsGrid2D___getitem__(self, *args)
2144 def __setitem__(self, *args):
2146 __setitem__(_HistogramCountsGrid2D self, Vector2D i, double const & v)
2147 __setitem__(_HistogramCountsGrid2D self, GridIndex2D i, double const & vt)
2149 return _IMP_statistics._HistogramCountsGrid2D___setitem__(self, *args)
2151 def add_voxel(self, *args):
2152 """add_voxel(_HistogramCountsGrid2D self, Vector2D pt, double const & vt) -> GridIndex2D"""
2153 return _IMP_statistics._HistogramCountsGrid2D_add_voxel(self, *args)
2155 def get_extended_index(self, *args):
2156 """get_extended_index(_HistogramCountsGrid2D self, GridIndex2D index) -> ExtendedGridIndex2D"""
2157 return _IMP_statistics._HistogramCountsGrid2D_get_extended_index(self, *args)
2161 get_bounding_box(_HistogramCountsGrid2D self) -> BoundingBox2D
2162 get_bounding_box(_HistogramCountsGrid2D self, ExtendedGridIndex2D i) -> BoundingBox2D
2163 get_bounding_box(_HistogramCountsGrid2D self, GridIndex2D i) -> BoundingBox2D
2165 return _IMP_statistics._HistogramCountsGrid2D_get_bounding_box(self, *args)
2167 def set_bounding_box(self, *args):
2168 """set_bounding_box(_HistogramCountsGrid2D self, BoundingBox2D bb3)"""
2169 return _IMP_statistics._HistogramCountsGrid2D_set_bounding_box(self, *args)
2171 def get_nearest_index(self, *args):
2172 """get_nearest_index(_HistogramCountsGrid2D self, Vector2D pt) -> GridIndex2D"""
2173 return _IMP_statistics._HistogramCountsGrid2D_get_nearest_index(self, *args)
2175 def get_nearest_extended_index(self, *args):
2176 """get_nearest_extended_index(_HistogramCountsGrid2D self, Vector2D pt) -> ExtendedGridIndex2D"""
2177 return _IMP_statistics._HistogramCountsGrid2D_get_nearest_extended_index(self, *args)
2179 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid2D
2180 __del__ =
lambda self :
None;
2181 _HistogramCountsGrid2D_swigregister = _IMP_statistics._HistogramCountsGrid2D_swigregister
2182 _HistogramCountsGrid2D_swigregister(_HistogramCountsGrid2D)
2184 class _IntDenseGridStorage3D(IMP.algebra.BoundedGridRange3D):
2185 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,int)> class"""
2186 __swig_setmethods__ = {}
2187 for _s
in [IMP.algebra.BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2188 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage3D, name, value)
2189 __swig_getmethods__ = {}
2190 for _s
in [IMP.algebra.BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2191 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage3D, name)
2192 __repr__ = _swig_repr
2193 def __setitem__(self, *args):
2195 __setitem__(_IntDenseGridStorage3D self, GridIndex3D i, int const & v)
2196 __setitem__(_IntDenseGridStorage3D self, unsigned int i, int const & v)
2198 return _IMP_statistics._IntDenseGridStorage3D___setitem__(self, *args)
2200 def __getitem__(self, *args):
2202 __getitem__(_IntDenseGridStorage3D self, GridIndex3D i) -> int const
2203 __getitem__(_IntDenseGridStorage3D self, unsigned int i) -> int const &
2205 return _IMP_statistics._IntDenseGridStorage3D___getitem__(self, *args)
2207 def __init__(self, *args):
2209 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, _IntDenseGridStorage3D o) -> _IntDenseGridStorage3D
2210 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage3D
2211 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage3D
2212 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, int const & default_value=int()) -> _IntDenseGridStorage3D
2213 __init__(IMP::algebra::DenseGridStorageD<(3,int)> self) -> _IntDenseGridStorage3D
2215 this = _IMP_statistics.new__IntDenseGridStorage3D(*args)
2216 try: self.this.append(this)
2217 except: self.this = this
2219 """get_is_dense() -> bool"""
2220 return _IMP_statistics._IntDenseGridStorage3D_get_is_dense()
2222 if _newclass:get_is_dense = staticmethod(get_is_dense)
2223 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2224 def show(self, *args):
2226 show(_IntDenseGridStorage3D self, _ostream out=std::cout)
2227 show(_IntDenseGridStorage3D self)
2229 return _IMP_statistics._IntDenseGridStorage3D_show(self, *args)
2231 def add_voxel(self, *args):
2232 """add_voxel(_IntDenseGridStorage3D self, ExtendedGridIndex3D arg2, int const & arg3) -> GridIndex3D"""
2233 return _IMP_statistics._IntDenseGridStorage3D_add_voxel(self, *args)
2235 def get_all_voxels(self):
2236 """get_all_voxels(_IntDenseGridStorage3D self) -> IMP::base::Vector< int >"""
2237 return _IMP_statistics._IntDenseGridStorage3D_get_all_voxels(self)
2239 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage3D
2240 __del__ =
lambda self :
None;
2241 _IntDenseGridStorage3D_swigregister = _IMP_statistics._IntDenseGridStorage3D_swigregister
2242 _IntDenseGridStorage3D_swigregister(_IntDenseGridStorage3D)
2244 def _IntDenseGridStorage3D_get_is_dense():
2245 """_IntDenseGridStorage3D_get_is_dense() -> bool"""
2246 return _IMP_statistics._IntDenseGridStorage3D_get_is_dense()
2248 class _FloatDenseGridStorage3D(IMP.algebra.BoundedGridRange3D):
2249 """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,double)> class"""
2250 __swig_setmethods__ = {}
2251 for _s
in [IMP.algebra.BoundedGridRange3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2252 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage3D, name, value)
2253 __swig_getmethods__ = {}
2254 for _s
in [IMP.algebra.BoundedGridRange3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2255 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage3D, name)
2256 __repr__ = _swig_repr
2257 def __setitem__(self, *args):
2259 __setitem__(_FloatDenseGridStorage3D self, GridIndex3D i, double const & v)
2260 __setitem__(_FloatDenseGridStorage3D self, unsigned int i, double const & v)
2262 return _IMP_statistics._FloatDenseGridStorage3D___setitem__(self, *args)
2264 def __getitem__(self, *args):
2266 __getitem__(_FloatDenseGridStorage3D self, GridIndex3D i) -> double const
2267 __getitem__(_FloatDenseGridStorage3D self, unsigned int i) -> double const &
2269 return _IMP_statistics._FloatDenseGridStorage3D___getitem__(self, *args)
2271 def __init__(self, *args):
2273 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, _FloatDenseGridStorage3D o) -> _FloatDenseGridStorage3D
2274 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage3D
2275 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage3D
2276 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage3D
2277 __init__(IMP::algebra::DenseGridStorageD<(3,double)> self) -> _FloatDenseGridStorage3D
2279 this = _IMP_statistics.new__FloatDenseGridStorage3D(*args)
2280 try: self.this.append(this)
2281 except: self.this = this
2283 """get_is_dense() -> bool"""
2284 return _IMP_statistics._FloatDenseGridStorage3D_get_is_dense()
2286 if _newclass:get_is_dense = staticmethod(get_is_dense)
2287 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2288 def show(self, *args):
2290 show(_FloatDenseGridStorage3D self, _ostream out=std::cout)
2291 show(_FloatDenseGridStorage3D self)
2293 return _IMP_statistics._FloatDenseGridStorage3D_show(self, *args)
2295 def add_voxel(self, *args):
2296 """add_voxel(_FloatDenseGridStorage3D self, ExtendedGridIndex3D arg2, double const & arg3) -> GridIndex3D"""
2297 return _IMP_statistics._FloatDenseGridStorage3D_add_voxel(self, *args)
2299 def get_all_voxels(self):
2300 """get_all_voxels(_FloatDenseGridStorage3D self) -> IMP::base::Vector< double >"""
2301 return _IMP_statistics._FloatDenseGridStorage3D_get_all_voxels(self)
2303 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage3D
2304 __del__ =
lambda self :
None;
2305 _FloatDenseGridStorage3D_swigregister = _IMP_statistics._FloatDenseGridStorage3D_swigregister
2306 _FloatDenseGridStorage3D_swigregister(_FloatDenseGridStorage3D)
2308 def _FloatDenseGridStorage3D_get_is_dense():
2309 """_FloatDenseGridStorage3D_get_is_dense() -> bool"""
2310 return _IMP_statistics._FloatDenseGridStorage3D_get_is_dense()
2312 class _HistogramCountsGrid3D(_FloatDenseGridStorage3D,IMP.algebra.DefaultEmbedding3D,IMP.algebra._GeometricPrimitive3D):
2313 """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
2314 __swig_setmethods__ = {}
2315 for _s
in [_FloatDenseGridStorage3D,IMP.algebra.DefaultEmbedding3D,IMP.algebra._GeometricPrimitive3D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2316 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid3D, name, value)
2317 __swig_getmethods__ = {}
2318 for _s
in [_FloatDenseGridStorage3D,IMP.algebra.DefaultEmbedding3D,IMP.algebra._GeometricPrimitive3D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2319 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid3D, name)
2320 __repr__ = _swig_repr
2321 def __init__(self, *args):
2323 __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
2324 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> _HistogramCountsGrid3D
2325 __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
2326 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> _HistogramCountsGrid3D
2327 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _FloatDenseGridStorage3D storage, DefaultEmbedding3D embed) -> _HistogramCountsGrid3D
2328 __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
2329 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> _HistogramCountsGrid3D
2330 __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> _HistogramCountsGrid3D
2332 this = _IMP_statistics.new__HistogramCountsGrid3D(*args)
2333 try: self.this.append(this)
2334 except: self.this = this
2335 def show(self, *args):
2337 show(_HistogramCountsGrid3D self, _ostream out=std::cout)
2338 show(_HistogramCountsGrid3D self)
2340 return _IMP_statistics._HistogramCountsGrid3D_show(self, *args)
2342 def __getitem__(self, *args):
2344 __getitem__(_HistogramCountsGrid3D self, Vector3D i) -> double const
2345 __getitem__(_HistogramCountsGrid3D self, GridIndex3D i) -> double const &
2347 return _IMP_statistics._HistogramCountsGrid3D___getitem__(self, *args)
2349 def __setitem__(self, *args):
2351 __setitem__(_HistogramCountsGrid3D self, Vector3D i, double const & v)
2352 __setitem__(_HistogramCountsGrid3D self, GridIndex3D i, double const & vt)
2354 return _IMP_statistics._HistogramCountsGrid3D___setitem__(self, *args)
2356 def add_voxel(self, *args):
2357 """add_voxel(_HistogramCountsGrid3D self, Vector3D pt, double const & vt) -> GridIndex3D"""
2358 return _IMP_statistics._HistogramCountsGrid3D_add_voxel(self, *args)
2360 def get_extended_index(self, *args):
2361 """get_extended_index(_HistogramCountsGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D"""
2362 return _IMP_statistics._HistogramCountsGrid3D_get_extended_index(self, *args)
2366 get_bounding_box(_HistogramCountsGrid3D self) -> BoundingBox3D
2367 get_bounding_box(_HistogramCountsGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
2368 get_bounding_box(_HistogramCountsGrid3D self, GridIndex3D i) -> BoundingBox3D
2370 return _IMP_statistics._HistogramCountsGrid3D_get_bounding_box(self, *args)
2372 def set_bounding_box(self, *args):
2373 """set_bounding_box(_HistogramCountsGrid3D self, BoundingBox3D bb3)"""
2374 return _IMP_statistics._HistogramCountsGrid3D_set_bounding_box(self, *args)
2376 def get_nearest_index(self, *args):
2377 """get_nearest_index(_HistogramCountsGrid3D self, Vector3D pt) -> GridIndex3D"""
2378 return _IMP_statistics._HistogramCountsGrid3D_get_nearest_index(self, *args)
2380 def get_nearest_extended_index(self, *args):
2381 """get_nearest_extended_index(_HistogramCountsGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
2382 return _IMP_statistics._HistogramCountsGrid3D_get_nearest_extended_index(self, *args)
2384 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid3D
2385 __del__ =
lambda self :
None;
2386 _HistogramCountsGrid3D_swigregister = _IMP_statistics._HistogramCountsGrid3D_swigregister
2387 _HistogramCountsGrid3D_swigregister(_HistogramCountsGrid3D)
2389 class _IntDenseGridStorage4D(IMP.algebra.BoundedGridRange4D):
2390 """Proxy of C++ IMP::algebra::DenseGridStorageD<(4,int)> class"""
2391 __swig_setmethods__ = {}
2392 for _s
in [IMP.algebra.BoundedGridRange4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2393 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage4D, name, value)
2394 __swig_getmethods__ = {}
2395 for _s
in [IMP.algebra.BoundedGridRange4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2396 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage4D, name)
2397 __repr__ = _swig_repr
2398 def __setitem__(self, *args):
2400 __setitem__(_IntDenseGridStorage4D self, GridIndex4D i, int const & v)
2401 __setitem__(_IntDenseGridStorage4D self, unsigned int i, int const & v)
2403 return _IMP_statistics._IntDenseGridStorage4D___setitem__(self, *args)
2405 def __getitem__(self, *args):
2407 __getitem__(_IntDenseGridStorage4D self, GridIndex4D i) -> int const
2408 __getitem__(_IntDenseGridStorage4D self, unsigned int i) -> int const &
2410 return _IMP_statistics._IntDenseGridStorage4D___getitem__(self, *args)
2412 def __init__(self, *args):
2414 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, _IntDenseGridStorage4D o) -> _IntDenseGridStorage4D
2415 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage4D
2416 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage4D
2417 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, int const & default_value=int()) -> _IntDenseGridStorage4D
2418 __init__(IMP::algebra::DenseGridStorageD<(4,int)> self) -> _IntDenseGridStorage4D
2420 this = _IMP_statistics.new__IntDenseGridStorage4D(*args)
2421 try: self.this.append(this)
2422 except: self.this = this
2424 """get_is_dense() -> bool"""
2425 return _IMP_statistics._IntDenseGridStorage4D_get_is_dense()
2427 if _newclass:get_is_dense = staticmethod(get_is_dense)
2428 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2429 def show(self, *args):
2431 show(_IntDenseGridStorage4D self, _ostream out=std::cout)
2432 show(_IntDenseGridStorage4D self)
2434 return _IMP_statistics._IntDenseGridStorage4D_show(self, *args)
2436 def add_voxel(self, *args):
2437 """add_voxel(_IntDenseGridStorage4D self, ExtendedGridIndex4D arg2, int const & arg3) -> GridIndex4D"""
2438 return _IMP_statistics._IntDenseGridStorage4D_add_voxel(self, *args)
2440 def get_all_voxels(self):
2441 """get_all_voxels(_IntDenseGridStorage4D self) -> IMP::base::Vector< int >"""
2442 return _IMP_statistics._IntDenseGridStorage4D_get_all_voxels(self)
2444 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage4D
2445 __del__ =
lambda self :
None;
2446 _IntDenseGridStorage4D_swigregister = _IMP_statistics._IntDenseGridStorage4D_swigregister
2447 _IntDenseGridStorage4D_swigregister(_IntDenseGridStorage4D)
2449 def _IntDenseGridStorage4D_get_is_dense():
2450 """_IntDenseGridStorage4D_get_is_dense() -> bool"""
2451 return _IMP_statistics._IntDenseGridStorage4D_get_is_dense()
2453 class _FloatDenseGridStorage4D(IMP.algebra.BoundedGridRange4D):
2454 """Proxy of C++ IMP::algebra::DenseGridStorageD<(4,double)> class"""
2455 __swig_setmethods__ = {}
2456 for _s
in [IMP.algebra.BoundedGridRange4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2457 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage4D, name, value)
2458 __swig_getmethods__ = {}
2459 for _s
in [IMP.algebra.BoundedGridRange4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2460 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage4D, name)
2461 __repr__ = _swig_repr
2462 def __setitem__(self, *args):
2464 __setitem__(_FloatDenseGridStorage4D self, GridIndex4D i, double const & v)
2465 __setitem__(_FloatDenseGridStorage4D self, unsigned int i, double const & v)
2467 return _IMP_statistics._FloatDenseGridStorage4D___setitem__(self, *args)
2469 def __getitem__(self, *args):
2471 __getitem__(_FloatDenseGridStorage4D self, GridIndex4D i) -> double const
2472 __getitem__(_FloatDenseGridStorage4D self, unsigned int i) -> double const &
2474 return _IMP_statistics._FloatDenseGridStorage4D___getitem__(self, *args)
2476 def __init__(self, *args):
2478 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, _FloatDenseGridStorage4D o) -> _FloatDenseGridStorage4D
2479 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage4D
2480 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage4D
2481 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage4D
2482 __init__(IMP::algebra::DenseGridStorageD<(4,double)> self) -> _FloatDenseGridStorage4D
2484 this = _IMP_statistics.new__FloatDenseGridStorage4D(*args)
2485 try: self.this.append(this)
2486 except: self.this = this
2488 """get_is_dense() -> bool"""
2489 return _IMP_statistics._FloatDenseGridStorage4D_get_is_dense()
2491 if _newclass:get_is_dense = staticmethod(get_is_dense)
2492 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2493 def show(self, *args):
2495 show(_FloatDenseGridStorage4D self, _ostream out=std::cout)
2496 show(_FloatDenseGridStorage4D self)
2498 return _IMP_statistics._FloatDenseGridStorage4D_show(self, *args)
2500 def add_voxel(self, *args):
2501 """add_voxel(_FloatDenseGridStorage4D self, ExtendedGridIndex4D arg2, double const & arg3) -> GridIndex4D"""
2502 return _IMP_statistics._FloatDenseGridStorage4D_add_voxel(self, *args)
2504 def get_all_voxels(self):
2505 """get_all_voxels(_FloatDenseGridStorage4D self) -> IMP::base::Vector< double >"""
2506 return _IMP_statistics._FloatDenseGridStorage4D_get_all_voxels(self)
2508 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage4D
2509 __del__ =
lambda self :
None;
2510 _FloatDenseGridStorage4D_swigregister = _IMP_statistics._FloatDenseGridStorage4D_swigregister
2511 _FloatDenseGridStorage4D_swigregister(_FloatDenseGridStorage4D)
2513 def _FloatDenseGridStorage4D_get_is_dense():
2514 """_FloatDenseGridStorage4D_get_is_dense() -> bool"""
2515 return _IMP_statistics._FloatDenseGridStorage4D_get_is_dense()
2517 class _HistogramCountsGrid4D(_FloatDenseGridStorage4D,IMP.algebra.DefaultEmbedding4D,IMP.algebra._GeometricPrimitive4D):
2518 """Proxy of C++ IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> class"""
2519 __swig_setmethods__ = {}
2520 for _s
in [_FloatDenseGridStorage4D,IMP.algebra.DefaultEmbedding4D,IMP.algebra._GeometricPrimitive4D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2521 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid4D, name, value)
2522 __swig_getmethods__ = {}
2523 for _s
in [_FloatDenseGridStorage4D,IMP.algebra.DefaultEmbedding4D,IMP.algebra._GeometricPrimitive4D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2524 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid4D, name)
2525 __repr__ = _swig_repr
2526 def __init__(self, *args):
2528 __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
2529 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, IMP::Ints const counts, BoundingBox4D bb) -> _HistogramCountsGrid4D
2530 __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
2531 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, double side, BoundingBox4D bb) -> _HistogramCountsGrid4D
2532 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, _FloatDenseGridStorage4D storage, DefaultEmbedding4D embed) -> _HistogramCountsGrid4D
2533 __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
2534 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, double side, Vector4D origin) -> _HistogramCountsGrid4D
2535 __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self) -> _HistogramCountsGrid4D
2537 this = _IMP_statistics.new__HistogramCountsGrid4D(*args)
2538 try: self.this.append(this)
2539 except: self.this = this
2540 def show(self, *args):
2542 show(_HistogramCountsGrid4D self, _ostream out=std::cout)
2543 show(_HistogramCountsGrid4D self)
2545 return _IMP_statistics._HistogramCountsGrid4D_show(self, *args)
2547 def __getitem__(self, *args):
2549 __getitem__(_HistogramCountsGrid4D self, Vector4D i) -> double const
2550 __getitem__(_HistogramCountsGrid4D self, GridIndex4D i) -> double const &
2552 return _IMP_statistics._HistogramCountsGrid4D___getitem__(self, *args)
2554 def __setitem__(self, *args):
2556 __setitem__(_HistogramCountsGrid4D self, Vector4D i, double const & v)
2557 __setitem__(_HistogramCountsGrid4D self, GridIndex4D i, double const & vt)
2559 return _IMP_statistics._HistogramCountsGrid4D___setitem__(self, *args)
2561 def add_voxel(self, *args):
2562 """add_voxel(_HistogramCountsGrid4D self, Vector4D pt, double const & vt) -> GridIndex4D"""
2563 return _IMP_statistics._HistogramCountsGrid4D_add_voxel(self, *args)
2565 def get_extended_index(self, *args):
2566 """get_extended_index(_HistogramCountsGrid4D self, GridIndex4D index) -> ExtendedGridIndex4D"""
2567 return _IMP_statistics._HistogramCountsGrid4D_get_extended_index(self, *args)
2571 get_bounding_box(_HistogramCountsGrid4D self) -> BoundingBox4D
2572 get_bounding_box(_HistogramCountsGrid4D self, ExtendedGridIndex4D i) -> BoundingBox4D
2573 get_bounding_box(_HistogramCountsGrid4D self, GridIndex4D i) -> BoundingBox4D
2575 return _IMP_statistics._HistogramCountsGrid4D_get_bounding_box(self, *args)
2577 def set_bounding_box(self, *args):
2578 """set_bounding_box(_HistogramCountsGrid4D self, BoundingBox4D bb3)"""
2579 return _IMP_statistics._HistogramCountsGrid4D_set_bounding_box(self, *args)
2581 def get_nearest_index(self, *args):
2582 """get_nearest_index(_HistogramCountsGrid4D self, Vector4D pt) -> GridIndex4D"""
2583 return _IMP_statistics._HistogramCountsGrid4D_get_nearest_index(self, *args)
2585 def get_nearest_extended_index(self, *args):
2586 """get_nearest_extended_index(_HistogramCountsGrid4D self, Vector4D pt) -> ExtendedGridIndex4D"""
2587 return _IMP_statistics._HistogramCountsGrid4D_get_nearest_extended_index(self, *args)
2589 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid4D
2590 __del__ =
lambda self :
None;
2591 _HistogramCountsGrid4D_swigregister = _IMP_statistics._HistogramCountsGrid4D_swigregister
2592 _HistogramCountsGrid4D_swigregister(_HistogramCountsGrid4D)
2594 class _IntDenseGridStorage5D(IMP.algebra.BoundedGridRange5D):
2595 """Proxy of C++ IMP::algebra::DenseGridStorageD<(5,int)> class"""
2596 __swig_setmethods__ = {}
2597 for _s
in [IMP.algebra.BoundedGridRange5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2598 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage5D, name, value)
2599 __swig_getmethods__ = {}
2600 for _s
in [IMP.algebra.BoundedGridRange5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2601 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage5D, name)
2602 __repr__ = _swig_repr
2603 def __setitem__(self, *args):
2605 __setitem__(_IntDenseGridStorage5D self, GridIndex5D i, int const & v)
2606 __setitem__(_IntDenseGridStorage5D self, unsigned int i, int const & v)
2608 return _IMP_statistics._IntDenseGridStorage5D___setitem__(self, *args)
2610 def __getitem__(self, *args):
2612 __getitem__(_IntDenseGridStorage5D self, GridIndex5D i) -> int const
2613 __getitem__(_IntDenseGridStorage5D self, unsigned int i) -> int const &
2615 return _IMP_statistics._IntDenseGridStorage5D___getitem__(self, *args)
2617 def __init__(self, *args):
2619 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, _IntDenseGridStorage5D o) -> _IntDenseGridStorage5D
2620 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage5D
2621 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage5D
2622 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, int const & default_value=int()) -> _IntDenseGridStorage5D
2623 __init__(IMP::algebra::DenseGridStorageD<(5,int)> self) -> _IntDenseGridStorage5D
2625 this = _IMP_statistics.new__IntDenseGridStorage5D(*args)
2626 try: self.this.append(this)
2627 except: self.this = this
2629 """get_is_dense() -> bool"""
2630 return _IMP_statistics._IntDenseGridStorage5D_get_is_dense()
2632 if _newclass:get_is_dense = staticmethod(get_is_dense)
2633 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2634 def show(self, *args):
2636 show(_IntDenseGridStorage5D self, _ostream out=std::cout)
2637 show(_IntDenseGridStorage5D self)
2639 return _IMP_statistics._IntDenseGridStorage5D_show(self, *args)
2641 def add_voxel(self, *args):
2642 """add_voxel(_IntDenseGridStorage5D self, ExtendedGridIndex5D arg2, int const & arg3) -> GridIndex5D"""
2643 return _IMP_statistics._IntDenseGridStorage5D_add_voxel(self, *args)
2645 def get_all_voxels(self):
2646 """get_all_voxels(_IntDenseGridStorage5D self) -> IMP::base::Vector< int >"""
2647 return _IMP_statistics._IntDenseGridStorage5D_get_all_voxels(self)
2649 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage5D
2650 __del__ =
lambda self :
None;
2651 _IntDenseGridStorage5D_swigregister = _IMP_statistics._IntDenseGridStorage5D_swigregister
2652 _IntDenseGridStorage5D_swigregister(_IntDenseGridStorage5D)
2654 def _IntDenseGridStorage5D_get_is_dense():
2655 """_IntDenseGridStorage5D_get_is_dense() -> bool"""
2656 return _IMP_statistics._IntDenseGridStorage5D_get_is_dense()
2658 class _FloatDenseGridStorage5D(IMP.algebra.BoundedGridRange5D):
2659 """Proxy of C++ IMP::algebra::DenseGridStorageD<(5,double)> class"""
2660 __swig_setmethods__ = {}
2661 for _s
in [IMP.algebra.BoundedGridRange5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2662 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage5D, name, value)
2663 __swig_getmethods__ = {}
2664 for _s
in [IMP.algebra.BoundedGridRange5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2665 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage5D, name)
2666 __repr__ = _swig_repr
2667 def __setitem__(self, *args):
2669 __setitem__(_FloatDenseGridStorage5D self, GridIndex5D i, double const & v)
2670 __setitem__(_FloatDenseGridStorage5D self, unsigned int i, double const & v)
2672 return _IMP_statistics._FloatDenseGridStorage5D___setitem__(self, *args)
2674 def __getitem__(self, *args):
2676 __getitem__(_FloatDenseGridStorage5D self, GridIndex5D i) -> double const
2677 __getitem__(_FloatDenseGridStorage5D self, unsigned int i) -> double const &
2679 return _IMP_statistics._FloatDenseGridStorage5D___getitem__(self, *args)
2681 def __init__(self, *args):
2683 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, _FloatDenseGridStorage5D o) -> _FloatDenseGridStorage5D
2684 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage5D
2685 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage5D
2686 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage5D
2687 __init__(IMP::algebra::DenseGridStorageD<(5,double)> self) -> _FloatDenseGridStorage5D
2689 this = _IMP_statistics.new__FloatDenseGridStorage5D(*args)
2690 try: self.this.append(this)
2691 except: self.this = this
2693 """get_is_dense() -> bool"""
2694 return _IMP_statistics._FloatDenseGridStorage5D_get_is_dense()
2696 if _newclass:get_is_dense = staticmethod(get_is_dense)
2697 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2698 def show(self, *args):
2700 show(_FloatDenseGridStorage5D self, _ostream out=std::cout)
2701 show(_FloatDenseGridStorage5D self)
2703 return _IMP_statistics._FloatDenseGridStorage5D_show(self, *args)
2705 def add_voxel(self, *args):
2706 """add_voxel(_FloatDenseGridStorage5D self, ExtendedGridIndex5D arg2, double const & arg3) -> GridIndex5D"""
2707 return _IMP_statistics._FloatDenseGridStorage5D_add_voxel(self, *args)
2709 def get_all_voxels(self):
2710 """get_all_voxels(_FloatDenseGridStorage5D self) -> IMP::base::Vector< double >"""
2711 return _IMP_statistics._FloatDenseGridStorage5D_get_all_voxels(self)
2713 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage5D
2714 __del__ =
lambda self :
None;
2715 _FloatDenseGridStorage5D_swigregister = _IMP_statistics._FloatDenseGridStorage5D_swigregister
2716 _FloatDenseGridStorage5D_swigregister(_FloatDenseGridStorage5D)
2718 def _FloatDenseGridStorage5D_get_is_dense():
2719 """_FloatDenseGridStorage5D_get_is_dense() -> bool"""
2720 return _IMP_statistics._FloatDenseGridStorage5D_get_is_dense()
2722 class _HistogramCountsGrid5D(_FloatDenseGridStorage5D,IMP.algebra.DefaultEmbedding5D,IMP.algebra._GeometricPrimitive5D):
2723 """Proxy of C++ IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> class"""
2724 __swig_setmethods__ = {}
2725 for _s
in [_FloatDenseGridStorage5D,IMP.algebra.DefaultEmbedding5D,IMP.algebra._GeometricPrimitive5D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2726 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid5D, name, value)
2727 __swig_getmethods__ = {}
2728 for _s
in [_FloatDenseGridStorage5D,IMP.algebra.DefaultEmbedding5D,IMP.algebra._GeometricPrimitive5D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2729 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid5D, name)
2730 __repr__ = _swig_repr
2731 def __init__(self, *args):
2733 __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
2734 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, IMP::Ints const counts, BoundingBox5D bb) -> _HistogramCountsGrid5D
2735 __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
2736 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, double side, BoundingBox5D bb) -> _HistogramCountsGrid5D
2737 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, _FloatDenseGridStorage5D storage, DefaultEmbedding5D embed) -> _HistogramCountsGrid5D
2738 __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
2739 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, double side, Vector5D origin) -> _HistogramCountsGrid5D
2740 __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self) -> _HistogramCountsGrid5D
2742 this = _IMP_statistics.new__HistogramCountsGrid5D(*args)
2743 try: self.this.append(this)
2744 except: self.this = this
2745 def show(self, *args):
2747 show(_HistogramCountsGrid5D self, _ostream out=std::cout)
2748 show(_HistogramCountsGrid5D self)
2750 return _IMP_statistics._HistogramCountsGrid5D_show(self, *args)
2752 def __getitem__(self, *args):
2754 __getitem__(_HistogramCountsGrid5D self, Vector5D i) -> double const
2755 __getitem__(_HistogramCountsGrid5D self, GridIndex5D i) -> double const &
2757 return _IMP_statistics._HistogramCountsGrid5D___getitem__(self, *args)
2759 def __setitem__(self, *args):
2761 __setitem__(_HistogramCountsGrid5D self, Vector5D i, double const & v)
2762 __setitem__(_HistogramCountsGrid5D self, GridIndex5D i, double const & vt)
2764 return _IMP_statistics._HistogramCountsGrid5D___setitem__(self, *args)
2766 def add_voxel(self, *args):
2767 """add_voxel(_HistogramCountsGrid5D self, Vector5D pt, double const & vt) -> GridIndex5D"""
2768 return _IMP_statistics._HistogramCountsGrid5D_add_voxel(self, *args)
2770 def get_extended_index(self, *args):
2771 """get_extended_index(_HistogramCountsGrid5D self, GridIndex5D index) -> ExtendedGridIndex5D"""
2772 return _IMP_statistics._HistogramCountsGrid5D_get_extended_index(self, *args)
2776 get_bounding_box(_HistogramCountsGrid5D self) -> BoundingBox5D
2777 get_bounding_box(_HistogramCountsGrid5D self, ExtendedGridIndex5D i) -> BoundingBox5D
2778 get_bounding_box(_HistogramCountsGrid5D self, GridIndex5D i) -> BoundingBox5D
2780 return _IMP_statistics._HistogramCountsGrid5D_get_bounding_box(self, *args)
2782 def set_bounding_box(self, *args):
2783 """set_bounding_box(_HistogramCountsGrid5D self, BoundingBox5D bb3)"""
2784 return _IMP_statistics._HistogramCountsGrid5D_set_bounding_box(self, *args)
2786 def get_nearest_index(self, *args):
2787 """get_nearest_index(_HistogramCountsGrid5D self, Vector5D pt) -> GridIndex5D"""
2788 return _IMP_statistics._HistogramCountsGrid5D_get_nearest_index(self, *args)
2790 def get_nearest_extended_index(self, *args):
2791 """get_nearest_extended_index(_HistogramCountsGrid5D self, Vector5D pt) -> ExtendedGridIndex5D"""
2792 return _IMP_statistics._HistogramCountsGrid5D_get_nearest_extended_index(self, *args)
2794 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid5D
2795 __del__ =
lambda self :
None;
2796 _HistogramCountsGrid5D_swigregister = _IMP_statistics._HistogramCountsGrid5D_swigregister
2797 _HistogramCountsGrid5D_swigregister(_HistogramCountsGrid5D)
2799 class _IntDenseGridStorage6D(IMP.algebra.BoundedGridRange6D):
2800 """Proxy of C++ IMP::algebra::DenseGridStorageD<(6,int)> class"""
2801 __swig_setmethods__ = {}
2802 for _s
in [IMP.algebra.BoundedGridRange6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2803 __setattr__ =
lambda self, name, value: _swig_setattr(self, _IntDenseGridStorage6D, name, value)
2804 __swig_getmethods__ = {}
2805 for _s
in [IMP.algebra.BoundedGridRange6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2806 __getattr__ =
lambda self, name: _swig_getattr(self, _IntDenseGridStorage6D, name)
2807 __repr__ = _swig_repr
2808 def __setitem__(self, *args):
2810 __setitem__(_IntDenseGridStorage6D self, GridIndex6D i, int const & v)
2811 __setitem__(_IntDenseGridStorage6D self, unsigned int i, int const & v)
2813 return _IMP_statistics._IntDenseGridStorage6D___setitem__(self, *args)
2815 def __getitem__(self, *args):
2817 __getitem__(_IntDenseGridStorage6D self, GridIndex6D i) -> int const
2818 __getitem__(_IntDenseGridStorage6D self, unsigned int i) -> int const &
2820 return _IMP_statistics._IntDenseGridStorage6D___getitem__(self, *args)
2822 def __init__(self, *args):
2824 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, _IntDenseGridStorage6D o) -> _IntDenseGridStorage6D
2825 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage6D
2826 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage6D
2827 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, int const & default_value=int()) -> _IntDenseGridStorage6D
2828 __init__(IMP::algebra::DenseGridStorageD<(6,int)> self) -> _IntDenseGridStorage6D
2830 this = _IMP_statistics.new__IntDenseGridStorage6D(*args)
2831 try: self.this.append(this)
2832 except: self.this = this
2834 """get_is_dense() -> bool"""
2835 return _IMP_statistics._IntDenseGridStorage6D_get_is_dense()
2837 if _newclass:get_is_dense = staticmethod(get_is_dense)
2838 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2839 def show(self, *args):
2841 show(_IntDenseGridStorage6D self, _ostream out=std::cout)
2842 show(_IntDenseGridStorage6D self)
2844 return _IMP_statistics._IntDenseGridStorage6D_show(self, *args)
2846 def add_voxel(self, *args):
2847 """add_voxel(_IntDenseGridStorage6D self, ExtendedGridIndex6D arg2, int const & arg3) -> GridIndex6D"""
2848 return _IMP_statistics._IntDenseGridStorage6D_add_voxel(self, *args)
2850 def get_all_voxels(self):
2851 """get_all_voxels(_IntDenseGridStorage6D self) -> IMP::base::Vector< int >"""
2852 return _IMP_statistics._IntDenseGridStorage6D_get_all_voxels(self)
2854 __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage6D
2855 __del__ =
lambda self :
None;
2856 _IntDenseGridStorage6D_swigregister = _IMP_statistics._IntDenseGridStorage6D_swigregister
2857 _IntDenseGridStorage6D_swigregister(_IntDenseGridStorage6D)
2859 def _IntDenseGridStorage6D_get_is_dense():
2860 """_IntDenseGridStorage6D_get_is_dense() -> bool"""
2861 return _IMP_statistics._IntDenseGridStorage6D_get_is_dense()
2863 class _FloatDenseGridStorage6D(IMP.algebra.BoundedGridRange6D):
2864 """Proxy of C++ IMP::algebra::DenseGridStorageD<(6,double)> class"""
2865 __swig_setmethods__ = {}
2866 for _s
in [IMP.algebra.BoundedGridRange6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2867 __setattr__ =
lambda self, name, value: _swig_setattr(self, _FloatDenseGridStorage6D, name, value)
2868 __swig_getmethods__ = {}
2869 for _s
in [IMP.algebra.BoundedGridRange6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2870 __getattr__ =
lambda self, name: _swig_getattr(self, _FloatDenseGridStorage6D, name)
2871 __repr__ = _swig_repr
2872 def __setitem__(self, *args):
2874 __setitem__(_FloatDenseGridStorage6D self, GridIndex6D i, double const & v)
2875 __setitem__(_FloatDenseGridStorage6D self, unsigned int i, double const & v)
2877 return _IMP_statistics._FloatDenseGridStorage6D___setitem__(self, *args)
2879 def __getitem__(self, *args):
2881 __getitem__(_FloatDenseGridStorage6D self, GridIndex6D i) -> double const
2882 __getitem__(_FloatDenseGridStorage6D self, unsigned int i) -> double const &
2884 return _IMP_statistics._FloatDenseGridStorage6D___getitem__(self, *args)
2886 def __init__(self, *args):
2888 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, _FloatDenseGridStorage6D o) -> _FloatDenseGridStorage6D
2889 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage6D
2890 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage6D
2891 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage6D
2892 __init__(IMP::algebra::DenseGridStorageD<(6,double)> self) -> _FloatDenseGridStorage6D
2894 this = _IMP_statistics.new__FloatDenseGridStorage6D(*args)
2895 try: self.this.append(this)
2896 except: self.this = this
2898 """get_is_dense() -> bool"""
2899 return _IMP_statistics._FloatDenseGridStorage6D_get_is_dense()
2901 if _newclass:get_is_dense = staticmethod(get_is_dense)
2902 __swig_getmethods__[
"get_is_dense"] =
lambda x: get_is_dense
2903 def show(self, *args):
2905 show(_FloatDenseGridStorage6D self, _ostream out=std::cout)
2906 show(_FloatDenseGridStorage6D self)
2908 return _IMP_statistics._FloatDenseGridStorage6D_show(self, *args)
2910 def add_voxel(self, *args):
2911 """add_voxel(_FloatDenseGridStorage6D self, ExtendedGridIndex6D arg2, double const & arg3) -> GridIndex6D"""
2912 return _IMP_statistics._FloatDenseGridStorage6D_add_voxel(self, *args)
2914 def get_all_voxels(self):
2915 """get_all_voxels(_FloatDenseGridStorage6D self) -> IMP::base::Vector< double >"""
2916 return _IMP_statistics._FloatDenseGridStorage6D_get_all_voxels(self)
2918 __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage6D
2919 __del__ =
lambda self :
None;
2920 _FloatDenseGridStorage6D_swigregister = _IMP_statistics._FloatDenseGridStorage6D_swigregister
2921 _FloatDenseGridStorage6D_swigregister(_FloatDenseGridStorage6D)
2923 def _FloatDenseGridStorage6D_get_is_dense():
2924 """_FloatDenseGridStorage6D_get_is_dense() -> bool"""
2925 return _IMP_statistics._FloatDenseGridStorage6D_get_is_dense()
2927 class _HistogramCountsGrid6D(_FloatDenseGridStorage6D,IMP.algebra.DefaultEmbedding6D,IMP.algebra._GeometricPrimitive6D):
2928 """Proxy of C++ IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> class"""
2929 __swig_setmethods__ = {}
2930 for _s
in [_FloatDenseGridStorage6D,IMP.algebra.DefaultEmbedding6D,IMP.algebra._GeometricPrimitive6D]: __swig_setmethods__.update(getattr(_s,
'__swig_setmethods__',{}))
2931 __setattr__ =
lambda self, name, value: _swig_setattr(self, _HistogramCountsGrid6D, name, value)
2932 __swig_getmethods__ = {}
2933 for _s
in [_FloatDenseGridStorage6D,IMP.algebra.DefaultEmbedding6D,IMP.algebra._GeometricPrimitive6D]: __swig_getmethods__.update(getattr(_s,
'__swig_getmethods__',{}))
2934 __getattr__ =
lambda self, name: _swig_getattr(self, _HistogramCountsGrid6D, name)
2935 __repr__ = _swig_repr
2936 def __init__(self, *args):
2938 __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
2939 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, IMP::Ints const counts, BoundingBox6D bb) -> _HistogramCountsGrid6D
2940 __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
2941 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, double side, BoundingBox6D bb) -> _HistogramCountsGrid6D
2942 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, _FloatDenseGridStorage6D storage, DefaultEmbedding6D embed) -> _HistogramCountsGrid6D
2943 __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
2944 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, double side, Vector6D origin) -> _HistogramCountsGrid6D
2945 __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self) -> _HistogramCountsGrid6D
2947 this = _IMP_statistics.new__HistogramCountsGrid6D(*args)
2948 try: self.this.append(this)
2949 except: self.this = this
2950 def show(self, *args):
2952 show(_HistogramCountsGrid6D self, _ostream out=std::cout)
2953 show(_HistogramCountsGrid6D self)
2955 return _IMP_statistics._HistogramCountsGrid6D_show(self, *args)
2957 def __getitem__(self, *args):
2959 __getitem__(_HistogramCountsGrid6D self, Vector6D i) -> double const
2960 __getitem__(_HistogramCountsGrid6D self, GridIndex6D i) -> double const &
2962 return _IMP_statistics._HistogramCountsGrid6D___getitem__(self, *args)
2964 def __setitem__(self, *args):
2966 __setitem__(_HistogramCountsGrid6D self, Vector6D i, double const & v)
2967 __setitem__(_HistogramCountsGrid6D self, GridIndex6D i, double const & vt)
2969 return _IMP_statistics._HistogramCountsGrid6D___setitem__(self, *args)
2971 def add_voxel(self, *args):
2972 """add_voxel(_HistogramCountsGrid6D self, Vector6D pt, double const & vt) -> GridIndex6D"""
2973 return _IMP_statistics._HistogramCountsGrid6D_add_voxel(self, *args)
2975 def get_extended_index(self, *args):
2976 """get_extended_index(_HistogramCountsGrid6D self, GridIndex6D index) -> ExtendedGridIndex6D"""
2977 return _IMP_statistics._HistogramCountsGrid6D_get_extended_index(self, *args)
2981 get_bounding_box(_HistogramCountsGrid6D self) -> BoundingBox6D
2982 get_bounding_box(_HistogramCountsGrid6D self, ExtendedGridIndex6D i) -> BoundingBox6D
2983 get_bounding_box(_HistogramCountsGrid6D self, GridIndex6D i) -> BoundingBox6D
2985 return _IMP_statistics._HistogramCountsGrid6D_get_bounding_box(self, *args)
2987 def set_bounding_box(self, *args):
2988 """set_bounding_box(_HistogramCountsGrid6D self, BoundingBox6D bb3)"""
2989 return _IMP_statistics._HistogramCountsGrid6D_set_bounding_box(self, *args)
2991 def get_nearest_index(self, *args):
2992 """get_nearest_index(_HistogramCountsGrid6D self, Vector6D pt) -> GridIndex6D"""
2993 return _IMP_statistics._HistogramCountsGrid6D_get_nearest_index(self, *args)
2995 def get_nearest_extended_index(self, *args):
2996 """get_nearest_extended_index(_HistogramCountsGrid6D self, Vector6D pt) -> ExtendedGridIndex6D"""
2997 return _IMP_statistics._HistogramCountsGrid6D_get_nearest_extended_index(self, *args)
2999 __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid6D
3000 __del__ =
lambda self :
None;
3001 _HistogramCountsGrid6D_swigregister = _IMP_statistics._HistogramCountsGrid6D_swigregister
3002 _HistogramCountsGrid6D_swigregister(_HistogramCountsGrid6D)
3005 show_histogram= _histogram.show_histogram
3008 def get_module_version():
3009 """get_module_version() -> std::string const"""
3010 return _IMP_statistics.get_module_version()
3013 """get_example_path(std::string fname) -> std::string"""
3014 return _IMP_statistics.get_example_path(*args)
3017 """get_data_path(std::string fname) -> std::string"""
3018 return _IMP_statistics.get_data_path(*args)
3019 import _version_check
3020 _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.
See IMP.cgal for more information.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
double get_quantile(const Histogram1D &h, double fraction)
See IMP.base for more information.
void validate_partitional_clustering(PartitionalClustering *pc, unsigned int n)
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)
See IMP.kernel for more information.
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.
See IMP.algebra for more information.
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)
BoundingBoxD< D > get_bounding_box(const BoundingBoxD< D > &g)
Ints get_representatives(Embedding *d, PartitionalClustering *pc)