IMP  2.4.0
The Integrative Modeling Platform
statistics/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.2
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 
8 
9 
10 
11 from sys import version_info
12 if version_info >= (2,6,0):
13  def swig_import_helper():
14  from os.path import dirname
15  import imp
16  fp = None
17  try:
18  fp, pathname, description = imp.find_module('_IMP_statistics', [dirname(__file__)])
19  except ImportError:
20  import _IMP_statistics
21  return _IMP_statistics
22  if fp is not None:
23  try:
24  _mod = imp.load_module('_IMP_statistics', fp, pathname, description)
25  finally:
26  fp.close()
27  return _mod
28  _IMP_statistics = swig_import_helper()
29  del swig_import_helper
30 else:
31  import _IMP_statistics
32 del version_info
33 try:
34  _swig_property = property
35 except NameError:
36  pass # Python < 2.2 doesn't have 'property'.
37 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
38  if (name == "thisown"): return self.this.own(value)
39  if (name == "this"):
40  if type(value).__name__ == 'SwigPyObject':
41  self.__dict__[name] = value
42  return
43  method = class_type.__swig_setmethods__.get(name,None)
44  if method: return method(self,value)
45  if (not static):
46  self.__dict__[name] = value
47  else:
48  raise AttributeError("You cannot add attributes to %s" % self)
49 
50 def _swig_setattr(self,class_type,name,value):
51  return _swig_setattr_nondynamic(self,class_type,name,value,0)
52 
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)
58 
59 def _swig_repr(self):
60  try: strthis = "proxy of " + self.this.__repr__()
61  except: strthis = ""
62  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
63 
64 try:
65  _object = object
66  _newclass = 1
67 except AttributeError:
68  class _object : pass
69  _newclass = 0
70 
71 
72 def _swig_setattr_nondynamic_method(set):
73  def set_attr(self,name,value):
74  if (name == "thisown"): return self.this.own(value)
75  if hasattr(self,name) or (name == "this"):
76  set(self,name,value)
77  else:
78  raise AttributeError("You cannot add attributes to %s" % self)
79  return set_attr
80 
81 
82 try:
83  import weakref
84  weakref_proxy = weakref.proxy
85 except:
86  weakref_proxy = lambda x: x
87 
88 
89 class IMP_STATISTICS_SwigPyIterator(object):
90  """Proxy of C++ swig::IMP_STATISTICS_SwigPyIterator class"""
91  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
92  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
93  __repr__ = _swig_repr
94  __swig_destroy__ = _IMP_statistics.delete_IMP_STATISTICS_SwigPyIterator
95  __del__ = lambda self : None;
96  def value(self):
97  """value(IMP_STATISTICS_SwigPyIterator self) -> PyObject *"""
98  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_value(self)
99 
100  def incr(self, n=1):
101  """
102  incr(IMP_STATISTICS_SwigPyIterator self, size_t n=1) -> IMP_STATISTICS_SwigPyIterator
103  incr(IMP_STATISTICS_SwigPyIterator self) -> IMP_STATISTICS_SwigPyIterator
104  """
105  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_incr(self, n)
106 
107  def decr(self, n=1):
108  """
109  decr(IMP_STATISTICS_SwigPyIterator self, size_t n=1) -> IMP_STATISTICS_SwigPyIterator
110  decr(IMP_STATISTICS_SwigPyIterator self) -> IMP_STATISTICS_SwigPyIterator
111  """
112  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_decr(self, n)
113 
114  def distance(self, *args):
115  """distance(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> ptrdiff_t"""
116  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_distance(self, *args)
117 
118  def equal(self, *args):
119  """equal(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> bool"""
120  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_equal(self, *args)
121 
122  def copy(self):
123  """copy(IMP_STATISTICS_SwigPyIterator self) -> IMP_STATISTICS_SwigPyIterator"""
124  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_copy(self)
125 
126  def next(self):
127  """next(IMP_STATISTICS_SwigPyIterator self) -> PyObject *"""
128  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_next(self)
129 
130  def __next__(self):
131  """__next__(IMP_STATISTICS_SwigPyIterator self) -> PyObject *"""
132  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___next__(self)
133 
134  def previous(self):
135  """previous(IMP_STATISTICS_SwigPyIterator self) -> PyObject *"""
136  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_previous(self)
137 
138  def advance(self, *args):
139  """advance(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator"""
140  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator_advance(self, *args)
141 
142  def __eq__(self, *args):
143  """__eq__(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> bool"""
144  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___eq__(self, *args)
145 
146  def __ne__(self, *args):
147  """__ne__(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> bool"""
148  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___ne__(self, *args)
149 
150  def __iadd__(self, *args):
151  """__iadd__(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator"""
152  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___iadd__(self, *args)
153 
154  def __isub__(self, *args):
155  """__isub__(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator"""
156  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___isub__(self, *args)
157 
158  def __add__(self, *args):
159  """__add__(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator"""
160  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___add__(self, *args)
161 
162  def __sub__(self, *args):
163  """
164  __sub__(IMP_STATISTICS_SwigPyIterator self, ptrdiff_t n) -> IMP_STATISTICS_SwigPyIterator
165  __sub__(IMP_STATISTICS_SwigPyIterator self, IMP_STATISTICS_SwigPyIterator x) -> ptrdiff_t
166  """
167  return _IMP_statistics.IMP_STATISTICS_SwigPyIterator___sub__(self, *args)
168 
169  def __iter__(self): return self
170 IMP_STATISTICS_SwigPyIterator_swigregister = _IMP_statistics.IMP_STATISTICS_SwigPyIterator_swigregister
171 IMP_STATISTICS_SwigPyIterator_swigregister(IMP_STATISTICS_SwigPyIterator)
172 
173 _value_types=[]
174 _object_types=[]
175 _raii_types=[]
176 _plural_types=[]
177 
178 IMP_DEBUG = _IMP_statistics.IMP_DEBUG
179 IMP_RELEASE = _IMP_statistics.IMP_RELEASE
180 IMP_SILENT = _IMP_statistics.IMP_SILENT
181 IMP_PROGRESS = _IMP_statistics.IMP_PROGRESS
182 IMP_TERSE = _IMP_statistics.IMP_TERSE
183 IMP_VERBOSE = _IMP_statistics.IMP_VERBOSE
184 IMP_MEMORY = _IMP_statistics.IMP_MEMORY
185 IMP_NONE = _IMP_statistics.IMP_NONE
186 IMP_USAGE = _IMP_statistics.IMP_USAGE
187 IMP_INTERNAL = _IMP_statistics.IMP_INTERNAL
188 IMP_BASE_HAS_LOG4CXX = _IMP_statistics.IMP_BASE_HAS_LOG4CXX
189 IMP_COMPILER_HAS_AUTO = _IMP_statistics.IMP_COMPILER_HAS_AUTO
190 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_statistics.IMP_COMPILER_HAS_DEBUG_VECTOR
191 IMP_BASE_HAS_BOOST_RANDOM = _IMP_statistics.IMP_BASE_HAS_BOOST_RANDOM
192 IMP_BASE_HAS_GPERFTOOLS = _IMP_statistics.IMP_BASE_HAS_GPERFTOOLS
193 IMP_BASE_HAS_TCMALLOC_HEAPCHECKER = _IMP_statistics.IMP_BASE_HAS_TCMALLOC_HEAPCHECKER
194 IMP_BASE_HAS_TCMALLOC_HEAPPROFILER = _IMP_statistics.IMP_BASE_HAS_TCMALLOC_HEAPPROFILER
195 IMPBASE_SHOW_WARNINGS = _IMP_statistics.IMPBASE_SHOW_WARNINGS
196 import sys
197 class _DirectorObjects(object):
198  """@internal Simple class to keep references to director objects
199  to prevent premature deletion."""
200  def __init__(self):
201  self._objects = []
202  def register(self, obj):
203  """Take a reference to a director object; will only work for
204  refcounted C++ classes"""
205  if hasattr(obj, 'get_ref_count'):
206  self._objects.append(obj)
207  def cleanup(self):
208  """Only drop our reference and allow cleanup by Python if no other
209  Python references exist (we hold 3 references: one in self._objects,
210  one in x, and one in the argument list for getrefcount) *and* no
211  other C++ references exist (the Python object always holds one)"""
212  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
213  or x.get_ref_count() > 1]
214  # Do in two steps so the references are kept until the end of the
215  # function (deleting references may trigger a fresh call to this method)
216  self._objects = objs
217  def get_object_count(self):
218  """Get number of director objects (useful for testing only)"""
219  return len(self._objects)
220 _director_objects = _DirectorObjects()
221 
222 class _ostream(object):
223  """Proxy of C++ std::ostream class"""
224  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
225  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
226  __repr__ = _swig_repr
227  def write(self, *args):
228  """write(_ostream self, char const * osa_buf)"""
229  return _IMP_statistics._ostream_write(self, *args)
230 
231 _ostream_swigregister = _IMP_statistics._ostream_swigregister
232 _ostream_swigregister(_ostream)
233 
234 IMP_COMPILER_HAS_OVERRIDE = _IMP_statistics.IMP_COMPILER_HAS_OVERRIDE
235 IMP_COMPILER_HAS_FINAL = _IMP_statistics.IMP_COMPILER_HAS_FINAL
236 IMP_HAS_NOEXCEPT = _IMP_statistics.IMP_HAS_NOEXCEPT
237 import IMP.base
238 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_statistics.IMP_CGAL_HAS_BOOST_FILESYSTEM
239 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_statistics.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
240 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_statistics.IMP_CGAL_HAS_BOOST_RANDOM
241 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_statistics.IMP_CGAL_HAS_BOOST_SYSTEM
242 IMPCGAL_SHOW_WARNINGS = _IMP_statistics.IMPCGAL_SHOW_WARNINGS
243 import IMP.cgal
244 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_statistics.IMP_ALGEBRA_HAS_IMP_CGAL
245 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_statistics.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
246 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_statistics.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
247 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_statistics.IMP_ALGEBRA_HAS_BOOST_RANDOM
248 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_statistics.IMP_ALGEBRA_HAS_BOOST_SYSTEM
249 IMP_ALGEBRA_HAS_CGAL = _IMP_statistics.IMP_ALGEBRA_HAS_CGAL
250 IMP_ALGEBRA_HAS_ANN = _IMP_statistics.IMP_ALGEBRA_HAS_ANN
251 IMPALGEBRA_SHOW_WARNINGS = _IMP_statistics.IMPALGEBRA_SHOW_WARNINGS
252 import IMP.algebra
253 IMP_KERNEL_HAS_IMP_CGAL = _IMP_statistics.IMP_KERNEL_HAS_IMP_CGAL
254 IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS = _IMP_statistics.IMP_KERNEL_HAS_BOOST_PROGRAMOPTIONS
255 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_statistics.IMP_KERNEL_HAS_BOOST_RANDOM
256 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_statistics.IMP_KERNEL_HAS_BOOST_SYSTEM
257 IMP_KERNEL_HAS_CGAL = _IMP_statistics.IMP_KERNEL_HAS_CGAL
258 IMPKERNEL_SHOW_WARNINGS = _IMP_statistics.IMPKERNEL_SHOW_WARNINGS
259 import IMP.kernel
260 IMP_STATISTICS_HAS_IMP_BASE = _IMP_statistics.IMP_STATISTICS_HAS_IMP_BASE
261 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_statistics.IMP_STATISTICS_HAS_IMP_CGAL
262 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_statistics.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
263 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_statistics.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
264 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_statistics.IMP_STATISTICS_HAS_BOOST_RANDOM
265 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_statistics.IMP_STATISTICS_HAS_BOOST_SYSTEM
266 IMP_STATISTICS_HAS_CGAL = _IMP_statistics.IMP_STATISTICS_HAS_CGAL
267 IMPSTATISTICS_SHOW_WARNINGS = _IMP_statistics.IMPSTATISTICS_SHOW_WARNINGS
268 Histogram1Ds=list
269 _plural_types.append("Histogram1Ds")
270 _value_types.append("Histogram1D")
271 
272 Histogram2Ds=list
273 _plural_types.append("Histogram2Ds")
274 _value_types.append("Histogram2D")
275 
276 Histogram3Ds=list
277 _plural_types.append("Histogram3Ds")
278 _value_types.append("Histogram3D")
279 
280 Histogram4Ds=list
281 _plural_types.append("Histogram4Ds")
282 _value_types.append("Histogram4D")
283 
284 Histogram5Ds=list
285 _plural_types.append("Histogram5Ds")
286 _value_types.append("Histogram5D")
287 
288 Histogram6Ds=list
289 _plural_types.append("Histogram6Ds")
290 _value_types.append("Histogram6D")
291 
292 Histogram1Ds=list
293 _plural_types.append("Histogram1Ds")
294 _value_types.append("HistogramD<1>")
295 
296 Histogram2Ds=list
297 _plural_types.append("Histogram2Ds")
298 _value_types.append("HistogramD<2>")
299 
300 Histogram3Ds=list
301 _plural_types.append("Histogram3Ds")
302 _value_types.append("HistogramD<3>")
303 
304 Histogram4Ds=list
305 _plural_types.append("Histogram4Ds")
306 _value_types.append("HistogramD<4>")
307 
308 Histogram5Ds=list
309 _plural_types.append("Histogram5Ds")
310 _value_types.append("HistogramD<5>")
311 
312 Histogram6Ds=list
313 _plural_types.append("Histogram6Ds")
314 _value_types.append("HistogramD<6>")
315 
316 HistogramKDs=list
317 _plural_types.append("HistogramKDs")
318 _value_types.append("HistogramKD")
319 
320 HistogramKDs=list
321 _plural_types.append("HistogramKDs")
322 _value_types.append("HistogramD<-1>")
323 
324 _object_types.append("PartitionalClustering")
325 
326 
327 def _object_cast_to_PartitionalClustering(*args):
328  """_object_cast_to_PartitionalClustering(Object o) -> PartitionalClustering"""
329  return _IMP_statistics._object_cast_to_PartitionalClustering(*args)
330 _object_types.append("PartitionalClusteringWithCenter")
331 
332 
333 def _object_cast_to_PartitionalClusteringWithCenter(*args):
334  """_object_cast_to_PartitionalClusteringWithCenter(Object o) -> PartitionalClusteringWithCenter"""
335  return _IMP_statistics._object_cast_to_PartitionalClusteringWithCenter(*args)
336 _object_types.append("Embedding")
337 
338 
339 def _object_cast_to_Embedding(*args):
340  """_object_cast_to_Embedding(Object o) -> Embedding"""
341  return _IMP_statistics._object_cast_to_Embedding(*args)
342 _object_types.append("ConfigurationSetXYZEmbedding")
343 
344 
345 def _object_cast_to_ConfigurationSetXYZEmbedding(*args):
346  """_object_cast_to_ConfigurationSetXYZEmbedding(Object o) -> ConfigurationSetXYZEmbedding"""
347  return _IMP_statistics._object_cast_to_ConfigurationSetXYZEmbedding(*args)
348 _object_types.append("VectorDEmbedding")
349 
350 
351 def _object_cast_to_VectorDEmbedding(*args):
352  """_object_cast_to_VectorDEmbedding(Object o) -> VectorDEmbedding"""
353  return _IMP_statistics._object_cast_to_VectorDEmbedding(*args)
354 _object_types.append("ParticleEmbedding")
355 
356 
357 def _object_cast_to_ParticleEmbedding(*args):
358  """_object_cast_to_ParticleEmbedding(Object o) -> ParticleEmbedding"""
359  return _IMP_statistics._object_cast_to_ParticleEmbedding(*args)
360 _object_types.append("Metric")
361 
362 
363 def _object_cast_to_Metric(*args):
364  """_object_cast_to_Metric(Object o) -> Metric"""
365  return _IMP_statistics._object_cast_to_Metric(*args)
366 _object_types.append("EuclideanMetric")
367 
368 
369 def _object_cast_to_EuclideanMetric(*args):
370  """_object_cast_to_EuclideanMetric(Object o) -> EuclideanMetric"""
371  return _IMP_statistics._object_cast_to_EuclideanMetric(*args)
372 _object_types.append("ConfigurationSetRMSDMetric")
373 
374 
375 def _object_cast_to_ConfigurationSetRMSDMetric(*args):
376  """_object_cast_to_ConfigurationSetRMSDMetric(Object o) -> ConfigurationSetRMSDMetric"""
377  return _IMP_statistics._object_cast_to_ConfigurationSetRMSDMetric(*args)
378 _object_types.append("RecursivePartitionalClusteringMetric")
379 
380 
381 def _object_cast_to_RecursivePartitionalClusteringMetric(*args):
382  """_object_cast_to_RecursivePartitionalClusteringMetric(Object o) -> RecursivePartitionalClusteringMetric"""
383  return _IMP_statistics._object_cast_to_RecursivePartitionalClusteringMetric(*args)
384 _object_types.append("RecursivePartitionalClusteringEmbedding")
385 
386 
387 def _object_cast_to_RecursivePartitionalClusteringEmbedding(*args):
388  """_object_cast_to_RecursivePartitionalClusteringEmbedding(Object o) -> RecursivePartitionalClusteringEmbedding"""
389  return _IMP_statistics._object_cast_to_RecursivePartitionalClusteringEmbedding(*args)
390 _object_types.append("ChiSquareMetric")
391 
392 
393 def _object_cast_to_ChiSquareMetric(*args):
394  """_object_cast_to_ChiSquareMetric(Object o) -> ChiSquareMetric"""
395  return _IMP_statistics._object_cast_to_ChiSquareMetric(*args)
396 class PartitionalClustering(IMP.base.Object):
397  """Proxy of C++ IMP::statistics::PartitionalClustering class"""
398  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
399  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
400  def get_number_of_clusters(self):
401  """get_number_of_clusters(PartitionalClustering self) -> unsigned int"""
402  return _IMP_statistics.PartitionalClustering_get_number_of_clusters(self)
403 
404  def get_cluster(self, *args):
405  """get_cluster(PartitionalClustering self, unsigned int cluster_index) -> IMP::Ints const &"""
406  return _IMP_statistics.PartitionalClustering_get_cluster(self, *args)
407 
408  def get_cluster_representative(self, *args):
409  """get_cluster_representative(PartitionalClustering self, unsigned int cluster_index) -> int"""
410  return _IMP_statistics.PartitionalClustering_get_cluster_representative(self, *args)
411 
412  __swig_destroy__ = _IMP_statistics.delete_PartitionalClustering
413  __del__ = lambda self : None;
414  def __str__(self):
415  """__str__(PartitionalClustering self) -> std::string"""
416  return _IMP_statistics.PartitionalClustering___str__(self)
417 
418  def __repr__(self):
419  """__repr__(PartitionalClustering self) -> std::string"""
420  return _IMP_statistics.PartitionalClustering___repr__(self)
421 
422  def get_from(o):
423  return _object_cast_to_PartitionalClustering(o)
424  get_from = staticmethod(get_from)
425 
426 PartitionalClustering_swigregister = _IMP_statistics.PartitionalClustering_swigregister
427 PartitionalClustering_swigregister(PartitionalClustering)
428 
429 
431  """validate_partitional_clustering(PartitionalClustering pc, unsigned int n)"""
432  return _IMP_statistics.validate_partitional_clustering(*args)
433 class Embedding(IMP.base.Object):
434  """Proxy of C++ IMP::statistics::Embedding class"""
435  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
436  def __init__(self, *args):
437  """__init__(IMP::statistics::Embedding self, std::string name) -> Embedding"""
438  if self.__class__ == Embedding:
439  _self = None
440  else:
441  _self = self
442  this = _IMP_statistics.new_Embedding(_self, *args)
443  try: self.this.append(this)
444  except: self.this = this
445  if self.__class__ != Embedding:
446  import IMP.base
447  IMP.base._director_objects.register(self)
448 
449 
450 
451  def do_get_weight(self, *args):
452  """do_get_weight(Embedding self, unsigned int i) -> double"""
453  return _IMP_statistics.Embedding_do_get_weight(self, *args)
454 
455  def get_point(self, *args):
456  """get_point(Embedding self, unsigned int i) -> VectorKD"""
457  return _IMP_statistics.Embedding_get_point(self, *args)
458 
459  def get_number_of_items(self):
460  """get_number_of_items(Embedding self) -> unsigned int"""
461  return _IMP_statistics.Embedding_get_number_of_items(self)
462 
463  def get_weight(self, *args):
464  """get_weight(Embedding self, unsigned int i) -> double"""
465  return _IMP_statistics.Embedding_get_weight(self, *args)
466 
467  def get_points(self):
468  """get_points(Embedding self) -> IMP::algebra::VectorKDs"""
469  return _IMP_statistics.Embedding_get_points(self)
470 
471  def __str__(self):
472  """__str__(Embedding self) -> std::string"""
473  return _IMP_statistics.Embedding___str__(self)
474 
475  def __repr__(self):
476  """__repr__(Embedding self) -> std::string"""
477  return _IMP_statistics.Embedding___repr__(self)
478 
479  def get_from(o):
480  return _object_cast_to_Embedding(o)
481  get_from = staticmethod(get_from)
482 
483  def get_type_name(self):
484  return self.__class__.__name__
485  def do_show(self, out):
486  pass
487  def get_version_info(self):
488  if"IMP::statistics" == "IMP":
489  return VersionInfo("python", "0")
490  else:
491  return IMP.VersionInfo("python", "0")
492  def get_from(o):
493  return _object_cast_to_Embedding(o)
494  get_from = staticmethod(get_from)
495 
496  __swig_destroy__ = _IMP_statistics.delete_Embedding
497  __del__ = lambda self : None;
498  def __disown__(self):
499  self.this.disown()
500  _IMP_statistics.disown_Embedding(self)
501  return weakref_proxy(self)
502  def do_destroy(self):
503  """do_destroy(Embedding self)"""
504  return _IMP_statistics.Embedding_do_destroy(self)
505 
506 Embedding_swigregister = _IMP_statistics.Embedding_swigregister
507 Embedding_swigregister(Embedding)
508 
509 class Metric(IMP.base.Object):
510  """Proxy of C++ IMP::statistics::Metric class"""
511  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
512  def __init__(self, *args):
513  """__init__(IMP::statistics::Metric self, std::string name) -> Metric"""
514  if self.__class__ == Metric:
515  _self = None
516  else:
517  _self = self
518  this = _IMP_statistics.new_Metric(_self, *args)
519  try: self.this.append(this)
520  except: self.this = this
521  if self.__class__ != Metric:
522  import IMP.base
523  IMP.base._director_objects.register(self)
524 
525 
526 
527  def do_get_weight(self, *args):
528  """do_get_weight(Metric self, unsigned int i) -> double"""
529  return _IMP_statistics.Metric_do_get_weight(self, *args)
530 
531  def get_distance(self, *args):
532  """get_distance(Metric self, unsigned int i, unsigned int j) -> double"""
533  return _IMP_statistics.Metric_get_distance(self, *args)
534 
535  def get_weight(self, *args):
536  """get_weight(Metric self, unsigned int i) -> double"""
537  return _IMP_statistics.Metric_get_weight(self, *args)
538 
539  def get_number_of_items(self):
540  """get_number_of_items(Metric self) -> unsigned int"""
541  return _IMP_statistics.Metric_get_number_of_items(self)
542 
543  __swig_destroy__ = _IMP_statistics.delete_Metric
544  __del__ = lambda self : None;
545  def __str__(self):
546  """__str__(Metric self) -> std::string"""
547  return _IMP_statistics.Metric___str__(self)
548 
549  def __repr__(self):
550  """__repr__(Metric self) -> std::string"""
551  return _IMP_statistics.Metric___repr__(self)
552 
553  def get_from(o):
554  return _object_cast_to_Metric(o)
555  get_from = staticmethod(get_from)
556 
557  def get_type_name(self):
558  return self.__class__.__name__
559  def do_show(self, out):
560  pass
561  def get_version_info(self):
562  if"IMP::statistics" == "IMP":
563  return VersionInfo("python", "0")
564  else:
565  return IMP.VersionInfo("python", "0")
566  def get_from(o):
567  return _object_cast_to_Metric(o)
568  get_from = staticmethod(get_from)
569 
570  def __disown__(self):
571  self.this.disown()
572  _IMP_statistics.disown_Metric(self)
573  return weakref_proxy(self)
574  def do_destroy(self):
575  """do_destroy(Metric self)"""
576  return _IMP_statistics.Metric_do_destroy(self)
577 
578 Metric_swigregister = _IMP_statistics.Metric_swigregister
579 Metric_swigregister(Metric)
580 
581 class ChiSquareMetric(Metric):
582  """Proxy of C++ IMP::statistics::ChiSquareMetric class"""
583  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
584  def __init__(self, *args):
585  """
586  __init__(IMP::statistics::ChiSquareMetric self, IMP::Floats data_exp, int constr_type=0) -> ChiSquareMetric
587  __init__(IMP::statistics::ChiSquareMetric self, IMP::Floats data_exp) -> ChiSquareMetric
588  """
589  this = _IMP_statistics.new_ChiSquareMetric(*args)
590  try: self.this.append(this)
591  except: self.this = this
592  def add_configuration(self, *args):
593  """
594  add_configuration(ChiSquareMetric self, IMP::Floats data, IMP::Floats stddev, double weight=1.0)
595  add_configuration(ChiSquareMetric self, IMP::Floats data, IMP::Floats stddev)
596  """
597  return _IMP_statistics.ChiSquareMetric_add_configuration(self, *args)
598 
599  def get_data(self, *args):
600  """get_data(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
601  return _IMP_statistics.ChiSquareMetric_get_data(self, *args)
602 
603  def get_standard_deviation(self, *args):
604  """get_standard_deviation(ChiSquareMetric self, unsigned int i) -> IMP::Floats"""
605  return _IMP_statistics.ChiSquareMetric_get_standard_deviation(self, *args)
606 
607  def do_get_weight(self, *args):
608  """do_get_weight(ChiSquareMetric self, unsigned int i) -> double"""
609  return _IMP_statistics.ChiSquareMetric_do_get_weight(self, *args)
610 
611  def get_chi_square_experimental(self, *args):
612  """get_chi_square_experimental(ChiSquareMetric self, unsigned int i) -> double"""
613  return _IMP_statistics.ChiSquareMetric_get_chi_square_experimental(self, *args)
614 
615  def get_version_info(self):
616  """get_version_info(ChiSquareMetric self) -> VersionInfo"""
617  return _IMP_statistics.ChiSquareMetric_get_version_info(self)
618 
619  def __str__(self):
620  """__str__(ChiSquareMetric self) -> std::string"""
621  return _IMP_statistics.ChiSquareMetric___str__(self)
622 
623  def __repr__(self):
624  """__repr__(ChiSquareMetric self) -> std::string"""
625  return _IMP_statistics.ChiSquareMetric___repr__(self)
626 
627  def get_from(o):
628  return _object_cast_to_ChiSquareMetric(o)
629  get_from = staticmethod(get_from)
630 
631 ChiSquareMetric_swigregister = _IMP_statistics.ChiSquareMetric_swigregister
632 ChiSquareMetric_swigregister(ChiSquareMetric)
633 
634 class PartitionalClusteringWithCenter(PartitionalClustering):
635  """Proxy of C++ IMP::statistics::PartitionalClusteringWithCenter class"""
636  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
637  def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined")
638  def get_cluster_center(self, *args):
639  """get_cluster_center(PartitionalClusteringWithCenter self, unsigned int i) -> VectorKD"""
640  return _IMP_statistics.PartitionalClusteringWithCenter_get_cluster_center(self, *args)
641 
642  def get_version_info(self):
643  """get_version_info(PartitionalClusteringWithCenter self) -> VersionInfo"""
644  return _IMP_statistics.PartitionalClusteringWithCenter_get_version_info(self)
645 
646  def __str__(self):
647  """__str__(PartitionalClusteringWithCenter self) -> std::string"""
648  return _IMP_statistics.PartitionalClusteringWithCenter___str__(self)
649 
650  def __repr__(self):
651  """__repr__(PartitionalClusteringWithCenter self) -> std::string"""
652  return _IMP_statistics.PartitionalClusteringWithCenter___repr__(self)
653 
654  def get_from(o):
655  return _object_cast_to_PartitionalClusteringWithCenter(o)
656  get_from = staticmethod(get_from)
657 
658 PartitionalClusteringWithCenter_swigregister = _IMP_statistics.PartitionalClusteringWithCenter_swigregister
659 PartitionalClusteringWithCenter_swigregister(PartitionalClusteringWithCenter)
660 
661 class ConfigurationSetXYZEmbedding(Embedding):
662  """Proxy of C++ IMP::statistics::ConfigurationSetXYZEmbedding class"""
663  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
664  def __init__(self, *args):
665  """
666  __init__(IMP::statistics::ConfigurationSetXYZEmbedding self, ConfigurationSet cs, _SingletonContainerAdaptor pi, bool align=False) -> ConfigurationSetXYZEmbedding
667  __init__(IMP::statistics::ConfigurationSetXYZEmbedding self, ConfigurationSet cs, _SingletonContainerAdaptor pi) -> ConfigurationSetXYZEmbedding
668  """
669  this = _IMP_statistics.new_ConfigurationSetXYZEmbedding(*args)
670  try: self.this.append(this)
671  except: self.this = this
672  def get_version_info(self):
673  """get_version_info(ConfigurationSetXYZEmbedding self) -> VersionInfo"""
674  return _IMP_statistics.ConfigurationSetXYZEmbedding_get_version_info(self)
675 
676  def __str__(self):
677  """__str__(ConfigurationSetXYZEmbedding self) -> std::string"""
678  return _IMP_statistics.ConfigurationSetXYZEmbedding___str__(self)
679 
680  def __repr__(self):
681  """__repr__(ConfigurationSetXYZEmbedding self) -> std::string"""
682  return _IMP_statistics.ConfigurationSetXYZEmbedding___repr__(self)
683 
684  def get_from(o):
685  return _object_cast_to_ConfigurationSetXYZEmbedding(o)
686  get_from = staticmethod(get_from)
687 
688 ConfigurationSetXYZEmbedding_swigregister = _IMP_statistics.ConfigurationSetXYZEmbedding_swigregister
689 ConfigurationSetXYZEmbedding_swigregister(ConfigurationSetXYZEmbedding)
690 
691 class ParticleEmbedding(Embedding):
692  """Proxy of C++ IMP::statistics::ParticleEmbedding class"""
693  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
694  def __init__(self, *args):
695  """
696  __init__(IMP::statistics::ParticleEmbedding self, IMP::kernel::ParticlesTemp const & ps, IMP::kernel::FloatKeys const & ks=IMP::kernel::FloatKeys(
697  IMP::kernel::internal::
698  xyzr_keys,
699  IMP::kernel::internal::
700  xyzr_keys +
701  3),
702  bool rescale=False) -> ParticleEmbedding
703  __init__(IMP::statistics::ParticleEmbedding self, IMP::kernel::ParticlesTemp const & ps, IMP::kernel::FloatKeys const & ks=IMP::kernel::FloatKeys(
704  IMP::kernel::internal::
705  xyzr_keys,
706  IMP::kernel::internal::
707  xyzr_keys +
708  3)) -> ParticleEmbedding
709  __init__(IMP::statistics::ParticleEmbedding self, IMP::kernel::ParticlesTemp const & ps) -> ParticleEmbedding
710  """
711  this = _IMP_statistics.new_ParticleEmbedding(*args)
712  try: self.this.append(this)
713  except: self.this = this
714  def get_version_info(self):
715  """get_version_info(ParticleEmbedding self) -> VersionInfo"""
716  return _IMP_statistics.ParticleEmbedding_get_version_info(self)
717 
718  def __str__(self):
719  """__str__(ParticleEmbedding self) -> std::string"""
720  return _IMP_statistics.ParticleEmbedding___str__(self)
721 
722  def __repr__(self):
723  """__repr__(ParticleEmbedding self) -> std::string"""
724  return _IMP_statistics.ParticleEmbedding___repr__(self)
725 
726  def get_from(o):
727  return _object_cast_to_ParticleEmbedding(o)
728  get_from = staticmethod(get_from)
729 
730 ParticleEmbedding_swigregister = _IMP_statistics.ParticleEmbedding_swigregister
731 ParticleEmbedding_swigregister(ParticleEmbedding)
732 
733 class VectorDEmbedding(Embedding):
734  """Proxy of C++ IMP::statistics::VectorDEmbedding class"""
735  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
736  def __init__(self, *args):
737  """
738  __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::VectorKDs const & vs) -> VectorDEmbedding
739  __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector2Ds const & vs) -> VectorDEmbedding
740  __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector3Ds const & vs) -> VectorDEmbedding
741  __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector4Ds const & vs) -> VectorDEmbedding
742  __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector5Ds const & vs) -> VectorDEmbedding
743  __init__(IMP::statistics::VectorDEmbedding self, IMP::algebra::Vector6Ds const & vs) -> VectorDEmbedding
744  """
745  this = _IMP_statistics.new_VectorDEmbedding(*args)
746  try: self.this.append(this)
747  except: self.this = this
748  def get_version_info(self):
749  """get_version_info(VectorDEmbedding self) -> VersionInfo"""
750  return _IMP_statistics.VectorDEmbedding_get_version_info(self)
751 
752  def __str__(self):
753  """__str__(VectorDEmbedding self) -> std::string"""
754  return _IMP_statistics.VectorDEmbedding___str__(self)
755 
756  def __repr__(self):
757  """__repr__(VectorDEmbedding self) -> std::string"""
758  return _IMP_statistics.VectorDEmbedding___repr__(self)
759 
760  def get_from(o):
761  return _object_cast_to_VectorDEmbedding(o)
762  get_from = staticmethod(get_from)
763 
764 VectorDEmbedding_swigregister = _IMP_statistics.VectorDEmbedding_swigregister
765 VectorDEmbedding_swigregister(VectorDEmbedding)
766 
767 class EuclideanMetric(Metric):
768  """Proxy of C++ IMP::statistics::EuclideanMetric class"""
769  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
770  def __init__(self, *args):
771  """__init__(IMP::statistics::EuclideanMetric self, Embedding em) -> EuclideanMetric"""
772  this = _IMP_statistics.new_EuclideanMetric(*args)
773  try: self.this.append(this)
774  except: self.this = this
775  def get_version_info(self):
776  """get_version_info(EuclideanMetric self) -> VersionInfo"""
777  return _IMP_statistics.EuclideanMetric_get_version_info(self)
778 
779  def __str__(self):
780  """__str__(EuclideanMetric self) -> std::string"""
781  return _IMP_statistics.EuclideanMetric___str__(self)
782 
783  def __repr__(self):
784  """__repr__(EuclideanMetric self) -> std::string"""
785  return _IMP_statistics.EuclideanMetric___repr__(self)
786 
787  def get_from(o):
788  return _object_cast_to_EuclideanMetric(o)
789  get_from = staticmethod(get_from)
790 
791 EuclideanMetric_swigregister = _IMP_statistics.EuclideanMetric_swigregister
792 EuclideanMetric_swigregister(EuclideanMetric)
793 
794 class ConfigurationSetRMSDMetric(Metric):
795  """Proxy of C++ IMP::statistics::ConfigurationSetRMSDMetric class"""
796  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
797  def __init__(self, *args):
798  """
799  __init__(IMP::statistics::ConfigurationSetRMSDMetric self, ConfigurationSet cs, SingletonContainer sc, bool align=False) -> ConfigurationSetRMSDMetric
800  __init__(IMP::statistics::ConfigurationSetRMSDMetric self, ConfigurationSet cs, SingletonContainer sc) -> ConfigurationSetRMSDMetric
801  """
802  this = _IMP_statistics.new_ConfigurationSetRMSDMetric(*args)
803  try: self.this.append(this)
804  except: self.this = this
805  def get_version_info(self):
806  """get_version_info(ConfigurationSetRMSDMetric self) -> VersionInfo"""
807  return _IMP_statistics.ConfigurationSetRMSDMetric_get_version_info(self)
808 
809  def __str__(self):
810  """__str__(ConfigurationSetRMSDMetric self) -> std::string"""
811  return _IMP_statistics.ConfigurationSetRMSDMetric___str__(self)
812 
813  def __repr__(self):
814  """__repr__(ConfigurationSetRMSDMetric self) -> std::string"""
815  return _IMP_statistics.ConfigurationSetRMSDMetric___repr__(self)
816 
817  def get_from(o):
818  return _object_cast_to_ConfigurationSetRMSDMetric(o)
819  get_from = staticmethod(get_from)
820 
821 ConfigurationSetRMSDMetric_swigregister = _IMP_statistics.ConfigurationSetRMSDMetric_swigregister
822 ConfigurationSetRMSDMetric_swigregister(ConfigurationSetRMSDMetric)
823 
824 
825 def create_lloyds_kmeans(*args):
826  """create_lloyds_kmeans(Embedding embedding, unsigned int k, unsigned int iterations) -> PartitionalClusteringWithCenter"""
827  return _IMP_statistics.create_lloyds_kmeans(*args)
828 
829 def create_bin_based_clustering(*args):
830  """create_bin_based_clustering(Embedding embed, double side) -> PartitionalClusteringWithCenter"""
831  return _IMP_statistics.create_bin_based_clustering(*args)
832 
834  """
835  create_centrality_clustering(Embedding d, double far, int k) -> PartitionalClustering
836  create_centrality_clustering(Metric d, double far, int k) -> PartitionalClustering
837  """
838  return _IMP_statistics.create_centrality_clustering(*args)
839 
840 def create_diameter_clustering(*args):
841  """create_diameter_clustering(Metric d, double maximum_diameter) -> PartitionalClustering"""
842  return _IMP_statistics.create_diameter_clustering(*args)
843 
845  """
846  create_connectivity_clustering(Embedding embed, double dist) -> PartitionalClusteringWithCenter
847  create_connectivity_clustering(Metric metric, double dist) -> PartitionalClustering
848  """
849  return _IMP_statistics.create_connectivity_clustering(*args)
850 
851 def create_gromos_clustering(*args):
852  """create_gromos_clustering(Metric d, double cutoff) -> PartitionalClustering"""
853  return _IMP_statistics.create_gromos_clustering(*args)
854 
855 def get_quantile(*args):
856  """get_quantile(Histogram1D h, double fraction) -> double"""
857  return _IMP_statistics.get_quantile(*args)
858 
859 def get_centroids(*args):
860  """get_centroids(Embedding d, PartitionalClustering pc) -> IMP::algebra::VectorKDs"""
861  return _IMP_statistics.get_centroids(*args)
862 
863 def get_representatives(*args):
864  """get_representatives(Embedding d, PartitionalClustering pc) -> IMP::Ints"""
865  return _IMP_statistics.get_representatives(*args)
866 class RecursivePartitionalClusteringEmbedding(Embedding):
867  """Proxy of C++ IMP::statistics::RecursivePartitionalClusteringEmbedding class"""
868  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
869  def __init__(self, *args):
870  """__init__(IMP::statistics::RecursivePartitionalClusteringEmbedding self, Embedding metric, PartitionalClustering clustering) -> RecursivePartitionalClusteringEmbedding"""
871  this = _IMP_statistics.new_RecursivePartitionalClusteringEmbedding(*args)
872  try: self.this.append(this)
873  except: self.this = this
874  def create_full_clustering(self, *args):
875  """create_full_clustering(RecursivePartitionalClusteringEmbedding self, PartitionalClustering center_cluster) -> PartitionalClustering"""
876  return _IMP_statistics.RecursivePartitionalClusteringEmbedding_create_full_clustering(self, *args)
877 
878  def get_version_info(self):
879  """get_version_info(RecursivePartitionalClusteringEmbedding self) -> VersionInfo"""
880  return _IMP_statistics.RecursivePartitionalClusteringEmbedding_get_version_info(self)
881 
882  def __str__(self):
883  """__str__(RecursivePartitionalClusteringEmbedding self) -> std::string"""
884  return _IMP_statistics.RecursivePartitionalClusteringEmbedding___str__(self)
885 
886  def __repr__(self):
887  """__repr__(RecursivePartitionalClusteringEmbedding self) -> std::string"""
888  return _IMP_statistics.RecursivePartitionalClusteringEmbedding___repr__(self)
889 
890  def get_from(o):
891  return _object_cast_to_RecursivePartitionalClusteringEmbedding(o)
892  get_from = staticmethod(get_from)
893 
894 RecursivePartitionalClusteringEmbedding_swigregister = _IMP_statistics.RecursivePartitionalClusteringEmbedding_swigregister
895 RecursivePartitionalClusteringEmbedding_swigregister(RecursivePartitionalClusteringEmbedding)
896 
897 class RecursivePartitionalClusteringMetric(Metric):
898  """Proxy of C++ IMP::statistics::RecursivePartitionalClusteringMetric class"""
899  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
900  def __init__(self, *args):
901  """__init__(IMP::statistics::RecursivePartitionalClusteringMetric self, Metric metric, PartitionalClustering clustering) -> RecursivePartitionalClusteringMetric"""
902  this = _IMP_statistics.new_RecursivePartitionalClusteringMetric(*args)
903  try: self.this.append(this)
904  except: self.this = this
905  def create_full_clustering(self, *args):
906  """create_full_clustering(RecursivePartitionalClusteringMetric self, PartitionalClustering center_cluster) -> PartitionalClustering"""
907  return _IMP_statistics.RecursivePartitionalClusteringMetric_create_full_clustering(self, *args)
908 
909  def get_version_info(self):
910  """get_version_info(RecursivePartitionalClusteringMetric self) -> VersionInfo"""
911  return _IMP_statistics.RecursivePartitionalClusteringMetric_get_version_info(self)
912 
913  def __str__(self):
914  """__str__(RecursivePartitionalClusteringMetric self) -> std::string"""
915  return _IMP_statistics.RecursivePartitionalClusteringMetric___str__(self)
916 
917  def __repr__(self):
918  """__repr__(RecursivePartitionalClusteringMetric self) -> std::string"""
919  return _IMP_statistics.RecursivePartitionalClusteringMetric___repr__(self)
920 
921  def get_from(o):
922  return _object_cast_to_RecursivePartitionalClusteringMetric(o)
923  get_from = staticmethod(get_from)
924 
925 RecursivePartitionalClusteringMetric_swigregister = _IMP_statistics.RecursivePartitionalClusteringMetric_swigregister
926 RecursivePartitionalClusteringMetric_swigregister(RecursivePartitionalClusteringMetric)
927 
928 class Histogram1D(IMP.algebra._GeometricPrimitive1D):
929  """Proxy of C++ IMP::statistics::HistogramD<(1)> class"""
930  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
931  def __init__(self, *args):
932  """
933  __init__(IMP::statistics::HistogramD<(1)> self) -> Histogram1D
934  __init__(IMP::statistics::HistogramD<(1)> self, double voxel_size, BoundingBox1D bb) -> Histogram1D
935  """
936  this = _IMP_statistics.new_Histogram1D(*args)
937  try: self.this.append(this)
938  except: self.this = this
939  def add(self, *args):
940  """
941  add(Histogram1D self, Vector1D x, double weight=1)
942  add(Histogram1D self, Vector1D x)
943  """
944  return _IMP_statistics.Histogram1D_add(self, *args)
945 
946  def get_total_count(self):
947  """get_total_count(Histogram1D self) -> double"""
948  return _IMP_statistics.Histogram1D_get_total_count(self)
949 
950  def get_frequencies(self):
951  """get_frequencies(Histogram1D self) -> Histogram1D"""
952  return _IMP_statistics.Histogram1D_get_frequencies(self)
953 
954  def get_probability_distribution_function(self):
955  """get_probability_distribution_function(Histogram1D self) -> Histogram1D"""
956  return _IMP_statistics.Histogram1D_get_probability_distribution_function(self)
957 
958  def get_counts(self):
959  """get_counts(Histogram1D self) -> _HistogramCountsGrid1D"""
960  return _IMP_statistics.Histogram1D_get_counts(self)
961 
962  def get_mean(self):
963  """get_mean(Histogram1D self) -> Vector1D"""
964  return _IMP_statistics.Histogram1D_get_mean(self)
965 
966  def get_dimension(self):
967  """get_dimension(Histogram1D self) -> unsigned int"""
968  return _IMP_statistics.Histogram1D_get_dimension(self)
969 
970  def get_standard_deviation(self, *args):
971  """get_standard_deviation(Histogram1D self, Vector1D mean) -> Vector1D"""
972  return _IMP_statistics.Histogram1D_get_standard_deviation(self, *args)
973 
974  def get_bounding_box(self):
975  """get_bounding_box(Histogram1D self) -> BoundingBox1D"""
976  return _IMP_statistics.Histogram1D_get_bounding_box(self)
977 
978  def get_minimum_and_maximum(self):
979  """get_minimum_and_maximum(Histogram1D self) -> IMP::FloatPair"""
980  return _IMP_statistics.Histogram1D_get_minimum_and_maximum(self)
981 
982  def show(self, *args):
983  """
984  show(Histogram1D self, _ostream out=std::cout)
985  show(Histogram1D self)
986  """
987  return _IMP_statistics.Histogram1D_show(self, *args)
988 
989  def __str__(self):
990  """__str__(Histogram1D self) -> std::string"""
991  return _IMP_statistics.Histogram1D___str__(self)
992 
993  def __repr__(self):
994  """__repr__(Histogram1D self) -> std::string"""
995  return _IMP_statistics.Histogram1D___repr__(self)
996 
997  def __cmp__(self, *args):
998  """__cmp__(Histogram1D self, Histogram1D arg2) -> int"""
999  return _IMP_statistics.Histogram1D___cmp__(self, *args)
1000 
1001  def __eq__(self, *args):
1002  """__eq__(Histogram1D self, Histogram1D arg2) -> bool"""
1003  return _IMP_statistics.Histogram1D___eq__(self, *args)
1004 
1005  __swig_destroy__ = _IMP_statistics.delete_Histogram1D
1006  __del__ = lambda self : None;
1007 Histogram1D_swigregister = _IMP_statistics.Histogram1D_swigregister
1008 Histogram1D_swigregister(Histogram1D)
1009 
1010 class Histogram2D(IMP.algebra._GeometricPrimitive2D):
1011  """Proxy of C++ IMP::statistics::HistogramD<(2)> class"""
1012  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1013  def __init__(self, *args):
1014  """
1015  __init__(IMP::statistics::HistogramD<(2)> self) -> Histogram2D
1016  __init__(IMP::statistics::HistogramD<(2)> self, double voxel_size, BoundingBox2D bb) -> Histogram2D
1017  """
1018  this = _IMP_statistics.new_Histogram2D(*args)
1019  try: self.this.append(this)
1020  except: self.this = this
1021  def add(self, *args):
1022  """
1023  add(Histogram2D self, Vector2D x, double weight=1)
1024  add(Histogram2D self, Vector2D x)
1025  """
1026  return _IMP_statistics.Histogram2D_add(self, *args)
1027 
1028  def get_total_count(self):
1029  """get_total_count(Histogram2D self) -> double"""
1030  return _IMP_statistics.Histogram2D_get_total_count(self)
1031 
1032  def get_frequencies(self):
1033  """get_frequencies(Histogram2D self) -> Histogram2D"""
1034  return _IMP_statistics.Histogram2D_get_frequencies(self)
1035 
1036  def get_probability_distribution_function(self):
1037  """get_probability_distribution_function(Histogram2D self) -> Histogram2D"""
1038  return _IMP_statistics.Histogram2D_get_probability_distribution_function(self)
1039 
1040  def get_counts(self):
1041  """get_counts(Histogram2D self) -> _HistogramCountsGrid2D"""
1042  return _IMP_statistics.Histogram2D_get_counts(self)
1043 
1044  def get_mean(self):
1045  """get_mean(Histogram2D self) -> Vector2D"""
1046  return _IMP_statistics.Histogram2D_get_mean(self)
1047 
1048  def get_dimension(self):
1049  """get_dimension(Histogram2D self) -> unsigned int"""
1050  return _IMP_statistics.Histogram2D_get_dimension(self)
1051 
1052  def get_standard_deviation(self, *args):
1053  """get_standard_deviation(Histogram2D self, Vector2D mean) -> Vector2D"""
1054  return _IMP_statistics.Histogram2D_get_standard_deviation(self, *args)
1055 
1056  def get_bounding_box(self):
1057  """get_bounding_box(Histogram2D self) -> BoundingBox2D"""
1058  return _IMP_statistics.Histogram2D_get_bounding_box(self)
1059 
1060  def get_minimum_and_maximum(self):
1061  """get_minimum_and_maximum(Histogram2D self) -> IMP::FloatPair"""
1062  return _IMP_statistics.Histogram2D_get_minimum_and_maximum(self)
1063 
1064  def show(self, *args):
1065  """
1066  show(Histogram2D self, _ostream out=std::cout)
1067  show(Histogram2D self)
1068  """
1069  return _IMP_statistics.Histogram2D_show(self, *args)
1070 
1071  def __str__(self):
1072  """__str__(Histogram2D self) -> std::string"""
1073  return _IMP_statistics.Histogram2D___str__(self)
1074 
1075  def __repr__(self):
1076  """__repr__(Histogram2D self) -> std::string"""
1077  return _IMP_statistics.Histogram2D___repr__(self)
1078 
1079  def __cmp__(self, *args):
1080  """__cmp__(Histogram2D self, Histogram2D arg2) -> int"""
1081  return _IMP_statistics.Histogram2D___cmp__(self, *args)
1082 
1083  def __eq__(self, *args):
1084  """__eq__(Histogram2D self, Histogram2D arg2) -> bool"""
1085  return _IMP_statistics.Histogram2D___eq__(self, *args)
1086 
1087  __swig_destroy__ = _IMP_statistics.delete_Histogram2D
1088  __del__ = lambda self : None;
1089 Histogram2D_swigregister = _IMP_statistics.Histogram2D_swigregister
1090 Histogram2D_swigregister(Histogram2D)
1091 
1092 class Histogram3D(IMP.algebra._GeometricPrimitive3D):
1093  """Proxy of C++ IMP::statistics::HistogramD<(3)> class"""
1094  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1095  def __init__(self, *args):
1096  """
1097  __init__(IMP::statistics::HistogramD<(3)> self) -> Histogram3D
1098  __init__(IMP::statistics::HistogramD<(3)> self, double voxel_size, BoundingBox3D bb) -> Histogram3D
1099  """
1100  this = _IMP_statistics.new_Histogram3D(*args)
1101  try: self.this.append(this)
1102  except: self.this = this
1103  def add(self, *args):
1104  """
1105  add(Histogram3D self, Vector3D x, double weight=1)
1106  add(Histogram3D self, Vector3D x)
1107  """
1108  return _IMP_statistics.Histogram3D_add(self, *args)
1109 
1110  def get_total_count(self):
1111  """get_total_count(Histogram3D self) -> double"""
1112  return _IMP_statistics.Histogram3D_get_total_count(self)
1113 
1114  def get_frequencies(self):
1115  """get_frequencies(Histogram3D self) -> Histogram3D"""
1116  return _IMP_statistics.Histogram3D_get_frequencies(self)
1117 
1118  def get_probability_distribution_function(self):
1119  """get_probability_distribution_function(Histogram3D self) -> Histogram3D"""
1120  return _IMP_statistics.Histogram3D_get_probability_distribution_function(self)
1121 
1122  def get_counts(self):
1123  """get_counts(Histogram3D self) -> _HistogramCountsGrid3D"""
1124  return _IMP_statistics.Histogram3D_get_counts(self)
1125 
1126  def get_mean(self):
1127  """get_mean(Histogram3D self) -> Vector3D"""
1128  return _IMP_statistics.Histogram3D_get_mean(self)
1129 
1130  def get_dimension(self):
1131  """get_dimension(Histogram3D self) -> unsigned int"""
1132  return _IMP_statistics.Histogram3D_get_dimension(self)
1133 
1134  def get_standard_deviation(self, *args):
1135  """get_standard_deviation(Histogram3D self, Vector3D mean) -> Vector3D"""
1136  return _IMP_statistics.Histogram3D_get_standard_deviation(self, *args)
1137 
1138  def get_bounding_box(self):
1139  """get_bounding_box(Histogram3D self) -> BoundingBox3D"""
1140  return _IMP_statistics.Histogram3D_get_bounding_box(self)
1141 
1142  def get_minimum_and_maximum(self):
1143  """get_minimum_and_maximum(Histogram3D self) -> IMP::FloatPair"""
1144  return _IMP_statistics.Histogram3D_get_minimum_and_maximum(self)
1145 
1146  def show(self, *args):
1147  """
1148  show(Histogram3D self, _ostream out=std::cout)
1149  show(Histogram3D self)
1150  """
1151  return _IMP_statistics.Histogram3D_show(self, *args)
1152 
1153  def __str__(self):
1154  """__str__(Histogram3D self) -> std::string"""
1155  return _IMP_statistics.Histogram3D___str__(self)
1156 
1157  def __repr__(self):
1158  """__repr__(Histogram3D self) -> std::string"""
1159  return _IMP_statistics.Histogram3D___repr__(self)
1160 
1161  def __cmp__(self, *args):
1162  """__cmp__(Histogram3D self, Histogram3D arg2) -> int"""
1163  return _IMP_statistics.Histogram3D___cmp__(self, *args)
1164 
1165  def __eq__(self, *args):
1166  """__eq__(Histogram3D self, Histogram3D arg2) -> bool"""
1167  return _IMP_statistics.Histogram3D___eq__(self, *args)
1168 
1169  __swig_destroy__ = _IMP_statistics.delete_Histogram3D
1170  __del__ = lambda self : None;
1171 Histogram3D_swigregister = _IMP_statistics.Histogram3D_swigregister
1172 Histogram3D_swigregister(Histogram3D)
1173 
1174 class Histogram4D(IMP.algebra._GeometricPrimitive4D):
1175  """Proxy of C++ IMP::statistics::HistogramD<(4)> class"""
1176  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1177  def __init__(self, *args):
1178  """
1179  __init__(IMP::statistics::HistogramD<(4)> self) -> Histogram4D
1180  __init__(IMP::statistics::HistogramD<(4)> self, double voxel_size, BoundingBox4D bb) -> Histogram4D
1181  """
1182  this = _IMP_statistics.new_Histogram4D(*args)
1183  try: self.this.append(this)
1184  except: self.this = this
1185  def add(self, *args):
1186  """
1187  add(Histogram4D self, Vector4D x, double weight=1)
1188  add(Histogram4D self, Vector4D x)
1189  """
1190  return _IMP_statistics.Histogram4D_add(self, *args)
1191 
1192  def get_total_count(self):
1193  """get_total_count(Histogram4D self) -> double"""
1194  return _IMP_statistics.Histogram4D_get_total_count(self)
1195 
1196  def get_frequencies(self):
1197  """get_frequencies(Histogram4D self) -> Histogram4D"""
1198  return _IMP_statistics.Histogram4D_get_frequencies(self)
1199 
1200  def get_probability_distribution_function(self):
1201  """get_probability_distribution_function(Histogram4D self) -> Histogram4D"""
1202  return _IMP_statistics.Histogram4D_get_probability_distribution_function(self)
1203 
1204  def get_counts(self):
1205  """get_counts(Histogram4D self) -> _HistogramCountsGrid4D"""
1206  return _IMP_statistics.Histogram4D_get_counts(self)
1207 
1208  def get_mean(self):
1209  """get_mean(Histogram4D self) -> Vector4D"""
1210  return _IMP_statistics.Histogram4D_get_mean(self)
1211 
1212  def get_dimension(self):
1213  """get_dimension(Histogram4D self) -> unsigned int"""
1214  return _IMP_statistics.Histogram4D_get_dimension(self)
1215 
1216  def get_standard_deviation(self, *args):
1217  """get_standard_deviation(Histogram4D self, Vector4D mean) -> Vector4D"""
1218  return _IMP_statistics.Histogram4D_get_standard_deviation(self, *args)
1219 
1220  def get_bounding_box(self):
1221  """get_bounding_box(Histogram4D self) -> BoundingBox4D"""
1222  return _IMP_statistics.Histogram4D_get_bounding_box(self)
1223 
1224  def get_minimum_and_maximum(self):
1225  """get_minimum_and_maximum(Histogram4D self) -> IMP::FloatPair"""
1226  return _IMP_statistics.Histogram4D_get_minimum_and_maximum(self)
1227 
1228  def show(self, *args):
1229  """
1230  show(Histogram4D self, _ostream out=std::cout)
1231  show(Histogram4D self)
1232  """
1233  return _IMP_statistics.Histogram4D_show(self, *args)
1234 
1235  def __str__(self):
1236  """__str__(Histogram4D self) -> std::string"""
1237  return _IMP_statistics.Histogram4D___str__(self)
1238 
1239  def __repr__(self):
1240  """__repr__(Histogram4D self) -> std::string"""
1241  return _IMP_statistics.Histogram4D___repr__(self)
1242 
1243  def __cmp__(self, *args):
1244  """__cmp__(Histogram4D self, Histogram4D arg2) -> int"""
1245  return _IMP_statistics.Histogram4D___cmp__(self, *args)
1246 
1247  def __eq__(self, *args):
1248  """__eq__(Histogram4D self, Histogram4D arg2) -> bool"""
1249  return _IMP_statistics.Histogram4D___eq__(self, *args)
1250 
1251  __swig_destroy__ = _IMP_statistics.delete_Histogram4D
1252  __del__ = lambda self : None;
1253 Histogram4D_swigregister = _IMP_statistics.Histogram4D_swigregister
1254 Histogram4D_swigregister(Histogram4D)
1255 
1256 class Histogram5D(IMP.algebra._GeometricPrimitive5D):
1257  """Proxy of C++ IMP::statistics::HistogramD<(5)> class"""
1258  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1259  def __init__(self, *args):
1260  """
1261  __init__(IMP::statistics::HistogramD<(5)> self) -> Histogram5D
1262  __init__(IMP::statistics::HistogramD<(5)> self, double voxel_size, BoundingBox5D bb) -> Histogram5D
1263  """
1264  this = _IMP_statistics.new_Histogram5D(*args)
1265  try: self.this.append(this)
1266  except: self.this = this
1267  def add(self, *args):
1268  """
1269  add(Histogram5D self, Vector5D x, double weight=1)
1270  add(Histogram5D self, Vector5D x)
1271  """
1272  return _IMP_statistics.Histogram5D_add(self, *args)
1273 
1274  def get_total_count(self):
1275  """get_total_count(Histogram5D self) -> double"""
1276  return _IMP_statistics.Histogram5D_get_total_count(self)
1277 
1278  def get_frequencies(self):
1279  """get_frequencies(Histogram5D self) -> Histogram5D"""
1280  return _IMP_statistics.Histogram5D_get_frequencies(self)
1281 
1282  def get_probability_distribution_function(self):
1283  """get_probability_distribution_function(Histogram5D self) -> Histogram5D"""
1284  return _IMP_statistics.Histogram5D_get_probability_distribution_function(self)
1285 
1286  def get_counts(self):
1287  """get_counts(Histogram5D self) -> _HistogramCountsGrid5D"""
1288  return _IMP_statistics.Histogram5D_get_counts(self)
1289 
1290  def get_mean(self):
1291  """get_mean(Histogram5D self) -> Vector5D"""
1292  return _IMP_statistics.Histogram5D_get_mean(self)
1293 
1294  def get_dimension(self):
1295  """get_dimension(Histogram5D self) -> unsigned int"""
1296  return _IMP_statistics.Histogram5D_get_dimension(self)
1297 
1298  def get_standard_deviation(self, *args):
1299  """get_standard_deviation(Histogram5D self, Vector5D mean) -> Vector5D"""
1300  return _IMP_statistics.Histogram5D_get_standard_deviation(self, *args)
1301 
1302  def get_bounding_box(self):
1303  """get_bounding_box(Histogram5D self) -> BoundingBox5D"""
1304  return _IMP_statistics.Histogram5D_get_bounding_box(self)
1305 
1306  def get_minimum_and_maximum(self):
1307  """get_minimum_and_maximum(Histogram5D self) -> IMP::FloatPair"""
1308  return _IMP_statistics.Histogram5D_get_minimum_and_maximum(self)
1309 
1310  def show(self, *args):
1311  """
1312  show(Histogram5D self, _ostream out=std::cout)
1313  show(Histogram5D self)
1314  """
1315  return _IMP_statistics.Histogram5D_show(self, *args)
1316 
1317  def __str__(self):
1318  """__str__(Histogram5D self) -> std::string"""
1319  return _IMP_statistics.Histogram5D___str__(self)
1320 
1321  def __repr__(self):
1322  """__repr__(Histogram5D self) -> std::string"""
1323  return _IMP_statistics.Histogram5D___repr__(self)
1324 
1325  def __cmp__(self, *args):
1326  """__cmp__(Histogram5D self, Histogram5D arg2) -> int"""
1327  return _IMP_statistics.Histogram5D___cmp__(self, *args)
1328 
1329  def __eq__(self, *args):
1330  """__eq__(Histogram5D self, Histogram5D arg2) -> bool"""
1331  return _IMP_statistics.Histogram5D___eq__(self, *args)
1332 
1333  __swig_destroy__ = _IMP_statistics.delete_Histogram5D
1334  __del__ = lambda self : None;
1335 Histogram5D_swigregister = _IMP_statistics.Histogram5D_swigregister
1336 Histogram5D_swigregister(Histogram5D)
1337 
1338 class Histogram6D(IMP.algebra._GeometricPrimitive6D):
1339  """Proxy of C++ IMP::statistics::HistogramD<(6)> class"""
1340  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1341  def __init__(self, *args):
1342  """
1343  __init__(IMP::statistics::HistogramD<(6)> self) -> Histogram6D
1344  __init__(IMP::statistics::HistogramD<(6)> self, double voxel_size, BoundingBox6D bb) -> Histogram6D
1345  """
1346  this = _IMP_statistics.new_Histogram6D(*args)
1347  try: self.this.append(this)
1348  except: self.this = this
1349  def add(self, *args):
1350  """
1351  add(Histogram6D self, Vector6D x, double weight=1)
1352  add(Histogram6D self, Vector6D x)
1353  """
1354  return _IMP_statistics.Histogram6D_add(self, *args)
1355 
1356  def get_total_count(self):
1357  """get_total_count(Histogram6D self) -> double"""
1358  return _IMP_statistics.Histogram6D_get_total_count(self)
1359 
1360  def get_frequencies(self):
1361  """get_frequencies(Histogram6D self) -> Histogram6D"""
1362  return _IMP_statistics.Histogram6D_get_frequencies(self)
1363 
1364  def get_probability_distribution_function(self):
1365  """get_probability_distribution_function(Histogram6D self) -> Histogram6D"""
1366  return _IMP_statistics.Histogram6D_get_probability_distribution_function(self)
1367 
1368  def get_counts(self):
1369  """get_counts(Histogram6D self) -> _HistogramCountsGrid6D"""
1370  return _IMP_statistics.Histogram6D_get_counts(self)
1371 
1372  def get_mean(self):
1373  """get_mean(Histogram6D self) -> Vector6D"""
1374  return _IMP_statistics.Histogram6D_get_mean(self)
1375 
1376  def get_dimension(self):
1377  """get_dimension(Histogram6D self) -> unsigned int"""
1378  return _IMP_statistics.Histogram6D_get_dimension(self)
1379 
1380  def get_standard_deviation(self, *args):
1381  """get_standard_deviation(Histogram6D self, Vector6D mean) -> Vector6D"""
1382  return _IMP_statistics.Histogram6D_get_standard_deviation(self, *args)
1383 
1384  def get_bounding_box(self):
1385  """get_bounding_box(Histogram6D self) -> BoundingBox6D"""
1386  return _IMP_statistics.Histogram6D_get_bounding_box(self)
1387 
1388  def get_minimum_and_maximum(self):
1389  """get_minimum_and_maximum(Histogram6D self) -> IMP::FloatPair"""
1390  return _IMP_statistics.Histogram6D_get_minimum_and_maximum(self)
1391 
1392  def show(self, *args):
1393  """
1394  show(Histogram6D self, _ostream out=std::cout)
1395  show(Histogram6D self)
1396  """
1397  return _IMP_statistics.Histogram6D_show(self, *args)
1398 
1399  def __str__(self):
1400  """__str__(Histogram6D self) -> std::string"""
1401  return _IMP_statistics.Histogram6D___str__(self)
1402 
1403  def __repr__(self):
1404  """__repr__(Histogram6D self) -> std::string"""
1405  return _IMP_statistics.Histogram6D___repr__(self)
1406 
1407  def __cmp__(self, *args):
1408  """__cmp__(Histogram6D self, Histogram6D arg2) -> int"""
1409  return _IMP_statistics.Histogram6D___cmp__(self, *args)
1410 
1411  def __eq__(self, *args):
1412  """__eq__(Histogram6D self, Histogram6D arg2) -> bool"""
1413  return _IMP_statistics.Histogram6D___eq__(self, *args)
1414 
1415  __swig_destroy__ = _IMP_statistics.delete_Histogram6D
1416  __del__ = lambda self : None;
1417 Histogram6D_swigregister = _IMP_statistics.Histogram6D_swigregister
1418 Histogram6D_swigregister(Histogram6D)
1419 
1420 class HistogramKD(IMP.algebra._GeometricPrimitiveKD):
1421  """Proxy of C++ IMP::statistics::HistogramD<(-1)> class"""
1422  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1423  def __init__(self, *args):
1424  """
1425  __init__(IMP::statistics::HistogramD<(-1)> self) -> HistogramKD
1426  __init__(IMP::statistics::HistogramD<(-1)> self, double voxel_size, BoundingBoxKD bb) -> HistogramKD
1427  """
1428  this = _IMP_statistics.new_HistogramKD(*args)
1429  try: self.this.append(this)
1430  except: self.this = this
1431  def add(self, *args):
1432  """
1433  add(HistogramKD self, VectorKD x, double weight=1)
1434  add(HistogramKD self, VectorKD x)
1435  """
1436  return _IMP_statistics.HistogramKD_add(self, *args)
1437 
1438  def get_total_count(self):
1439  """get_total_count(HistogramKD self) -> double"""
1440  return _IMP_statistics.HistogramKD_get_total_count(self)
1441 
1442  def get_frequencies(self):
1443  """get_frequencies(HistogramKD self) -> HistogramKD"""
1444  return _IMP_statistics.HistogramKD_get_frequencies(self)
1445 
1446  def get_probability_distribution_function(self):
1447  """get_probability_distribution_function(HistogramKD self) -> HistogramKD"""
1448  return _IMP_statistics.HistogramKD_get_probability_distribution_function(self)
1449 
1450  def get_counts(self):
1451  """get_counts(HistogramKD self) -> _HistogramCountsGridKD"""
1452  return _IMP_statistics.HistogramKD_get_counts(self)
1453 
1454  def get_mean(self):
1455  """get_mean(HistogramKD self) -> VectorKD"""
1456  return _IMP_statistics.HistogramKD_get_mean(self)
1457 
1458  def get_dimension(self):
1459  """get_dimension(HistogramKD self) -> unsigned int"""
1460  return _IMP_statistics.HistogramKD_get_dimension(self)
1461 
1462  def get_standard_deviation(self, *args):
1463  """get_standard_deviation(HistogramKD self, VectorKD mean) -> VectorKD"""
1464  return _IMP_statistics.HistogramKD_get_standard_deviation(self, *args)
1465 
1466  def get_bounding_box(self):
1467  """get_bounding_box(HistogramKD self) -> BoundingBoxKD"""
1468  return _IMP_statistics.HistogramKD_get_bounding_box(self)
1469 
1470  def get_minimum_and_maximum(self):
1471  """get_minimum_and_maximum(HistogramKD self) -> IMP::FloatPair"""
1472  return _IMP_statistics.HistogramKD_get_minimum_and_maximum(self)
1473 
1474  def show(self, *args):
1475  """
1476  show(HistogramKD self, _ostream out=std::cout)
1477  show(HistogramKD self)
1478  """
1479  return _IMP_statistics.HistogramKD_show(self, *args)
1480 
1481  def __str__(self):
1482  """__str__(HistogramKD self) -> std::string"""
1483  return _IMP_statistics.HistogramKD___str__(self)
1484 
1485  def __repr__(self):
1486  """__repr__(HistogramKD self) -> std::string"""
1487  return _IMP_statistics.HistogramKD___repr__(self)
1488 
1489  def __cmp__(self, *args):
1490  """__cmp__(HistogramKD self, HistogramKD arg2) -> int"""
1491  return _IMP_statistics.HistogramKD___cmp__(self, *args)
1492 
1493  def __eq__(self, *args):
1494  """__eq__(HistogramKD self, HistogramKD arg2) -> bool"""
1495  return _IMP_statistics.HistogramKD___eq__(self, *args)
1496 
1497  __swig_destroy__ = _IMP_statistics.delete_HistogramKD
1498  __del__ = lambda self : None;
1499 HistogramKD_swigregister = _IMP_statistics.HistogramKD_swigregister
1500 HistogramKD_swigregister(HistogramKD)
1501 
1502 class _IntDenseGridStorageKD(IMP.algebra.BoundedGridRangeKD):
1503  """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,int)> class"""
1504  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1505  __repr__ = _swig_repr
1506  def __setitem__(self, *args):
1507  """
1508  __setitem__(_IntDenseGridStorageKD self, GridIndexKD i, int const & v)
1509  __setitem__(_IntDenseGridStorageKD self, unsigned int i, int const & v)
1510  """
1511  return _IMP_statistics._IntDenseGridStorageKD___setitem__(self, *args)
1512 
1513  def __getitem__(self, *args):
1514  """
1515  __getitem__(_IntDenseGridStorageKD self, GridIndexKD i) -> int const
1516  __getitem__(_IntDenseGridStorageKD self, unsigned int i) -> int const &
1517  """
1518  return _IMP_statistics._IntDenseGridStorageKD___getitem__(self, *args)
1519 
1520  def __init__(self, *args):
1521  """
1522  __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, _IntDenseGridStorageKD o) -> _IntDenseGridStorageKD
1523  __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorageKD
1524  __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorageKD
1525  __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self, int const & default_value=int()) -> _IntDenseGridStorageKD
1526  __init__(IMP::algebra::DenseGridStorageD<(-1,int)> self) -> _IntDenseGridStorageKD
1527  """
1528  this = _IMP_statistics.new__IntDenseGridStorageKD(*args)
1529  try: self.this.append(this)
1530  except: self.this = this
1531  def get_is_dense():
1532  """get_is_dense() -> bool"""
1533  return _IMP_statistics._IntDenseGridStorageKD_get_is_dense()
1534 
1535  get_is_dense = staticmethod(get_is_dense)
1536  def show(self, *args):
1537  """
1538  show(_IntDenseGridStorageKD self, _ostream out=std::cout)
1539  show(_IntDenseGridStorageKD self)
1540  """
1541  return _IMP_statistics._IntDenseGridStorageKD_show(self, *args)
1542 
1543  def add_voxel(self, *args):
1544  """add_voxel(_IntDenseGridStorageKD self, ExtendedGridIndexKD arg2, int const & arg3) -> GridIndexKD"""
1545  return _IMP_statistics._IntDenseGridStorageKD_add_voxel(self, *args)
1546 
1547  def get_all_voxels(self):
1548  """get_all_voxels(_IntDenseGridStorageKD self) -> IMP::base::Vector< int >"""
1549  return _IMP_statistics._IntDenseGridStorageKD_get_all_voxels(self)
1550 
1551  __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorageKD
1552  __del__ = lambda self : None;
1553 _IntDenseGridStorageKD_swigregister = _IMP_statistics._IntDenseGridStorageKD_swigregister
1554 _IntDenseGridStorageKD_swigregister(_IntDenseGridStorageKD)
1555 
1556 def _IntDenseGridStorageKD_get_is_dense():
1557  """_IntDenseGridStorageKD_get_is_dense() -> bool"""
1558  return _IMP_statistics._IntDenseGridStorageKD_get_is_dense()
1559 
1560 class _FloatDenseGridStorageKD(IMP.algebra.BoundedGridRangeKD):
1561  """Proxy of C++ IMP::algebra::DenseGridStorageD<(-1,double)> class"""
1562  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1563  __repr__ = _swig_repr
1564  def __setitem__(self, *args):
1565  """
1566  __setitem__(_FloatDenseGridStorageKD self, GridIndexKD i, double const & v)
1567  __setitem__(_FloatDenseGridStorageKD self, unsigned int i, double const & v)
1568  """
1569  return _IMP_statistics._FloatDenseGridStorageKD___setitem__(self, *args)
1570 
1571  def __getitem__(self, *args):
1572  """
1573  __getitem__(_FloatDenseGridStorageKD self, GridIndexKD i) -> double const
1574  __getitem__(_FloatDenseGridStorageKD self, unsigned int i) -> double const &
1575  """
1576  return _IMP_statistics._FloatDenseGridStorageKD___getitem__(self, *args)
1577 
1578  def __init__(self, *args):
1579  """
1580  __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, _FloatDenseGridStorageKD o) -> _FloatDenseGridStorageKD
1581  __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorageKD
1582  __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorageKD
1583  __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self, double const & default_value=double()) -> _FloatDenseGridStorageKD
1584  __init__(IMP::algebra::DenseGridStorageD<(-1,double)> self) -> _FloatDenseGridStorageKD
1585  """
1586  this = _IMP_statistics.new__FloatDenseGridStorageKD(*args)
1587  try: self.this.append(this)
1588  except: self.this = this
1589  def get_is_dense():
1590  """get_is_dense() -> bool"""
1591  return _IMP_statistics._FloatDenseGridStorageKD_get_is_dense()
1592 
1593  get_is_dense = staticmethod(get_is_dense)
1594  def show(self, *args):
1595  """
1596  show(_FloatDenseGridStorageKD self, _ostream out=std::cout)
1597  show(_FloatDenseGridStorageKD self)
1598  """
1599  return _IMP_statistics._FloatDenseGridStorageKD_show(self, *args)
1600 
1601  def add_voxel(self, *args):
1602  """add_voxel(_FloatDenseGridStorageKD self, ExtendedGridIndexKD arg2, double const & arg3) -> GridIndexKD"""
1603  return _IMP_statistics._FloatDenseGridStorageKD_add_voxel(self, *args)
1604 
1605  def get_all_voxels(self):
1606  """get_all_voxels(_FloatDenseGridStorageKD self) -> IMP::base::Vector< double >"""
1607  return _IMP_statistics._FloatDenseGridStorageKD_get_all_voxels(self)
1608 
1609  __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorageKD
1610  __del__ = lambda self : None;
1611 _FloatDenseGridStorageKD_swigregister = _IMP_statistics._FloatDenseGridStorageKD_swigregister
1612 _FloatDenseGridStorageKD_swigregister(_FloatDenseGridStorageKD)
1613 
1614 def _FloatDenseGridStorageKD_get_is_dense():
1615  """_FloatDenseGridStorageKD_get_is_dense() -> bool"""
1616  return _IMP_statistics._FloatDenseGridStorageKD_get_is_dense()
1617 
1618 class _HistogramCountsGridKD(_FloatDenseGridStorageKD,IMP.algebra.DefaultEmbeddingKD,IMP.algebra._GeometricPrimitiveKD):
1619  """Proxy of C++ IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> class"""
1620  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1621  __repr__ = _swig_repr
1622  def __init__(self, *args):
1623  """
1624  __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
1625  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, IMP::Ints const counts, BoundingBoxKD bb) -> _HistogramCountsGridKD
1626  __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
1627  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, BoundingBoxKD bb) -> _HistogramCountsGridKD
1628  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, VectorKD sides, BoundingBoxKD bb, double const & default_value=double()) -> _HistogramCountsGridKD
1629  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, VectorKD sides, BoundingBoxKD bb) -> _HistogramCountsGridKD
1630  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, _FloatDenseGridStorageKD storage, DefaultEmbeddingKD embed) -> _HistogramCountsGridKD
1631  __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
1632  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, double side, VectorKD origin) -> _HistogramCountsGridKD
1633  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, VectorKD sides, VectorKD origin, double const & default_value=double()) -> _HistogramCountsGridKD
1634  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self, VectorKD sides, VectorKD origin) -> _HistogramCountsGridKD
1635  __init__(IMP::algebra::GridD<(-1,IMP::algebra::DenseGridStorageD<(-1,double)>,double,IMP::algebra::DefaultEmbeddingD<(-1)>)> self) -> _HistogramCountsGridKD
1636  """
1637  this = _IMP_statistics.new__HistogramCountsGridKD(*args)
1638  try: self.this.append(this)
1639  except: self.this = this
1640  def show(self, *args):
1641  """
1642  show(_HistogramCountsGridKD self, _ostream out=std::cout)
1643  show(_HistogramCountsGridKD self)
1644  """
1645  return _IMP_statistics._HistogramCountsGridKD_show(self, *args)
1646 
1647  def __getitem__(self, *args):
1648  """
1649  __getitem__(_HistogramCountsGridKD self, VectorKD i) -> double const
1650  __getitem__(_HistogramCountsGridKD self, GridIndexKD i) -> double const &
1651  """
1652  return _IMP_statistics._HistogramCountsGridKD___getitem__(self, *args)
1653 
1654  def __setitem__(self, *args):
1655  """
1656  __setitem__(_HistogramCountsGridKD self, VectorKD i, double const & v)
1657  __setitem__(_HistogramCountsGridKD self, GridIndexKD i, double const & vt)
1658  """
1659  return _IMP_statistics._HistogramCountsGridKD___setitem__(self, *args)
1660 
1661  def add_voxel(self, *args):
1662  """add_voxel(_HistogramCountsGridKD self, VectorKD pt, double const & vt) -> GridIndexKD"""
1663  return _IMP_statistics._HistogramCountsGridKD_add_voxel(self, *args)
1664 
1665  def get_extended_index(self, *args):
1666  """get_extended_index(_HistogramCountsGridKD self, GridIndexKD index) -> ExtendedGridIndexKD"""
1667  return _IMP_statistics._HistogramCountsGridKD_get_extended_index(self, *args)
1668 
1669  def get_bounding_box(self, *args):
1670  """
1671  get_bounding_box(_HistogramCountsGridKD self) -> BoundingBoxKD
1672  get_bounding_box(_HistogramCountsGridKD self, ExtendedGridIndexKD i) -> BoundingBoxKD
1673  get_bounding_box(_HistogramCountsGridKD self, GridIndexKD i) -> BoundingBoxKD
1674  """
1675  return _IMP_statistics._HistogramCountsGridKD_get_bounding_box(self, *args)
1676 
1677  def set_bounding_box(self, *args):
1678  """set_bounding_box(_HistogramCountsGridKD self, BoundingBoxKD bb3)"""
1679  return _IMP_statistics._HistogramCountsGridKD_set_bounding_box(self, *args)
1680 
1681  def get_nearest_index(self, *args):
1682  """get_nearest_index(_HistogramCountsGridKD self, VectorKD pt) -> GridIndexKD"""
1683  return _IMP_statistics._HistogramCountsGridKD_get_nearest_index(self, *args)
1684 
1685  def get_nearest_extended_index(self, *args):
1686  """get_nearest_extended_index(_HistogramCountsGridKD self, VectorKD pt) -> ExtendedGridIndexKD"""
1687  return _IMP_statistics._HistogramCountsGridKD_get_nearest_extended_index(self, *args)
1688 
1689  __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGridKD
1690  __del__ = lambda self : None;
1691 _HistogramCountsGridKD_swigregister = _IMP_statistics._HistogramCountsGridKD_swigregister
1692 _HistogramCountsGridKD_swigregister(_HistogramCountsGridKD)
1693 
1694 class _IntDenseGridStorage1D(IMP.algebra.BoundedGridRange1D):
1695  """Proxy of C++ IMP::algebra::DenseGridStorageD<(1,int)> class"""
1696  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1697  __repr__ = _swig_repr
1698  def __setitem__(self, *args):
1699  """
1700  __setitem__(_IntDenseGridStorage1D self, GridIndex1D i, int const & v)
1701  __setitem__(_IntDenseGridStorage1D self, unsigned int i, int const & v)
1702  """
1703  return _IMP_statistics._IntDenseGridStorage1D___setitem__(self, *args)
1704 
1705  def __getitem__(self, *args):
1706  """
1707  __getitem__(_IntDenseGridStorage1D self, GridIndex1D i) -> int const
1708  __getitem__(_IntDenseGridStorage1D self, unsigned int i) -> int const &
1709  """
1710  return _IMP_statistics._IntDenseGridStorage1D___getitem__(self, *args)
1711 
1712  def __init__(self, *args):
1713  """
1714  __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, _IntDenseGridStorage1D o) -> _IntDenseGridStorage1D
1715  __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage1D
1716  __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage1D
1717  __init__(IMP::algebra::DenseGridStorageD<(1,int)> self, int const & default_value=int()) -> _IntDenseGridStorage1D
1718  __init__(IMP::algebra::DenseGridStorageD<(1,int)> self) -> _IntDenseGridStorage1D
1719  """
1720  this = _IMP_statistics.new__IntDenseGridStorage1D(*args)
1721  try: self.this.append(this)
1722  except: self.this = this
1723  def get_is_dense():
1724  """get_is_dense() -> bool"""
1725  return _IMP_statistics._IntDenseGridStorage1D_get_is_dense()
1726 
1727  get_is_dense = staticmethod(get_is_dense)
1728  def show(self, *args):
1729  """
1730  show(_IntDenseGridStorage1D self, _ostream out=std::cout)
1731  show(_IntDenseGridStorage1D self)
1732  """
1733  return _IMP_statistics._IntDenseGridStorage1D_show(self, *args)
1734 
1735  def add_voxel(self, *args):
1736  """add_voxel(_IntDenseGridStorage1D self, ExtendedGridIndex1D arg2, int const & arg3) -> GridIndex1D"""
1737  return _IMP_statistics._IntDenseGridStorage1D_add_voxel(self, *args)
1738 
1739  def get_all_voxels(self):
1740  """get_all_voxels(_IntDenseGridStorage1D self) -> IMP::base::Vector< int >"""
1741  return _IMP_statistics._IntDenseGridStorage1D_get_all_voxels(self)
1742 
1743  __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage1D
1744  __del__ = lambda self : None;
1745 _IntDenseGridStorage1D_swigregister = _IMP_statistics._IntDenseGridStorage1D_swigregister
1746 _IntDenseGridStorage1D_swigregister(_IntDenseGridStorage1D)
1747 
1748 def _IntDenseGridStorage1D_get_is_dense():
1749  """_IntDenseGridStorage1D_get_is_dense() -> bool"""
1750  return _IMP_statistics._IntDenseGridStorage1D_get_is_dense()
1751 
1752 class _FloatDenseGridStorage1D(IMP.algebra.BoundedGridRange1D):
1753  """Proxy of C++ IMP::algebra::DenseGridStorageD<(1,double)> class"""
1754  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1755  __repr__ = _swig_repr
1756  def __setitem__(self, *args):
1757  """
1758  __setitem__(_FloatDenseGridStorage1D self, GridIndex1D i, double const & v)
1759  __setitem__(_FloatDenseGridStorage1D self, unsigned int i, double const & v)
1760  """
1761  return _IMP_statistics._FloatDenseGridStorage1D___setitem__(self, *args)
1762 
1763  def __getitem__(self, *args):
1764  """
1765  __getitem__(_FloatDenseGridStorage1D self, GridIndex1D i) -> double const
1766  __getitem__(_FloatDenseGridStorage1D self, unsigned int i) -> double const &
1767  """
1768  return _IMP_statistics._FloatDenseGridStorage1D___getitem__(self, *args)
1769 
1770  def __init__(self, *args):
1771  """
1772  __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, _FloatDenseGridStorage1D o) -> _FloatDenseGridStorage1D
1773  __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage1D
1774  __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage1D
1775  __init__(IMP::algebra::DenseGridStorageD<(1,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage1D
1776  __init__(IMP::algebra::DenseGridStorageD<(1,double)> self) -> _FloatDenseGridStorage1D
1777  """
1778  this = _IMP_statistics.new__FloatDenseGridStorage1D(*args)
1779  try: self.this.append(this)
1780  except: self.this = this
1781  def get_is_dense():
1782  """get_is_dense() -> bool"""
1783  return _IMP_statistics._FloatDenseGridStorage1D_get_is_dense()
1784 
1785  get_is_dense = staticmethod(get_is_dense)
1786  def show(self, *args):
1787  """
1788  show(_FloatDenseGridStorage1D self, _ostream out=std::cout)
1789  show(_FloatDenseGridStorage1D self)
1790  """
1791  return _IMP_statistics._FloatDenseGridStorage1D_show(self, *args)
1792 
1793  def add_voxel(self, *args):
1794  """add_voxel(_FloatDenseGridStorage1D self, ExtendedGridIndex1D arg2, double const & arg3) -> GridIndex1D"""
1795  return _IMP_statistics._FloatDenseGridStorage1D_add_voxel(self, *args)
1796 
1797  def get_all_voxels(self):
1798  """get_all_voxels(_FloatDenseGridStorage1D self) -> IMP::base::Vector< double >"""
1799  return _IMP_statistics._FloatDenseGridStorage1D_get_all_voxels(self)
1800 
1801  __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage1D
1802  __del__ = lambda self : None;
1803 _FloatDenseGridStorage1D_swigregister = _IMP_statistics._FloatDenseGridStorage1D_swigregister
1804 _FloatDenseGridStorage1D_swigregister(_FloatDenseGridStorage1D)
1805 
1806 def _FloatDenseGridStorage1D_get_is_dense():
1807  """_FloatDenseGridStorage1D_get_is_dense() -> bool"""
1808  return _IMP_statistics._FloatDenseGridStorage1D_get_is_dense()
1809 
1810 class _HistogramCountsGrid1D(_FloatDenseGridStorage1D,IMP.algebra.DefaultEmbedding1D,IMP.algebra._GeometricPrimitive1D):
1811  """Proxy of C++ IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> class"""
1812  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1813  __repr__ = _swig_repr
1814  def __init__(self, *args):
1815  """
1816  __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
1817  __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, IMP::Ints const counts, BoundingBox1D bb) -> _HistogramCountsGrid1D
1818  __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
1819  __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, double side, BoundingBox1D bb) -> _HistogramCountsGrid1D
1820  __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, Vector1D sides, BoundingBox1D bb, double const & default_value=double()) -> _HistogramCountsGrid1D
1821  __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, Vector1D sides, BoundingBox1D bb) -> _HistogramCountsGrid1D
1822  __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, _FloatDenseGridStorage1D storage, DefaultEmbedding1D embed) -> _HistogramCountsGrid1D
1823  __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
1824  __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, double side, Vector1D origin) -> _HistogramCountsGrid1D
1825  __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, Vector1D sides, Vector1D origin, double const & default_value=double()) -> _HistogramCountsGrid1D
1826  __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self, Vector1D sides, Vector1D origin) -> _HistogramCountsGrid1D
1827  __init__(IMP::algebra::GridD<(1,IMP::algebra::DenseGridStorageD<(1,double)>,double,IMP::algebra::DefaultEmbeddingD<(1)>)> self) -> _HistogramCountsGrid1D
1828  """
1829  this = _IMP_statistics.new__HistogramCountsGrid1D(*args)
1830  try: self.this.append(this)
1831  except: self.this = this
1832  def show(self, *args):
1833  """
1834  show(_HistogramCountsGrid1D self, _ostream out=std::cout)
1835  show(_HistogramCountsGrid1D self)
1836  """
1837  return _IMP_statistics._HistogramCountsGrid1D_show(self, *args)
1838 
1839  def __getitem__(self, *args):
1840  """
1841  __getitem__(_HistogramCountsGrid1D self, Vector1D i) -> double const
1842  __getitem__(_HistogramCountsGrid1D self, GridIndex1D i) -> double const &
1843  """
1844  return _IMP_statistics._HistogramCountsGrid1D___getitem__(self, *args)
1845 
1846  def __setitem__(self, *args):
1847  """
1848  __setitem__(_HistogramCountsGrid1D self, Vector1D i, double const & v)
1849  __setitem__(_HistogramCountsGrid1D self, GridIndex1D i, double const & vt)
1850  """
1851  return _IMP_statistics._HistogramCountsGrid1D___setitem__(self, *args)
1852 
1853  def add_voxel(self, *args):
1854  """add_voxel(_HistogramCountsGrid1D self, Vector1D pt, double const & vt) -> GridIndex1D"""
1855  return _IMP_statistics._HistogramCountsGrid1D_add_voxel(self, *args)
1856 
1857  def get_extended_index(self, *args):
1858  """get_extended_index(_HistogramCountsGrid1D self, GridIndex1D index) -> ExtendedGridIndex1D"""
1859  return _IMP_statistics._HistogramCountsGrid1D_get_extended_index(self, *args)
1860 
1861  def get_bounding_box(self, *args):
1862  """
1863  get_bounding_box(_HistogramCountsGrid1D self) -> BoundingBox1D
1864  get_bounding_box(_HistogramCountsGrid1D self, ExtendedGridIndex1D i) -> BoundingBox1D
1865  get_bounding_box(_HistogramCountsGrid1D self, GridIndex1D i) -> BoundingBox1D
1866  """
1867  return _IMP_statistics._HistogramCountsGrid1D_get_bounding_box(self, *args)
1868 
1869  def set_bounding_box(self, *args):
1870  """set_bounding_box(_HistogramCountsGrid1D self, BoundingBox1D bb3)"""
1871  return _IMP_statistics._HistogramCountsGrid1D_set_bounding_box(self, *args)
1872 
1873  def get_nearest_index(self, *args):
1874  """get_nearest_index(_HistogramCountsGrid1D self, Vector1D pt) -> GridIndex1D"""
1875  return _IMP_statistics._HistogramCountsGrid1D_get_nearest_index(self, *args)
1876 
1877  def get_nearest_extended_index(self, *args):
1878  """get_nearest_extended_index(_HistogramCountsGrid1D self, Vector1D pt) -> ExtendedGridIndex1D"""
1879  return _IMP_statistics._HistogramCountsGrid1D_get_nearest_extended_index(self, *args)
1880 
1881  __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid1D
1882  __del__ = lambda self : None;
1883 _HistogramCountsGrid1D_swigregister = _IMP_statistics._HistogramCountsGrid1D_swigregister
1884 _HistogramCountsGrid1D_swigregister(_HistogramCountsGrid1D)
1885 
1886 class _IntDenseGridStorage2D(IMP.algebra.BoundedGridRange2D):
1887  """Proxy of C++ IMP::algebra::DenseGridStorageD<(2,int)> class"""
1888  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1889  __repr__ = _swig_repr
1890  def __setitem__(self, *args):
1891  """
1892  __setitem__(_IntDenseGridStorage2D self, GridIndex2D i, int const & v)
1893  __setitem__(_IntDenseGridStorage2D self, unsigned int i, int const & v)
1894  """
1895  return _IMP_statistics._IntDenseGridStorage2D___setitem__(self, *args)
1896 
1897  def __getitem__(self, *args):
1898  """
1899  __getitem__(_IntDenseGridStorage2D self, GridIndex2D i) -> int const
1900  __getitem__(_IntDenseGridStorage2D self, unsigned int i) -> int const &
1901  """
1902  return _IMP_statistics._IntDenseGridStorage2D___getitem__(self, *args)
1903 
1904  def __init__(self, *args):
1905  """
1906  __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, _IntDenseGridStorage2D o) -> _IntDenseGridStorage2D
1907  __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage2D
1908  __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage2D
1909  __init__(IMP::algebra::DenseGridStorageD<(2,int)> self, int const & default_value=int()) -> _IntDenseGridStorage2D
1910  __init__(IMP::algebra::DenseGridStorageD<(2,int)> self) -> _IntDenseGridStorage2D
1911  """
1912  this = _IMP_statistics.new__IntDenseGridStorage2D(*args)
1913  try: self.this.append(this)
1914  except: self.this = this
1915  def get_is_dense():
1916  """get_is_dense() -> bool"""
1917  return _IMP_statistics._IntDenseGridStorage2D_get_is_dense()
1918 
1919  get_is_dense = staticmethod(get_is_dense)
1920  def show(self, *args):
1921  """
1922  show(_IntDenseGridStorage2D self, _ostream out=std::cout)
1923  show(_IntDenseGridStorage2D self)
1924  """
1925  return _IMP_statistics._IntDenseGridStorage2D_show(self, *args)
1926 
1927  def add_voxel(self, *args):
1928  """add_voxel(_IntDenseGridStorage2D self, ExtendedGridIndex2D arg2, int const & arg3) -> GridIndex2D"""
1929  return _IMP_statistics._IntDenseGridStorage2D_add_voxel(self, *args)
1930 
1931  def get_all_voxels(self):
1932  """get_all_voxels(_IntDenseGridStorage2D self) -> IMP::base::Vector< int >"""
1933  return _IMP_statistics._IntDenseGridStorage2D_get_all_voxels(self)
1934 
1935  __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage2D
1936  __del__ = lambda self : None;
1937 _IntDenseGridStorage2D_swigregister = _IMP_statistics._IntDenseGridStorage2D_swigregister
1938 _IntDenseGridStorage2D_swigregister(_IntDenseGridStorage2D)
1939 
1940 def _IntDenseGridStorage2D_get_is_dense():
1941  """_IntDenseGridStorage2D_get_is_dense() -> bool"""
1942  return _IMP_statistics._IntDenseGridStorage2D_get_is_dense()
1943 
1944 class _FloatDenseGridStorage2D(IMP.algebra.BoundedGridRange2D):
1945  """Proxy of C++ IMP::algebra::DenseGridStorageD<(2,double)> class"""
1946  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1947  __repr__ = _swig_repr
1948  def __setitem__(self, *args):
1949  """
1950  __setitem__(_FloatDenseGridStorage2D self, GridIndex2D i, double const & v)
1951  __setitem__(_FloatDenseGridStorage2D self, unsigned int i, double const & v)
1952  """
1953  return _IMP_statistics._FloatDenseGridStorage2D___setitem__(self, *args)
1954 
1955  def __getitem__(self, *args):
1956  """
1957  __getitem__(_FloatDenseGridStorage2D self, GridIndex2D i) -> double const
1958  __getitem__(_FloatDenseGridStorage2D self, unsigned int i) -> double const &
1959  """
1960  return _IMP_statistics._FloatDenseGridStorage2D___getitem__(self, *args)
1961 
1962  def __init__(self, *args):
1963  """
1964  __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, _FloatDenseGridStorage2D o) -> _FloatDenseGridStorage2D
1965  __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage2D
1966  __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage2D
1967  __init__(IMP::algebra::DenseGridStorageD<(2,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage2D
1968  __init__(IMP::algebra::DenseGridStorageD<(2,double)> self) -> _FloatDenseGridStorage2D
1969  """
1970  this = _IMP_statistics.new__FloatDenseGridStorage2D(*args)
1971  try: self.this.append(this)
1972  except: self.this = this
1973  def get_is_dense():
1974  """get_is_dense() -> bool"""
1975  return _IMP_statistics._FloatDenseGridStorage2D_get_is_dense()
1976 
1977  get_is_dense = staticmethod(get_is_dense)
1978  def show(self, *args):
1979  """
1980  show(_FloatDenseGridStorage2D self, _ostream out=std::cout)
1981  show(_FloatDenseGridStorage2D self)
1982  """
1983  return _IMP_statistics._FloatDenseGridStorage2D_show(self, *args)
1984 
1985  def add_voxel(self, *args):
1986  """add_voxel(_FloatDenseGridStorage2D self, ExtendedGridIndex2D arg2, double const & arg3) -> GridIndex2D"""
1987  return _IMP_statistics._FloatDenseGridStorage2D_add_voxel(self, *args)
1988 
1989  def get_all_voxels(self):
1990  """get_all_voxels(_FloatDenseGridStorage2D self) -> IMP::base::Vector< double >"""
1991  return _IMP_statistics._FloatDenseGridStorage2D_get_all_voxels(self)
1992 
1993  __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage2D
1994  __del__ = lambda self : None;
1995 _FloatDenseGridStorage2D_swigregister = _IMP_statistics._FloatDenseGridStorage2D_swigregister
1996 _FloatDenseGridStorage2D_swigregister(_FloatDenseGridStorage2D)
1997 
1998 def _FloatDenseGridStorage2D_get_is_dense():
1999  """_FloatDenseGridStorage2D_get_is_dense() -> bool"""
2000  return _IMP_statistics._FloatDenseGridStorage2D_get_is_dense()
2001 
2002 class _HistogramCountsGrid2D(_FloatDenseGridStorage2D,IMP.algebra.DefaultEmbedding2D,IMP.algebra._GeometricPrimitive2D):
2003  """Proxy of C++ IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> class"""
2004  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2005  __repr__ = _swig_repr
2006  def __init__(self, *args):
2007  """
2008  __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
2009  __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, IMP::Ints const counts, BoundingBox2D bb) -> _HistogramCountsGrid2D
2010  __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
2011  __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, double side, BoundingBox2D bb) -> _HistogramCountsGrid2D
2012  __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, Vector2D sides, BoundingBox2D bb, double const & default_value=double()) -> _HistogramCountsGrid2D
2013  __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, Vector2D sides, BoundingBox2D bb) -> _HistogramCountsGrid2D
2014  __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, _FloatDenseGridStorage2D storage, DefaultEmbedding2D embed) -> _HistogramCountsGrid2D
2015  __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
2016  __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, double side, Vector2D origin) -> _HistogramCountsGrid2D
2017  __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, Vector2D sides, Vector2D origin, double const & default_value=double()) -> _HistogramCountsGrid2D
2018  __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self, Vector2D sides, Vector2D origin) -> _HistogramCountsGrid2D
2019  __init__(IMP::algebra::GridD<(2,IMP::algebra::DenseGridStorageD<(2,double)>,double,IMP::algebra::DefaultEmbeddingD<(2)>)> self) -> _HistogramCountsGrid2D
2020  """
2021  this = _IMP_statistics.new__HistogramCountsGrid2D(*args)
2022  try: self.this.append(this)
2023  except: self.this = this
2024  def show(self, *args):
2025  """
2026  show(_HistogramCountsGrid2D self, _ostream out=std::cout)
2027  show(_HistogramCountsGrid2D self)
2028  """
2029  return _IMP_statistics._HistogramCountsGrid2D_show(self, *args)
2030 
2031  def __getitem__(self, *args):
2032  """
2033  __getitem__(_HistogramCountsGrid2D self, Vector2D i) -> double const
2034  __getitem__(_HistogramCountsGrid2D self, GridIndex2D i) -> double const &
2035  """
2036  return _IMP_statistics._HistogramCountsGrid2D___getitem__(self, *args)
2037 
2038  def __setitem__(self, *args):
2039  """
2040  __setitem__(_HistogramCountsGrid2D self, Vector2D i, double const & v)
2041  __setitem__(_HistogramCountsGrid2D self, GridIndex2D i, double const & vt)
2042  """
2043  return _IMP_statistics._HistogramCountsGrid2D___setitem__(self, *args)
2044 
2045  def add_voxel(self, *args):
2046  """add_voxel(_HistogramCountsGrid2D self, Vector2D pt, double const & vt) -> GridIndex2D"""
2047  return _IMP_statistics._HistogramCountsGrid2D_add_voxel(self, *args)
2048 
2049  def get_extended_index(self, *args):
2050  """get_extended_index(_HistogramCountsGrid2D self, GridIndex2D index) -> ExtendedGridIndex2D"""
2051  return _IMP_statistics._HistogramCountsGrid2D_get_extended_index(self, *args)
2052 
2053  def get_bounding_box(self, *args):
2054  """
2055  get_bounding_box(_HistogramCountsGrid2D self) -> BoundingBox2D
2056  get_bounding_box(_HistogramCountsGrid2D self, ExtendedGridIndex2D i) -> BoundingBox2D
2057  get_bounding_box(_HistogramCountsGrid2D self, GridIndex2D i) -> BoundingBox2D
2058  """
2059  return _IMP_statistics._HistogramCountsGrid2D_get_bounding_box(self, *args)
2060 
2061  def set_bounding_box(self, *args):
2062  """set_bounding_box(_HistogramCountsGrid2D self, BoundingBox2D bb3)"""
2063  return _IMP_statistics._HistogramCountsGrid2D_set_bounding_box(self, *args)
2064 
2065  def get_nearest_index(self, *args):
2066  """get_nearest_index(_HistogramCountsGrid2D self, Vector2D pt) -> GridIndex2D"""
2067  return _IMP_statistics._HistogramCountsGrid2D_get_nearest_index(self, *args)
2068 
2069  def get_nearest_extended_index(self, *args):
2070  """get_nearest_extended_index(_HistogramCountsGrid2D self, Vector2D pt) -> ExtendedGridIndex2D"""
2071  return _IMP_statistics._HistogramCountsGrid2D_get_nearest_extended_index(self, *args)
2072 
2073  __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid2D
2074  __del__ = lambda self : None;
2075 _HistogramCountsGrid2D_swigregister = _IMP_statistics._HistogramCountsGrid2D_swigregister
2076 _HistogramCountsGrid2D_swigregister(_HistogramCountsGrid2D)
2077 
2078 class _IntDenseGridStorage3D(IMP.algebra.BoundedGridRange3D):
2079  """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,int)> class"""
2080  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2081  __repr__ = _swig_repr
2082  def __setitem__(self, *args):
2083  """
2084  __setitem__(_IntDenseGridStorage3D self, GridIndex3D i, int const & v)
2085  __setitem__(_IntDenseGridStorage3D self, unsigned int i, int const & v)
2086  """
2087  return _IMP_statistics._IntDenseGridStorage3D___setitem__(self, *args)
2088 
2089  def __getitem__(self, *args):
2090  """
2091  __getitem__(_IntDenseGridStorage3D self, GridIndex3D i) -> int const
2092  __getitem__(_IntDenseGridStorage3D self, unsigned int i) -> int const &
2093  """
2094  return _IMP_statistics._IntDenseGridStorage3D___getitem__(self, *args)
2095 
2096  def __init__(self, *args):
2097  """
2098  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, _IntDenseGridStorage3D o) -> _IntDenseGridStorage3D
2099  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage3D
2100  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage3D
2101  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self, int const & default_value=int()) -> _IntDenseGridStorage3D
2102  __init__(IMP::algebra::DenseGridStorageD<(3,int)> self) -> _IntDenseGridStorage3D
2103  """
2104  this = _IMP_statistics.new__IntDenseGridStorage3D(*args)
2105  try: self.this.append(this)
2106  except: self.this = this
2107  def get_is_dense():
2108  """get_is_dense() -> bool"""
2109  return _IMP_statistics._IntDenseGridStorage3D_get_is_dense()
2110 
2111  get_is_dense = staticmethod(get_is_dense)
2112  def show(self, *args):
2113  """
2114  show(_IntDenseGridStorage3D self, _ostream out=std::cout)
2115  show(_IntDenseGridStorage3D self)
2116  """
2117  return _IMP_statistics._IntDenseGridStorage3D_show(self, *args)
2118 
2119  def add_voxel(self, *args):
2120  """add_voxel(_IntDenseGridStorage3D self, ExtendedGridIndex3D arg2, int const & arg3) -> GridIndex3D"""
2121  return _IMP_statistics._IntDenseGridStorage3D_add_voxel(self, *args)
2122 
2123  def get_all_voxels(self):
2124  """get_all_voxels(_IntDenseGridStorage3D self) -> IMP::base::Vector< int >"""
2125  return _IMP_statistics._IntDenseGridStorage3D_get_all_voxels(self)
2126 
2127  __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage3D
2128  __del__ = lambda self : None;
2129 _IntDenseGridStorage3D_swigregister = _IMP_statistics._IntDenseGridStorage3D_swigregister
2130 _IntDenseGridStorage3D_swigregister(_IntDenseGridStorage3D)
2131 
2132 def _IntDenseGridStorage3D_get_is_dense():
2133  """_IntDenseGridStorage3D_get_is_dense() -> bool"""
2134  return _IMP_statistics._IntDenseGridStorage3D_get_is_dense()
2135 
2136 class _FloatDenseGridStorage3D(IMP.algebra.BoundedGridRange3D):
2137  """Proxy of C++ IMP::algebra::DenseGridStorageD<(3,double)> class"""
2138  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2139  __repr__ = _swig_repr
2140  def __setitem__(self, *args):
2141  """
2142  __setitem__(_FloatDenseGridStorage3D self, GridIndex3D i, double const & v)
2143  __setitem__(_FloatDenseGridStorage3D self, unsigned int i, double const & v)
2144  """
2145  return _IMP_statistics._FloatDenseGridStorage3D___setitem__(self, *args)
2146 
2147  def __getitem__(self, *args):
2148  """
2149  __getitem__(_FloatDenseGridStorage3D self, GridIndex3D i) -> double const
2150  __getitem__(_FloatDenseGridStorage3D self, unsigned int i) -> double const &
2151  """
2152  return _IMP_statistics._FloatDenseGridStorage3D___getitem__(self, *args)
2153 
2154  def __init__(self, *args):
2155  """
2156  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, _FloatDenseGridStorage3D o) -> _FloatDenseGridStorage3D
2157  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage3D
2158  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage3D
2159  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage3D
2160  __init__(IMP::algebra::DenseGridStorageD<(3,double)> self) -> _FloatDenseGridStorage3D
2161  """
2162  this = _IMP_statistics.new__FloatDenseGridStorage3D(*args)
2163  try: self.this.append(this)
2164  except: self.this = this
2165  def get_is_dense():
2166  """get_is_dense() -> bool"""
2167  return _IMP_statistics._FloatDenseGridStorage3D_get_is_dense()
2168 
2169  get_is_dense = staticmethod(get_is_dense)
2170  def show(self, *args):
2171  """
2172  show(_FloatDenseGridStorage3D self, _ostream out=std::cout)
2173  show(_FloatDenseGridStorage3D self)
2174  """
2175  return _IMP_statistics._FloatDenseGridStorage3D_show(self, *args)
2176 
2177  def add_voxel(self, *args):
2178  """add_voxel(_FloatDenseGridStorage3D self, ExtendedGridIndex3D arg2, double const & arg3) -> GridIndex3D"""
2179  return _IMP_statistics._FloatDenseGridStorage3D_add_voxel(self, *args)
2180 
2181  def get_all_voxels(self):
2182  """get_all_voxels(_FloatDenseGridStorage3D self) -> IMP::base::Vector< double >"""
2183  return _IMP_statistics._FloatDenseGridStorage3D_get_all_voxels(self)
2184 
2185  __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage3D
2186  __del__ = lambda self : None;
2187 _FloatDenseGridStorage3D_swigregister = _IMP_statistics._FloatDenseGridStorage3D_swigregister
2188 _FloatDenseGridStorage3D_swigregister(_FloatDenseGridStorage3D)
2189 
2190 def _FloatDenseGridStorage3D_get_is_dense():
2191  """_FloatDenseGridStorage3D_get_is_dense() -> bool"""
2192  return _IMP_statistics._FloatDenseGridStorage3D_get_is_dense()
2193 
2194 class _HistogramCountsGrid3D(_FloatDenseGridStorage3D,IMP.algebra.DefaultEmbedding3D,IMP.algebra._GeometricPrimitive3D):
2195  """Proxy of C++ IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> class"""
2196  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2197  __repr__ = _swig_repr
2198  def __init__(self, *args):
2199  """
2200  __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
2201  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, IMP::Ints const counts, BoundingBox3D bb) -> _HistogramCountsGrid3D
2202  __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
2203  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, BoundingBox3D bb) -> _HistogramCountsGrid3D
2204  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, Vector3D sides, BoundingBox3D bb, double const & default_value=double()) -> _HistogramCountsGrid3D
2205  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, Vector3D sides, BoundingBox3D bb) -> _HistogramCountsGrid3D
2206  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, _FloatDenseGridStorage3D storage, DefaultEmbedding3D embed) -> _HistogramCountsGrid3D
2207  __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
2208  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, double side, Vector3D origin) -> _HistogramCountsGrid3D
2209  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, Vector3D sides, Vector3D origin, double const & default_value=double()) -> _HistogramCountsGrid3D
2210  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self, Vector3D sides, Vector3D origin) -> _HistogramCountsGrid3D
2211  __init__(IMP::algebra::GridD<(3,IMP::algebra::DenseGridStorageD<(3,double)>,double,IMP::algebra::DefaultEmbeddingD<(3)>)> self) -> _HistogramCountsGrid3D
2212  """
2213  this = _IMP_statistics.new__HistogramCountsGrid3D(*args)
2214  try: self.this.append(this)
2215  except: self.this = this
2216  def show(self, *args):
2217  """
2218  show(_HistogramCountsGrid3D self, _ostream out=std::cout)
2219  show(_HistogramCountsGrid3D self)
2220  """
2221  return _IMP_statistics._HistogramCountsGrid3D_show(self, *args)
2222 
2223  def __getitem__(self, *args):
2224  """
2225  __getitem__(_HistogramCountsGrid3D self, Vector3D i) -> double const
2226  __getitem__(_HistogramCountsGrid3D self, GridIndex3D i) -> double const &
2227  """
2228  return _IMP_statistics._HistogramCountsGrid3D___getitem__(self, *args)
2229 
2230  def __setitem__(self, *args):
2231  """
2232  __setitem__(_HistogramCountsGrid3D self, Vector3D i, double const & v)
2233  __setitem__(_HistogramCountsGrid3D self, GridIndex3D i, double const & vt)
2234  """
2235  return _IMP_statistics._HistogramCountsGrid3D___setitem__(self, *args)
2236 
2237  def add_voxel(self, *args):
2238  """add_voxel(_HistogramCountsGrid3D self, Vector3D pt, double const & vt) -> GridIndex3D"""
2239  return _IMP_statistics._HistogramCountsGrid3D_add_voxel(self, *args)
2240 
2241  def get_extended_index(self, *args):
2242  """get_extended_index(_HistogramCountsGrid3D self, GridIndex3D index) -> ExtendedGridIndex3D"""
2243  return _IMP_statistics._HistogramCountsGrid3D_get_extended_index(self, *args)
2244 
2245  def get_bounding_box(self, *args):
2246  """
2247  get_bounding_box(_HistogramCountsGrid3D self) -> BoundingBox3D
2248  get_bounding_box(_HistogramCountsGrid3D self, ExtendedGridIndex3D i) -> BoundingBox3D
2249  get_bounding_box(_HistogramCountsGrid3D self, GridIndex3D i) -> BoundingBox3D
2250  """
2251  return _IMP_statistics._HistogramCountsGrid3D_get_bounding_box(self, *args)
2252 
2253  def set_bounding_box(self, *args):
2254  """set_bounding_box(_HistogramCountsGrid3D self, BoundingBox3D bb3)"""
2255  return _IMP_statistics._HistogramCountsGrid3D_set_bounding_box(self, *args)
2256 
2257  def get_nearest_index(self, *args):
2258  """get_nearest_index(_HistogramCountsGrid3D self, Vector3D pt) -> GridIndex3D"""
2259  return _IMP_statistics._HistogramCountsGrid3D_get_nearest_index(self, *args)
2260 
2261  def get_nearest_extended_index(self, *args):
2262  """get_nearest_extended_index(_HistogramCountsGrid3D self, Vector3D pt) -> ExtendedGridIndex3D"""
2263  return _IMP_statistics._HistogramCountsGrid3D_get_nearest_extended_index(self, *args)
2264 
2265  __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid3D
2266  __del__ = lambda self : None;
2267 _HistogramCountsGrid3D_swigregister = _IMP_statistics._HistogramCountsGrid3D_swigregister
2268 _HistogramCountsGrid3D_swigregister(_HistogramCountsGrid3D)
2269 
2270 class _IntDenseGridStorage4D(IMP.algebra.BoundedGridRange4D):
2271  """Proxy of C++ IMP::algebra::DenseGridStorageD<(4,int)> class"""
2272  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2273  __repr__ = _swig_repr
2274  def __setitem__(self, *args):
2275  """
2276  __setitem__(_IntDenseGridStorage4D self, GridIndex4D i, int const & v)
2277  __setitem__(_IntDenseGridStorage4D self, unsigned int i, int const & v)
2278  """
2279  return _IMP_statistics._IntDenseGridStorage4D___setitem__(self, *args)
2280 
2281  def __getitem__(self, *args):
2282  """
2283  __getitem__(_IntDenseGridStorage4D self, GridIndex4D i) -> int const
2284  __getitem__(_IntDenseGridStorage4D self, unsigned int i) -> int const &
2285  """
2286  return _IMP_statistics._IntDenseGridStorage4D___getitem__(self, *args)
2287 
2288  def __init__(self, *args):
2289  """
2290  __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, _IntDenseGridStorage4D o) -> _IntDenseGridStorage4D
2291  __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage4D
2292  __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage4D
2293  __init__(IMP::algebra::DenseGridStorageD<(4,int)> self, int const & default_value=int()) -> _IntDenseGridStorage4D
2294  __init__(IMP::algebra::DenseGridStorageD<(4,int)> self) -> _IntDenseGridStorage4D
2295  """
2296  this = _IMP_statistics.new__IntDenseGridStorage4D(*args)
2297  try: self.this.append(this)
2298  except: self.this = this
2299  def get_is_dense():
2300  """get_is_dense() -> bool"""
2301  return _IMP_statistics._IntDenseGridStorage4D_get_is_dense()
2302 
2303  get_is_dense = staticmethod(get_is_dense)
2304  def show(self, *args):
2305  """
2306  show(_IntDenseGridStorage4D self, _ostream out=std::cout)
2307  show(_IntDenseGridStorage4D self)
2308  """
2309  return _IMP_statistics._IntDenseGridStorage4D_show(self, *args)
2310 
2311  def add_voxel(self, *args):
2312  """add_voxel(_IntDenseGridStorage4D self, ExtendedGridIndex4D arg2, int const & arg3) -> GridIndex4D"""
2313  return _IMP_statistics._IntDenseGridStorage4D_add_voxel(self, *args)
2314 
2315  def get_all_voxels(self):
2316  """get_all_voxels(_IntDenseGridStorage4D self) -> IMP::base::Vector< int >"""
2317  return _IMP_statistics._IntDenseGridStorage4D_get_all_voxels(self)
2318 
2319  __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage4D
2320  __del__ = lambda self : None;
2321 _IntDenseGridStorage4D_swigregister = _IMP_statistics._IntDenseGridStorage4D_swigregister
2322 _IntDenseGridStorage4D_swigregister(_IntDenseGridStorage4D)
2323 
2324 def _IntDenseGridStorage4D_get_is_dense():
2325  """_IntDenseGridStorage4D_get_is_dense() -> bool"""
2326  return _IMP_statistics._IntDenseGridStorage4D_get_is_dense()
2327 
2328 class _FloatDenseGridStorage4D(IMP.algebra.BoundedGridRange4D):
2329  """Proxy of C++ IMP::algebra::DenseGridStorageD<(4,double)> class"""
2330  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2331  __repr__ = _swig_repr
2332  def __setitem__(self, *args):
2333  """
2334  __setitem__(_FloatDenseGridStorage4D self, GridIndex4D i, double const & v)
2335  __setitem__(_FloatDenseGridStorage4D self, unsigned int i, double const & v)
2336  """
2337  return _IMP_statistics._FloatDenseGridStorage4D___setitem__(self, *args)
2338 
2339  def __getitem__(self, *args):
2340  """
2341  __getitem__(_FloatDenseGridStorage4D self, GridIndex4D i) -> double const
2342  __getitem__(_FloatDenseGridStorage4D self, unsigned int i) -> double const &
2343  """
2344  return _IMP_statistics._FloatDenseGridStorage4D___getitem__(self, *args)
2345 
2346  def __init__(self, *args):
2347  """
2348  __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, _FloatDenseGridStorage4D o) -> _FloatDenseGridStorage4D
2349  __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage4D
2350  __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage4D
2351  __init__(IMP::algebra::DenseGridStorageD<(4,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage4D
2352  __init__(IMP::algebra::DenseGridStorageD<(4,double)> self) -> _FloatDenseGridStorage4D
2353  """
2354  this = _IMP_statistics.new__FloatDenseGridStorage4D(*args)
2355  try: self.this.append(this)
2356  except: self.this = this
2357  def get_is_dense():
2358  """get_is_dense() -> bool"""
2359  return _IMP_statistics._FloatDenseGridStorage4D_get_is_dense()
2360 
2361  get_is_dense = staticmethod(get_is_dense)
2362  def show(self, *args):
2363  """
2364  show(_FloatDenseGridStorage4D self, _ostream out=std::cout)
2365  show(_FloatDenseGridStorage4D self)
2366  """
2367  return _IMP_statistics._FloatDenseGridStorage4D_show(self, *args)
2368 
2369  def add_voxel(self, *args):
2370  """add_voxel(_FloatDenseGridStorage4D self, ExtendedGridIndex4D arg2, double const & arg3) -> GridIndex4D"""
2371  return _IMP_statistics._FloatDenseGridStorage4D_add_voxel(self, *args)
2372 
2373  def get_all_voxels(self):
2374  """get_all_voxels(_FloatDenseGridStorage4D self) -> IMP::base::Vector< double >"""
2375  return _IMP_statistics._FloatDenseGridStorage4D_get_all_voxels(self)
2376 
2377  __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage4D
2378  __del__ = lambda self : None;
2379 _FloatDenseGridStorage4D_swigregister = _IMP_statistics._FloatDenseGridStorage4D_swigregister
2380 _FloatDenseGridStorage4D_swigregister(_FloatDenseGridStorage4D)
2381 
2382 def _FloatDenseGridStorage4D_get_is_dense():
2383  """_FloatDenseGridStorage4D_get_is_dense() -> bool"""
2384  return _IMP_statistics._FloatDenseGridStorage4D_get_is_dense()
2385 
2386 class _HistogramCountsGrid4D(_FloatDenseGridStorage4D,IMP.algebra.DefaultEmbedding4D,IMP.algebra._GeometricPrimitive4D):
2387  """Proxy of C++ IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> class"""
2388  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2389  __repr__ = _swig_repr
2390  def __init__(self, *args):
2391  """
2392  __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
2393  __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, IMP::Ints const counts, BoundingBox4D bb) -> _HistogramCountsGrid4D
2394  __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
2395  __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, double side, BoundingBox4D bb) -> _HistogramCountsGrid4D
2396  __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, Vector4D sides, BoundingBox4D bb, double const & default_value=double()) -> _HistogramCountsGrid4D
2397  __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, Vector4D sides, BoundingBox4D bb) -> _HistogramCountsGrid4D
2398  __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, _FloatDenseGridStorage4D storage, DefaultEmbedding4D embed) -> _HistogramCountsGrid4D
2399  __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
2400  __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, double side, Vector4D origin) -> _HistogramCountsGrid4D
2401  __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, Vector4D sides, Vector4D origin, double const & default_value=double()) -> _HistogramCountsGrid4D
2402  __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self, Vector4D sides, Vector4D origin) -> _HistogramCountsGrid4D
2403  __init__(IMP::algebra::GridD<(4,IMP::algebra::DenseGridStorageD<(4,double)>,double,IMP::algebra::DefaultEmbeddingD<(4)>)> self) -> _HistogramCountsGrid4D
2404  """
2405  this = _IMP_statistics.new__HistogramCountsGrid4D(*args)
2406  try: self.this.append(this)
2407  except: self.this = this
2408  def show(self, *args):
2409  """
2410  show(_HistogramCountsGrid4D self, _ostream out=std::cout)
2411  show(_HistogramCountsGrid4D self)
2412  """
2413  return _IMP_statistics._HistogramCountsGrid4D_show(self, *args)
2414 
2415  def __getitem__(self, *args):
2416  """
2417  __getitem__(_HistogramCountsGrid4D self, Vector4D i) -> double const
2418  __getitem__(_HistogramCountsGrid4D self, GridIndex4D i) -> double const &
2419  """
2420  return _IMP_statistics._HistogramCountsGrid4D___getitem__(self, *args)
2421 
2422  def __setitem__(self, *args):
2423  """
2424  __setitem__(_HistogramCountsGrid4D self, Vector4D i, double const & v)
2425  __setitem__(_HistogramCountsGrid4D self, GridIndex4D i, double const & vt)
2426  """
2427  return _IMP_statistics._HistogramCountsGrid4D___setitem__(self, *args)
2428 
2429  def add_voxel(self, *args):
2430  """add_voxel(_HistogramCountsGrid4D self, Vector4D pt, double const & vt) -> GridIndex4D"""
2431  return _IMP_statistics._HistogramCountsGrid4D_add_voxel(self, *args)
2432 
2433  def get_extended_index(self, *args):
2434  """get_extended_index(_HistogramCountsGrid4D self, GridIndex4D index) -> ExtendedGridIndex4D"""
2435  return _IMP_statistics._HistogramCountsGrid4D_get_extended_index(self, *args)
2436 
2437  def get_bounding_box(self, *args):
2438  """
2439  get_bounding_box(_HistogramCountsGrid4D self) -> BoundingBox4D
2440  get_bounding_box(_HistogramCountsGrid4D self, ExtendedGridIndex4D i) -> BoundingBox4D
2441  get_bounding_box(_HistogramCountsGrid4D self, GridIndex4D i) -> BoundingBox4D
2442  """
2443  return _IMP_statistics._HistogramCountsGrid4D_get_bounding_box(self, *args)
2444 
2445  def set_bounding_box(self, *args):
2446  """set_bounding_box(_HistogramCountsGrid4D self, BoundingBox4D bb3)"""
2447  return _IMP_statistics._HistogramCountsGrid4D_set_bounding_box(self, *args)
2448 
2449  def get_nearest_index(self, *args):
2450  """get_nearest_index(_HistogramCountsGrid4D self, Vector4D pt) -> GridIndex4D"""
2451  return _IMP_statistics._HistogramCountsGrid4D_get_nearest_index(self, *args)
2452 
2453  def get_nearest_extended_index(self, *args):
2454  """get_nearest_extended_index(_HistogramCountsGrid4D self, Vector4D pt) -> ExtendedGridIndex4D"""
2455  return _IMP_statistics._HistogramCountsGrid4D_get_nearest_extended_index(self, *args)
2456 
2457  __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid4D
2458  __del__ = lambda self : None;
2459 _HistogramCountsGrid4D_swigregister = _IMP_statistics._HistogramCountsGrid4D_swigregister
2460 _HistogramCountsGrid4D_swigregister(_HistogramCountsGrid4D)
2461 
2462 class _IntDenseGridStorage5D(IMP.algebra.BoundedGridRange5D):
2463  """Proxy of C++ IMP::algebra::DenseGridStorageD<(5,int)> class"""
2464  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2465  __repr__ = _swig_repr
2466  def __setitem__(self, *args):
2467  """
2468  __setitem__(_IntDenseGridStorage5D self, GridIndex5D i, int const & v)
2469  __setitem__(_IntDenseGridStorage5D self, unsigned int i, int const & v)
2470  """
2471  return _IMP_statistics._IntDenseGridStorage5D___setitem__(self, *args)
2472 
2473  def __getitem__(self, *args):
2474  """
2475  __getitem__(_IntDenseGridStorage5D self, GridIndex5D i) -> int const
2476  __getitem__(_IntDenseGridStorage5D self, unsigned int i) -> int const &
2477  """
2478  return _IMP_statistics._IntDenseGridStorage5D___getitem__(self, *args)
2479 
2480  def __init__(self, *args):
2481  """
2482  __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, _IntDenseGridStorage5D o) -> _IntDenseGridStorage5D
2483  __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage5D
2484  __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage5D
2485  __init__(IMP::algebra::DenseGridStorageD<(5,int)> self, int const & default_value=int()) -> _IntDenseGridStorage5D
2486  __init__(IMP::algebra::DenseGridStorageD<(5,int)> self) -> _IntDenseGridStorage5D
2487  """
2488  this = _IMP_statistics.new__IntDenseGridStorage5D(*args)
2489  try: self.this.append(this)
2490  except: self.this = this
2491  def get_is_dense():
2492  """get_is_dense() -> bool"""
2493  return _IMP_statistics._IntDenseGridStorage5D_get_is_dense()
2494 
2495  get_is_dense = staticmethod(get_is_dense)
2496  def show(self, *args):
2497  """
2498  show(_IntDenseGridStorage5D self, _ostream out=std::cout)
2499  show(_IntDenseGridStorage5D self)
2500  """
2501  return _IMP_statistics._IntDenseGridStorage5D_show(self, *args)
2502 
2503  def add_voxel(self, *args):
2504  """add_voxel(_IntDenseGridStorage5D self, ExtendedGridIndex5D arg2, int const & arg3) -> GridIndex5D"""
2505  return _IMP_statistics._IntDenseGridStorage5D_add_voxel(self, *args)
2506 
2507  def get_all_voxels(self):
2508  """get_all_voxels(_IntDenseGridStorage5D self) -> IMP::base::Vector< int >"""
2509  return _IMP_statistics._IntDenseGridStorage5D_get_all_voxels(self)
2510 
2511  __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage5D
2512  __del__ = lambda self : None;
2513 _IntDenseGridStorage5D_swigregister = _IMP_statistics._IntDenseGridStorage5D_swigregister
2514 _IntDenseGridStorage5D_swigregister(_IntDenseGridStorage5D)
2515 
2516 def _IntDenseGridStorage5D_get_is_dense():
2517  """_IntDenseGridStorage5D_get_is_dense() -> bool"""
2518  return _IMP_statistics._IntDenseGridStorage5D_get_is_dense()
2519 
2520 class _FloatDenseGridStorage5D(IMP.algebra.BoundedGridRange5D):
2521  """Proxy of C++ IMP::algebra::DenseGridStorageD<(5,double)> class"""
2522  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2523  __repr__ = _swig_repr
2524  def __setitem__(self, *args):
2525  """
2526  __setitem__(_FloatDenseGridStorage5D self, GridIndex5D i, double const & v)
2527  __setitem__(_FloatDenseGridStorage5D self, unsigned int i, double const & v)
2528  """
2529  return _IMP_statistics._FloatDenseGridStorage5D___setitem__(self, *args)
2530 
2531  def __getitem__(self, *args):
2532  """
2533  __getitem__(_FloatDenseGridStorage5D self, GridIndex5D i) -> double const
2534  __getitem__(_FloatDenseGridStorage5D self, unsigned int i) -> double const &
2535  """
2536  return _IMP_statistics._FloatDenseGridStorage5D___getitem__(self, *args)
2537 
2538  def __init__(self, *args):
2539  """
2540  __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, _FloatDenseGridStorage5D o) -> _FloatDenseGridStorage5D
2541  __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage5D
2542  __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage5D
2543  __init__(IMP::algebra::DenseGridStorageD<(5,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage5D
2544  __init__(IMP::algebra::DenseGridStorageD<(5,double)> self) -> _FloatDenseGridStorage5D
2545  """
2546  this = _IMP_statistics.new__FloatDenseGridStorage5D(*args)
2547  try: self.this.append(this)
2548  except: self.this = this
2549  def get_is_dense():
2550  """get_is_dense() -> bool"""
2551  return _IMP_statistics._FloatDenseGridStorage5D_get_is_dense()
2552 
2553  get_is_dense = staticmethod(get_is_dense)
2554  def show(self, *args):
2555  """
2556  show(_FloatDenseGridStorage5D self, _ostream out=std::cout)
2557  show(_FloatDenseGridStorage5D self)
2558  """
2559  return _IMP_statistics._FloatDenseGridStorage5D_show(self, *args)
2560 
2561  def add_voxel(self, *args):
2562  """add_voxel(_FloatDenseGridStorage5D self, ExtendedGridIndex5D arg2, double const & arg3) -> GridIndex5D"""
2563  return _IMP_statistics._FloatDenseGridStorage5D_add_voxel(self, *args)
2564 
2565  def get_all_voxels(self):
2566  """get_all_voxels(_FloatDenseGridStorage5D self) -> IMP::base::Vector< double >"""
2567  return _IMP_statistics._FloatDenseGridStorage5D_get_all_voxels(self)
2568 
2569  __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage5D
2570  __del__ = lambda self : None;
2571 _FloatDenseGridStorage5D_swigregister = _IMP_statistics._FloatDenseGridStorage5D_swigregister
2572 _FloatDenseGridStorage5D_swigregister(_FloatDenseGridStorage5D)
2573 
2574 def _FloatDenseGridStorage5D_get_is_dense():
2575  """_FloatDenseGridStorage5D_get_is_dense() -> bool"""
2576  return _IMP_statistics._FloatDenseGridStorage5D_get_is_dense()
2577 
2578 class _HistogramCountsGrid5D(_FloatDenseGridStorage5D,IMP.algebra.DefaultEmbedding5D,IMP.algebra._GeometricPrimitive5D):
2579  """Proxy of C++ IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> class"""
2580  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2581  __repr__ = _swig_repr
2582  def __init__(self, *args):
2583  """
2584  __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
2585  __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, IMP::Ints const counts, BoundingBox5D bb) -> _HistogramCountsGrid5D
2586  __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
2587  __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, double side, BoundingBox5D bb) -> _HistogramCountsGrid5D
2588  __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, Vector5D sides, BoundingBox5D bb, double const & default_value=double()) -> _HistogramCountsGrid5D
2589  __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, Vector5D sides, BoundingBox5D bb) -> _HistogramCountsGrid5D
2590  __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, _FloatDenseGridStorage5D storage, DefaultEmbedding5D embed) -> _HistogramCountsGrid5D
2591  __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
2592  __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, double side, Vector5D origin) -> _HistogramCountsGrid5D
2593  __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, Vector5D sides, Vector5D origin, double const & default_value=double()) -> _HistogramCountsGrid5D
2594  __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self, Vector5D sides, Vector5D origin) -> _HistogramCountsGrid5D
2595  __init__(IMP::algebra::GridD<(5,IMP::algebra::DenseGridStorageD<(5,double)>,double,IMP::algebra::DefaultEmbeddingD<(5)>)> self) -> _HistogramCountsGrid5D
2596  """
2597  this = _IMP_statistics.new__HistogramCountsGrid5D(*args)
2598  try: self.this.append(this)
2599  except: self.this = this
2600  def show(self, *args):
2601  """
2602  show(_HistogramCountsGrid5D self, _ostream out=std::cout)
2603  show(_HistogramCountsGrid5D self)
2604  """
2605  return _IMP_statistics._HistogramCountsGrid5D_show(self, *args)
2606 
2607  def __getitem__(self, *args):
2608  """
2609  __getitem__(_HistogramCountsGrid5D self, Vector5D i) -> double const
2610  __getitem__(_HistogramCountsGrid5D self, GridIndex5D i) -> double const &
2611  """
2612  return _IMP_statistics._HistogramCountsGrid5D___getitem__(self, *args)
2613 
2614  def __setitem__(self, *args):
2615  """
2616  __setitem__(_HistogramCountsGrid5D self, Vector5D i, double const & v)
2617  __setitem__(_HistogramCountsGrid5D self, GridIndex5D i, double const & vt)
2618  """
2619  return _IMP_statistics._HistogramCountsGrid5D___setitem__(self, *args)
2620 
2621  def add_voxel(self, *args):
2622  """add_voxel(_HistogramCountsGrid5D self, Vector5D pt, double const & vt) -> GridIndex5D"""
2623  return _IMP_statistics._HistogramCountsGrid5D_add_voxel(self, *args)
2624 
2625  def get_extended_index(self, *args):
2626  """get_extended_index(_HistogramCountsGrid5D self, GridIndex5D index) -> ExtendedGridIndex5D"""
2627  return _IMP_statistics._HistogramCountsGrid5D_get_extended_index(self, *args)
2628 
2629  def get_bounding_box(self, *args):
2630  """
2631  get_bounding_box(_HistogramCountsGrid5D self) -> BoundingBox5D
2632  get_bounding_box(_HistogramCountsGrid5D self, ExtendedGridIndex5D i) -> BoundingBox5D
2633  get_bounding_box(_HistogramCountsGrid5D self, GridIndex5D i) -> BoundingBox5D
2634  """
2635  return _IMP_statistics._HistogramCountsGrid5D_get_bounding_box(self, *args)
2636 
2637  def set_bounding_box(self, *args):
2638  """set_bounding_box(_HistogramCountsGrid5D self, BoundingBox5D bb3)"""
2639  return _IMP_statistics._HistogramCountsGrid5D_set_bounding_box(self, *args)
2640 
2641  def get_nearest_index(self, *args):
2642  """get_nearest_index(_HistogramCountsGrid5D self, Vector5D pt) -> GridIndex5D"""
2643  return _IMP_statistics._HistogramCountsGrid5D_get_nearest_index(self, *args)
2644 
2645  def get_nearest_extended_index(self, *args):
2646  """get_nearest_extended_index(_HistogramCountsGrid5D self, Vector5D pt) -> ExtendedGridIndex5D"""
2647  return _IMP_statistics._HistogramCountsGrid5D_get_nearest_extended_index(self, *args)
2648 
2649  __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid5D
2650  __del__ = lambda self : None;
2651 _HistogramCountsGrid5D_swigregister = _IMP_statistics._HistogramCountsGrid5D_swigregister
2652 _HistogramCountsGrid5D_swigregister(_HistogramCountsGrid5D)
2653 
2654 class _IntDenseGridStorage6D(IMP.algebra.BoundedGridRange6D):
2655  """Proxy of C++ IMP::algebra::DenseGridStorageD<(6,int)> class"""
2656  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2657  __repr__ = _swig_repr
2658  def __setitem__(self, *args):
2659  """
2660  __setitem__(_IntDenseGridStorage6D self, GridIndex6D i, int const & v)
2661  __setitem__(_IntDenseGridStorage6D self, unsigned int i, int const & v)
2662  """
2663  return _IMP_statistics._IntDenseGridStorage6D___setitem__(self, *args)
2664 
2665  def __getitem__(self, *args):
2666  """
2667  __getitem__(_IntDenseGridStorage6D self, GridIndex6D i) -> int const
2668  __getitem__(_IntDenseGridStorage6D self, unsigned int i) -> int const &
2669  """
2670  return _IMP_statistics._IntDenseGridStorage6D___getitem__(self, *args)
2671 
2672  def __init__(self, *args):
2673  """
2674  __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, _IntDenseGridStorage6D o) -> _IntDenseGridStorage6D
2675  __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, IMP::Ints const & counts, int const & default_value=int()) -> _IntDenseGridStorage6D
2676  __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, IMP::Ints const & counts) -> _IntDenseGridStorage6D
2677  __init__(IMP::algebra::DenseGridStorageD<(6,int)> self, int const & default_value=int()) -> _IntDenseGridStorage6D
2678  __init__(IMP::algebra::DenseGridStorageD<(6,int)> self) -> _IntDenseGridStorage6D
2679  """
2680  this = _IMP_statistics.new__IntDenseGridStorage6D(*args)
2681  try: self.this.append(this)
2682  except: self.this = this
2683  def get_is_dense():
2684  """get_is_dense() -> bool"""
2685  return _IMP_statistics._IntDenseGridStorage6D_get_is_dense()
2686 
2687  get_is_dense = staticmethod(get_is_dense)
2688  def show(self, *args):
2689  """
2690  show(_IntDenseGridStorage6D self, _ostream out=std::cout)
2691  show(_IntDenseGridStorage6D self)
2692  """
2693  return _IMP_statistics._IntDenseGridStorage6D_show(self, *args)
2694 
2695  def add_voxel(self, *args):
2696  """add_voxel(_IntDenseGridStorage6D self, ExtendedGridIndex6D arg2, int const & arg3) -> GridIndex6D"""
2697  return _IMP_statistics._IntDenseGridStorage6D_add_voxel(self, *args)
2698 
2699  def get_all_voxels(self):
2700  """get_all_voxels(_IntDenseGridStorage6D self) -> IMP::base::Vector< int >"""
2701  return _IMP_statistics._IntDenseGridStorage6D_get_all_voxels(self)
2702 
2703  __swig_destroy__ = _IMP_statistics.delete__IntDenseGridStorage6D
2704  __del__ = lambda self : None;
2705 _IntDenseGridStorage6D_swigregister = _IMP_statistics._IntDenseGridStorage6D_swigregister
2706 _IntDenseGridStorage6D_swigregister(_IntDenseGridStorage6D)
2707 
2708 def _IntDenseGridStorage6D_get_is_dense():
2709  """_IntDenseGridStorage6D_get_is_dense() -> bool"""
2710  return _IMP_statistics._IntDenseGridStorage6D_get_is_dense()
2711 
2712 class _FloatDenseGridStorage6D(IMP.algebra.BoundedGridRange6D):
2713  """Proxy of C++ IMP::algebra::DenseGridStorageD<(6,double)> class"""
2714  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2715  __repr__ = _swig_repr
2716  def __setitem__(self, *args):
2717  """
2718  __setitem__(_FloatDenseGridStorage6D self, GridIndex6D i, double const & v)
2719  __setitem__(_FloatDenseGridStorage6D self, unsigned int i, double const & v)
2720  """
2721  return _IMP_statistics._FloatDenseGridStorage6D___setitem__(self, *args)
2722 
2723  def __getitem__(self, *args):
2724  """
2725  __getitem__(_FloatDenseGridStorage6D self, GridIndex6D i) -> double const
2726  __getitem__(_FloatDenseGridStorage6D self, unsigned int i) -> double const &
2727  """
2728  return _IMP_statistics._FloatDenseGridStorage6D___getitem__(self, *args)
2729 
2730  def __init__(self, *args):
2731  """
2732  __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, _FloatDenseGridStorage6D o) -> _FloatDenseGridStorage6D
2733  __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, IMP::Ints const & counts, double const & default_value=double()) -> _FloatDenseGridStorage6D
2734  __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, IMP::Ints const & counts) -> _FloatDenseGridStorage6D
2735  __init__(IMP::algebra::DenseGridStorageD<(6,double)> self, double const & default_value=double()) -> _FloatDenseGridStorage6D
2736  __init__(IMP::algebra::DenseGridStorageD<(6,double)> self) -> _FloatDenseGridStorage6D
2737  """
2738  this = _IMP_statistics.new__FloatDenseGridStorage6D(*args)
2739  try: self.this.append(this)
2740  except: self.this = this
2741  def get_is_dense():
2742  """get_is_dense() -> bool"""
2743  return _IMP_statistics._FloatDenseGridStorage6D_get_is_dense()
2744 
2745  get_is_dense = staticmethod(get_is_dense)
2746  def show(self, *args):
2747  """
2748  show(_FloatDenseGridStorage6D self, _ostream out=std::cout)
2749  show(_FloatDenseGridStorage6D self)
2750  """
2751  return _IMP_statistics._FloatDenseGridStorage6D_show(self, *args)
2752 
2753  def add_voxel(self, *args):
2754  """add_voxel(_FloatDenseGridStorage6D self, ExtendedGridIndex6D arg2, double const & arg3) -> GridIndex6D"""
2755  return _IMP_statistics._FloatDenseGridStorage6D_add_voxel(self, *args)
2756 
2757  def get_all_voxels(self):
2758  """get_all_voxels(_FloatDenseGridStorage6D self) -> IMP::base::Vector< double >"""
2759  return _IMP_statistics._FloatDenseGridStorage6D_get_all_voxels(self)
2760 
2761  __swig_destroy__ = _IMP_statistics.delete__FloatDenseGridStorage6D
2762  __del__ = lambda self : None;
2763 _FloatDenseGridStorage6D_swigregister = _IMP_statistics._FloatDenseGridStorage6D_swigregister
2764 _FloatDenseGridStorage6D_swigregister(_FloatDenseGridStorage6D)
2765 
2766 def _FloatDenseGridStorage6D_get_is_dense():
2767  """_FloatDenseGridStorage6D_get_is_dense() -> bool"""
2768  return _IMP_statistics._FloatDenseGridStorage6D_get_is_dense()
2769 
2770 class _HistogramCountsGrid6D(_FloatDenseGridStorage6D,IMP.algebra.DefaultEmbedding6D,IMP.algebra._GeometricPrimitive6D):
2771  """Proxy of C++ IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> class"""
2772  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2773  __repr__ = _swig_repr
2774  def __init__(self, *args):
2775  """
2776  __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
2777  __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, IMP::Ints const counts, BoundingBox6D bb) -> _HistogramCountsGrid6D
2778  __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
2779  __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, double side, BoundingBox6D bb) -> _HistogramCountsGrid6D
2780  __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, Vector6D sides, BoundingBox6D bb, double const & default_value=double()) -> _HistogramCountsGrid6D
2781  __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, Vector6D sides, BoundingBox6D bb) -> _HistogramCountsGrid6D
2782  __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, _FloatDenseGridStorage6D storage, DefaultEmbedding6D embed) -> _HistogramCountsGrid6D
2783  __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
2784  __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, double side, Vector6D origin) -> _HistogramCountsGrid6D
2785  __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, Vector6D sides, Vector6D origin, double const & default_value=double()) -> _HistogramCountsGrid6D
2786  __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self, Vector6D sides, Vector6D origin) -> _HistogramCountsGrid6D
2787  __init__(IMP::algebra::GridD<(6,IMP::algebra::DenseGridStorageD<(6,double)>,double,IMP::algebra::DefaultEmbeddingD<(6)>)> self) -> _HistogramCountsGrid6D
2788  """
2789  this = _IMP_statistics.new__HistogramCountsGrid6D(*args)
2790  try: self.this.append(this)
2791  except: self.this = this
2792  def show(self, *args):
2793  """
2794  show(_HistogramCountsGrid6D self, _ostream out=std::cout)
2795  show(_HistogramCountsGrid6D self)
2796  """
2797  return _IMP_statistics._HistogramCountsGrid6D_show(self, *args)
2798 
2799  def __getitem__(self, *args):
2800  """
2801  __getitem__(_HistogramCountsGrid6D self, Vector6D i) -> double const
2802  __getitem__(_HistogramCountsGrid6D self, GridIndex6D i) -> double const &
2803  """
2804  return _IMP_statistics._HistogramCountsGrid6D___getitem__(self, *args)
2805 
2806  def __setitem__(self, *args):
2807  """
2808  __setitem__(_HistogramCountsGrid6D self, Vector6D i, double const & v)
2809  __setitem__(_HistogramCountsGrid6D self, GridIndex6D i, double const & vt)
2810  """
2811  return _IMP_statistics._HistogramCountsGrid6D___setitem__(self, *args)
2812 
2813  def add_voxel(self, *args):
2814  """add_voxel(_HistogramCountsGrid6D self, Vector6D pt, double const & vt) -> GridIndex6D"""
2815  return _IMP_statistics._HistogramCountsGrid6D_add_voxel(self, *args)
2816 
2817  def get_extended_index(self, *args):
2818  """get_extended_index(_HistogramCountsGrid6D self, GridIndex6D index) -> ExtendedGridIndex6D"""
2819  return _IMP_statistics._HistogramCountsGrid6D_get_extended_index(self, *args)
2820 
2821  def get_bounding_box(self, *args):
2822  """
2823  get_bounding_box(_HistogramCountsGrid6D self) -> BoundingBox6D
2824  get_bounding_box(_HistogramCountsGrid6D self, ExtendedGridIndex6D i) -> BoundingBox6D
2825  get_bounding_box(_HistogramCountsGrid6D self, GridIndex6D i) -> BoundingBox6D
2826  """
2827  return _IMP_statistics._HistogramCountsGrid6D_get_bounding_box(self, *args)
2828 
2829  def set_bounding_box(self, *args):
2830  """set_bounding_box(_HistogramCountsGrid6D self, BoundingBox6D bb3)"""
2831  return _IMP_statistics._HistogramCountsGrid6D_set_bounding_box(self, *args)
2832 
2833  def get_nearest_index(self, *args):
2834  """get_nearest_index(_HistogramCountsGrid6D self, Vector6D pt) -> GridIndex6D"""
2835  return _IMP_statistics._HistogramCountsGrid6D_get_nearest_index(self, *args)
2836 
2837  def get_nearest_extended_index(self, *args):
2838  """get_nearest_extended_index(_HistogramCountsGrid6D self, Vector6D pt) -> ExtendedGridIndex6D"""
2839  return _IMP_statistics._HistogramCountsGrid6D_get_nearest_extended_index(self, *args)
2840 
2841  __swig_destroy__ = _IMP_statistics.delete__HistogramCountsGrid6D
2842  __del__ = lambda self : None;
2843 _HistogramCountsGrid6D_swigregister = _IMP_statistics._HistogramCountsGrid6D_swigregister
2844 _HistogramCountsGrid6D_swigregister(_HistogramCountsGrid6D)
2845 
2846 from . import _histogram
2847 show_histogram= _histogram.show_histogram
2848 
2849 
2850 def get_module_version():
2851  """get_module_version() -> std::string const"""
2852  return _IMP_statistics.get_module_version()
2853 
2854 def get_example_path(*args):
2855  """get_example_path(std::string fname) -> std::string"""
2856  return _IMP_statistics.get_example_path(*args)
2857 
2858 def get_data_path(*args):
2859  """get_data_path(std::string fname) -> std::string"""
2860  return _IMP_statistics.get_data_path(*args)
2861 from . import _version_check
2862 _version_check.check_version(get_module_version())
2863 
2864 
2865 
PartitionalClusteringWithCenter * create_lloyds_kmeans(Embedding *embedding, unsigned int k, unsigned int iterations)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
Make CGAL functionality available to IMP.
std::string get_data_path(std::string file_name)
Return the full path to installed data.
double get_quantile(const Histogram1D &h, double fraction)
Low level functionality (logging, error handling, profiling, command line flags etc) that is used by ...
void validate_partitional_clustering(PartitionalClustering *pc, unsigned int n)
Check that the clustering is a valid clustering of n elements.
std::string get_example_path(std::string file_name)
Return the path to installed example data for this module.
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.
Definition: Plane3D.h:71
PartitionalClustering * create_diameter_clustering(Metric *d, double maximum_diameter)
PartitionalClustering * create_connectivity_clustering(Metric *metric, double dist)
Base functionality and abstract base classes for representation, scoring and sampling.
PartitionalClusteringWithCenter * create_bin_based_clustering(Embedding *embed, double side)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
PartitionalClustering * create_centrality_clustering(Metric *d, double far, int k)
algebra::VectorKDs get_centroids(Embedding *d, PartitionalClustering *pc)
Ints get_representatives(Embedding *d, PartitionalClustering *pc)