Call numpy.histogramdd for a blocked/chunked calculation. Slurps the result into an additional outer axis; this new axis will be used to stack chunked calls of the numpy function and add them together later. Returns ------- :py:object:`np.ndarray` NumPy array with a
(sample, bins, range, weights)
| 1142 | |
| 1143 | |
| 1144 | def _block_histogramdd_rect(sample, bins, range, weights): |
| 1145 | """Call numpy.histogramdd for a blocked/chunked calculation. |
| 1146 | |
| 1147 | Slurps the result into an additional outer axis; this new axis |
| 1148 | will be used to stack chunked calls of the numpy function and add |
| 1149 | them together later. |
| 1150 | |
| 1151 | Returns |
| 1152 | ------- |
| 1153 | :py:object:`np.ndarray` |
| 1154 | NumPy array with an additional outer dimension. |
| 1155 | |
| 1156 | """ |
| 1157 | return np.histogramdd(sample, bins, range=range, weights=weights)[0:1] |
| 1158 | |
| 1159 | |
| 1160 | def _block_histogramdd_multiarg(*args): |
nothing calls this directly
no outgoing calls
no test coverage detected