catii 1.0.4.dev1__tar.gz → 1.0.5.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {catii-1.0.4.dev1/src/catii.egg-info → catii-1.0.5.dev1}/PKG-INFO +1 -1
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/setup.py +1 -1
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii/xfuncs.py +2 -2
- {catii-1.0.4.dev1 → catii-1.0.5.dev1/src/catii.egg-info}/PKG-INFO +1 -1
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/LICENSE +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/README.md +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/pyproject.toml +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/setup.cfg +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii/__init__.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii/ccubes.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii/ffuncs.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii/iindexes.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii/indxio.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii/set_operations.pyx +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii/xcubes.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii.egg-info/SOURCES.txt +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii.egg-info/dependency_links.txt +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii.egg-info/requires.txt +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/src/catii.egg-info/top_level.txt +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/tests/test_ccubes.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/tests/test_iindexes.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/tests/test_iindexes_nonint.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/tests/test_indxio.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/tests/test_set_operations.py +0 -0
- {catii-1.0.4.dev1 → catii-1.0.5.dev1}/tests/test_xcubes.py +0 -0
|
@@ -1105,14 +1105,14 @@ class xfunc_quantile(xfunc):
|
|
|
1105
1105
|
if self.weights.shape:
|
|
1106
1106
|
w = self.weights[rowmask]
|
|
1107
1107
|
else:
|
|
1108
|
-
w = numpy.repeat(self.weights, len(
|
|
1108
|
+
w = numpy.repeat(self.weights, len(seg))
|
|
1109
1109
|
qs[i] = self.weighted_quantile(seg, self.probability, w)
|
|
1110
1110
|
|
|
1111
1111
|
def weighted_quantile(self, arr, probability, weights):
|
|
1112
1112
|
def weighted_quantile_1d(a):
|
|
1113
1113
|
w = weights
|
|
1114
1114
|
|
|
1115
|
-
ind =
|
|
1115
|
+
ind = numpy.lexsort((w, a))
|
|
1116
1116
|
a = a[ind]
|
|
1117
1117
|
w = w[ind]
|
|
1118
1118
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|