Newer
Older
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
__pyx_t_5 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_eco_type->dimensions[0])); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_3 = __Pyx_PyInt_From_Py_intptr_t((__pyx_v_eco_type->dimensions[1])); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__pyx_t_2 = PyTuple_New(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_GIVEREF(__pyx_t_5);
PyTuple_SET_ITEM(__pyx_t_2, 0, __pyx_t_5);
__Pyx_GIVEREF(__pyx_t_3);
PyTuple_SET_ITEM(__pyx_t_2, 1, __pyx_t_3);
__pyx_t_5 = 0;
__pyx_t_3 = 0;
__pyx_t_3 = PyTuple_New(1); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_3);
__Pyx_GIVEREF(__pyx_t_2);
PyTuple_SET_ITEM(__pyx_t_3, 0, __pyx_t_2);
__pyx_t_2 = 0;
__pyx_t_2 = __Pyx_PyDict_NewPresized(2); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_order, __pyx_n_u_C) < 0) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GetModuleGlobalName(__pyx_t_5, __pyx_n_s_np); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_5);
__pyx_t_1 = __Pyx_PyObject_GetAttrStr(__pyx_t_5, __pyx_n_s_int32); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
if (PyDict_SetItem(__pyx_t_2, __pyx_n_s_dtype, __pyx_t_1) < 0) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_1 = __Pyx_PyObject_Call(__pyx_t_4, __pyx_t_3, __pyx_t_2); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 144, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 144, __pyx_L1_error)
__pyx_v_loc_uniform_r = ((PyArrayObject *)__pyx_t_1);
__pyx_t_1 = 0;
/* "ancillary.pyx":145
* cdef np.ndarray water_r = np.zeros((eco_type.shape[0], eco_type.shape[1]), order='C', dtype=np.int32)
* cdef np.ndarray loc_uniform_r = np.zeros((eco_type.shape[0], eco_type.shape[1]), order='C', dtype=np.int32)
* cdef int[:, ::1] coast_mv = coast_r # <<<<<<<<<<<<<<
* cdef int[:, ::1] land_mv = land_r
* cdef int[:, ::1] water_mv = water_r
*/
__pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_int(((PyObject *)__pyx_v_coast_r), PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 145, __pyx_L1_error)
__pyx_v_coast_mv = __pyx_t_6;
__pyx_t_6.memview = NULL;
__pyx_t_6.data = NULL;
/* "ancillary.pyx":146
* cdef np.ndarray loc_uniform_r = np.zeros((eco_type.shape[0], eco_type.shape[1]), order='C', dtype=np.int32)
* cdef int[:, ::1] coast_mv = coast_r
* cdef int[:, ::1] land_mv = land_r # <<<<<<<<<<<<<<
* cdef int[:, ::1] water_mv = water_r
* cdef int[:, ::1] loc_uniform_mv = loc_uniform_r
*/
__pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_int(((PyObject *)__pyx_v_land_r), PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 146, __pyx_L1_error)
__pyx_v_land_mv = __pyx_t_6;
__pyx_t_6.memview = NULL;
__pyx_t_6.data = NULL;
/* "ancillary.pyx":147
* cdef int[:, ::1] coast_mv = coast_r
* cdef int[:, ::1] land_mv = land_r
* cdef int[:, ::1] water_mv = water_r # <<<<<<<<<<<<<<
* cdef int[:, ::1] loc_uniform_mv = loc_uniform_r
__pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_int(((PyObject *)__pyx_v_water_r), PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 147, __pyx_L1_error)
__pyx_v_water_mv = __pyx_t_6;
__pyx_t_6.memview = NULL;
__pyx_t_6.data = NULL;
/* "ancillary.pyx":148
* cdef int[:, ::1] land_mv = land_r
* cdef int[:, ::1] water_mv = water_r
* cdef int[:, ::1] loc_uniform_mv = loc_uniform_r # <<<<<<<<<<<<<<
* lines = eco_type.shape[0]
*/
__pyx_t_6 = __Pyx_PyObject_to_MemoryviewSlice_d_dc_int(((PyObject *)__pyx_v_loc_uniform_r), PyBUF_WRITABLE); if (unlikely(!__pyx_t_6.memview)) __PYX_ERR(0, 148, __pyx_L1_error)
__pyx_v_loc_uniform_mv = __pyx_t_6;
__pyx_t_6.memview = NULL;
__pyx_t_6.data = NULL;
/* "ancillary.pyx":150
* cdef int[:, ::1] loc_uniform_mv = loc_uniform_r
* lines = eco_type.shape[0] # <<<<<<<<<<<<<<
* eles = eco_type.shape[1]
* for i in range(lines):
__pyx_v_lines = (__pyx_v_eco_type->dimensions[0]);
* lines = eco_type.shape[0]
* eles = eco_type.shape[1] # <<<<<<<<<<<<<<
* for i in range(lines):
* for j in range(eles):
__pyx_v_eles = (__pyx_v_eco_type->dimensions[1]);
/* "ancillary.pyx":152
* lines = eco_type.shape[0]
* eles = eco_type.shape[1]
* for i in range(lines): # <<<<<<<<<<<<<<
* for j in range(eles):
* if (i == 0 or i == lines):
*/
__pyx_t_7 = __pyx_v_lines;
__pyx_t_8 = __pyx_t_7;
for (__pyx_t_9 = 0; __pyx_t_9 < __pyx_t_8; __pyx_t_9+=1) {
__pyx_v_i = __pyx_t_9;
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
/* "ancillary.pyx":153
* eles = eco_type.shape[1]
* for i in range(lines):
* for j in range(eles): # <<<<<<<<<<<<<<
* if (i == 0 or i == lines):
* line_edge = 1
*/
__pyx_t_10 = __pyx_v_eles;
__pyx_t_11 = __pyx_t_10;
for (__pyx_t_12 = 0; __pyx_t_12 < __pyx_t_11; __pyx_t_12+=1) {
__pyx_v_j = __pyx_t_12;
/* "ancillary.pyx":154
* for i in range(lines):
* for j in range(eles):
* if (i == 0 or i == lines): # <<<<<<<<<<<<<<
* line_edge = 1
* else:
*/
__pyx_t_14 = ((__pyx_v_i == 0) != 0);
if (!__pyx_t_14) {
} else {
__pyx_t_13 = __pyx_t_14;
goto __pyx_L8_bool_binop_done;
}
__pyx_t_14 = ((__pyx_v_i == __pyx_v_lines) != 0);
__pyx_t_13 = __pyx_t_14;
__pyx_L8_bool_binop_done:;
if (__pyx_t_13) {
/* "ancillary.pyx":155
* for j in range(eles):
* if (i == 0 or i == lines):
* line_edge = 1 # <<<<<<<<<<<<<<
* else:
* line_edge = 0
/* "ancillary.pyx":154
* for i in range(lines):
* for j in range(eles):
* if (i == 0 or i == lines): # <<<<<<<<<<<<<<
* line_edge = 1
* else:
*/
goto __pyx_L7;
}
/* "ancillary.pyx":157
* line_edge = 1
* else:
* line_edge = 0 # <<<<<<<<<<<<<<
* if (j == 0 or j == eles):
* elem_edge = 1
/*else*/ {
__pyx_v_line_edge = 0;
}
__pyx_L7:;
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
/* "ancillary.pyx":158
* else:
* line_edge = 0
* if (j == 0 or j == eles): # <<<<<<<<<<<<<<
* elem_edge = 1
* else:
*/
__pyx_t_14 = ((__pyx_v_j == 0) != 0);
if (!__pyx_t_14) {
} else {
__pyx_t_13 = __pyx_t_14;
goto __pyx_L11_bool_binop_done;
}
__pyx_t_14 = ((__pyx_v_j == __pyx_v_eles) != 0);
__pyx_t_13 = __pyx_t_14;
__pyx_L11_bool_binop_done:;
if (__pyx_t_13) {
/* "ancillary.pyx":159
* line_edge = 0
* if (j == 0 or j == eles):
* elem_edge = 1 # <<<<<<<<<<<<<<
* else:
* elem_edge = 0
*/
__pyx_v_elem_edge = 1;
/* "ancillary.pyx":158
* else:
* line_edge = 0
* if (j == 0 or j == eles): # <<<<<<<<<<<<<<
* elem_edge = 1
* else:
*/
goto __pyx_L10;
}
/* "ancillary.pyx":161
* elem_edge = 1
* else:
* elem_edge = 0 # <<<<<<<<<<<<<<
* check_reg_uniformity(eles, line_edge, elem_edge, i, j, eco_type[i][j],
* &eco[0, 0], &snowfr[0, 0], &icefr[0, 0], &lsf[0, 0],
*/
/*else*/ {
__pyx_v_elem_edge = 0;
}
__pyx_L10:;
/* "ancillary.pyx":162
* else:
* elem_edge = 0
* check_reg_uniformity(eles, line_edge, elem_edge, i, j, eco_type[i][j], # <<<<<<<<<<<<<<
* &eco[0, 0], &snowfr[0, 0], &icefr[0, 0], &lsf[0, 0],
* &coast, &land, &water, &loc_uniform)
*/
__pyx_t_1 = __Pyx_GetItemInt(((PyObject *)__pyx_v_eco_type), __pyx_v_i, int, 1, __Pyx_PyInt_From_int, 0, 0, 0); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 162, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_t_2 = __Pyx_GetItemInt(__pyx_t_1, __pyx_v_j, int, 1, __Pyx_PyInt_From_int, 0, 0, 0); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 162, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
__pyx_t_15 = __Pyx_PyInt_As_unsigned_char(__pyx_t_2); if (unlikely((__pyx_t_15 == (unsigned char)-1) && PyErr_Occurred())) __PYX_ERR(0, 162, __pyx_L1_error)
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
/* "ancillary.pyx":163
* elem_edge = 0
* check_reg_uniformity(eles, line_edge, elem_edge, i, j, eco_type[i][j],
* &eco[0, 0], &snowfr[0, 0], &icefr[0, 0], &lsf[0, 0], # <<<<<<<<<<<<<<
* &coast, &land, &water, &loc_uniform)
__pyx_t_16 = 0;
__pyx_t_17 = 0;
__pyx_t_18 = 0;
__pyx_t_19 = 0;
__pyx_t_20 = 0;
__pyx_t_21 = 0;
__pyx_t_22 = 0;
__pyx_t_23 = 0;
/* "ancillary.pyx":162
* else:
* elem_edge = 0
* check_reg_uniformity(eles, line_edge, elem_edge, i, j, eco_type[i][j], # <<<<<<<<<<<<<<
* &eco[0, 0], &snowfr[0, 0], &icefr[0, 0], &lsf[0, 0],
* &coast, &land, &water, &loc_uniform)
*/
check_reg_uniformity(__pyx_v_eles, __pyx_v_line_edge, __pyx_v_elem_edge, __pyx_v_i, __pyx_v_j, __pyx_t_15, (&(*__Pyx_BufPtrStrided2d(unsigned char *, __pyx_pybuffernd_eco.rcbuffer->pybuffer.buf, __pyx_t_16, __pyx_pybuffernd_eco.diminfo[0].strides, __pyx_t_17, __pyx_pybuffernd_eco.diminfo[1].strides))), (&(*__Pyx_BufPtrStrided2d(float *, __pyx_pybuffernd_snowfr.rcbuffer->pybuffer.buf, __pyx_t_18, __pyx_pybuffernd_snowfr.diminfo[0].strides, __pyx_t_19, __pyx_pybuffernd_snowfr.diminfo[1].strides))), (&(*__Pyx_BufPtrStrided2d(float *, __pyx_pybuffernd_icefr.rcbuffer->pybuffer.buf, __pyx_t_20, __pyx_pybuffernd_icefr.diminfo[0].strides, __pyx_t_21, __pyx_pybuffernd_icefr.diminfo[1].strides))), (&(*__Pyx_BufPtrStrided2d(unsigned char *, __pyx_pybuffernd_lsf.rcbuffer->pybuffer.buf, __pyx_t_22, __pyx_pybuffernd_lsf.diminfo[0].strides, __pyx_t_23, __pyx_pybuffernd_lsf.diminfo[1].strides))), (&__pyx_v_coast), (&__pyx_v_land), (&__pyx_v_water), (&__pyx_v_loc_uniform));
/* "ancillary.pyx":166
* &coast, &land, &water, &loc_uniform)
* coast_mv[i][j] = coast # <<<<<<<<<<<<<<
* land_mv[i][j] = land
* water_mv[i][j] = water
__pyx_t_23 = __pyx_v_i;
__pyx_t_22 = __pyx_v_j;
*((int *) ( /* dim=1 */ ((char *) (((int *) ( /* dim=0 */ (__pyx_v_coast_mv.data + __pyx_t_23 * __pyx_v_coast_mv.strides[0]) )) + __pyx_t_22)) )) = __pyx_v_coast;
/* "ancillary.pyx":167
*
* coast_mv[i][j] = coast
* land_mv[i][j] = land # <<<<<<<<<<<<<<
* water_mv[i][j] = water
* loc_uniform_mv[i][j] = loc_uniform
*/
__pyx_t_22 = __pyx_v_i;
__pyx_t_23 = __pyx_v_j;
*((int *) ( /* dim=1 */ ((char *) (((int *) ( /* dim=0 */ (__pyx_v_land_mv.data + __pyx_t_22 * __pyx_v_land_mv.strides[0]) )) + __pyx_t_23)) )) = __pyx_v_land;
/* "ancillary.pyx":168
* coast_mv[i][j] = coast
* land_mv[i][j] = land
* water_mv[i][j] = water # <<<<<<<<<<<<<<
* loc_uniform_mv[i][j] = loc_uniform
__pyx_t_23 = __pyx_v_i;
__pyx_t_22 = __pyx_v_j;
*((int *) ( /* dim=1 */ ((char *) (((int *) ( /* dim=0 */ (__pyx_v_water_mv.data + __pyx_t_23 * __pyx_v_water_mv.strides[0]) )) + __pyx_t_22)) )) = __pyx_v_water;
/* "ancillary.pyx":169
* land_mv[i][j] = land
* water_mv[i][j] = water
* loc_uniform_mv[i][j] = loc_uniform # <<<<<<<<<<<<<<
*
* scene_uniformity = {'coast': coast_r,
*/
__pyx_t_22 = __pyx_v_i;
__pyx_t_23 = __pyx_v_j;
*((int *) ( /* dim=1 */ ((char *) (((int *) ( /* dim=0 */ (__pyx_v_loc_uniform_mv.data + __pyx_t_22 * __pyx_v_loc_uniform_mv.strides[0]) )) + __pyx_t_23)) )) = __pyx_v_loc_uniform;
}
}
/* "ancillary.pyx":171
* loc_uniform_mv[i][j] = loc_uniform
* scene_uniformity = {'coast': coast_r, # <<<<<<<<<<<<<<
* 'land': land_r,
* 'water': water_r,
__pyx_t_2 = __Pyx_PyDict_NewPresized(4); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 171, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_2);
if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_coast, ((PyObject *)__pyx_v_coast_r)) < 0) __PYX_ERR(0, 171, __pyx_L1_error)
/* "ancillary.pyx":172
*
* scene_uniformity = {'coast': coast_r,
* 'land': land_r, # <<<<<<<<<<<<<<
* 'water': water_r,
* 'loc_uniform': loc_uniform_r}
if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_land, ((PyObject *)__pyx_v_land_r)) < 0) __PYX_ERR(0, 171, __pyx_L1_error)
/* "ancillary.pyx":173
* scene_uniformity = {'coast': coast_r,
* 'land': land_r,
* 'water': water_r, # <<<<<<<<<<<<<<
* 'loc_uniform': loc_uniform_r}
if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_water, ((PyObject *)__pyx_v_water_r)) < 0) __PYX_ERR(0, 171, __pyx_L1_error)
/* "ancillary.pyx":174
* 'land': land_r,
* 'water': water_r,
* 'loc_uniform': loc_uniform_r} # <<<<<<<<<<<<<<
*
* return scene_uniformity
if (PyDict_SetItem(__pyx_t_2, __pyx_n_u_loc_uniform, ((PyObject *)__pyx_v_loc_uniform_r)) < 0) __PYX_ERR(0, 171, __pyx_L1_error)
__pyx_v_scene_uniformity = ((PyObject*)__pyx_t_2);
__pyx_t_2 = 0;
/* "ancillary.pyx":176
* 'loc_uniform': loc_uniform_r}
*
* return scene_uniformity # <<<<<<<<<<<<<<
*
__Pyx_INCREF(__pyx_v_scene_uniformity);
__pyx_r = __pyx_v_scene_uniformity;
/* "ancillary.pyx":134
* @cython.wraparound(False)
* @cython.initializedcheck(False)
* def py_check_reg_uniformity(np.ndarray[unsigned char, ndim=2] eco_type, np.ndarray[unsigned char, ndim=2] eco, # <<<<<<<<<<<<<<
* np.ndarray[float, ndim=2] snowfr,
* np.ndarray[float, ndim=2] icefr, np.ndarray[unsigned char, ndim=2] lsf):
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_XDECREF(__pyx_t_2);
__Pyx_XDECREF(__pyx_t_3);
__Pyx_XDECREF(__pyx_t_4);
__Pyx_XDECREF(__pyx_t_5);
__PYX_XDEC_MEMVIEW(&__pyx_t_6, 1);
{ PyObject *__pyx_type, *__pyx_value, *__pyx_tb;
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ErrFetch(&__pyx_type, &__pyx_value, &__pyx_tb);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_eco.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_eco_type.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_icefr.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_lsf.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_snowfr.rcbuffer->pybuffer);
__Pyx_ErrRestore(__pyx_type, __pyx_value, __pyx_tb);}
__Pyx_AddTraceback("ancillary_data.py_check_reg_uniformity", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = NULL;
goto __pyx_L2;
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_eco.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_eco_type.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_icefr.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_lsf.rcbuffer->pybuffer);
__Pyx_SafeReleaseBuffer(&__pyx_pybuffernd_snowfr.rcbuffer->pybuffer);
__pyx_L2:;
__Pyx_XDECREF((PyObject *)__pyx_v_coast_r);
__Pyx_XDECREF((PyObject *)__pyx_v_land_r);
__Pyx_XDECREF((PyObject *)__pyx_v_water_r);
__Pyx_XDECREF((PyObject *)__pyx_v_loc_uniform_r);
__PYX_XDEC_MEMVIEW(&__pyx_v_coast_mv, 1);
__PYX_XDEC_MEMVIEW(&__pyx_v_land_mv, 1);
__PYX_XDEC_MEMVIEW(&__pyx_v_water_mv, 1);
__PYX_XDEC_MEMVIEW(&__pyx_v_loc_uniform_mv, 1);
__Pyx_XDECREF(__pyx_v_scene_uniformity);
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":735
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(1, <void*>a)
*
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__pyx_v_a) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":736
*
* cdef inline object PyArray_MultiIterNew1(a):
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
*
* cdef inline object PyArray_MultiIterNew2(a, b):
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 736, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":735
* ctypedef npy_cdouble complex_t
*
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(1, <void*>a)
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew1", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":738
* return PyArray_MultiIterNew(1, <void*>a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__pyx_v_a, PyObject *__pyx_v_b) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":739
* cdef inline object PyArray_MultiIterNew2(a, b):
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
* cdef inline object PyArray_MultiIterNew3(a, b, c):
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 739, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":738
* return PyArray_MultiIterNew(1, <void*>a)
*
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew2", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__pyx_L0:;
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":741
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":742
* cdef inline object PyArray_MultiIterNew3(a, b, c):
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(3, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 742, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":741
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
*
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew3", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":744
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
*
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d) {
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":745
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
*
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(4, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 745, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
goto __pyx_L0;
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":744
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
*
*/
/* function exit code */
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew4", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":747
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__pyx_v_a, PyObject *__pyx_v_b, PyObject *__pyx_v_c, PyObject *__pyx_v_d, PyObject *__pyx_v_e) {
PyObject *__pyx_r = NULL;
PyObject *__pyx_t_1 = NULL;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":748
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
* cdef inline tuple PyDataType_SHAPE(dtype d):
__Pyx_XDECREF(__pyx_r);
__pyx_t_1 = PyArray_MultiIterNew(5, ((void *)__pyx_v_a), ((void *)__pyx_v_b), ((void *)__pyx_v_c), ((void *)__pyx_v_d), ((void *)__pyx_v_e)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 748, __pyx_L1_error)
__Pyx_GOTREF(__pyx_t_1);
__pyx_r = __pyx_t_1;
__pyx_t_1 = 0;
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":747
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_1);
__Pyx_AddTraceback("numpy.PyArray_MultiIterNew5", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = 0;
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":750
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
* if PyDataType_HASSUBARRAY(d):
* return <tuple>d.subarray.shape
static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__pyx_v_d) {
PyObject *__pyx_r = NULL;
int __pyx_t_1;
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":751
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
* return <tuple>d.subarray.shape
* else:
*/
__pyx_t_1 = (PyDataType_HASSUBARRAY(__pyx_v_d) != 0);
if (__pyx_t_1) {
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":752
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d):
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
* else:
* return ()
*/
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape));
__pyx_r = ((PyObject*)__pyx_v_d->subarray->shape);
goto __pyx_L0;
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":751
* cdef inline tuple PyDataType_SHAPE(dtype d):
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
* return <tuple>d.subarray.shape
* else:
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":754
* return <tuple>d.subarray.shape
* else:
* return () # <<<<<<<<<<<<<<
*/
/*else*/ {
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(__pyx_empty_tuple);
__pyx_r = __pyx_empty_tuple;
goto __pyx_L0;
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":750
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
*
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
* if PyDataType_HASSUBARRAY(d):
* return <tuple>d.subarray.shape
__Pyx_RefNannyFinishContext();
return __pyx_r;
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":929
* int _import_umath() except -1
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
* Py_INCREF(base) # important to do this before stealing the reference below!
* PyArray_SetBaseObject(arr, base)
static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_arr, PyObject *__pyx_v_base) {
__Pyx_RefNannyDeclarations
__Pyx_RefNannySetupContext("set_array_base", 0);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":930
* cdef inline void set_array_base(ndarray arr, object base):
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
* PyArray_SetBaseObject(arr, base)
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":931
* cdef inline void set_array_base(ndarray arr, object base):
* Py_INCREF(base) # important to do this before stealing the reference below!
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
* cdef inline object get_array_base(ndarray arr):
(void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base));
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":929
* int _import_umath() except -1
*
* cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<<
* Py_INCREF(base) # important to do this before stealing the reference below!
* PyArray_SetBaseObject(arr, base)
*/
/* function exit code */
__Pyx_RefNannyFinishContext();
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":933
* PyArray_SetBaseObject(arr, base)
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
* base = PyArray_BASE(arr)
* if base is NULL:
*/
static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__pyx_v_arr) {
PyObject *__pyx_v_base;
PyObject *__pyx_r = NULL;
__Pyx_RefNannyDeclarations
int __pyx_t_1;
__Pyx_RefNannySetupContext("get_array_base", 0);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":934
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
* if base is NULL:
* return None
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":935
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr)
* if base is NULL: # <<<<<<<<<<<<<<
* return None
* return <object>base
*/
__pyx_t_1 = ((__pyx_v_base == NULL) != 0);
if (__pyx_t_1) {
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":936
* base = PyArray_BASE(arr)
* if base is NULL:
* return None # <<<<<<<<<<<<<<
* return <object>base
*/
__Pyx_XDECREF(__pyx_r);
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
goto __pyx_L0;
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":935
* cdef inline object get_array_base(ndarray arr):
* base = PyArray_BASE(arr)
* if base is NULL: # <<<<<<<<<<<<<<
* return None
* return <object>base
*/
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":937
* if base is NULL:
* return None
* return <object>base # <<<<<<<<<<<<<<
* # Versions of the import_* functions which are more suitable for
__Pyx_XDECREF(__pyx_r);
__Pyx_INCREF(((PyObject *)__pyx_v_base));
__pyx_r = ((PyObject *)__pyx_v_base);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":933
* PyArray_SetBaseObject(arr, base)
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
* base = PyArray_BASE(arr)
* if base is NULL:
__Pyx_XGIVEREF(__pyx_r);
__Pyx_RefNannyFinishContext();
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":941
* # Versions of the import_* functions which are more suitable for
* # Cython code.
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
* try:
* __pyx_import_array()
static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
int __pyx_r;
__Pyx_RefNannyDeclarations
PyObject *__pyx_t_1 = NULL;
PyObject *__pyx_t_2 = NULL;
PyObject *__pyx_t_3 = NULL;
int __pyx_t_4;
PyObject *__pyx_t_5 = NULL;
PyObject *__pyx_t_6 = NULL;
PyObject *__pyx_t_7 = NULL;
PyObject *__pyx_t_8 = NULL;
int __pyx_lineno = 0;
const char *__pyx_filename = NULL;
int __pyx_clineno = 0;
__Pyx_RefNannySetupContext("import_array", 0);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":942
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
* __pyx_import_array()
* except Exception:
{
__Pyx_PyThreadState_declare
__Pyx_PyThreadState_assign
__Pyx_ExceptionSave(&__pyx_t_1, &__pyx_t_2, &__pyx_t_3);
__Pyx_XGOTREF(__pyx_t_1);
__Pyx_XGOTREF(__pyx_t_2);
__Pyx_XGOTREF(__pyx_t_3);
/*try:*/ {
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":943
* cdef inline int import_array() except -1:
* try:
* __pyx_import_array() # <<<<<<<<<<<<<<
* except Exception:
* raise ImportError("numpy.core.multiarray failed to import")
*/
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 943, __pyx_L3_error)
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":942
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
* __pyx_import_array()
* except Exception:
*/
}
__Pyx_XDECREF(__pyx_t_1); __pyx_t_1 = 0;
__Pyx_XDECREF(__pyx_t_2); __pyx_t_2 = 0;
__Pyx_XDECREF(__pyx_t_3); __pyx_t_3 = 0;
goto __pyx_L8_try_end;
__pyx_L3_error:;
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":944
* try:
* __pyx_import_array()
* except Exception: # <<<<<<<<<<<<<<
* raise ImportError("numpy.core.multiarray failed to import")
*/
__pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0])));
if (__pyx_t_4) {
__Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename);
if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 944, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_5);
__Pyx_GOTREF(__pyx_t_6);
__Pyx_GOTREF(__pyx_t_7);
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":945
* __pyx_import_array()
* except Exception:
* raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<<
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
* cdef inline int import_umath() except -1:
*/
__pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple_, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 945, __pyx_L5_except_error)
__Pyx_GOTREF(__pyx_t_8);
__Pyx_Raise(__pyx_t_8, 0, 0, 0);
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
__PYX_ERR(1, 945, __pyx_L5_except_error)
}
goto __pyx_L5_except_error;
__pyx_L5_except_error:;
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":942
* # Cython code.
* cdef inline int import_array() except -1:
* try: # <<<<<<<<<<<<<<
* __pyx_import_array()
* except Exception:
*/
__Pyx_XGIVEREF(__pyx_t_1);
__Pyx_XGIVEREF(__pyx_t_2);
__Pyx_XGIVEREF(__pyx_t_3);
__Pyx_ExceptionReset(__pyx_t_1, __pyx_t_2, __pyx_t_3);
goto __pyx_L1_error;
__pyx_L8_try_end:;
}
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":941
* # Versions of the import_* functions which are more suitable for
* # Cython code.
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
* try:
* __pyx_import_array()
__pyx_r = 0;
goto __pyx_L0;
__pyx_L1_error:;
__Pyx_XDECREF(__pyx_t_5);
__Pyx_XDECREF(__pyx_t_6);
__Pyx_XDECREF(__pyx_t_7);
__Pyx_XDECREF(__pyx_t_8);
__Pyx_AddTraceback("numpy.import_array", __pyx_clineno, __pyx_lineno, __pyx_filename);
__pyx_r = -1;
__Pyx_RefNannyFinishContext();
/* "../miniconda3/lib/python3.9/site-packages/numpy/__init__.pxd":947
* raise ImportError("numpy.core.multiarray failed to import")
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
* try:
* _import_umath()
static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {