diff --git a/.gitignore b/.gitignore index 45e8fdb..4c0fd2d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ build dist *.egg-info tests/__pycache__* +*.lock diff --git a/build.py b/build.py new file mode 100644 index 0000000..a105946 --- /dev/null +++ b/build.py @@ -0,0 +1,19 @@ +from setuptools import Extension, setup +from Cython.Build import cythonize +import numpy as np + +# Define Cython extension modules +extensions = [ + Extension( + 'tools21cm.ViteBetti_cython', + ['src/tools21cm/ViteBetti_cython.pyx'], + language="c++", + include_dirs=[np.get_include()] + ), +] + +def build(setup_kwargs): + setup_kwargs.update({ + 'ext_modules': cythonize(extensions, language_level=3), + 'include_dirs': [np.get_include()], + }) diff --git a/pyproject.toml b/pyproject.toml index 5305a97..f1abb43 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,34 +1,38 @@ [build-system] -requires = ["setuptools>=42", "wheel", "cython", "numpy"] +requires = [ + "setuptools>=42", + "wheel", + "Cython", + "numpy" +] build-backend = "setuptools.build_meta" -[project] +[tool.poetry] name = "tools21cm" version = "2.2.6" -authors = [ - { name = "Sambit Giri", email = "sambit.giri@gmail.com" } -] -description = "A package providing tools to analyse cosmological simulations of reionization." +description = "A package providing tools to analyse cosmological simulations of reionization" +authors = ["Sambit Giri "] +license = "MIT" readme = "README.md" -requires-python = ">=3.6" -dependencies = [ - "numpy", +packages = [ + { include = "tools21cm", from = "src" } ] +include = ["src/tools21cm/input_data/*"] -[tool.setuptools] -packages = ["tools21cm"] -package-dir = { "" = "src" } -include-package-data = true - -[tool.setuptools.package-data] -tools21cm = ["input_data/*"] +[tool.poetry.dependencies] +python = ">=3.8" +numpy = "^1.21" +cython = "^0.29" +scipy = "^1.7" +matplotlib = "^3.4" +astropy = "^4.0" +scikit-learn = "^0.24" +scikit-image = "^0.18" +tqdm = "^4.60" +joblib = "^1.0" +pandas = "^1.3" +pytest = "^6.2" -[tool.setuptools.ext-modules] -tools21cm.ViteBetti_cython = { - sources = ["src/tools21cm/ViteBetti_cython.pyx"], - language = "c++", - include_dirs = ["numpy.get_include()"], -} +[tool.poetry.dev-dependencies] +pytest = "^6.2" # If you want pytest to be part of development dependencies, but you already have it above too. -[tool.cythonize] -language_level = 3 diff --git a/requirements.txt b/requirements.txt index f3d9a73..a5ee046 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,10 +3,8 @@ numpy scipy matplotlib astropy -# pyfftw scikit-learn scikit-image -## pyfits tqdm joblib pandas diff --git a/src/tools21cm/ViteBetti_cython.cpp b/src/tools21cm/ViteBetti_cython.cpp index 63ece98..ddca4c9 100644 --- a/src/tools21cm/ViteBetti_cython.cpp +++ b/src/tools21cm/ViteBetti_cython.cpp @@ -4,14 +4,14 @@ { "distutils": { "depends": [ - "/Users/sambit/miniconda3/envs/test/lib/python3.10/site-packages/numpy/core/include/numpy/arrayobject.h", - "/Users/sambit/miniconda3/envs/test/lib/python3.10/site-packages/numpy/core/include/numpy/arrayscalars.h", - "/Users/sambit/miniconda3/envs/test/lib/python3.10/site-packages/numpy/core/include/numpy/ndarrayobject.h", - "/Users/sambit/miniconda3/envs/test/lib/python3.10/site-packages/numpy/core/include/numpy/ndarraytypes.h", - "/Users/sambit/miniconda3/envs/test/lib/python3.10/site-packages/numpy/core/include/numpy/ufuncobject.h" + "/private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/_core/include/numpy/arrayobject.h", + "/private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/_core/include/numpy/arrayscalars.h", + "/private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/_core/include/numpy/ndarrayobject.h", + "/private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/_core/include/numpy/ndarraytypes.h", + "/private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/_core/include/numpy/ufuncobject.h" ], "include_dirs": [ - "/Users/sambit/miniconda3/envs/test/lib/python3.10/site-packages/numpy/core/include" + "/private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/_core/include" ], "language": "c++", "name": "tools21cm.ViteBetti_cython", @@ -1581,7 +1581,7 @@ typedef struct { /* #### Code section: numeric_typedefs ### */ -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":730 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":787 * # in Cython to enable them only on the right systems. * * ctypedef npy_int8 int8_t # <<<<<<<<<<<<<< @@ -1590,7 +1590,7 @@ typedef struct { */ typedef npy_int8 __pyx_t_5numpy_int8_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":731 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":788 * * ctypedef npy_int8 int8_t * ctypedef npy_int16 int16_t # <<<<<<<<<<<<<< @@ -1599,7 +1599,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t; */ typedef npy_int16 __pyx_t_5numpy_int16_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":732 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789 * ctypedef npy_int8 int8_t * ctypedef npy_int16 int16_t * ctypedef npy_int32 int32_t # <<<<<<<<<<<<<< @@ -1608,7 +1608,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t; */ typedef npy_int32 __pyx_t_5numpy_int32_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":733 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":790 * ctypedef npy_int16 int16_t * ctypedef npy_int32 int32_t * ctypedef npy_int64 int64_t # <<<<<<<<<<<<<< @@ -1617,7 +1617,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t; */ typedef npy_int64 __pyx_t_5numpy_int64_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":737 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":794 * #ctypedef npy_int128 int128_t * * ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<< @@ -1626,7 +1626,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t; */ typedef npy_uint8 __pyx_t_5numpy_uint8_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":738 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":795 * * ctypedef npy_uint8 uint8_t * ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<< @@ -1635,7 +1635,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t; */ typedef npy_uint16 __pyx_t_5numpy_uint16_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":739 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":796 * ctypedef npy_uint8 uint8_t * ctypedef npy_uint16 uint16_t * ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<< @@ -1644,7 +1644,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t; */ typedef npy_uint32 __pyx_t_5numpy_uint32_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":740 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":797 * ctypedef npy_uint16 uint16_t * ctypedef npy_uint32 uint32_t * ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<< @@ -1653,7 +1653,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t; */ typedef npy_uint64 __pyx_t_5numpy_uint64_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":744 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":801 * #ctypedef npy_uint128 uint128_t * * ctypedef npy_float32 float32_t # <<<<<<<<<<<<<< @@ -1662,7 +1662,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t; */ typedef npy_float32 __pyx_t_5numpy_float32_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":745 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":802 * * ctypedef npy_float32 float32_t * ctypedef npy_float64 float64_t # <<<<<<<<<<<<<< @@ -1671,43 +1671,25 @@ typedef npy_float32 __pyx_t_5numpy_float32_t; */ typedef npy_float64 __pyx_t_5numpy_float64_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":754 - * # The int types are mapped a bit surprising -- - * # numpy.int corresponds to 'l' and numpy.long to 'q' - * ctypedef npy_long int_t # <<<<<<<<<<<<<< - * ctypedef npy_longlong longlong_t +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":809 + * ctypedef double complex complex128_t * - */ -typedef npy_long __pyx_t_5numpy_int_t; - -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":755 - * # numpy.int corresponds to 'l' and numpy.long to 'q' - * ctypedef npy_long int_t * ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<< - * - * ctypedef npy_ulong uint_t - */ -typedef npy_longlong __pyx_t_5numpy_longlong_t; - -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":757 - * ctypedef npy_longlong longlong_t - * - * ctypedef npy_ulong uint_t # <<<<<<<<<<<<<< * ctypedef npy_ulonglong ulonglong_t * */ -typedef npy_ulong __pyx_t_5numpy_uint_t; +typedef npy_longlong __pyx_t_5numpy_longlong_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":758 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":810 * - * ctypedef npy_ulong uint_t + * ctypedef npy_longlong longlong_t * ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<< * * ctypedef npy_intp intp_t */ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":760 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":812 * ctypedef npy_ulonglong ulonglong_t * * ctypedef npy_intp intp_t # <<<<<<<<<<<<<< @@ -1716,7 +1698,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t; */ typedef npy_intp __pyx_t_5numpy_intp_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":761 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":813 * * ctypedef npy_intp intp_t * ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<< @@ -1725,7 +1707,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t; */ typedef npy_uintp __pyx_t_5numpy_uintp_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":763 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":815 * ctypedef npy_uintp uintp_t * * ctypedef npy_double float_t # <<<<<<<<<<<<<< @@ -1734,7 +1716,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t; */ typedef npy_double __pyx_t_5numpy_float_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":764 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":816 * * ctypedef npy_double float_t * ctypedef npy_double double_t # <<<<<<<<<<<<<< @@ -1743,12 +1725,12 @@ typedef npy_double __pyx_t_5numpy_float_t; */ typedef npy_double __pyx_t_5numpy_double_t; -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":765 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":817 * ctypedef npy_double float_t * ctypedef npy_double double_t * ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<< * - * ctypedef npy_cfloat cfloat_t + * ctypedef float complex cfloat_t */ typedef npy_longdouble __pyx_t_5numpy_longdouble_t; /* #### Code section: complex_type_declarations ### */ @@ -1776,45 +1758,39 @@ static CYTHON_INLINE __pyx_t_float_complex __pyx_t_float_complex_from_parts(floa #endif static CYTHON_INLINE __pyx_t_double_complex __pyx_t_double_complex_from_parts(double, double); +/* Declarations.proto */ +#if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) + #ifdef __cplusplus + typedef ::std::complex< long double > __pyx_t_long_double_complex; + #else + typedef long double _Complex __pyx_t_long_double_complex; + #endif +#else + typedef struct { long double real, imag; } __pyx_t_long_double_complex; +#endif +static CYTHON_INLINE __pyx_t_long_double_complex __pyx_t_long_double_complex_from_parts(long double, long double); + /* #### Code section: type_declarations ### */ /*--- Type declarations ---*/ -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":767 - * ctypedef npy_longdouble longdouble_t +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1113 * - * ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<< - * ctypedef npy_cdouble cdouble_t - * ctypedef npy_clongdouble clongdouble_t - */ -typedef npy_cfloat __pyx_t_5numpy_cfloat_t; - -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":768 - * - * ctypedef npy_cfloat cfloat_t - * ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<< - * ctypedef npy_clongdouble clongdouble_t + * # Iterator API added in v1.6 + * ctypedef int (*NpyIter_IterNextFunc)(NpyIter* it) noexcept nogil # <<<<<<<<<<<<<< + * ctypedef void (*NpyIter_GetMultiIndexFunc)(NpyIter* it, npy_intp* outcoords) noexcept nogil * */ -typedef npy_cdouble __pyx_t_5numpy_cdouble_t; +typedef int (*__pyx_t_5numpy_NpyIter_IterNextFunc)(NpyIter *); -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":769 - * ctypedef npy_cfloat cfloat_t - * ctypedef npy_cdouble cdouble_t - * ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<< +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1114 + * # Iterator API added in v1.6 + * ctypedef int (*NpyIter_IterNextFunc)(NpyIter* it) noexcept nogil + * ctypedef void (*NpyIter_GetMultiIndexFunc)(NpyIter* it, npy_intp* outcoords) noexcept nogil # <<<<<<<<<<<<<< * - * ctypedef npy_cdouble complex_t + * cdef extern from "numpy/arrayobject.h": */ -typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t; - -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":771 - * ctypedef npy_clongdouble clongdouble_t - * - * ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<< - * - * cdef inline object PyArray_MultiIterNew1(a): - */ -typedef npy_cdouble __pyx_t_5numpy_complex_t; +typedef void (*__pyx_t_5numpy_NpyIter_GetMultiIndexFunc)(NpyIter *, npy_intp *); /* #### Code section: utility_code_proto ### */ /* --- Runtime support code (head) --- */ @@ -2511,6 +2487,44 @@ typedef struct { #endif #endif +/* Arithmetic.proto */ +#if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) + #define __Pyx_c_eq_long__double(a, b) ((a)==(b)) + #define __Pyx_c_sum_long__double(a, b) ((a)+(b)) + #define __Pyx_c_diff_long__double(a, b) ((a)-(b)) + #define __Pyx_c_prod_long__double(a, b) ((a)*(b)) + #define __Pyx_c_quot_long__double(a, b) ((a)/(b)) + #define __Pyx_c_neg_long__double(a) (-(a)) + #ifdef __cplusplus + #define __Pyx_c_is_zero_long__double(z) ((z)==(long double)0) + #define __Pyx_c_conj_long__double(z) (::std::conj(z)) + #if 1 + #define __Pyx_c_abs_long__double(z) (::std::abs(z)) + #define __Pyx_c_pow_long__double(a, b) (::std::pow(a, b)) + #endif + #else + #define __Pyx_c_is_zero_long__double(z) ((z)==0) + #define __Pyx_c_conj_long__double(z) (conjl(z)) + #if 1 + #define __Pyx_c_abs_long__double(z) (cabsl(z)) + #define __Pyx_c_pow_long__double(a, b) (cpowl(a, b)) + #endif + #endif +#else + static CYTHON_INLINE int __Pyx_c_eq_long__double(__pyx_t_long_double_complex, __pyx_t_long_double_complex); + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_sum_long__double(__pyx_t_long_double_complex, __pyx_t_long_double_complex); + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_diff_long__double(__pyx_t_long_double_complex, __pyx_t_long_double_complex); + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_prod_long__double(__pyx_t_long_double_complex, __pyx_t_long_double_complex); + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_quot_long__double(__pyx_t_long_double_complex, __pyx_t_long_double_complex); + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_neg_long__double(__pyx_t_long_double_complex); + static CYTHON_INLINE int __Pyx_c_is_zero_long__double(__pyx_t_long_double_complex); + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_conj_long__double(__pyx_t_long_double_complex); + #if 1 + static CYTHON_INLINE long double __Pyx_c_abs_long__double(__pyx_t_long_double_complex); + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_pow_long__double(__pyx_t_long_double_complex, __pyx_t_long_double_complex); + #endif +#endif + /* CIntToPy.proto */ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value); @@ -2567,6 +2581,18 @@ static int __Pyx_check_binary_version(unsigned long ct_version, unsigned long rt static int __Pyx_InitStrings(__Pyx_StringTabEntry *t); /* #### Code section: module_declarations ### */ +static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_Descr *__pyx_v_self); /* proto*/ +static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray_Descr *__pyx_v_self); /* proto*/ +static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Descr *__pyx_v_self); /* proto*/ +static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr *__pyx_v_self); /* proto*/ +static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarray(PyArray_Descr *__pyx_v_self); /* proto*/ +static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr *__pyx_v_self); /* proto*/ +static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMultiIterObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiIterObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMultiIterObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions(PyArrayMultiIterObject *__pyx_v_self); /* proto*/ +static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiIterObject *__pyx_v_self); /* proto*/ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self); /* proto*/ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArrayObject *__pyx_v_self); /* proto*/ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self); /* proto*/ @@ -2638,8 +2664,8 @@ static const char __pyx_k_multi_marker[] = "multi_marker"; static const char __pyx_k_asyncio_coroutines[] = "asyncio.coroutines"; static const char __pyx_k_cline_in_traceback[] = "cline_in_traceback"; static const char __pyx_k_tools21cm_ViteBetti_cython[] = "tools21cm.ViteBetti_cython"; -static const char __pyx_k_numpy_core_multiarray_failed_to[] = "numpy.core.multiarray failed to import"; -static const char __pyx_k_numpy_core_umath_failed_to_impor[] = "numpy.core.umath failed to import"; +static const char __pyx_k_numpy__core_multiarray_failed_to[] = "numpy._core.multiarray failed to import"; +static const char __pyx_k_numpy__core_umath_failed_to_impo[] = "numpy._core.umath failed to import"; static const char __pyx_k_src_tools21cm_ViteBetti_cython_p[] = "src/tools21cm/ViteBetti_cython.pyx"; /* #### Code section: decls ### */ static PyObject *__pyx_pf_9tools21cm_16ViteBetti_cython_CubeMap(CYTHON_UNUSED PyObject *__pyx_self, PyArrayObject *__pyx_v_arr, int __pyx_v_multi_marker); /* proto */ @@ -2731,8 +2757,8 @@ typedef struct { PyObject *__pyx_n_s_name; PyObject *__pyx_n_s_np; PyObject *__pyx_n_s_numpy; - PyObject *__pyx_kp_u_numpy_core_multiarray_failed_to; - PyObject *__pyx_kp_u_numpy_core_umath_failed_to_impor; + PyObject *__pyx_kp_u_numpy__core_multiarray_failed_to; + PyObject *__pyx_kp_u_numpy__core_umath_failed_to_impo; PyObject *__pyx_n_s_nx; PyObject *__pyx_n_s_ny; PyObject *__pyx_n_s_nz; @@ -2834,8 +2860,8 @@ static int __pyx_m_clear(PyObject *m) { Py_CLEAR(clear_module_state->__pyx_n_s_name); Py_CLEAR(clear_module_state->__pyx_n_s_np); Py_CLEAR(clear_module_state->__pyx_n_s_numpy); - Py_CLEAR(clear_module_state->__pyx_kp_u_numpy_core_multiarray_failed_to); - Py_CLEAR(clear_module_state->__pyx_kp_u_numpy_core_umath_failed_to_impor); + Py_CLEAR(clear_module_state->__pyx_kp_u_numpy__core_multiarray_failed_to); + Py_CLEAR(clear_module_state->__pyx_kp_u_numpy__core_umath_failed_to_impo); Py_CLEAR(clear_module_state->__pyx_n_s_nx); Py_CLEAR(clear_module_state->__pyx_n_s_ny); Py_CLEAR(clear_module_state->__pyx_n_s_nz); @@ -2915,8 +2941,8 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { Py_VISIT(traverse_module_state->__pyx_n_s_name); Py_VISIT(traverse_module_state->__pyx_n_s_np); Py_VISIT(traverse_module_state->__pyx_n_s_numpy); - Py_VISIT(traverse_module_state->__pyx_kp_u_numpy_core_multiarray_failed_to); - Py_VISIT(traverse_module_state->__pyx_kp_u_numpy_core_umath_failed_to_impor); + Py_VISIT(traverse_module_state->__pyx_kp_u_numpy__core_multiarray_failed_to); + Py_VISIT(traverse_module_state->__pyx_kp_u_numpy__core_umath_failed_to_impo); Py_VISIT(traverse_module_state->__pyx_n_s_nx); Py_VISIT(traverse_module_state->__pyx_n_s_ny); Py_VISIT(traverse_module_state->__pyx_n_s_nz); @@ -3024,8 +3050,8 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_n_s_name __pyx_mstate_global->__pyx_n_s_name #define __pyx_n_s_np __pyx_mstate_global->__pyx_n_s_np #define __pyx_n_s_numpy __pyx_mstate_global->__pyx_n_s_numpy -#define __pyx_kp_u_numpy_core_multiarray_failed_to __pyx_mstate_global->__pyx_kp_u_numpy_core_multiarray_failed_to -#define __pyx_kp_u_numpy_core_umath_failed_to_impor __pyx_mstate_global->__pyx_kp_u_numpy_core_umath_failed_to_impor +#define __pyx_kp_u_numpy__core_multiarray_failed_to __pyx_mstate_global->__pyx_kp_u_numpy__core_multiarray_failed_to +#define __pyx_kp_u_numpy__core_umath_failed_to_impo __pyx_mstate_global->__pyx_kp_u_numpy__core_umath_failed_to_impo #define __pyx_n_s_nx __pyx_mstate_global->__pyx_n_s_nx #define __pyx_n_s_ny __pyx_mstate_global->__pyx_n_s_ny #define __pyx_n_s_nz __pyx_mstate_global->__pyx_n_s_nz @@ -3046,10 +3072,434 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { #define __pyx_codeobj__7 __pyx_mstate_global->__pyx_codeobj__7 /* #### Code section: module_code ### */ -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":245 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":287 + * + * @property + * cdef inline npy_intp itemsize(self) noexcept nogil: # <<<<<<<<<<<<<< + * return PyDataType_ELSIZE(self) + * + */ + +static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_Descr *__pyx_v_self) { + npy_intp __pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":288 + * @property + * cdef inline npy_intp itemsize(self) noexcept nogil: + * return PyDataType_ELSIZE(self) # <<<<<<<<<<<<<< * * @property - * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<< + */ + __pyx_r = PyDataType_ELSIZE(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":287 + * + * @property + * cdef inline npy_intp itemsize(self) noexcept nogil: # <<<<<<<<<<<<<< + * return PyDataType_ELSIZE(self) + * + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":291 + * + * @property + * cdef inline npy_intp alignment(self) noexcept nogil: # <<<<<<<<<<<<<< + * return PyDataType_ALIGNMENT(self) + * + */ + +static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray_Descr *__pyx_v_self) { + npy_intp __pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":292 + * @property + * cdef inline npy_intp alignment(self) noexcept nogil: + * return PyDataType_ALIGNMENT(self) # <<<<<<<<<<<<<< + * + * # Use fields/names with care as they may be NULL. You must check + */ + __pyx_r = PyDataType_ALIGNMENT(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":291 + * + * @property + * cdef inline npy_intp alignment(self) noexcept nogil: # <<<<<<<<<<<<<< + * return PyDataType_ALIGNMENT(self) + * + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":297 + * # for this using PyDataType_HASFIELDS. + * @property + * cdef inline object fields(self): # <<<<<<<<<<<<<< + * return PyDataType_FIELDS(self) + * + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Descr *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1; + __Pyx_RefNannySetupContext("fields", 1); + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":298 + * @property + * cdef inline object fields(self): + * return PyDataType_FIELDS(self) # <<<<<<<<<<<<<< + * + * @property + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = PyDataType_FIELDS(__pyx_v_self); + __Pyx_INCREF(((PyObject *)__pyx_t_1)); + __pyx_r = ((PyObject *)__pyx_t_1); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":297 + * # for this using PyDataType_HASFIELDS. + * @property + * cdef inline object fields(self): # <<<<<<<<<<<<<< + * return PyDataType_FIELDS(self) + * + */ + + /* function exit code */ + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":301 + * + * @property + * cdef inline tuple names(self): # <<<<<<<<<<<<<< + * return PyDataType_NAMES(self) + * + */ + +static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr *__pyx_v_self) { + PyObject *__pyx_r = NULL; + __Pyx_RefNannyDeclarations + PyObject *__pyx_t_1; + __Pyx_RefNannySetupContext("names", 1); + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":302 + * @property + * cdef inline tuple names(self): + * return PyDataType_NAMES(self) # <<<<<<<<<<<<<< + * + * # Use PyDataType_HASSUBARRAY to test whether this field is + */ + __Pyx_XDECREF(__pyx_r); + __pyx_t_1 = PyDataType_NAMES(__pyx_v_self); + __Pyx_INCREF(((PyObject*)__pyx_t_1)); + __pyx_r = ((PyObject*)__pyx_t_1); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":301 + * + * @property + * cdef inline tuple names(self): # <<<<<<<<<<<<<< + * return PyDataType_NAMES(self) + * + */ + + /* function exit code */ + __pyx_L0:; + __Pyx_XGIVEREF(__pyx_r); + __Pyx_RefNannyFinishContext(); + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":308 + * # this field via the inline helper method PyDataType_SHAPE. + * @property + * cdef inline PyArray_ArrayDescr* subarray(self) noexcept nogil: # <<<<<<<<<<<<<< + * return PyDataType_SUBARRAY(self) + * + */ + +static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarray(PyArray_Descr *__pyx_v_self) { + PyArray_ArrayDescr *__pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":309 + * @property + * cdef inline PyArray_ArrayDescr* subarray(self) noexcept nogil: + * return PyDataType_SUBARRAY(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyDataType_SUBARRAY(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":308 + * # this field via the inline helper method PyDataType_SHAPE. + * @property + * cdef inline PyArray_ArrayDescr* subarray(self) noexcept nogil: # <<<<<<<<<<<<<< + * return PyDataType_SUBARRAY(self) + * + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":312 + * + * @property + * cdef inline npy_uint64 flags(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The data types flags.""" + * return PyDataType_FLAGS(self) + */ + +static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr *__pyx_v_self) { + npy_uint64 __pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":314 + * cdef inline npy_uint64 flags(self) noexcept nogil: + * """The data types flags.""" + * return PyDataType_FLAGS(self) # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = PyDataType_FLAGS(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":312 + * + * @property + * cdef inline npy_uint64 flags(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The data types flags.""" + * return PyDataType_FLAGS(self) + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":324 + * + * @property + * cdef inline int numiter(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The number of arrays that need to be broadcast to the same shape.""" + * return PyArray_MultiIter_NUMITER(self) + */ + +static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMultiIterObject *__pyx_v_self) { + int __pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":326 + * cdef inline int numiter(self) noexcept nogil: + * """The number of arrays that need to be broadcast to the same shape.""" + * return PyArray_MultiIter_NUMITER(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_MultiIter_NUMITER(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":324 + * + * @property + * cdef inline int numiter(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The number of arrays that need to be broadcast to the same shape.""" + * return PyArray_MultiIter_NUMITER(self) + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":329 + * + * @property + * cdef inline npy_intp size(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The total broadcasted size.""" + * return PyArray_MultiIter_SIZE(self) + */ + +static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiIterObject *__pyx_v_self) { + npy_intp __pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":331 + * cdef inline npy_intp size(self) noexcept nogil: + * """The total broadcasted size.""" + * return PyArray_MultiIter_SIZE(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_MultiIter_SIZE(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":329 + * + * @property + * cdef inline npy_intp size(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The total broadcasted size.""" + * return PyArray_MultiIter_SIZE(self) + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":334 + * + * @property + * cdef inline npy_intp index(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The current (1-d) index into the broadcasted result.""" + * return PyArray_MultiIter_INDEX(self) + */ + +static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMultiIterObject *__pyx_v_self) { + npy_intp __pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":336 + * cdef inline npy_intp index(self) noexcept nogil: + * """The current (1-d) index into the broadcasted result.""" + * return PyArray_MultiIter_INDEX(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_MultiIter_INDEX(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":334 + * + * @property + * cdef inline npy_intp index(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The current (1-d) index into the broadcasted result.""" + * return PyArray_MultiIter_INDEX(self) + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":339 + * + * @property + * cdef inline int nd(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The number of dimensions in the broadcasted result.""" + * return PyArray_MultiIter_NDIM(self) + */ + +static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject *__pyx_v_self) { + int __pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":341 + * cdef inline int nd(self) noexcept nogil: + * """The number of dimensions in the broadcasted result.""" + * return PyArray_MultiIter_NDIM(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_MultiIter_NDIM(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":339 + * + * @property + * cdef inline int nd(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The number of dimensions in the broadcasted result.""" + * return PyArray_MultiIter_NDIM(self) + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":344 + * + * @property + * cdef inline npy_intp* dimensions(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The shape of the broadcasted result.""" + * return PyArray_MultiIter_DIMS(self) + */ + +static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions(PyArrayMultiIterObject *__pyx_v_self) { + npy_intp *__pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":346 + * cdef inline npy_intp* dimensions(self) noexcept nogil: + * """The shape of the broadcasted result.""" + * return PyArray_MultiIter_DIMS(self) # <<<<<<<<<<<<<< + * + * @property + */ + __pyx_r = PyArray_MultiIter_DIMS(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":344 + * + * @property + * cdef inline npy_intp* dimensions(self) noexcept nogil: # <<<<<<<<<<<<<< + * """The shape of the broadcasted result.""" + * return PyArray_MultiIter_DIMS(self) + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":349 + * + * @property + * cdef inline void** iters(self) noexcept nogil: # <<<<<<<<<<<<<< + * """An array of iterator objects that holds the iterators for the arrays to be broadcast together. + * On return, the iterators are adjusted for broadcasting.""" + */ + +static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiIterObject *__pyx_v_self) { + void **__pyx_r; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":352 + * """An array of iterator objects that holds the iterators for the arrays to be broadcast together. + * On return, the iterators are adjusted for broadcasting.""" + * return PyArray_MultiIter_ITERS(self) # <<<<<<<<<<<<<< + * + * + */ + __pyx_r = PyArray_MultiIter_ITERS(__pyx_v_self); + goto __pyx_L0; + + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":349 + * + * @property + * cdef inline void** iters(self) noexcept nogil: # <<<<<<<<<<<<<< + * """An array of iterator objects that holds the iterators for the arrays to be broadcast together. + * On return, the iterators are adjusted for broadcasting.""" + */ + + /* function exit code */ + __pyx_L0:; + return __pyx_r; +} + +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":367 + * + * @property + * cdef inline PyObject* base(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns a borrowed reference to the object owning the data/memory. * """ */ @@ -3057,7 +3507,7 @@ static int __pyx_m_traverse(PyObject *m, visitproc visit, void *arg) { static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) { PyObject *__pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":248 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":370 * """Returns a borrowed reference to the object owning the data/memory. * """ * return PyArray_BASE(self) # <<<<<<<<<<<<<< @@ -3067,10 +3517,10 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject __pyx_r = PyArray_BASE(__pyx_v_self); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":245 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":367 * * @property - * cdef inline PyObject* base(self) nogil: # <<<<<<<<<<<<<< + * cdef inline PyObject* base(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns a borrowed reference to the object owning the data/memory. * """ */ @@ -3080,7 +3530,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":251 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":373 * * @property * cdef inline dtype descr(self): # <<<<<<<<<<<<<< @@ -3094,7 +3544,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray PyArray_Descr *__pyx_t_1; __Pyx_RefNannySetupContext("descr", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":254 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":376 * """Returns an owned reference to the dtype of the array. * """ * return PyArray_DESCR(self) # <<<<<<<<<<<<<< @@ -3107,7 +3557,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray __pyx_r = ((PyArray_Descr *)__pyx_t_1); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":251 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":373 * * @property * cdef inline dtype descr(self): # <<<<<<<<<<<<<< @@ -3122,10 +3572,10 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":257 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":379 * * @property - * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<< + * cdef inline int ndim(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns the number of dimensions in the array. * """ */ @@ -3133,7 +3583,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) { int __pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":260 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":382 * """Returns the number of dimensions in the array. * """ * return PyArray_NDIM(self) # <<<<<<<<<<<<<< @@ -3143,10 +3593,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx __pyx_r = PyArray_NDIM(__pyx_v_self); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":257 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":379 * * @property - * cdef inline int ndim(self) nogil: # <<<<<<<<<<<<<< + * cdef inline int ndim(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns the number of dimensions in the array. * """ */ @@ -3156,10 +3606,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":263 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":385 * * @property - * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_intp *shape(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns a pointer to the dimensions/shape of the array. * The number of elements matches the number of dimensions of the array (ndim). */ @@ -3167,7 +3617,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) { npy_intp *__pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":268 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":390 * Can return NULL for 0-dimensional arrays. * """ * return PyArray_DIMS(self) # <<<<<<<<<<<<<< @@ -3177,10 +3627,10 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec __pyx_r = PyArray_DIMS(__pyx_v_self); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":263 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":385 * * @property - * cdef inline npy_intp *shape(self) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_intp *shape(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns a pointer to the dimensions/shape of the array. * The number of elements matches the number of dimensions of the array (ndim). */ @@ -3190,10 +3640,10 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":271 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":393 * * @property - * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_intp *strides(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns a pointer to the strides of the array. * The number of elements matches the number of dimensions of the array (ndim). */ @@ -3201,7 +3651,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) { npy_intp *__pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":275 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":397 * The number of elements matches the number of dimensions of the array (ndim). * """ * return PyArray_STRIDES(self) # <<<<<<<<<<<<<< @@ -3211,10 +3661,10 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO __pyx_r = PyArray_STRIDES(__pyx_v_self); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":271 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":393 * * @property - * cdef inline npy_intp *strides(self) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_intp *strides(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns a pointer to the strides of the array. * The number of elements matches the number of dimensions of the array (ndim). */ @@ -3224,10 +3674,10 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":278 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":400 * * @property - * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_intp size(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns the total size (in number of elements) of the array. * """ */ @@ -3235,7 +3685,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) { npy_intp __pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":281 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":403 * """Returns the total size (in number of elements) of the array. * """ * return PyArray_SIZE(self) # <<<<<<<<<<<<<< @@ -3245,10 +3695,10 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject * __pyx_r = PyArray_SIZE(__pyx_v_self); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":278 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":400 * * @property - * cdef inline npy_intp size(self) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_intp size(self) noexcept nogil: # <<<<<<<<<<<<<< * """Returns the total size (in number of elements) of the array. * """ */ @@ -3258,10 +3708,10 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject * return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":284 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":406 * * @property - * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<< + * cdef inline char* data(self) noexcept nogil: # <<<<<<<<<<<<<< * """The pointer to the data buffer as a char*. * This is provided for legacy reasons to avoid direct struct field access. */ @@ -3269,20 +3719,20 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject * static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) { char *__pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":290 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":412 * of `PyArray_DATA()` instead, which returns a 'void*'. * """ * return PyArray_BYTES(self) # <<<<<<<<<<<<<< * - * ctypedef unsigned char npy_bool + * */ __pyx_r = PyArray_BYTES(__pyx_v_self); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":284 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":406 * * @property - * cdef inline char* data(self) nogil: # <<<<<<<<<<<<<< + * cdef inline char* data(self) noexcept nogil: # <<<<<<<<<<<<<< * """The pointer to the data buffer as a char*. * This is provided for legacy reasons to avoid direct struct field access. */ @@ -3292,8 +3742,8 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":773 - * ctypedef npy_cdouble complex_t +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":824 + * ctypedef long double complex clongdouble_t * * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<< * return PyArray_MultiIterNew(1, a) @@ -3309,7 +3759,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":774 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":825 * * cdef inline object PyArray_MultiIterNew1(a): * return PyArray_MultiIterNew(1, a) # <<<<<<<<<<<<<< @@ -3317,14 +3767,14 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__ * 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, 774, __pyx_L1_error) + __pyx_t_1 = PyArray_MultiIterNew(1, ((void *)__pyx_v_a)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 825, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":773 - * ctypedef npy_cdouble complex_t + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":824 + * ctypedef long double complex clongdouble_t * * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<< * return PyArray_MultiIterNew(1, a) @@ -3342,7 +3792,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__ return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":776 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":827 * return PyArray_MultiIterNew(1, a) * * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<< @@ -3359,7 +3809,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":777 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":828 * * cdef inline object PyArray_MultiIterNew2(a, b): * return PyArray_MultiIterNew(2, a, b) # <<<<<<<<<<<<<< @@ -3367,13 +3817,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__ * 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, 777, __pyx_L1_error) + __pyx_t_1 = PyArray_MultiIterNew(2, ((void *)__pyx_v_a), ((void *)__pyx_v_b)); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 828, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":776 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":827 * return PyArray_MultiIterNew(1, a) * * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<< @@ -3392,7 +3842,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__ return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":779 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":830 * return PyArray_MultiIterNew(2, a, b) * * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<< @@ -3409,7 +3859,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":780 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":831 * * cdef inline object PyArray_MultiIterNew3(a, b, c): * return PyArray_MultiIterNew(3, a, b, c) # <<<<<<<<<<<<<< @@ -3417,13 +3867,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__ * 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, 780, __pyx_L1_error) + __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, 831, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":779 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":830 * return PyArray_MultiIterNew(2, a, b) * * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<< @@ -3442,7 +3892,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__ return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":782 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":833 * return PyArray_MultiIterNew(3, a, b, c) * * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<< @@ -3459,7 +3909,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":783 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":834 * * cdef inline object PyArray_MultiIterNew4(a, b, c, d): * return PyArray_MultiIterNew(4, a, b, c, d) # <<<<<<<<<<<<<< @@ -3467,13 +3917,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__ * 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, 783, __pyx_L1_error) + __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, 834, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":782 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":833 * return PyArray_MultiIterNew(3, a, b, c) * * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<< @@ -3492,7 +3942,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__ return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":785 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":836 * return PyArray_MultiIterNew(4, a, b, c, d) * * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<< @@ -3509,7 +3959,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":786 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":837 * * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): * return PyArray_MultiIterNew(5, a, b, c, d, e) # <<<<<<<<<<<<<< @@ -3517,13 +3967,13 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__ * 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, 786, __pyx_L1_error) + __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, 837, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); __pyx_r = __pyx_t_1; __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":785 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":836 * return PyArray_MultiIterNew(4, a, b, c, d) * * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<< @@ -3542,7 +3992,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__ return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":788 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":839 * return PyArray_MultiIterNew(5, a, b, c, d, e) * * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<< @@ -3554,9 +4004,10 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ PyObject *__pyx_r = NULL; __Pyx_RefNannyDeclarations int __pyx_t_1; + PyObject *__pyx_t_2; __Pyx_RefNannySetupContext("PyDataType_SHAPE", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":840 * * cdef inline tuple PyDataType_SHAPE(dtype d): * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<< @@ -3566,7 +4017,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ __pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d); if (__pyx_t_1) { - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":790 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":841 * cdef inline tuple PyDataType_SHAPE(dtype d): * if PyDataType_HASSUBARRAY(d): * return d.subarray.shape # <<<<<<<<<<<<<< @@ -3574,11 +4025,12 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ * return () */ __Pyx_XDECREF(__pyx_r); - __Pyx_INCREF(((PyObject*)__pyx_v_d->subarray->shape)); - __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape); + __pyx_t_2 = __pyx_f_5numpy_5dtype_8subarray_subarray(__pyx_v_d)->shape; + __Pyx_INCREF(((PyObject*)__pyx_t_2)); + __pyx_r = ((PyObject*)__pyx_t_2); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":789 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":840 * * cdef inline tuple PyDataType_SHAPE(dtype d): * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<< @@ -3587,7 +4039,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ */ } - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":792 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":843 * return d.subarray.shape * else: * return () # <<<<<<<<<<<<<< @@ -3601,7 +4053,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ goto __pyx_L0; } - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":788 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":839 * return PyArray_MultiIterNew(5, a, b, c, d, e) * * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<< @@ -3616,10 +4068,10 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":968 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1027 * int _import_umath() except -1 * - * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<< + * cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<< * Py_INCREF(base) # important to do this before stealing the reference below! * PyArray_SetBaseObject(arr, base) */ @@ -3630,28 +4082,28 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a const char *__pyx_filename = NULL; int __pyx_clineno = 0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":969 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1028 * - * cdef inline void set_array_base(ndarray arr, object base): + * cdef inline void set_array_base(ndarray arr, object base) except *: * Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<< * PyArray_SetBaseObject(arr, base) * */ Py_INCREF(__pyx_v_base); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":970 - * cdef inline void set_array_base(ndarray arr, object base): + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1029 + * cdef inline void set_array_base(ndarray arr, object base) except *: * Py_INCREF(base) # important to do this before stealing the reference below! * PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<< * * cdef inline object get_array_base(ndarray arr): */ - __pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 970, __pyx_L1_error) + __pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 1029, __pyx_L1_error) - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":968 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1027 * int _import_umath() except -1 * - * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<< + * cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<< * Py_INCREF(base) # important to do this before stealing the reference below! * PyArray_SetBaseObject(arr, base) */ @@ -3663,7 +4115,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a __pyx_L0:; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":972 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1031 * PyArray_SetBaseObject(arr, base) * * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<< @@ -3678,7 +4130,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py int __pyx_t_1; __Pyx_RefNannySetupContext("get_array_base", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":973 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1032 * * cdef inline object get_array_base(ndarray arr): * base = PyArray_BASE(arr) # <<<<<<<<<<<<<< @@ -3687,7 +4139,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py */ __pyx_v_base = PyArray_BASE(__pyx_v_arr); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":974 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1033 * cdef inline object get_array_base(ndarray arr): * base = PyArray_BASE(arr) * if base is NULL: # <<<<<<<<<<<<<< @@ -3697,7 +4149,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py __pyx_t_1 = (__pyx_v_base == NULL); if (__pyx_t_1) { - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":975 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1034 * base = PyArray_BASE(arr) * if base is NULL: * return None # <<<<<<<<<<<<<< @@ -3708,7 +4160,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":974 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1033 * cdef inline object get_array_base(ndarray arr): * base = PyArray_BASE(arr) * if base is NULL: # <<<<<<<<<<<<<< @@ -3717,7 +4169,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py */ } - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":976 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1035 * if base is NULL: * return None * return base # <<<<<<<<<<<<<< @@ -3729,7 +4181,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py __pyx_r = ((PyObject *)__pyx_v_base); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":972 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1031 * PyArray_SetBaseObject(arr, base) * * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<< @@ -3744,7 +4196,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":980 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039 * # Versions of the import_* functions which are more suitable for * # Cython code. * cdef inline int import_array() except -1: # <<<<<<<<<<<<<< @@ -3768,7 +4220,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("import_array", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":981 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1040 * # Cython code. * cdef inline int import_array() except -1: * try: # <<<<<<<<<<<<<< @@ -3784,16 +4236,16 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":982 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1041 * cdef inline int import_array() except -1: * try: * __pyx_import_array() # <<<<<<<<<<<<<< * except Exception: - * raise ImportError("numpy.core.multiarray failed to import") + * raise ImportError("numpy._core.multiarray failed to import") */ - __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 982, __pyx_L3_error) + __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1041, __pyx_L3_error) - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":981 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1040 * # Cython code. * cdef inline int import_array() except -1: * try: # <<<<<<<<<<<<<< @@ -3807,37 +4259,37 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { goto __pyx_L8_try_end; __pyx_L3_error:; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":983 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1042 * try: * __pyx_import_array() * except Exception: # <<<<<<<<<<<<<< - * raise ImportError("numpy.core.multiarray failed to import") + * 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, 983, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 1042, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_6); __Pyx_XGOTREF(__pyx_t_7); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1043 * __pyx_import_array() * except Exception: - * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<< + * raise ImportError("numpy._core.multiarray failed to import") # <<<<<<<<<<<<<< * * 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, 984, __pyx_L5_except_error) + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple_, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1043, __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, 984, __pyx_L5_except_error) + __PYX_ERR(1, 1043, __pyx_L5_except_error) } goto __pyx_L5_except_error; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":981 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1040 * # Cython code. * cdef inline int import_array() except -1: * try: # <<<<<<<<<<<<<< @@ -3853,7 +4305,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { __pyx_L8_try_end:; } - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":980 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039 * # Versions of the import_* functions which are more suitable for * # Cython code. * cdef inline int import_array() except -1: # <<<<<<<<<<<<<< @@ -3876,8 +4328,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":986 - * raise ImportError("numpy.core.multiarray failed to import") +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1045 + * raise ImportError("numpy._core.multiarray failed to import") * * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<< * try: @@ -3900,7 +4352,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("import_umath", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046 * * cdef inline int import_umath() except -1: * try: # <<<<<<<<<<<<<< @@ -3916,16 +4368,16 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":988 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1047 * cdef inline int import_umath() except -1: * try: * _import_umath() # <<<<<<<<<<<<<< * except Exception: - * raise ImportError("numpy.core.umath failed to import") + * raise ImportError("numpy._core.umath failed to import") */ - __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 988, __pyx_L3_error) + __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1047, __pyx_L3_error) - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046 * * cdef inline int import_umath() except -1: * try: # <<<<<<<<<<<<<< @@ -3939,37 +4391,37 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { goto __pyx_L8_try_end; __pyx_L3_error:; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":989 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1048 * try: * _import_umath() * except Exception: # <<<<<<<<<<<<<< - * raise ImportError("numpy.core.umath failed to import") + * raise ImportError("numpy._core.umath failed to import") * */ __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_4) { __Pyx_AddTraceback("numpy.import_umath", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 989, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 1048, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_6); __Pyx_XGOTREF(__pyx_t_7); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049 * _import_umath() * except Exception: - * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<< + * raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<< * * cdef inline int import_ufunc() except -1: */ - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 990, __pyx_L5_except_error) + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1049, __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, 990, __pyx_L5_except_error) + __PYX_ERR(1, 1049, __pyx_L5_except_error) } goto __pyx_L5_except_error; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":987 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046 * * cdef inline int import_umath() except -1: * try: # <<<<<<<<<<<<<< @@ -3985,8 +4437,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { __pyx_L8_try_end:; } - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":986 - * raise ImportError("numpy.core.multiarray failed to import") + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1045 + * raise ImportError("numpy._core.multiarray failed to import") * * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<< * try: @@ -4008,8 +4460,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":992 - * raise ImportError("numpy.core.umath failed to import") +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1051 + * raise ImportError("numpy._core.umath failed to import") * * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<< * try: @@ -4032,7 +4484,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("import_ufunc", 1); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1052 * * cdef inline int import_ufunc() except -1: * try: # <<<<<<<<<<<<<< @@ -4048,16 +4500,16 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":994 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1053 * cdef inline int import_ufunc() except -1: * try: * _import_umath() # <<<<<<<<<<<<<< * except Exception: - * raise ImportError("numpy.core.umath failed to import") + * raise ImportError("numpy._core.umath failed to import") */ - __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 994, __pyx_L3_error) + __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1053, __pyx_L3_error) - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1052 * * cdef inline int import_ufunc() except -1: * try: # <<<<<<<<<<<<<< @@ -4071,37 +4523,37 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { goto __pyx_L8_try_end; __pyx_L3_error:; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":995 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1054 * try: * _import_umath() * except Exception: # <<<<<<<<<<<<<< - * raise ImportError("numpy.core.umath failed to import") + * raise ImportError("numpy._core.umath failed to import") * */ __pyx_t_4 = __Pyx_PyErr_ExceptionMatches(((PyObject *)(&((PyTypeObject*)PyExc_Exception)[0]))); if (__pyx_t_4) { __Pyx_AddTraceback("numpy.import_ufunc", __pyx_clineno, __pyx_lineno, __pyx_filename); - if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 995, __pyx_L5_except_error) + if (__Pyx_GetException(&__pyx_t_5, &__pyx_t_6, &__pyx_t_7) < 0) __PYX_ERR(1, 1054, __pyx_L5_except_error) __Pyx_XGOTREF(__pyx_t_5); __Pyx_XGOTREF(__pyx_t_6); __Pyx_XGOTREF(__pyx_t_7); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":996 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1055 * _import_umath() * except Exception: - * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<< + * raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<< * * */ - __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 996, __pyx_L5_except_error) + __pyx_t_8 = __Pyx_PyObject_Call(__pyx_builtin_ImportError, __pyx_tuple__2, NULL); if (unlikely(!__pyx_t_8)) __PYX_ERR(1, 1055, __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, 996, __pyx_L5_except_error) + __PYX_ERR(1, 1055, __pyx_L5_except_error) } goto __pyx_L5_except_error; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":993 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1052 * * cdef inline int import_ufunc() except -1: * try: # <<<<<<<<<<<<<< @@ -4117,8 +4569,8 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { __pyx_L8_try_end:; } - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":992 - * raise ImportError("numpy.core.umath failed to import") + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1051 + * raise ImportError("numpy._core.umath failed to import") * * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<< * try: @@ -4140,10 +4592,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":999 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1058 * * - * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<< + * cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<< * """ * Cython equivalent of `isinstance(obj, np.timedelta64)` */ @@ -4151,7 +4603,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) { int __pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1011 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1070 * bool * """ * return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<< @@ -4161,10 +4613,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_ __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type)); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":999 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1058 * * - * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<< + * cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<< * """ * Cython equivalent of `isinstance(obj, np.timedelta64)` */ @@ -4174,10 +4626,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_ return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1014 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1073 * * - * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<< + * cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<< * """ * Cython equivalent of `isinstance(obj, np.datetime64)` */ @@ -4185,7 +4637,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) { int __pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1026 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1085 * bool * """ * return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<< @@ -4195,10 +4647,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type)); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1014 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1073 * * - * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<< + * cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<< * """ * Cython equivalent of `isinstance(obj, np.datetime64)` */ @@ -4208,10 +4660,10 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1029 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1088 * * - * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<< * """ * returns the int64 value underlying scalar numpy datetime64 object */ @@ -4219,7 +4671,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) { npy_datetime __pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1036 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1095 * also needed. That can be found using `get_datetime64_unit`. * """ * return (obj).obval # <<<<<<<<<<<<<< @@ -4229,10 +4681,10 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject * __pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval; goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1029 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1088 * * - * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<< * """ * returns the int64 value underlying scalar numpy datetime64 object */ @@ -4242,10 +4694,10 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject * return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1098 * * - * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<< * """ * returns the int64 value underlying scalar numpy timedelta64 object */ @@ -4253,7 +4705,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject * static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) { npy_timedelta __pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1043 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1102 * returns the int64 value underlying scalar numpy timedelta64 object * """ * return (obj).obval # <<<<<<<<<<<<<< @@ -4263,10 +4715,10 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject __pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval; goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1039 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1098 * * - * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<< + * cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<< * """ * returns the int64 value underlying scalar numpy timedelta64 object */ @@ -4276,10 +4728,10 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject return __pyx_r; } -/* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046 +/* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1105 * * - * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<< + * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<< * """ * returns the unit part of the dtype for a numpy datetime64 object. */ @@ -4287,18 +4739,20 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) { NPY_DATETIMEUNIT __pyx_r; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1050 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1109 * returns the unit part of the dtype for a numpy datetime64 object. * """ * return (obj).obmeta.base # <<<<<<<<<<<<<< + * + * */ __pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base); goto __pyx_L0; - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1046 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1105 * * - * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<< + * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<< * """ * returns the unit part of the dtype for a numpy datetime64 object. */ @@ -6323,8 +6777,8 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { {&__pyx_n_s_name, __pyx_k_name, sizeof(__pyx_k_name), 0, 0, 1, 1}, {&__pyx_n_s_np, __pyx_k_np, sizeof(__pyx_k_np), 0, 0, 1, 1}, {&__pyx_n_s_numpy, __pyx_k_numpy, sizeof(__pyx_k_numpy), 0, 0, 1, 1}, - {&__pyx_kp_u_numpy_core_multiarray_failed_to, __pyx_k_numpy_core_multiarray_failed_to, sizeof(__pyx_k_numpy_core_multiarray_failed_to), 0, 1, 0, 0}, - {&__pyx_kp_u_numpy_core_umath_failed_to_impor, __pyx_k_numpy_core_umath_failed_to_impor, sizeof(__pyx_k_numpy_core_umath_failed_to_impor), 0, 1, 0, 0}, + {&__pyx_kp_u_numpy__core_multiarray_failed_to, __pyx_k_numpy__core_multiarray_failed_to, sizeof(__pyx_k_numpy__core_multiarray_failed_to), 0, 1, 0, 0}, + {&__pyx_kp_u_numpy__core_umath_failed_to_impo, __pyx_k_numpy__core_umath_failed_to_impo, sizeof(__pyx_k_numpy__core_umath_failed_to_impo), 0, 1, 0, 0}, {&__pyx_n_s_nx, __pyx_k_nx, sizeof(__pyx_k_nx), 0, 0, 1, 1}, {&__pyx_n_s_ny, __pyx_k_ny, sizeof(__pyx_k_ny), 0, 0, 1, 1}, {&__pyx_n_s_nz, __pyx_k_nz, sizeof(__pyx_k_nz), 0, 0, 1, 1}, @@ -6340,7 +6794,7 @@ static int __Pyx_CreateStringTabAndInitStrings(void) { /* #### Code section: cached_builtins ### */ static CYTHON_SMALL_CODE int __Pyx_InitCachedBuiltins(void) { __pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_n_s_range); if (!__pyx_builtin_range) __PYX_ERR(0, 25, __pyx_L1_error) - __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(1, 984, __pyx_L1_error) + __pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_n_s_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(1, 1043, __pyx_L1_error) return 0; __pyx_L1_error:; return -1; @@ -6351,25 +6805,25 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":984 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1043 * __pyx_import_array() * except Exception: - * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<< + * raise ImportError("numpy._core.multiarray failed to import") # <<<<<<<<<<<<<< * * cdef inline int import_umath() except -1: */ - __pyx_tuple_ = PyTuple_Pack(1, __pyx_kp_u_numpy_core_multiarray_failed_to); if (unlikely(!__pyx_tuple_)) __PYX_ERR(1, 984, __pyx_L1_error) + __pyx_tuple_ = PyTuple_Pack(1, __pyx_kp_u_numpy__core_multiarray_failed_to); if (unlikely(!__pyx_tuple_)) __PYX_ERR(1, 1043, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple_); __Pyx_GIVEREF(__pyx_tuple_); - /* "../../../../miniconda3/envs/test/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":990 + /* "../../../../../../private/var/folders/wv/qwzjbf6s2c3cghfssgh619600000gr/T/pip-build-env-04vdtje9/overlay/lib/python3.10/site-packages/numpy/__init__.cython-30.pxd":1049 * _import_umath() * except Exception: - * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<< + * raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<< * * cdef inline int import_ufunc() except -1: */ - __pyx_tuple__2 = PyTuple_Pack(1, __pyx_kp_u_numpy_core_umath_failed_to_impor); if (unlikely(!__pyx_tuple__2)) __PYX_ERR(1, 990, __pyx_L1_error) + __pyx_tuple__2 = PyTuple_Pack(1, __pyx_kp_u_numpy__core_umath_failed_to_impo); if (unlikely(!__pyx_tuple__2)) __PYX_ERR(1, 1049, __pyx_L1_error) __Pyx_GOTREF(__pyx_tuple__2); __Pyx_GIVEREF(__pyx_tuple__2); @@ -6512,23 +6966,23 @@ static int __Pyx_modinit_type_import_code(void) { #endif __Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_7cpython_4type_type) __PYX_ERR(2, 9, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; - __pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 202, __pyx_L1_error) + __pyx_t_1 = PyImport_ImportModule("numpy"); if (unlikely(!__pyx_t_1)) __PYX_ERR(1, 272, __pyx_L1_error) __Pyx_GOTREF(__pyx_t_1); - __pyx_ptype_5numpy_dtype = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "dtype", sizeof(PyArray_Descr), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyArray_Descr),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_dtype) __PYX_ERR(1, 202, __pyx_L1_error) - __pyx_ptype_5numpy_flatiter = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "flatiter", sizeof(PyArrayIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyArrayIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_flatiter) __PYX_ERR(1, 225, __pyx_L1_error) - __pyx_ptype_5numpy_broadcast = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "broadcast", sizeof(PyArrayMultiIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyArrayMultiIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_broadcast) __PYX_ERR(1, 229, __pyx_L1_error) - __pyx_ptype_5numpy_ndarray = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "ndarray", sizeof(PyArrayObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyArrayObject),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_ndarray) __PYX_ERR(1, 238, __pyx_L1_error) - __pyx_ptype_5numpy_generic = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "generic", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_generic) __PYX_ERR(1, 809, __pyx_L1_error) - __pyx_ptype_5numpy_number = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "number", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_number) __PYX_ERR(1, 811, __pyx_L1_error) - __pyx_ptype_5numpy_integer = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "integer", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_integer) __PYX_ERR(1, 813, __pyx_L1_error) - __pyx_ptype_5numpy_signedinteger = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "signedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_signedinteger) __PYX_ERR(1, 815, __pyx_L1_error) - __pyx_ptype_5numpy_unsignedinteger = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "unsignedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_unsignedinteger) __PYX_ERR(1, 817, __pyx_L1_error) - __pyx_ptype_5numpy_inexact = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "inexact", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_inexact) __PYX_ERR(1, 819, __pyx_L1_error) - __pyx_ptype_5numpy_floating = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "floating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_floating) __PYX_ERR(1, 821, __pyx_L1_error) - __pyx_ptype_5numpy_complexfloating = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "complexfloating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_complexfloating) __PYX_ERR(1, 823, __pyx_L1_error) - __pyx_ptype_5numpy_flexible = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "flexible", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_flexible) __PYX_ERR(1, 825, __pyx_L1_error) - __pyx_ptype_5numpy_character = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "character", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_character) __PYX_ERR(1, 827, __pyx_L1_error) - __pyx_ptype_5numpy_ufunc = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "ufunc", sizeof(PyUFuncObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyUFuncObject),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_ufunc) __PYX_ERR(1, 866, __pyx_L1_error) + __pyx_ptype_5numpy_dtype = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "dtype", sizeof(PyArray_Descr), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyArray_Descr),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_dtype) __PYX_ERR(1, 272, __pyx_L1_error) + __pyx_ptype_5numpy_flatiter = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "flatiter", sizeof(PyArrayIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyArrayIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_flatiter) __PYX_ERR(1, 317, __pyx_L1_error) + __pyx_ptype_5numpy_broadcast = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "broadcast", sizeof(PyArrayMultiIterObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyArrayMultiIterObject),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_broadcast) __PYX_ERR(1, 321, __pyx_L1_error) + __pyx_ptype_5numpy_ndarray = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "ndarray", sizeof(PyArrayObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyArrayObject),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_ndarray) __PYX_ERR(1, 360, __pyx_L1_error) + __pyx_ptype_5numpy_generic = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "generic", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_generic) __PYX_ERR(1, 865, __pyx_L1_error) + __pyx_ptype_5numpy_number = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "number", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_number) __PYX_ERR(1, 867, __pyx_L1_error) + __pyx_ptype_5numpy_integer = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "integer", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_integer) __PYX_ERR(1, 869, __pyx_L1_error) + __pyx_ptype_5numpy_signedinteger = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "signedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_signedinteger) __PYX_ERR(1, 871, __pyx_L1_error) + __pyx_ptype_5numpy_unsignedinteger = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "unsignedinteger", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_unsignedinteger) __PYX_ERR(1, 873, __pyx_L1_error) + __pyx_ptype_5numpy_inexact = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "inexact", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_inexact) __PYX_ERR(1, 875, __pyx_L1_error) + __pyx_ptype_5numpy_floating = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "floating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_floating) __PYX_ERR(1, 877, __pyx_L1_error) + __pyx_ptype_5numpy_complexfloating = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "complexfloating", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_complexfloating) __PYX_ERR(1, 879, __pyx_L1_error) + __pyx_ptype_5numpy_flexible = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "flexible", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_flexible) __PYX_ERR(1, 881, __pyx_L1_error) + __pyx_ptype_5numpy_character = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "character", sizeof(PyObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyObject),__Pyx_ImportType_CheckSize_Warn_3_0_11); if (!__pyx_ptype_5numpy_character) __PYX_ERR(1, 883, __pyx_L1_error) + __pyx_ptype_5numpy_ufunc = __Pyx_ImportType_3_0_11(__pyx_t_1, "numpy", "ufunc", sizeof(PyUFuncObject), __PYX_GET_STRUCT_ALIGNMENT_3_0_11(PyUFuncObject),__Pyx_ImportType_CheckSize_Ignore_3_0_11); if (!__pyx_ptype_5numpy_ufunc) __PYX_ERR(1, 947, __pyx_L1_error) __Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0; __Pyx_RefNannyFinishContext(); return 0; @@ -10877,6 +11331,160 @@ static void __Pyx_ReleaseBuffer(Py_buffer *view) { #endif #endif +/* Declarations */ + #if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) + #ifdef __cplusplus + static CYTHON_INLINE __pyx_t_long_double_complex __pyx_t_long_double_complex_from_parts(long double x, long double y) { + return ::std::complex< long double >(x, y); + } + #else + static CYTHON_INLINE __pyx_t_long_double_complex __pyx_t_long_double_complex_from_parts(long double x, long double y) { + return x + y*(__pyx_t_long_double_complex)_Complex_I; + } + #endif +#else + static CYTHON_INLINE __pyx_t_long_double_complex __pyx_t_long_double_complex_from_parts(long double x, long double y) { + __pyx_t_long_double_complex z; + z.real = x; + z.imag = y; + return z; + } +#endif + +/* Arithmetic */ + #if CYTHON_CCOMPLEX && (1) && (!0 || __cplusplus) +#else + static CYTHON_INLINE int __Pyx_c_eq_long__double(__pyx_t_long_double_complex a, __pyx_t_long_double_complex b) { + return (a.real == b.real) && (a.imag == b.imag); + } + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_sum_long__double(__pyx_t_long_double_complex a, __pyx_t_long_double_complex b) { + __pyx_t_long_double_complex z; + z.real = a.real + b.real; + z.imag = a.imag + b.imag; + return z; + } + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_diff_long__double(__pyx_t_long_double_complex a, __pyx_t_long_double_complex b) { + __pyx_t_long_double_complex z; + z.real = a.real - b.real; + z.imag = a.imag - b.imag; + return z; + } + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_prod_long__double(__pyx_t_long_double_complex a, __pyx_t_long_double_complex b) { + __pyx_t_long_double_complex z; + z.real = a.real * b.real - a.imag * b.imag; + z.imag = a.real * b.imag + a.imag * b.real; + return z; + } + #if 1 + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_quot_long__double(__pyx_t_long_double_complex a, __pyx_t_long_double_complex b) { + if (b.imag == 0) { + return __pyx_t_long_double_complex_from_parts(a.real / b.real, a.imag / b.real); + } else if (fabsl(b.real) >= fabsl(b.imag)) { + if (b.real == 0 && b.imag == 0) { + return __pyx_t_long_double_complex_from_parts(a.real / b.real, a.imag / b.imag); + } else { + long double r = b.imag / b.real; + long double s = (long double)(1.0) / (b.real + b.imag * r); + return __pyx_t_long_double_complex_from_parts( + (a.real + a.imag * r) * s, (a.imag - a.real * r) * s); + } + } else { + long double r = b.real / b.imag; + long double s = (long double)(1.0) / (b.imag + b.real * r); + return __pyx_t_long_double_complex_from_parts( + (a.real * r + a.imag) * s, (a.imag * r - a.real) * s); + } + } + #else + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_quot_long__double(__pyx_t_long_double_complex a, __pyx_t_long_double_complex b) { + if (b.imag == 0) { + return __pyx_t_long_double_complex_from_parts(a.real / b.real, a.imag / b.real); + } else { + long double denom = b.real * b.real + b.imag * b.imag; + return __pyx_t_long_double_complex_from_parts( + (a.real * b.real + a.imag * b.imag) / denom, + (a.imag * b.real - a.real * b.imag) / denom); + } + } + #endif + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_neg_long__double(__pyx_t_long_double_complex a) { + __pyx_t_long_double_complex z; + z.real = -a.real; + z.imag = -a.imag; + return z; + } + static CYTHON_INLINE int __Pyx_c_is_zero_long__double(__pyx_t_long_double_complex a) { + return (a.real == 0) && (a.imag == 0); + } + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_conj_long__double(__pyx_t_long_double_complex a) { + __pyx_t_long_double_complex z; + z.real = a.real; + z.imag = -a.imag; + return z; + } + #if 1 + static CYTHON_INLINE long double __Pyx_c_abs_long__double(__pyx_t_long_double_complex z) { + #if !defined(HAVE_HYPOT) || defined(_MSC_VER) + return sqrtl(z.real*z.real + z.imag*z.imag); + #else + return hypotl(z.real, z.imag); + #endif + } + static CYTHON_INLINE __pyx_t_long_double_complex __Pyx_c_pow_long__double(__pyx_t_long_double_complex a, __pyx_t_long_double_complex b) { + __pyx_t_long_double_complex z; + long double r, lnr, theta, z_r, z_theta; + if (b.imag == 0 && b.real == (int)b.real) { + if (b.real < 0) { + long double denom = a.real * a.real + a.imag * a.imag; + a.real = a.real / denom; + a.imag = -a.imag / denom; + b.real = -b.real; + } + switch ((int)b.real) { + case 0: + z.real = 1; + z.imag = 0; + return z; + case 1: + return a; + case 2: + return __Pyx_c_prod_long__double(a, a); + case 3: + z = __Pyx_c_prod_long__double(a, a); + return __Pyx_c_prod_long__double(z, a); + case 4: + z = __Pyx_c_prod_long__double(a, a); + return __Pyx_c_prod_long__double(z, z); + } + } + if (a.imag == 0) { + if (a.real == 0) { + return a; + } else if ((b.imag == 0) && (a.real >= 0)) { + z.real = powl(a.real, b.real); + z.imag = 0; + return z; + } else if (a.real > 0) { + r = a.real; + theta = 0; + } else { + r = -a.real; + theta = atan2l(0.0, -1.0); + } + } else { + r = __Pyx_c_abs_long__double(a); + theta = atan2l(a.imag, a.real); + } + lnr = logl(r); + z_r = expl(lnr * b.real - theta * b.imag); + z_theta = theta * b.real + lnr * b.imag; + z.real = z_r * cosl(z_theta); + z.imag = z_r * sinl(z_theta); + return z; + } + #endif +#endif + /* CIntToPy */ static CYTHON_INLINE PyObject* __Pyx_PyInt_From_long(long value) { #ifdef __Pyx_HAS_GCC_DIAGNOSTIC