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