sequenzo 0.1.19__cp312-cp312-win_amd64.whl → 0.1.21__cp312-cp312-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sequenzo might be problematic. Click here for more details.
- sequenzo/big_data/clara/utils/get_weighted_diss.c +192 -191
- sequenzo/big_data/clara/utils/get_weighted_diss.cp312-win_amd64.pyd +0 -0
- sequenzo/clustering/clustering_c_code.cp312-win_amd64.pyd +0 -0
- sequenzo/clustering/hierarchical_clustering.py +2 -2
- sequenzo/define_sequence_data.py +4 -4
- sequenzo/dissimilarity_measures/c_code.cp312-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/get_distance_matrix.py +1 -1
- sequenzo/dissimilarity_measures/get_substitution_cost_matrix.py +1 -1
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.c +169 -169
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.cp312-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqconc.c +231 -230
- sequenzo/dissimilarity_measures/utils/seqconc.cp312-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqdss.c +324 -323
- sequenzo/dissimilarity_measures/utils/seqdss.cp312-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqdur.c +324 -323
- sequenzo/dissimilarity_measures/utils/seqdur.cp312-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqlength.c +224 -222
- sequenzo/dissimilarity_measures/utils/seqlength.cp312-win_amd64.pyd +0 -0
- sequenzo/multidomain/association_between_domains.py +1 -1
- sequenzo/multidomain/combt.py +4 -4
- sequenzo/multidomain/dat.py +11 -3
- sequenzo/multidomain/idcd.py +0 -2
- sequenzo/multidomain/linked_polyad.py +3 -4
- sequenzo/prefix_tree/__init__.py +1 -1
- sequenzo/prefix_tree/individual_level_indicators.py +2 -2
- sequenzo/sequence_characteristics/overall_cross_sectional_entropy.py +2 -2
- sequenzo/sequence_characteristics/plot_characteristics.py +2 -2
- sequenzo/sequence_characteristics/simple_characteristics.py +2 -2
- sequenzo/suffix_tree/__init__.py +1 -1
- sequenzo/suffix_tree/individual_level_indicators.py +3 -3
- sequenzo/visualization/plot_single_medoid.py +2 -2
- sequenzo/visualization/plot_transition_matrix.py +1 -1
- sequenzo/visualization/utils/utils.py +2 -2
- sequenzo/with_event_history_analysis/sequence_analysis_multi_state_model.py +1 -1
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/METADATA +37 -6
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/RECORD +39 -45
- sequenzo/big_data/clara/utils/get_weighted_diss.pyx +0 -16
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.pyx +0 -95
- sequenzo/dissimilarity_measures/utils/seqconc.pyx +0 -26
- sequenzo/dissimilarity_measures/utils/seqdss.pyx +0 -33
- sequenzo/dissimilarity_measures/utils/seqdur.pyx +0 -34
- sequenzo/dissimilarity_measures/utils/seqlength.pyx +0 -19
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/WHEEL +0 -0
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/licenses/LICENSE +0 -0
- {sequenzo-0.1.19.dist-info → sequenzo-0.1.21.dist-info}/top_level.txt +0 -0
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
"define_macros": [
|
|
7
7
|
[
|
|
8
8
|
"NPY_NO_DEPRECATED_API",
|
|
9
|
-
"
|
|
9
|
+
"NPY_1_7_API_VERSION"
|
|
10
10
|
]
|
|
11
11
|
],
|
|
12
12
|
"depends": [
|
|
13
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
14
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
15
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
16
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
17
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
13
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-scn655t1\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\arrayobject.h",
|
|
14
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-scn655t1\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\arrayscalars.h",
|
|
15
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-scn655t1\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ndarrayobject.h",
|
|
16
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-scn655t1\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ndarraytypes.h",
|
|
17
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-scn655t1\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ufuncobject.h"
|
|
18
18
|
],
|
|
19
19
|
"extra_compile_args": [
|
|
20
20
|
"/W1",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"/O2"
|
|
24
24
|
],
|
|
25
25
|
"include_dirs": [
|
|
26
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
27
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
28
|
-
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-
|
|
26
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-scn655t1\\overlay\\Lib\\site-packages\\pybind11\\include",
|
|
27
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-scn655t1\\overlay\\Lib\\site-packages\\pybind11\\include",
|
|
28
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-scn655t1\\overlay\\Lib\\site-packages\\numpy\\_core\\include",
|
|
29
29
|
"sequenzo/dissimilarity_measures/src/",
|
|
30
30
|
"D:\\a\\Sequenzo\\Sequenzo\\sequenzo\\dissimilarity_measures\\src\\xsimd\\include",
|
|
31
31
|
"sequenzo/clustering/src/"
|
|
@@ -1398,7 +1398,7 @@ static const char *__pyx_filename;
|
|
|
1398
1398
|
|
|
1399
1399
|
static const char* const __pyx_f[] = {
|
|
1400
1400
|
"sequenzo/dissimilarity_measures/utils/seqdur.pyx",
|
|
1401
|
-
"C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1401
|
+
"C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd",
|
|
1402
1402
|
"cpython/type.pxd",
|
|
1403
1403
|
};
|
|
1404
1404
|
/* #### Code section: utility_code_proto_before_types ### */
|
|
@@ -1598,7 +1598,7 @@ typedef struct {
|
|
|
1598
1598
|
|
|
1599
1599
|
/* #### Code section: numeric_typedefs ### */
|
|
1600
1600
|
|
|
1601
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1601
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":743
|
|
1602
1602
|
* # in Cython to enable them only on the right systems.
|
|
1603
1603
|
*
|
|
1604
1604
|
* ctypedef npy_int8 int8_t # <<<<<<<<<<<<<<
|
|
@@ -1607,7 +1607,7 @@ typedef struct {
|
|
|
1607
1607
|
*/
|
|
1608
1608
|
typedef npy_int8 __pyx_t_5numpy_int8_t;
|
|
1609
1609
|
|
|
1610
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1610
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":744
|
|
1611
1611
|
*
|
|
1612
1612
|
* ctypedef npy_int8 int8_t
|
|
1613
1613
|
* ctypedef npy_int16 int16_t # <<<<<<<<<<<<<<
|
|
@@ -1616,7 +1616,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t;
|
|
|
1616
1616
|
*/
|
|
1617
1617
|
typedef npy_int16 __pyx_t_5numpy_int16_t;
|
|
1618
1618
|
|
|
1619
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1619
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":745
|
|
1620
1620
|
* ctypedef npy_int8 int8_t
|
|
1621
1621
|
* ctypedef npy_int16 int16_t
|
|
1622
1622
|
* ctypedef npy_int32 int32_t # <<<<<<<<<<<<<<
|
|
@@ -1625,7 +1625,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t;
|
|
|
1625
1625
|
*/
|
|
1626
1626
|
typedef npy_int32 __pyx_t_5numpy_int32_t;
|
|
1627
1627
|
|
|
1628
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1628
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":746
|
|
1629
1629
|
* ctypedef npy_int16 int16_t
|
|
1630
1630
|
* ctypedef npy_int32 int32_t
|
|
1631
1631
|
* ctypedef npy_int64 int64_t # <<<<<<<<<<<<<<
|
|
@@ -1634,7 +1634,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t;
|
|
|
1634
1634
|
*/
|
|
1635
1635
|
typedef npy_int64 __pyx_t_5numpy_int64_t;
|
|
1636
1636
|
|
|
1637
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1637
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":748
|
|
1638
1638
|
* ctypedef npy_int64 int64_t
|
|
1639
1639
|
*
|
|
1640
1640
|
* ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<<
|
|
@@ -1643,7 +1643,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t;
|
|
|
1643
1643
|
*/
|
|
1644
1644
|
typedef npy_uint8 __pyx_t_5numpy_uint8_t;
|
|
1645
1645
|
|
|
1646
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1646
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":749
|
|
1647
1647
|
*
|
|
1648
1648
|
* ctypedef npy_uint8 uint8_t
|
|
1649
1649
|
* ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<<
|
|
@@ -1652,7 +1652,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t;
|
|
|
1652
1652
|
*/
|
|
1653
1653
|
typedef npy_uint16 __pyx_t_5numpy_uint16_t;
|
|
1654
1654
|
|
|
1655
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1655
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":750
|
|
1656
1656
|
* ctypedef npy_uint8 uint8_t
|
|
1657
1657
|
* ctypedef npy_uint16 uint16_t
|
|
1658
1658
|
* ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<<
|
|
@@ -1661,7 +1661,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t;
|
|
|
1661
1661
|
*/
|
|
1662
1662
|
typedef npy_uint32 __pyx_t_5numpy_uint32_t;
|
|
1663
1663
|
|
|
1664
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1664
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":751
|
|
1665
1665
|
* ctypedef npy_uint16 uint16_t
|
|
1666
1666
|
* ctypedef npy_uint32 uint32_t
|
|
1667
1667
|
* ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<<
|
|
@@ -1670,7 +1670,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t;
|
|
|
1670
1670
|
*/
|
|
1671
1671
|
typedef npy_uint64 __pyx_t_5numpy_uint64_t;
|
|
1672
1672
|
|
|
1673
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1673
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":753
|
|
1674
1674
|
* ctypedef npy_uint64 uint64_t
|
|
1675
1675
|
*
|
|
1676
1676
|
* ctypedef npy_float32 float32_t # <<<<<<<<<<<<<<
|
|
@@ -1679,7 +1679,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t;
|
|
|
1679
1679
|
*/
|
|
1680
1680
|
typedef npy_float32 __pyx_t_5numpy_float32_t;
|
|
1681
1681
|
|
|
1682
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1682
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":754
|
|
1683
1683
|
*
|
|
1684
1684
|
* ctypedef npy_float32 float32_t
|
|
1685
1685
|
* ctypedef npy_float64 float64_t # <<<<<<<<<<<<<<
|
|
@@ -1688,7 +1688,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t;
|
|
|
1688
1688
|
*/
|
|
1689
1689
|
typedef npy_float64 __pyx_t_5numpy_float64_t;
|
|
1690
1690
|
|
|
1691
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1691
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":761
|
|
1692
1692
|
* ctypedef double complex complex128_t
|
|
1693
1693
|
*
|
|
1694
1694
|
* ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<<
|
|
@@ -1697,7 +1697,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t;
|
|
|
1697
1697
|
*/
|
|
1698
1698
|
typedef npy_longlong __pyx_t_5numpy_longlong_t;
|
|
1699
1699
|
|
|
1700
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1700
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":762
|
|
1701
1701
|
*
|
|
1702
1702
|
* ctypedef npy_longlong longlong_t
|
|
1703
1703
|
* ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<<
|
|
@@ -1706,7 +1706,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t;
|
|
|
1706
1706
|
*/
|
|
1707
1707
|
typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
|
|
1708
1708
|
|
|
1709
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1709
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":764
|
|
1710
1710
|
* ctypedef npy_ulonglong ulonglong_t
|
|
1711
1711
|
*
|
|
1712
1712
|
* ctypedef npy_intp intp_t # <<<<<<<<<<<<<<
|
|
@@ -1715,7 +1715,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t;
|
|
|
1715
1715
|
*/
|
|
1716
1716
|
typedef npy_intp __pyx_t_5numpy_intp_t;
|
|
1717
1717
|
|
|
1718
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1718
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":765
|
|
1719
1719
|
*
|
|
1720
1720
|
* ctypedef npy_intp intp_t
|
|
1721
1721
|
* ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<<
|
|
@@ -1724,7 +1724,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t;
|
|
|
1724
1724
|
*/
|
|
1725
1725
|
typedef npy_uintp __pyx_t_5numpy_uintp_t;
|
|
1726
1726
|
|
|
1727
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1727
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":767
|
|
1728
1728
|
* ctypedef npy_uintp uintp_t
|
|
1729
1729
|
*
|
|
1730
1730
|
* ctypedef npy_double float_t # <<<<<<<<<<<<<<
|
|
@@ -1733,7 +1733,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t;
|
|
|
1733
1733
|
*/
|
|
1734
1734
|
typedef npy_double __pyx_t_5numpy_float_t;
|
|
1735
1735
|
|
|
1736
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1736
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":768
|
|
1737
1737
|
*
|
|
1738
1738
|
* ctypedef npy_double float_t
|
|
1739
1739
|
* ctypedef npy_double double_t # <<<<<<<<<<<<<<
|
|
@@ -1742,7 +1742,7 @@ typedef npy_double __pyx_t_5numpy_float_t;
|
|
|
1742
1742
|
*/
|
|
1743
1743
|
typedef npy_double __pyx_t_5numpy_double_t;
|
|
1744
1744
|
|
|
1745
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1745
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":769
|
|
1746
1746
|
* ctypedef npy_double float_t
|
|
1747
1747
|
* ctypedef npy_double double_t
|
|
1748
1748
|
* ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
|
|
@@ -3084,7 +3084,7 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void
|
|
|
3084
3084
|
#endif
|
|
3085
3085
|
/* #### Code section: module_code ### */
|
|
3086
3086
|
|
|
3087
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3087
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":242
|
|
3088
3088
|
* cdef int type_num
|
|
3089
3089
|
*
|
|
3090
3090
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3095,7 +3095,7 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void
|
|
|
3095
3095
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_Descr *__pyx_v_self) {
|
|
3096
3096
|
npy_intp __pyx_r;
|
|
3097
3097
|
|
|
3098
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3098
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":244
|
|
3099
3099
|
* @property
|
|
3100
3100
|
* cdef inline npy_intp itemsize(self) noexcept nogil:
|
|
3101
3101
|
* return PyDataType_ELSIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3105,7 +3105,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3105
3105
|
__pyx_r = PyDataType_ELSIZE(__pyx_v_self);
|
|
3106
3106
|
goto __pyx_L0;
|
|
3107
3107
|
|
|
3108
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3108
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":242
|
|
3109
3109
|
* cdef int type_num
|
|
3110
3110
|
*
|
|
3111
3111
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3118,7 +3118,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3118
3118
|
return __pyx_r;
|
|
3119
3119
|
}
|
|
3120
3120
|
|
|
3121
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3121
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
|
|
3122
3122
|
* return PyDataType_ELSIZE(self)
|
|
3123
3123
|
*
|
|
3124
3124
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3129,7 +3129,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3129
3129
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray_Descr *__pyx_v_self) {
|
|
3130
3130
|
npy_intp __pyx_r;
|
|
3131
3131
|
|
|
3132
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3132
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":248
|
|
3133
3133
|
* @property
|
|
3134
3134
|
* cdef inline npy_intp alignment(self) noexcept nogil:
|
|
3135
3135
|
* return PyDataType_ALIGNMENT(self) # <<<<<<<<<<<<<<
|
|
@@ -3139,7 +3139,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray
|
|
|
3139
3139
|
__pyx_r = PyDataType_ALIGNMENT(__pyx_v_self);
|
|
3140
3140
|
goto __pyx_L0;
|
|
3141
3141
|
|
|
3142
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3142
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":246
|
|
3143
3143
|
* return PyDataType_ELSIZE(self)
|
|
3144
3144
|
*
|
|
3145
3145
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3152,7 +3152,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray
|
|
|
3152
3152
|
return __pyx_r;
|
|
3153
3153
|
}
|
|
3154
3154
|
|
|
3155
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3155
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
|
|
3156
3156
|
* # Use fields/names with care as they may be NULL. You must check
|
|
3157
3157
|
* # for this using PyDataType_HASFIELDS.
|
|
3158
3158
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3166,7 +3166,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3166
3166
|
PyObject *__pyx_t_1;
|
|
3167
3167
|
__Pyx_RefNannySetupContext("fields", 0);
|
|
3168
3168
|
|
|
3169
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3169
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":254
|
|
3170
3170
|
* @property
|
|
3171
3171
|
* cdef inline object fields(self):
|
|
3172
3172
|
* return <object>PyDataType_FIELDS(self) # <<<<<<<<<<<<<<
|
|
@@ -3179,7 +3179,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3179
3179
|
__pyx_r = ((PyObject *)__pyx_t_1);
|
|
3180
3180
|
goto __pyx_L0;
|
|
3181
3181
|
|
|
3182
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3182
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":252
|
|
3183
3183
|
* # Use fields/names with care as they may be NULL. You must check
|
|
3184
3184
|
* # for this using PyDataType_HASFIELDS.
|
|
3185
3185
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3194,7 +3194,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3194
3194
|
return __pyx_r;
|
|
3195
3195
|
}
|
|
3196
3196
|
|
|
3197
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3197
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":256
|
|
3198
3198
|
* return <object>PyDataType_FIELDS(self)
|
|
3199
3199
|
*
|
|
3200
3200
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3208,7 +3208,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3208
3208
|
PyObject *__pyx_t_1;
|
|
3209
3209
|
__Pyx_RefNannySetupContext("names", 0);
|
|
3210
3210
|
|
|
3211
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3211
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":258
|
|
3212
3212
|
* @property
|
|
3213
3213
|
* cdef inline tuple names(self):
|
|
3214
3214
|
* return <tuple>PyDataType_NAMES(self) # <<<<<<<<<<<<<<
|
|
@@ -3221,7 +3221,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3221
3221
|
__pyx_r = ((PyObject*)__pyx_t_1);
|
|
3222
3222
|
goto __pyx_L0;
|
|
3223
3223
|
|
|
3224
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3224
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":256
|
|
3225
3225
|
* return <object>PyDataType_FIELDS(self)
|
|
3226
3226
|
*
|
|
3227
3227
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3236,7 +3236,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3236
3236
|
return __pyx_r;
|
|
3237
3237
|
}
|
|
3238
3238
|
|
|
3239
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3239
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
|
|
3240
3240
|
* # valid (the pointer can be NULL). Most users should access
|
|
3241
3241
|
* # this field via the inline helper method PyDataType_SHAPE.
|
|
3242
3242
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3247,7 +3247,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3247
3247
|
static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarray(PyArray_Descr *__pyx_v_self) {
|
|
3248
3248
|
PyArray_ArrayDescr *__pyx_r;
|
|
3249
3249
|
|
|
3250
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3250
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":265
|
|
3251
3251
|
* @property
|
|
3252
3252
|
* cdef inline PyArray_ArrayDescr* subarray(self) noexcept nogil:
|
|
3253
3253
|
* return PyDataType_SUBARRAY(self) # <<<<<<<<<<<<<<
|
|
@@ -3257,7 +3257,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3257
3257
|
__pyx_r = PyDataType_SUBARRAY(__pyx_v_self);
|
|
3258
3258
|
goto __pyx_L0;
|
|
3259
3259
|
|
|
3260
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3260
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":263
|
|
3261
3261
|
* # valid (the pointer can be NULL). Most users should access
|
|
3262
3262
|
* # this field via the inline helper method PyDataType_SHAPE.
|
|
3263
3263
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3270,7 +3270,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3270
3270
|
return __pyx_r;
|
|
3271
3271
|
}
|
|
3272
3272
|
|
|
3273
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3273
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":267
|
|
3274
3274
|
* return PyDataType_SUBARRAY(self)
|
|
3275
3275
|
*
|
|
3276
3276
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3281,7 +3281,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3281
3281
|
static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr *__pyx_v_self) {
|
|
3282
3282
|
npy_uint64 __pyx_r;
|
|
3283
3283
|
|
|
3284
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3284
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":270
|
|
3285
3285
|
* cdef inline npy_uint64 flags(self) noexcept nogil:
|
|
3286
3286
|
* """The data types flags."""
|
|
3287
3287
|
* return PyDataType_FLAGS(self) # <<<<<<<<<<<<<<
|
|
@@ -3291,7 +3291,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3291
3291
|
__pyx_r = PyDataType_FLAGS(__pyx_v_self);
|
|
3292
3292
|
goto __pyx_L0;
|
|
3293
3293
|
|
|
3294
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3294
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":267
|
|
3295
3295
|
* return PyDataType_SUBARRAY(self)
|
|
3296
3296
|
*
|
|
3297
3297
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3304,7 +3304,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3304
3304
|
return __pyx_r;
|
|
3305
3305
|
}
|
|
3306
3306
|
|
|
3307
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3307
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
|
|
3308
3308
|
* ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
|
|
3309
3309
|
*
|
|
3310
3310
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3315,7 +3315,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3315
3315
|
static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3316
3316
|
int __pyx_r;
|
|
3317
3317
|
|
|
3318
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3318
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":282
|
|
3319
3319
|
* cdef inline int numiter(self) noexcept nogil:
|
|
3320
3320
|
* """The number of arrays that need to be broadcast to the same shape."""
|
|
3321
3321
|
* return PyArray_MultiIter_NUMITER(self) # <<<<<<<<<<<<<<
|
|
@@ -3325,7 +3325,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3325
3325
|
__pyx_r = PyArray_MultiIter_NUMITER(__pyx_v_self);
|
|
3326
3326
|
goto __pyx_L0;
|
|
3327
3327
|
|
|
3328
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3328
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":279
|
|
3329
3329
|
* ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
|
|
3330
3330
|
*
|
|
3331
3331
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3338,7 +3338,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3338
3338
|
return __pyx_r;
|
|
3339
3339
|
}
|
|
3340
3340
|
|
|
3341
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3341
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
|
|
3342
3342
|
* return PyArray_MultiIter_NUMITER(self)
|
|
3343
3343
|
*
|
|
3344
3344
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3349,7 +3349,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3349
3349
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3350
3350
|
npy_intp __pyx_r;
|
|
3351
3351
|
|
|
3352
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3352
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":287
|
|
3353
3353
|
* cdef inline npy_intp size(self) noexcept nogil:
|
|
3354
3354
|
* """The total broadcasted size."""
|
|
3355
3355
|
* return PyArray_MultiIter_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3359,7 +3359,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3359
3359
|
__pyx_r = PyArray_MultiIter_SIZE(__pyx_v_self);
|
|
3360
3360
|
goto __pyx_L0;
|
|
3361
3361
|
|
|
3362
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3362
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":284
|
|
3363
3363
|
* return PyArray_MultiIter_NUMITER(self)
|
|
3364
3364
|
*
|
|
3365
3365
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3372,7 +3372,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3372
3372
|
return __pyx_r;
|
|
3373
3373
|
}
|
|
3374
3374
|
|
|
3375
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3375
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":289
|
|
3376
3376
|
* return PyArray_MultiIter_SIZE(self)
|
|
3377
3377
|
*
|
|
3378
3378
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3383,7 +3383,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3383
3383
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3384
3384
|
npy_intp __pyx_r;
|
|
3385
3385
|
|
|
3386
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3386
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":292
|
|
3387
3387
|
* cdef inline npy_intp index(self) noexcept nogil:
|
|
3388
3388
|
* """The current (1-d) index into the broadcasted result."""
|
|
3389
3389
|
* return PyArray_MultiIter_INDEX(self) # <<<<<<<<<<<<<<
|
|
@@ -3393,7 +3393,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3393
3393
|
__pyx_r = PyArray_MultiIter_INDEX(__pyx_v_self);
|
|
3394
3394
|
goto __pyx_L0;
|
|
3395
3395
|
|
|
3396
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3396
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":289
|
|
3397
3397
|
* return PyArray_MultiIter_SIZE(self)
|
|
3398
3398
|
*
|
|
3399
3399
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3406,7 +3406,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3406
3406
|
return __pyx_r;
|
|
3407
3407
|
}
|
|
3408
3408
|
|
|
3409
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3409
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":294
|
|
3410
3410
|
* return PyArray_MultiIter_INDEX(self)
|
|
3411
3411
|
*
|
|
3412
3412
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3417,7 +3417,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3417
3417
|
static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3418
3418
|
int __pyx_r;
|
|
3419
3419
|
|
|
3420
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3420
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":297
|
|
3421
3421
|
* cdef inline int nd(self) noexcept nogil:
|
|
3422
3422
|
* """The number of dimensions in the broadcasted result."""
|
|
3423
3423
|
* return PyArray_MultiIter_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -3427,7 +3427,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3427
3427
|
__pyx_r = PyArray_MultiIter_NDIM(__pyx_v_self);
|
|
3428
3428
|
goto __pyx_L0;
|
|
3429
3429
|
|
|
3430
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3430
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":294
|
|
3431
3431
|
* return PyArray_MultiIter_INDEX(self)
|
|
3432
3432
|
*
|
|
3433
3433
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3440,7 +3440,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3440
3440
|
return __pyx_r;
|
|
3441
3441
|
}
|
|
3442
3442
|
|
|
3443
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3443
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":299
|
|
3444
3444
|
* return PyArray_MultiIter_NDIM(self)
|
|
3445
3445
|
*
|
|
3446
3446
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3451,7 +3451,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3451
3451
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3452
3452
|
npy_intp *__pyx_r;
|
|
3453
3453
|
|
|
3454
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3454
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":302
|
|
3455
3455
|
* cdef inline npy_intp* dimensions(self) noexcept nogil:
|
|
3456
3456
|
* """The shape of the broadcasted result."""
|
|
3457
3457
|
* return PyArray_MultiIter_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -3461,7 +3461,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3461
3461
|
__pyx_r = PyArray_MultiIter_DIMS(__pyx_v_self);
|
|
3462
3462
|
goto __pyx_L0;
|
|
3463
3463
|
|
|
3464
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3464
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":299
|
|
3465
3465
|
* return PyArray_MultiIter_NDIM(self)
|
|
3466
3466
|
*
|
|
3467
3467
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3474,7 +3474,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3474
3474
|
return __pyx_r;
|
|
3475
3475
|
}
|
|
3476
3476
|
|
|
3477
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3477
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":304
|
|
3478
3478
|
* return PyArray_MultiIter_DIMS(self)
|
|
3479
3479
|
*
|
|
3480
3480
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3485,7 +3485,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3485
3485
|
static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3486
3486
|
void **__pyx_r;
|
|
3487
3487
|
|
|
3488
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3488
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":308
|
|
3489
3489
|
* """An array of iterator objects that holds the iterators for the arrays to be broadcast together.
|
|
3490
3490
|
* On return, the iterators are adjusted for broadcasting."""
|
|
3491
3491
|
* return PyArray_MultiIter_ITERS(self) # <<<<<<<<<<<<<<
|
|
@@ -3495,7 +3495,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3495
3495
|
__pyx_r = PyArray_MultiIter_ITERS(__pyx_v_self);
|
|
3496
3496
|
goto __pyx_L0;
|
|
3497
3497
|
|
|
3498
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3498
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":304
|
|
3499
3499
|
* return PyArray_MultiIter_DIMS(self)
|
|
3500
3500
|
*
|
|
3501
3501
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3508,7 +3508,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3508
3508
|
return __pyx_r;
|
|
3509
3509
|
}
|
|
3510
3510
|
|
|
3511
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3511
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":322
|
|
3512
3512
|
* # Instead, we use properties that map to the corresponding C-API functions.
|
|
3513
3513
|
*
|
|
3514
3514
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3519,7 +3519,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3519
3519
|
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
|
|
3520
3520
|
PyObject *__pyx_r;
|
|
3521
3521
|
|
|
3522
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3522
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":326
|
|
3523
3523
|
* """Returns a borrowed reference to the object owning the data/memory.
|
|
3524
3524
|
* """
|
|
3525
3525
|
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
|
|
@@ -3529,7 +3529,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
3529
3529
|
__pyx_r = PyArray_BASE(__pyx_v_self);
|
|
3530
3530
|
goto __pyx_L0;
|
|
3531
3531
|
|
|
3532
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3532
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":322
|
|
3533
3533
|
* # Instead, we use properties that map to the corresponding C-API functions.
|
|
3534
3534
|
*
|
|
3535
3535
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3542,7 +3542,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
3542
3542
|
return __pyx_r;
|
|
3543
3543
|
}
|
|
3544
3544
|
|
|
3545
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3545
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":328
|
|
3546
3546
|
* return PyArray_BASE(self)
|
|
3547
3547
|
*
|
|
3548
3548
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3556,7 +3556,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3556
3556
|
PyArray_Descr *__pyx_t_1;
|
|
3557
3557
|
__Pyx_RefNannySetupContext("descr", 0);
|
|
3558
3558
|
|
|
3559
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3559
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":332
|
|
3560
3560
|
* """Returns an owned reference to the dtype of the array.
|
|
3561
3561
|
* """
|
|
3562
3562
|
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
|
|
@@ -3569,7 +3569,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3569
3569
|
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
|
|
3570
3570
|
goto __pyx_L0;
|
|
3571
3571
|
|
|
3572
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3572
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":328
|
|
3573
3573
|
* return PyArray_BASE(self)
|
|
3574
3574
|
*
|
|
3575
3575
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3584,7 +3584,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3584
3584
|
return __pyx_r;
|
|
3585
3585
|
}
|
|
3586
3586
|
|
|
3587
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3587
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":334
|
|
3588
3588
|
* return <dtype>PyArray_DESCR(self)
|
|
3589
3589
|
*
|
|
3590
3590
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3595,7 +3595,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3595
3595
|
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
|
|
3596
3596
|
int __pyx_r;
|
|
3597
3597
|
|
|
3598
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3598
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":338
|
|
3599
3599
|
* """Returns the number of dimensions in the array.
|
|
3600
3600
|
* """
|
|
3601
3601
|
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -3605,7 +3605,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3605
3605
|
__pyx_r = PyArray_NDIM(__pyx_v_self);
|
|
3606
3606
|
goto __pyx_L0;
|
|
3607
3607
|
|
|
3608
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3608
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":334
|
|
3609
3609
|
* return <dtype>PyArray_DESCR(self)
|
|
3610
3610
|
*
|
|
3611
3611
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3618,7 +3618,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3618
3618
|
return __pyx_r;
|
|
3619
3619
|
}
|
|
3620
3620
|
|
|
3621
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3621
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":340
|
|
3622
3622
|
* return PyArray_NDIM(self)
|
|
3623
3623
|
*
|
|
3624
3624
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3629,7 +3629,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3629
3629
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
|
|
3630
3630
|
npy_intp *__pyx_r;
|
|
3631
3631
|
|
|
3632
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3632
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":346
|
|
3633
3633
|
* Can return NULL for 0-dimensional arrays.
|
|
3634
3634
|
* """
|
|
3635
3635
|
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -3639,7 +3639,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3639
3639
|
__pyx_r = PyArray_DIMS(__pyx_v_self);
|
|
3640
3640
|
goto __pyx_L0;
|
|
3641
3641
|
|
|
3642
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3642
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":340
|
|
3643
3643
|
* return PyArray_NDIM(self)
|
|
3644
3644
|
*
|
|
3645
3645
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3652,7 +3652,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3652
3652
|
return __pyx_r;
|
|
3653
3653
|
}
|
|
3654
3654
|
|
|
3655
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3655
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":348
|
|
3656
3656
|
* return PyArray_DIMS(self)
|
|
3657
3657
|
*
|
|
3658
3658
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3663,7 +3663,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3663
3663
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
|
|
3664
3664
|
npy_intp *__pyx_r;
|
|
3665
3665
|
|
|
3666
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3666
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":353
|
|
3667
3667
|
* The number of elements matches the number of dimensions of the array (ndim).
|
|
3668
3668
|
* """
|
|
3669
3669
|
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
|
|
@@ -3673,7 +3673,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3673
3673
|
__pyx_r = PyArray_STRIDES(__pyx_v_self);
|
|
3674
3674
|
goto __pyx_L0;
|
|
3675
3675
|
|
|
3676
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3676
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":348
|
|
3677
3677
|
* return PyArray_DIMS(self)
|
|
3678
3678
|
*
|
|
3679
3679
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3686,7 +3686,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3686
3686
|
return __pyx_r;
|
|
3687
3687
|
}
|
|
3688
3688
|
|
|
3689
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3689
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":355
|
|
3690
3690
|
* return PyArray_STRIDES(self)
|
|
3691
3691
|
*
|
|
3692
3692
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3697,7 +3697,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3697
3697
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
|
|
3698
3698
|
npy_intp __pyx_r;
|
|
3699
3699
|
|
|
3700
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3700
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":359
|
|
3701
3701
|
* """Returns the total size (in number of elements) of the array.
|
|
3702
3702
|
* """
|
|
3703
3703
|
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3707,7 +3707,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3707
3707
|
__pyx_r = PyArray_SIZE(__pyx_v_self);
|
|
3708
3708
|
goto __pyx_L0;
|
|
3709
3709
|
|
|
3710
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3710
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":355
|
|
3711
3711
|
* return PyArray_STRIDES(self)
|
|
3712
3712
|
*
|
|
3713
3713
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3720,7 +3720,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3720
3720
|
return __pyx_r;
|
|
3721
3721
|
}
|
|
3722
3722
|
|
|
3723
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3723
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":361
|
|
3724
3724
|
* return PyArray_SIZE(self)
|
|
3725
3725
|
*
|
|
3726
3726
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3731,7 +3731,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3731
3731
|
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
|
|
3732
3732
|
char *__pyx_r;
|
|
3733
3733
|
|
|
3734
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3734
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":368
|
|
3735
3735
|
* of `PyArray_DATA()` instead, which returns a 'void*'.
|
|
3736
3736
|
* """
|
|
3737
3737
|
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
|
|
@@ -3741,7 +3741,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
3741
3741
|
__pyx_r = PyArray_BYTES(__pyx_v_self);
|
|
3742
3742
|
goto __pyx_L0;
|
|
3743
3743
|
|
|
3744
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3744
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":361
|
|
3745
3745
|
* return PyArray_SIZE(self)
|
|
3746
3746
|
*
|
|
3747
3747
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3754,7 +3754,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
3754
3754
|
return __pyx_r;
|
|
3755
3755
|
}
|
|
3756
3756
|
|
|
3757
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3757
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
|
|
3758
3758
|
* ctypedef long double complex clongdouble_t
|
|
3759
3759
|
*
|
|
3760
3760
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -3771,7 +3771,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
3771
3771
|
int __pyx_clineno = 0;
|
|
3772
3772
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
|
|
3773
3773
|
|
|
3774
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3774
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
|
|
3775
3775
|
*
|
|
3776
3776
|
* cdef inline object PyArray_MultiIterNew1(a):
|
|
3777
3777
|
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
|
|
@@ -3785,7 +3785,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
3785
3785
|
__pyx_t_1 = 0;
|
|
3786
3786
|
goto __pyx_L0;
|
|
3787
3787
|
|
|
3788
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3788
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":776
|
|
3789
3789
|
* ctypedef long double complex clongdouble_t
|
|
3790
3790
|
*
|
|
3791
3791
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -3804,7 +3804,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
3804
3804
|
return __pyx_r;
|
|
3805
3805
|
}
|
|
3806
3806
|
|
|
3807
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3807
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
|
|
3808
3808
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
3809
3809
|
*
|
|
3810
3810
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -3821,7 +3821,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
3821
3821
|
int __pyx_clineno = 0;
|
|
3822
3822
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
|
|
3823
3823
|
|
|
3824
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3824
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
|
|
3825
3825
|
*
|
|
3826
3826
|
* cdef inline object PyArray_MultiIterNew2(a, b):
|
|
3827
3827
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
|
|
@@ -3835,7 +3835,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
3835
3835
|
__pyx_t_1 = 0;
|
|
3836
3836
|
goto __pyx_L0;
|
|
3837
3837
|
|
|
3838
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3838
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
|
|
3839
3839
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
3840
3840
|
*
|
|
3841
3841
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -3854,7 +3854,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
3854
3854
|
return __pyx_r;
|
|
3855
3855
|
}
|
|
3856
3856
|
|
|
3857
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3857
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
|
|
3858
3858
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
3859
3859
|
*
|
|
3860
3860
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -3871,7 +3871,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
3871
3871
|
int __pyx_clineno = 0;
|
|
3872
3872
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
|
|
3873
3873
|
|
|
3874
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3874
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":783
|
|
3875
3875
|
*
|
|
3876
3876
|
* cdef inline object PyArray_MultiIterNew3(a, b, c):
|
|
3877
3877
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
|
|
@@ -3885,7 +3885,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
3885
3885
|
__pyx_t_1 = 0;
|
|
3886
3886
|
goto __pyx_L0;
|
|
3887
3887
|
|
|
3888
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3888
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":782
|
|
3889
3889
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
3890
3890
|
*
|
|
3891
3891
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -3904,7 +3904,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
3904
3904
|
return __pyx_r;
|
|
3905
3905
|
}
|
|
3906
3906
|
|
|
3907
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3907
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
|
|
3908
3908
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
3909
3909
|
*
|
|
3910
3910
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -3921,7 +3921,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
3921
3921
|
int __pyx_clineno = 0;
|
|
3922
3922
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
|
|
3923
3923
|
|
|
3924
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3924
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":786
|
|
3925
3925
|
*
|
|
3926
3926
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
|
|
3927
3927
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
|
|
@@ -3935,7 +3935,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
3935
3935
|
__pyx_t_1 = 0;
|
|
3936
3936
|
goto __pyx_L0;
|
|
3937
3937
|
|
|
3938
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3938
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
|
|
3939
3939
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
3940
3940
|
*
|
|
3941
3941
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -3954,7 +3954,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
3954
3954
|
return __pyx_r;
|
|
3955
3955
|
}
|
|
3956
3956
|
|
|
3957
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3957
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
|
|
3958
3958
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
3959
3959
|
*
|
|
3960
3960
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -3971,7 +3971,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
3971
3971
|
int __pyx_clineno = 0;
|
|
3972
3972
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
|
|
3973
3973
|
|
|
3974
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3974
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":789
|
|
3975
3975
|
*
|
|
3976
3976
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
|
|
3977
3977
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
|
|
@@ -3985,7 +3985,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
3985
3985
|
__pyx_t_1 = 0;
|
|
3986
3986
|
goto __pyx_L0;
|
|
3987
3987
|
|
|
3988
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3988
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":788
|
|
3989
3989
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
3990
3990
|
*
|
|
3991
3991
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -4004,7 +4004,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
4004
4004
|
return __pyx_r;
|
|
4005
4005
|
}
|
|
4006
4006
|
|
|
4007
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4007
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":791
|
|
4008
4008
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
4009
4009
|
*
|
|
4010
4010
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -4019,7 +4019,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4019
4019
|
PyObject *__pyx_t_2;
|
|
4020
4020
|
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
|
|
4021
4021
|
|
|
4022
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4022
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
4023
4023
|
*
|
|
4024
4024
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4025
4025
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -4029,7 +4029,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4029
4029
|
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
|
|
4030
4030
|
if (__pyx_t_1) {
|
|
4031
4031
|
|
|
4032
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4032
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
|
|
4033
4033
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4034
4034
|
* if PyDataType_HASSUBARRAY(d):
|
|
4035
4035
|
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
|
|
@@ -4042,7 +4042,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4042
4042
|
__pyx_r = ((PyObject*)__pyx_t_2);
|
|
4043
4043
|
goto __pyx_L0;
|
|
4044
4044
|
|
|
4045
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4045
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
4046
4046
|
*
|
|
4047
4047
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4048
4048
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -4051,7 +4051,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4051
4051
|
*/
|
|
4052
4052
|
}
|
|
4053
4053
|
|
|
4054
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4054
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":795
|
|
4055
4055
|
* return <tuple>d.subarray.shape
|
|
4056
4056
|
* else:
|
|
4057
4057
|
* return () # <<<<<<<<<<<<<<
|
|
@@ -4065,7 +4065,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4065
4065
|
goto __pyx_L0;
|
|
4066
4066
|
}
|
|
4067
4067
|
|
|
4068
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4068
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":791
|
|
4069
4069
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
4070
4070
|
*
|
|
4071
4071
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -4080,7 +4080,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4080
4080
|
return __pyx_r;
|
|
4081
4081
|
}
|
|
4082
4082
|
|
|
4083
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4083
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":994
|
|
4084
4084
|
* int _import_umath() except -1
|
|
4085
4085
|
*
|
|
4086
4086
|
* cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<<
|
|
@@ -4094,7 +4094,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4094
4094
|
const char *__pyx_filename = NULL;
|
|
4095
4095
|
int __pyx_clineno = 0;
|
|
4096
4096
|
|
|
4097
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4097
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":995
|
|
4098
4098
|
*
|
|
4099
4099
|
* cdef inline void set_array_base(ndarray arr, object base) except *:
|
|
4100
4100
|
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
|
|
@@ -4103,7 +4103,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4103
4103
|
*/
|
|
4104
4104
|
Py_INCREF(__pyx_v_base);
|
|
4105
4105
|
|
|
4106
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4106
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":996
|
|
4107
4107
|
* cdef inline void set_array_base(ndarray arr, object base) except *:
|
|
4108
4108
|
* Py_INCREF(base) # important to do this before stealing the reference below!
|
|
4109
4109
|
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
|
|
@@ -4112,7 +4112,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4112
4112
|
*/
|
|
4113
4113
|
__pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 996, __pyx_L1_error)
|
|
4114
4114
|
|
|
4115
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4115
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":994
|
|
4116
4116
|
* int _import_umath() except -1
|
|
4117
4117
|
*
|
|
4118
4118
|
* cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<<
|
|
@@ -4127,7 +4127,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4127
4127
|
__pyx_L0:;
|
|
4128
4128
|
}
|
|
4129
4129
|
|
|
4130
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4130
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
|
|
4131
4131
|
* PyArray_SetBaseObject(arr, base)
|
|
4132
4132
|
*
|
|
4133
4133
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -4142,7 +4142,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4142
4142
|
int __pyx_t_1;
|
|
4143
4143
|
__Pyx_RefNannySetupContext("get_array_base", 0);
|
|
4144
4144
|
|
|
4145
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4145
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":999
|
|
4146
4146
|
*
|
|
4147
4147
|
* cdef inline object get_array_base(ndarray arr):
|
|
4148
4148
|
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
|
|
@@ -4151,7 +4151,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4151
4151
|
*/
|
|
4152
4152
|
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
|
|
4153
4153
|
|
|
4154
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4154
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1000
|
|
4155
4155
|
* cdef inline object get_array_base(ndarray arr):
|
|
4156
4156
|
* base = PyArray_BASE(arr)
|
|
4157
4157
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -4161,7 +4161,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4161
4161
|
__pyx_t_1 = (__pyx_v_base == NULL);
|
|
4162
4162
|
if (__pyx_t_1) {
|
|
4163
4163
|
|
|
4164
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4164
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1001
|
|
4165
4165
|
* base = PyArray_BASE(arr)
|
|
4166
4166
|
* if base is NULL:
|
|
4167
4167
|
* return None # <<<<<<<<<<<<<<
|
|
@@ -4172,7 +4172,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4172
4172
|
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
|
|
4173
4173
|
goto __pyx_L0;
|
|
4174
4174
|
|
|
4175
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4175
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1000
|
|
4176
4176
|
* cdef inline object get_array_base(ndarray arr):
|
|
4177
4177
|
* base = PyArray_BASE(arr)
|
|
4178
4178
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -4181,7 +4181,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4181
4181
|
*/
|
|
4182
4182
|
}
|
|
4183
4183
|
|
|
4184
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4184
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1002
|
|
4185
4185
|
* if base is NULL:
|
|
4186
4186
|
* return None
|
|
4187
4187
|
* return <object>base # <<<<<<<<<<<<<<
|
|
@@ -4193,7 +4193,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4193
4193
|
__pyx_r = ((PyObject *)__pyx_v_base);
|
|
4194
4194
|
goto __pyx_L0;
|
|
4195
4195
|
|
|
4196
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4196
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":998
|
|
4197
4197
|
* PyArray_SetBaseObject(arr, base)
|
|
4198
4198
|
*
|
|
4199
4199
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -4208,7 +4208,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4208
4208
|
return __pyx_r;
|
|
4209
4209
|
}
|
|
4210
4210
|
|
|
4211
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4211
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1006
|
|
4212
4212
|
* # Versions of the import_* functions which are more suitable for
|
|
4213
4213
|
* # Cython code.
|
|
4214
4214
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4235,7 +4235,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4235
4235
|
int __pyx_clineno = 0;
|
|
4236
4236
|
__Pyx_RefNannySetupContext("import_array", 0);
|
|
4237
4237
|
|
|
4238
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4238
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1007
|
|
4239
4239
|
* # Cython code.
|
|
4240
4240
|
* cdef inline int import_array() except -1:
|
|
4241
4241
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4251,7 +4251,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4251
4251
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4252
4252
|
/*try:*/ {
|
|
4253
4253
|
|
|
4254
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4254
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1008
|
|
4255
4255
|
* cdef inline int import_array() except -1:
|
|
4256
4256
|
* try:
|
|
4257
4257
|
* __pyx_import_array() # <<<<<<<<<<<<<<
|
|
@@ -4260,7 +4260,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4260
4260
|
*/
|
|
4261
4261
|
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1008, __pyx_L3_error)
|
|
4262
4262
|
|
|
4263
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4263
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1007
|
|
4264
4264
|
* # Cython code.
|
|
4265
4265
|
* cdef inline int import_array() except -1:
|
|
4266
4266
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4274,7 +4274,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4274
4274
|
goto __pyx_L8_try_end;
|
|
4275
4275
|
__pyx_L3_error:;
|
|
4276
4276
|
|
|
4277
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4277
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1009
|
|
4278
4278
|
* try:
|
|
4279
4279
|
* __pyx_import_array()
|
|
4280
4280
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4289,7 +4289,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4289
4289
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4290
4290
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4291
4291
|
|
|
4292
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4292
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1010
|
|
4293
4293
|
* __pyx_import_array()
|
|
4294
4294
|
* except Exception:
|
|
4295
4295
|
* raise ImportError("numpy._core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4314,7 +4314,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4314
4314
|
}
|
|
4315
4315
|
goto __pyx_L5_except_error;
|
|
4316
4316
|
|
|
4317
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4317
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1007
|
|
4318
4318
|
* # Cython code.
|
|
4319
4319
|
* cdef inline int import_array() except -1:
|
|
4320
4320
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4330,7 +4330,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4330
4330
|
__pyx_L8_try_end:;
|
|
4331
4331
|
}
|
|
4332
4332
|
|
|
4333
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4333
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1006
|
|
4334
4334
|
* # Versions of the import_* functions which are more suitable for
|
|
4335
4335
|
* # Cython code.
|
|
4336
4336
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4355,7 +4355,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4355
4355
|
return __pyx_r;
|
|
4356
4356
|
}
|
|
4357
4357
|
|
|
4358
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4358
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1012
|
|
4359
4359
|
* raise ImportError("numpy._core.multiarray failed to import")
|
|
4360
4360
|
*
|
|
4361
4361
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4382,7 +4382,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4382
4382
|
int __pyx_clineno = 0;
|
|
4383
4383
|
__Pyx_RefNannySetupContext("import_umath", 0);
|
|
4384
4384
|
|
|
4385
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4385
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
|
|
4386
4386
|
*
|
|
4387
4387
|
* cdef inline int import_umath() except -1:
|
|
4388
4388
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4398,7 +4398,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4398
4398
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4399
4399
|
/*try:*/ {
|
|
4400
4400
|
|
|
4401
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4401
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
|
|
4402
4402
|
* cdef inline int import_umath() except -1:
|
|
4403
4403
|
* try:
|
|
4404
4404
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -4407,7 +4407,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4407
4407
|
*/
|
|
4408
4408
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1014, __pyx_L3_error)
|
|
4409
4409
|
|
|
4410
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4410
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
|
|
4411
4411
|
*
|
|
4412
4412
|
* cdef inline int import_umath() except -1:
|
|
4413
4413
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4421,7 +4421,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4421
4421
|
goto __pyx_L8_try_end;
|
|
4422
4422
|
__pyx_L3_error:;
|
|
4423
4423
|
|
|
4424
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4424
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1015
|
|
4425
4425
|
* try:
|
|
4426
4426
|
* _import_umath()
|
|
4427
4427
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4436,7 +4436,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4436
4436
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4437
4437
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4438
4438
|
|
|
4439
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4439
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
4440
4440
|
* _import_umath()
|
|
4441
4441
|
* except Exception:
|
|
4442
4442
|
* raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4461,7 +4461,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4461
4461
|
}
|
|
4462
4462
|
goto __pyx_L5_except_error;
|
|
4463
4463
|
|
|
4464
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4464
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1013
|
|
4465
4465
|
*
|
|
4466
4466
|
* cdef inline int import_umath() except -1:
|
|
4467
4467
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4477,7 +4477,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4477
4477
|
__pyx_L8_try_end:;
|
|
4478
4478
|
}
|
|
4479
4479
|
|
|
4480
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4480
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1012
|
|
4481
4481
|
* raise ImportError("numpy._core.multiarray failed to import")
|
|
4482
4482
|
*
|
|
4483
4483
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4502,7 +4502,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4502
4502
|
return __pyx_r;
|
|
4503
4503
|
}
|
|
4504
4504
|
|
|
4505
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4505
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1018
|
|
4506
4506
|
* raise ImportError("numpy._core.umath failed to import")
|
|
4507
4507
|
*
|
|
4508
4508
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4529,7 +4529,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4529
4529
|
int __pyx_clineno = 0;
|
|
4530
4530
|
__Pyx_RefNannySetupContext("import_ufunc", 0);
|
|
4531
4531
|
|
|
4532
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4532
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1019
|
|
4533
4533
|
*
|
|
4534
4534
|
* cdef inline int import_ufunc() except -1:
|
|
4535
4535
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4545,7 +4545,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4545
4545
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4546
4546
|
/*try:*/ {
|
|
4547
4547
|
|
|
4548
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4548
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1020
|
|
4549
4549
|
* cdef inline int import_ufunc() except -1:
|
|
4550
4550
|
* try:
|
|
4551
4551
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -4554,7 +4554,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4554
4554
|
*/
|
|
4555
4555
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1020, __pyx_L3_error)
|
|
4556
4556
|
|
|
4557
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4557
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1019
|
|
4558
4558
|
*
|
|
4559
4559
|
* cdef inline int import_ufunc() except -1:
|
|
4560
4560
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4568,7 +4568,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4568
4568
|
goto __pyx_L8_try_end;
|
|
4569
4569
|
__pyx_L3_error:;
|
|
4570
4570
|
|
|
4571
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4571
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1021
|
|
4572
4572
|
* try:
|
|
4573
4573
|
* _import_umath()
|
|
4574
4574
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4583,7 +4583,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4583
4583
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4584
4584
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4585
4585
|
|
|
4586
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4586
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1022
|
|
4587
4587
|
* _import_umath()
|
|
4588
4588
|
* except Exception:
|
|
4589
4589
|
* raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4608,7 +4608,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4608
4608
|
}
|
|
4609
4609
|
goto __pyx_L5_except_error;
|
|
4610
4610
|
|
|
4611
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4611
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1019
|
|
4612
4612
|
*
|
|
4613
4613
|
* cdef inline int import_ufunc() except -1:
|
|
4614
4614
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4624,7 +4624,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4624
4624
|
__pyx_L8_try_end:;
|
|
4625
4625
|
}
|
|
4626
4626
|
|
|
4627
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4627
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1018
|
|
4628
4628
|
* raise ImportError("numpy._core.umath failed to import")
|
|
4629
4629
|
*
|
|
4630
4630
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4649,7 +4649,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4649
4649
|
return __pyx_r;
|
|
4650
4650
|
}
|
|
4651
4651
|
|
|
4652
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4652
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1025
|
|
4653
4653
|
*
|
|
4654
4654
|
*
|
|
4655
4655
|
* cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4660,7 +4660,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4660
4660
|
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
|
|
4661
4661
|
int __pyx_r;
|
|
4662
4662
|
|
|
4663
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4663
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1037
|
|
4664
4664
|
* bool
|
|
4665
4665
|
* """
|
|
4666
4666
|
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -4670,7 +4670,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4670
4670
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
|
|
4671
4671
|
goto __pyx_L0;
|
|
4672
4672
|
|
|
4673
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4673
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1025
|
|
4674
4674
|
*
|
|
4675
4675
|
*
|
|
4676
4676
|
* cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4683,7 +4683,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4683
4683
|
return __pyx_r;
|
|
4684
4684
|
}
|
|
4685
4685
|
|
|
4686
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4686
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1040
|
|
4687
4687
|
*
|
|
4688
4688
|
*
|
|
4689
4689
|
* cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4694,7 +4694,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4694
4694
|
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
|
|
4695
4695
|
int __pyx_r;
|
|
4696
4696
|
|
|
4697
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4697
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1052
|
|
4698
4698
|
* bool
|
|
4699
4699
|
* """
|
|
4700
4700
|
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -4704,7 +4704,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4704
4704
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
|
|
4705
4705
|
goto __pyx_L0;
|
|
4706
4706
|
|
|
4707
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4707
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1040
|
|
4708
4708
|
*
|
|
4709
4709
|
*
|
|
4710
4710
|
* cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4717,7 +4717,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4717
4717
|
return __pyx_r;
|
|
4718
4718
|
}
|
|
4719
4719
|
|
|
4720
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4720
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1055
|
|
4721
4721
|
*
|
|
4722
4722
|
*
|
|
4723
4723
|
* cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4728,7 +4728,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4728
4728
|
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
|
|
4729
4729
|
npy_datetime __pyx_r;
|
|
4730
4730
|
|
|
4731
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4731
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1062
|
|
4732
4732
|
* also needed. That can be found using `get_datetime64_unit`.
|
|
4733
4733
|
* """
|
|
4734
4734
|
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -4738,7 +4738,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4738
4738
|
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
|
|
4739
4739
|
goto __pyx_L0;
|
|
4740
4740
|
|
|
4741
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4741
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1055
|
|
4742
4742
|
*
|
|
4743
4743
|
*
|
|
4744
4744
|
* cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4751,7 +4751,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4751
4751
|
return __pyx_r;
|
|
4752
4752
|
}
|
|
4753
4753
|
|
|
4754
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4754
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1065
|
|
4755
4755
|
*
|
|
4756
4756
|
*
|
|
4757
4757
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4762,7 +4762,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4762
4762
|
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
|
|
4763
4763
|
npy_timedelta __pyx_r;
|
|
4764
4764
|
|
|
4765
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4765
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1069
|
|
4766
4766
|
* returns the int64 value underlying scalar numpy timedelta64 object
|
|
4767
4767
|
* """
|
|
4768
4768
|
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -4772,7 +4772,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
4772
4772
|
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
|
|
4773
4773
|
goto __pyx_L0;
|
|
4774
4774
|
|
|
4775
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4775
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1065
|
|
4776
4776
|
*
|
|
4777
4777
|
*
|
|
4778
4778
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4785,7 +4785,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
4785
4785
|
return __pyx_r;
|
|
4786
4786
|
}
|
|
4787
4787
|
|
|
4788
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4788
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1072
|
|
4789
4789
|
*
|
|
4790
4790
|
*
|
|
4791
4791
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4796,7 +4796,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
4796
4796
|
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
|
|
4797
4797
|
NPY_DATETIMEUNIT __pyx_r;
|
|
4798
4798
|
|
|
4799
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4799
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1076
|
|
4800
4800
|
* returns the unit part of the dtype for a numpy datetime64 object.
|
|
4801
4801
|
* """
|
|
4802
4802
|
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
|
|
@@ -4806,7 +4806,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
4806
4806
|
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
|
|
4807
4807
|
goto __pyx_L0;
|
|
4808
4808
|
|
|
4809
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4809
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-scn655t1/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1072
|
|
4810
4810
|
*
|
|
4811
4811
|
*
|
|
4812
4812
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4819,7 +4819,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
4819
4819
|
return __pyx_r;
|
|
4820
4820
|
}
|
|
4821
4821
|
|
|
4822
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
4822
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":8
|
|
4823
4823
|
* from libc.stdint cimport int32_t
|
|
4824
4824
|
*
|
|
4825
4825
|
* def seqdur(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -4866,32 +4866,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
4866
4866
|
{
|
|
4867
4867
|
PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_seqdata,0};
|
|
4868
4868
|
const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
|
|
4869
|
-
if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0,
|
|
4869
|
+
if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
4870
4870
|
if (__pyx_kwds_len > 0) {
|
|
4871
4871
|
switch (__pyx_nargs) {
|
|
4872
4872
|
case 1:
|
|
4873
4873
|
values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
|
|
4874
|
-
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0,
|
|
4874
|
+
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
4875
4875
|
CYTHON_FALLTHROUGH;
|
|
4876
4876
|
case 0: break;
|
|
4877
4877
|
default: goto __pyx_L5_argtuple_error;
|
|
4878
4878
|
}
|
|
4879
4879
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
4880
|
-
if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "seqdur", 0) < 0) __PYX_ERR(0,
|
|
4880
|
+
if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "seqdur", 0) < 0) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
4881
4881
|
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
|
|
4882
|
-
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("seqdur", 1, 1, 1, i); __PYX_ERR(0,
|
|
4882
|
+
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("seqdur", 1, 1, 1, i); __PYX_ERR(0, 8, __pyx_L3_error) }
|
|
4883
4883
|
}
|
|
4884
4884
|
} else if (unlikely(__pyx_nargs != 1)) {
|
|
4885
4885
|
goto __pyx_L5_argtuple_error;
|
|
4886
4886
|
} else {
|
|
4887
4887
|
values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
|
|
4888
|
-
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0,
|
|
4888
|
+
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
4889
4889
|
}
|
|
4890
4890
|
__pyx_v_seqdata = values[0];
|
|
4891
4891
|
}
|
|
4892
4892
|
goto __pyx_L6_skip;
|
|
4893
4893
|
__pyx_L5_argtuple_error:;
|
|
4894
|
-
__Pyx_RaiseArgtupleInvalid("seqdur", 1, 1, 1, __pyx_nargs); __PYX_ERR(0,
|
|
4894
|
+
__Pyx_RaiseArgtupleInvalid("seqdur", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 8, __pyx_L3_error)
|
|
4895
4895
|
__pyx_L6_skip:;
|
|
4896
4896
|
goto __pyx_L4_argument_unpacking_done;
|
|
4897
4897
|
__pyx_L3_error:;
|
|
@@ -4982,21 +4982,21 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
4982
4982
|
__pyx_pybuffernd_group_durations.data = NULL;
|
|
4983
4983
|
__pyx_pybuffernd_group_durations.rcbuffer = &__pyx_pybuffer_group_durations;
|
|
4984
4984
|
|
|
4985
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
4985
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":9
|
|
4986
4986
|
*
|
|
4987
4987
|
* def seqdur(seqdata):
|
|
4988
4988
|
* if not isinstance(seqdata, SequenceData): # <<<<<<<<<<<<<<
|
|
4989
4989
|
* raise ValueError("data is not a sequence object, see SequenceData to create one")
|
|
4990
4990
|
*
|
|
4991
4991
|
*/
|
|
4992
|
-
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
4992
|
+
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 9, __pyx_L1_error)
|
|
4993
4993
|
__Pyx_GOTREF(__pyx_t_1);
|
|
4994
|
-
__pyx_t_2 = PyObject_IsInstance(__pyx_v_seqdata, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0,
|
|
4994
|
+
__pyx_t_2 = PyObject_IsInstance(__pyx_v_seqdata, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0, 9, __pyx_L1_error)
|
|
4995
4995
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
4996
4996
|
__pyx_t_3 = (!__pyx_t_2);
|
|
4997
4997
|
if (unlikely(__pyx_t_3)) {
|
|
4998
4998
|
|
|
4999
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
4999
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":10
|
|
5000
5000
|
* def seqdur(seqdata):
|
|
5001
5001
|
* if not isinstance(seqdata, SequenceData):
|
|
5002
5002
|
* raise ValueError("data is not a sequence object, see SequenceData to create one") # <<<<<<<<<<<<<<
|
|
@@ -5012,14 +5012,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5012
5012
|
__pyx_t_1 = __Pyx_PyObject_FastCall(__pyx_t_5, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
|
|
5013
5013
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5014
5014
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5015
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5015
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 10, __pyx_L1_error)
|
|
5016
5016
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5017
5017
|
}
|
|
5018
5018
|
__Pyx_Raise(__pyx_t_1, 0, 0, 0);
|
|
5019
5019
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5020
|
-
__PYX_ERR(0,
|
|
5020
|
+
__PYX_ERR(0, 10, __pyx_L1_error)
|
|
5021
5021
|
|
|
5022
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5022
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":9
|
|
5023
5023
|
*
|
|
5024
5024
|
* def seqdur(seqdata):
|
|
5025
5025
|
* if not isinstance(seqdata, SequenceData): # <<<<<<<<<<<<<<
|
|
@@ -5028,14 +5028,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5028
5028
|
*/
|
|
5029
5029
|
}
|
|
5030
5030
|
|
|
5031
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5031
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":12
|
|
5032
5032
|
* raise ValueError("data is not a sequence object, see SequenceData to create one")
|
|
5033
5033
|
*
|
|
5034
5034
|
* cdef cnp.ndarray[int32_t, ndim=2] seqdatanum = seqdata.values.copy().astype(np.int32, copy=False) # <<<<<<<<<<<<<<
|
|
5035
5035
|
*
|
|
5036
5036
|
* cdef int n = seqdatanum.shape[0], m = seqdatanum.shape[1]
|
|
5037
5037
|
*/
|
|
5038
|
-
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_seqdata, __pyx_mstate_global->__pyx_n_u_values); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5038
|
+
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_seqdata, __pyx_mstate_global->__pyx_n_u_values); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5039
5039
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5040
5040
|
__pyx_t_7 = __pyx_t_8;
|
|
5041
5041
|
__Pyx_INCREF(__pyx_t_7);
|
|
@@ -5045,43 +5045,43 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5045
5045
|
__pyx_t_4 = __Pyx_PyObject_FastCallMethod(__pyx_mstate_global->__pyx_n_u_copy, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
|
|
5046
5046
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5047
5047
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5048
|
-
if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5048
|
+
if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5049
5049
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5050
5050
|
}
|
|
5051
5051
|
__pyx_t_5 = __pyx_t_4;
|
|
5052
5052
|
__Pyx_INCREF(__pyx_t_5);
|
|
5053
|
-
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5053
|
+
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5054
5054
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5055
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5055
|
+
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5056
5056
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5057
5057
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5058
5058
|
__pyx_t_6 = 0;
|
|
5059
5059
|
{
|
|
5060
5060
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_5, __pyx_t_7};
|
|
5061
|
-
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5061
|
+
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5062
5062
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5063
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_copy, Py_False, __pyx_t_8, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5063
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_copy, Py_False, __pyx_t_8, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5064
5064
|
__pyx_t_1 = __Pyx_Object_VectorcallMethod_CallFromBuilder(__pyx_mstate_global->__pyx_n_u_astype, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_8);
|
|
5065
5065
|
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5066
5066
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5067
5067
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5068
5068
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5069
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5069
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5070
5070
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5071
5071
|
}
|
|
5072
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5072
|
+
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5073
5073
|
{
|
|
5074
5074
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5075
5075
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn_int32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5076
5076
|
__pyx_v_seqdatanum = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.buf = NULL;
|
|
5077
|
-
__PYX_ERR(0,
|
|
5077
|
+
__PYX_ERR(0, 12, __pyx_L1_error)
|
|
5078
5078
|
} else {__pyx_pybuffernd_seqdatanum.diminfo[0].strides = __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_seqdatanum.diminfo[0].shape = __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_seqdatanum.diminfo[1].strides = __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_seqdatanum.diminfo[1].shape = __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.shape[1];
|
|
5079
5079
|
}
|
|
5080
5080
|
}
|
|
5081
5081
|
__pyx_v_seqdatanum = ((PyArrayObject *)__pyx_t_1);
|
|
5082
5082
|
__pyx_t_1 = 0;
|
|
5083
5083
|
|
|
5084
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5084
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":14
|
|
5085
5085
|
* cdef cnp.ndarray[int32_t, ndim=2] seqdatanum = seqdata.values.copy().astype(np.int32, copy=False)
|
|
5086
5086
|
*
|
|
5087
5087
|
* cdef int n = seqdatanum.shape[0], m = seqdatanum.shape[1] # <<<<<<<<<<<<<<
|
|
@@ -5091,7 +5091,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5091
5091
|
__pyx_v_n = (__pyx_f_5numpy_7ndarray_5shape_shape(((PyArrayObject *)__pyx_v_seqdatanum))[0]);
|
|
5092
5092
|
__pyx_v_m = (__pyx_f_5numpy_7ndarray_5shape_shape(((PyArrayObject *)__pyx_v_seqdatanum))[1]);
|
|
5093
5093
|
|
|
5094
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5094
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":17
|
|
5095
5095
|
* cdef int i, j
|
|
5096
5096
|
*
|
|
5097
5097
|
* cdef cnp.ndarray[int32_t, ndim=2] ffill = seqdatanum.copy() # <<<<<<<<<<<<<<
|
|
@@ -5105,22 +5105,22 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5105
5105
|
PyObject *__pyx_callargs[2] = {__pyx_t_4, NULL};
|
|
5106
5106
|
__pyx_t_1 = __Pyx_PyObject_FastCallMethod(__pyx_mstate_global->__pyx_n_u_copy, __pyx_callargs+__pyx_t_6, (1-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET));
|
|
5107
5107
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5108
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5108
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5109
5109
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5110
5110
|
}
|
|
5111
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5111
|
+
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5112
5112
|
{
|
|
5113
5113
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5114
5114
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_ffill.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn_int32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5115
5115
|
__pyx_v_ffill = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_ffill.rcbuffer->pybuffer.buf = NULL;
|
|
5116
|
-
__PYX_ERR(0,
|
|
5116
|
+
__PYX_ERR(0, 17, __pyx_L1_error)
|
|
5117
5117
|
} else {__pyx_pybuffernd_ffill.diminfo[0].strides = __pyx_pybuffernd_ffill.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_ffill.diminfo[0].shape = __pyx_pybuffernd_ffill.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_ffill.diminfo[1].strides = __pyx_pybuffernd_ffill.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_ffill.diminfo[1].shape = __pyx_pybuffernd_ffill.rcbuffer->pybuffer.shape[1];
|
|
5118
5118
|
}
|
|
5119
5119
|
}
|
|
5120
5120
|
__pyx_v_ffill = ((PyArrayObject *)__pyx_t_1);
|
|
5121
5121
|
__pyx_t_1 = 0;
|
|
5122
5122
|
|
|
5123
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5123
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":19
|
|
5124
5124
|
* cdef cnp.ndarray[int32_t, ndim=2] ffill = seqdatanum.copy()
|
|
5125
5125
|
*
|
|
5126
5126
|
* for j in range(1, m): # <<<<<<<<<<<<<<
|
|
@@ -5132,7 +5132,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5132
5132
|
for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
|
|
5133
5133
|
__pyx_v_j = __pyx_t_11;
|
|
5134
5134
|
|
|
5135
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5135
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":20
|
|
5136
5136
|
*
|
|
5137
5137
|
* for j in range(1, m):
|
|
5138
5138
|
* ffill[:, j] = np.where(seqdatanum[:, j] < 0, ffill[:, j - 1], seqdatanum[:, j]) # <<<<<<<<<<<<<<
|
|
@@ -5140,50 +5140,50 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5140
5140
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate(
|
|
5141
5141
|
*/
|
|
5142
5142
|
__pyx_t_4 = NULL;
|
|
5143
|
-
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5143
|
+
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5144
5144
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5145
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_where); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5145
|
+
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_where); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5146
5146
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5147
5147
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5148
|
-
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5148
|
+
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5149
5149
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5150
|
-
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5150
|
+
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5151
5151
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5152
5152
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5153
5153
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5154
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5154
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5155
5155
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5156
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5156
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_8) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5157
5157
|
__pyx_t_8 = 0;
|
|
5158
|
-
__pyx_t_8 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_seqdatanum), __pyx_t_5); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5158
|
+
__pyx_t_8 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_seqdatanum), __pyx_t_5); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5159
5159
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5160
5160
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5161
|
-
__pyx_t_5 = PyObject_RichCompare(__pyx_t_8, __pyx_mstate_global->__pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5161
|
+
__pyx_t_5 = PyObject_RichCompare(__pyx_t_8, __pyx_mstate_global->__pyx_int_0, Py_LT); __Pyx_XGOTREF(__pyx_t_5); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5162
5162
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5163
|
-
__pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_j - 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5163
|
+
__pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_j - 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5164
5164
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5165
|
-
__pyx_t_12 = PyTuple_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5165
|
+
__pyx_t_12 = PyTuple_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5166
5166
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5167
5167
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5168
5168
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5169
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5169
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5170
5170
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5171
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5171
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_8) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5172
5172
|
__pyx_t_8 = 0;
|
|
5173
|
-
__pyx_t_8 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_t_12); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5173
|
+
__pyx_t_8 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_t_12); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5174
5174
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5175
5175
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5176
|
-
__pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5176
|
+
__pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5177
5177
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5178
|
-
__pyx_t_13 = PyTuple_New(2); if (unlikely(!__pyx_t_13)) __PYX_ERR(0,
|
|
5178
|
+
__pyx_t_13 = PyTuple_New(2); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5179
5179
|
__Pyx_GOTREF(__pyx_t_13);
|
|
5180
5180
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5181
5181
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5182
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5182
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5183
5183
|
__Pyx_GIVEREF(__pyx_t_12);
|
|
5184
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 1, __pyx_t_12) != (0)) __PYX_ERR(0,
|
|
5184
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 1, __pyx_t_12) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5185
5185
|
__pyx_t_12 = 0;
|
|
5186
|
-
__pyx_t_12 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_seqdatanum), __pyx_t_13); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5186
|
+
__pyx_t_12 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_seqdatanum), __pyx_t_13); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5187
5187
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5188
5188
|
__Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
|
|
5189
5189
|
__pyx_t_6 = 1;
|
|
@@ -5206,25 +5206,25 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5206
5206
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5207
5207
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5208
5208
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5209
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5209
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5210
5210
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5211
5211
|
}
|
|
5212
|
-
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5212
|
+
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5213
5213
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5214
|
-
__pyx_t_12 = PyTuple_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5214
|
+
__pyx_t_12 = PyTuple_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5215
5215
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5216
5216
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5217
5217
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5218
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5218
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5219
5219
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5220
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5220
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_7) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5221
5221
|
__pyx_t_7 = 0;
|
|
5222
|
-
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_ffill), __pyx_t_12, __pyx_t_1) < 0))) __PYX_ERR(0,
|
|
5222
|
+
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_ffill), __pyx_t_12, __pyx_t_1) < 0))) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5223
5223
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5224
5224
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5225
5225
|
}
|
|
5226
5226
|
|
|
5227
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5227
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":22
|
|
5228
5228
|
* ffill[:, j] = np.where(seqdatanum[:, j] < 0, ffill[:, j - 1], seqdatanum[:, j])
|
|
5229
5229
|
*
|
|
5230
5230
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate( # <<<<<<<<<<<<<<
|
|
@@ -5232,13 +5232,13 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5232
5232
|
* )
|
|
5233
5233
|
*/
|
|
5234
5234
|
__pyx_t_12 = NULL;
|
|
5235
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5235
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 22, __pyx_L1_error)
|
|
5236
5236
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5237
|
-
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_concatenate); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5237
|
+
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_concatenate); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 22, __pyx_L1_error)
|
|
5238
5238
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5239
5239
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5240
5240
|
|
|
5241
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5241
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":23
|
|
5242
5242
|
*
|
|
5243
5243
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate(
|
|
5244
5244
|
* [np.ones((n, 1), dtype=bool), ffill[:, 1:] != ffill[:, :-1]], axis=1 # <<<<<<<<<<<<<<
|
|
@@ -5246,20 +5246,20 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5246
5246
|
*
|
|
5247
5247
|
*/
|
|
5248
5248
|
__pyx_t_5 = NULL;
|
|
5249
|
-
__Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5249
|
+
__Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5250
5250
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5251
|
-
__pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ones); if (unlikely(!__pyx_t_13)) __PYX_ERR(0,
|
|
5251
|
+
__pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ones); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5252
5252
|
__Pyx_GOTREF(__pyx_t_13);
|
|
5253
5253
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5254
|
-
__pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5254
|
+
__pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5255
5255
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5256
|
-
__pyx_t_14 = PyTuple_New(2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5256
|
+
__pyx_t_14 = PyTuple_New(2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5257
5257
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5258
5258
|
__Pyx_GIVEREF(__pyx_t_4);
|
|
5259
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_4) != (0)) __PYX_ERR(0,
|
|
5259
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_4) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5260
5260
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_int_1);
|
|
5261
5261
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_1);
|
|
5262
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_mstate_global->__pyx_int_1) != (0)) __PYX_ERR(0,
|
|
5262
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_mstate_global->__pyx_int_1) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5263
5263
|
__pyx_t_4 = 0;
|
|
5264
5264
|
__pyx_t_6 = 1;
|
|
5265
5265
|
#if CYTHON_UNPACK_METHODS
|
|
@@ -5275,30 +5275,30 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5275
5275
|
#endif
|
|
5276
5276
|
{
|
|
5277
5277
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_5, __pyx_t_14};
|
|
5278
|
-
__pyx_t_4 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5278
|
+
__pyx_t_4 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5279
5279
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5280
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, ((PyObject*)&PyBool_Type), __pyx_t_4, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5280
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, ((PyObject*)&PyBool_Type), __pyx_t_4, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5281
5281
|
__pyx_t_7 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_13, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_4);
|
|
5282
5282
|
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5283
5283
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5284
5284
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5285
5285
|
__Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
|
|
5286
|
-
if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5286
|
+
if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5287
5287
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5288
5288
|
}
|
|
5289
|
-
__pyx_t_13 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[0]); if (unlikely(!__pyx_t_13)) __PYX_ERR(0,
|
|
5289
|
+
__pyx_t_13 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[0]); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5290
5290
|
__Pyx_GOTREF(__pyx_t_13);
|
|
5291
|
-
__pyx_t_4 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[1]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5291
|
+
__pyx_t_4 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[1]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5292
5292
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5293
|
-
__pyx_t_14 = PyObject_RichCompare(__pyx_t_13, __pyx_t_4, Py_NE); __Pyx_XGOTREF(__pyx_t_14); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5293
|
+
__pyx_t_14 = PyObject_RichCompare(__pyx_t_13, __pyx_t_4, Py_NE); __Pyx_XGOTREF(__pyx_t_14); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5294
5294
|
__Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
|
|
5295
5295
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5296
|
-
__pyx_t_4 = PyList_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5296
|
+
__pyx_t_4 = PyList_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5297
5297
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5298
5298
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5299
|
-
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 0, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5299
|
+
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5300
5300
|
__Pyx_GIVEREF(__pyx_t_14);
|
|
5301
|
-
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 1, __pyx_t_14) != (0)) __PYX_ERR(0,
|
|
5301
|
+
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 1, __pyx_t_14) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5302
5302
|
__pyx_t_7 = 0;
|
|
5303
5303
|
__pyx_t_14 = 0;
|
|
5304
5304
|
__pyx_t_6 = 1;
|
|
@@ -5315,38 +5315,38 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5315
5315
|
#endif
|
|
5316
5316
|
{
|
|
5317
5317
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_12, __pyx_t_4};
|
|
5318
|
-
__pyx_t_14 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5318
|
+
__pyx_t_14 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 22, __pyx_L1_error)
|
|
5319
5319
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5320
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_axis, __pyx_mstate_global->__pyx_int_1, __pyx_t_14, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5320
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_axis, __pyx_mstate_global->__pyx_int_1, __pyx_t_14, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 22, __pyx_L1_error)
|
|
5321
5321
|
__pyx_t_1 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_8, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_14);
|
|
5322
5322
|
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5323
5323
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5324
5324
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5325
5325
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5326
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5326
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 22, __pyx_L1_error)
|
|
5327
5327
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5328
5328
|
}
|
|
5329
5329
|
|
|
5330
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5330
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":22
|
|
5331
5331
|
* ffill[:, j] = np.where(seqdatanum[:, j] < 0, ffill[:, j - 1], seqdatanum[:, j])
|
|
5332
5332
|
*
|
|
5333
5333
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate( # <<<<<<<<<<<<<<
|
|
5334
5334
|
* [np.ones((n, 1), dtype=bool), ffill[:, 1:] != ffill[:, :-1]], axis=1
|
|
5335
5335
|
* )
|
|
5336
5336
|
*/
|
|
5337
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5337
|
+
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 22, __pyx_L1_error)
|
|
5338
5338
|
{
|
|
5339
5339
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5340
5340
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_boundaries.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_char, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5341
5341
|
__pyx_v_boundaries = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.buf = NULL;
|
|
5342
|
-
__PYX_ERR(0,
|
|
5342
|
+
__PYX_ERR(0, 22, __pyx_L1_error)
|
|
5343
5343
|
} else {__pyx_pybuffernd_boundaries.diminfo[0].strides = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_boundaries.diminfo[0].shape = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_boundaries.diminfo[1].strides = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_boundaries.diminfo[1].shape = __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.shape[1];
|
|
5344
5344
|
}
|
|
5345
5345
|
}
|
|
5346
5346
|
__pyx_v_boundaries = ((PyArrayObject *)__pyx_t_1);
|
|
5347
5347
|
__pyx_t_1 = 0;
|
|
5348
5348
|
|
|
5349
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5349
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":26
|
|
5350
5350
|
* )
|
|
5351
5351
|
*
|
|
5352
5352
|
* cdef cnp.ndarray[int32_t, ndim=2] group_ids = np.cumsum(boundaries, axis=1).astype(np.int32, copy=False) # <<<<<<<<<<<<<<
|
|
@@ -5354,9 +5354,9 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5354
5354
|
*
|
|
5355
5355
|
*/
|
|
5356
5356
|
__pyx_t_4 = NULL;
|
|
5357
|
-
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5357
|
+
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5358
5358
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5359
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_cumsum); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5359
|
+
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_cumsum); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5360
5360
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5361
5361
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5362
5362
|
__pyx_t_6 = 1;
|
|
@@ -5373,70 +5373,70 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5373
5373
|
#endif
|
|
5374
5374
|
{
|
|
5375
5375
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_4, ((PyObject *)__pyx_v_boundaries)};
|
|
5376
|
-
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5376
|
+
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5377
5377
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5378
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_axis, __pyx_mstate_global->__pyx_int_1, __pyx_t_12, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5378
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_axis, __pyx_mstate_global->__pyx_int_1, __pyx_t_12, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5379
5379
|
__pyx_t_14 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_7, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_12);
|
|
5380
5380
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5381
5381
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5382
5382
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5383
|
-
if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5383
|
+
if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5384
5384
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5385
5385
|
}
|
|
5386
5386
|
__pyx_t_8 = __pyx_t_14;
|
|
5387
5387
|
__Pyx_INCREF(__pyx_t_8);
|
|
5388
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5388
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5389
5389
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5390
|
-
__pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5390
|
+
__pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5391
5391
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5392
5392
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5393
5393
|
__pyx_t_6 = 0;
|
|
5394
5394
|
{
|
|
5395
5395
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_8, __pyx_t_12};
|
|
5396
|
-
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5396
|
+
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5397
5397
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5398
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_copy, Py_False, __pyx_t_7, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5398
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_copy, Py_False, __pyx_t_7, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5399
5399
|
__pyx_t_1 = __Pyx_Object_VectorcallMethod_CallFromBuilder(__pyx_mstate_global->__pyx_n_u_astype, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (1*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_7);
|
|
5400
5400
|
__Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5401
5401
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5402
5402
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5403
5403
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5404
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5404
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5405
5405
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5406
5406
|
}
|
|
5407
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5407
|
+
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5408
5408
|
{
|
|
5409
5409
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5410
5410
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_group_ids.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn_int32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5411
5411
|
__pyx_v_group_ids = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_group_ids.rcbuffer->pybuffer.buf = NULL;
|
|
5412
|
-
__PYX_ERR(0,
|
|
5412
|
+
__PYX_ERR(0, 26, __pyx_L1_error)
|
|
5413
5413
|
} else {__pyx_pybuffernd_group_ids.diminfo[0].strides = __pyx_pybuffernd_group_ids.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_group_ids.diminfo[0].shape = __pyx_pybuffernd_group_ids.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_group_ids.diminfo[1].strides = __pyx_pybuffernd_group_ids.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_group_ids.diminfo[1].shape = __pyx_pybuffernd_group_ids.rcbuffer->pybuffer.shape[1];
|
|
5414
5414
|
}
|
|
5415
5415
|
}
|
|
5416
5416
|
__pyx_v_group_ids = ((PyArrayObject *)__pyx_t_1);
|
|
5417
5417
|
__pyx_t_1 = 0;
|
|
5418
5418
|
|
|
5419
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5419
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":27
|
|
5420
5420
|
*
|
|
5421
5421
|
* cdef cnp.ndarray[int32_t, ndim=2] group_ids = np.cumsum(boundaries, axis=1).astype(np.int32, copy=False)
|
|
5422
5422
|
* cdef cnp.ndarray[char, ndim=2] valid = seqdatanum >= 0 # <<<<<<<<<<<<<<
|
|
5423
5423
|
*
|
|
5424
5424
|
* cdef cnp.ndarray[int32_t, ndim=2] group_durations = np.zeros((n, m), dtype=np.int32)
|
|
5425
5425
|
*/
|
|
5426
|
-
__pyx_t_1 = PyObject_RichCompare(((PyObject *)__pyx_v_seqdatanum), __pyx_mstate_global->__pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5427
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5426
|
+
__pyx_t_1 = PyObject_RichCompare(((PyObject *)__pyx_v_seqdatanum), __pyx_mstate_global->__pyx_int_0, Py_GE); __Pyx_XGOTREF(__pyx_t_1); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 27, __pyx_L1_error)
|
|
5427
|
+
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 27, __pyx_L1_error)
|
|
5428
5428
|
{
|
|
5429
5429
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5430
5430
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_valid.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_char, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5431
5431
|
__pyx_v_valid = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_valid.rcbuffer->pybuffer.buf = NULL;
|
|
5432
|
-
__PYX_ERR(0,
|
|
5432
|
+
__PYX_ERR(0, 27, __pyx_L1_error)
|
|
5433
5433
|
} else {__pyx_pybuffernd_valid.diminfo[0].strides = __pyx_pybuffernd_valid.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_valid.diminfo[0].shape = __pyx_pybuffernd_valid.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_valid.diminfo[1].strides = __pyx_pybuffernd_valid.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_valid.diminfo[1].shape = __pyx_pybuffernd_valid.rcbuffer->pybuffer.shape[1];
|
|
5434
5434
|
}
|
|
5435
5435
|
}
|
|
5436
5436
|
__pyx_v_valid = ((PyArrayObject *)__pyx_t_1);
|
|
5437
5437
|
__pyx_t_1 = 0;
|
|
5438
5438
|
|
|
5439
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5439
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":29
|
|
5440
5440
|
* cdef cnp.ndarray[char, ndim=2] valid = seqdatanum >= 0
|
|
5441
5441
|
*
|
|
5442
5442
|
* cdef cnp.ndarray[int32_t, ndim=2] group_durations = np.zeros((n, m), dtype=np.int32) # <<<<<<<<<<<<<<
|
|
@@ -5444,26 +5444,26 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5444
5444
|
* for i in range(n):
|
|
5445
5445
|
*/
|
|
5446
5446
|
__pyx_t_14 = NULL;
|
|
5447
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5447
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5448
5448
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5449
|
-
__pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_zeros); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5449
|
+
__pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_zeros); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5450
5450
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5451
5451
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5452
|
-
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5452
|
+
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5453
5453
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5454
|
-
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_m); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5454
|
+
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_m); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5455
5455
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5456
|
-
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5456
|
+
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5457
5457
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5458
5458
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5459
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5459
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 29, __pyx_L1_error);
|
|
5460
5460
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5461
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5461
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_8) != (0)) __PYX_ERR(0, 29, __pyx_L1_error);
|
|
5462
5462
|
__pyx_t_7 = 0;
|
|
5463
5463
|
__pyx_t_8 = 0;
|
|
5464
|
-
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5464
|
+
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5465
5465
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5466
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5466
|
+
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5467
5467
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5468
5468
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5469
5469
|
__pyx_t_6 = 1;
|
|
@@ -5480,31 +5480,31 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5480
5480
|
#endif
|
|
5481
5481
|
{
|
|
5482
5482
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_14, __pyx_t_4};
|
|
5483
|
-
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5483
|
+
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5484
5484
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5485
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, __pyx_t_7, __pyx_t_8, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5485
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, __pyx_t_7, __pyx_t_8, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5486
5486
|
__pyx_t_1 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_12, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_8);
|
|
5487
5487
|
__Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5488
5488
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5489
5489
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5490
5490
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5491
5491
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5492
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5492
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5493
5493
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5494
5494
|
}
|
|
5495
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5495
|
+
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5496
5496
|
{
|
|
5497
5497
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5498
5498
|
if (unlikely(__Pyx_GetBufferAndValidate(&__pyx_pybuffernd_group_durations.rcbuffer->pybuffer, (PyObject*)((PyArrayObject *)__pyx_t_1), &__Pyx_TypeInfo_nn_int32_t, PyBUF_FORMAT| PyBUF_STRIDES, 2, 0, __pyx_stack) == -1)) {
|
|
5499
5499
|
__pyx_v_group_durations = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_group_durations.rcbuffer->pybuffer.buf = NULL;
|
|
5500
|
-
__PYX_ERR(0,
|
|
5500
|
+
__PYX_ERR(0, 29, __pyx_L1_error)
|
|
5501
5501
|
} else {__pyx_pybuffernd_group_durations.diminfo[0].strides = __pyx_pybuffernd_group_durations.rcbuffer->pybuffer.strides[0]; __pyx_pybuffernd_group_durations.diminfo[0].shape = __pyx_pybuffernd_group_durations.rcbuffer->pybuffer.shape[0]; __pyx_pybuffernd_group_durations.diminfo[1].strides = __pyx_pybuffernd_group_durations.rcbuffer->pybuffer.strides[1]; __pyx_pybuffernd_group_durations.diminfo[1].shape = __pyx_pybuffernd_group_durations.rcbuffer->pybuffer.shape[1];
|
|
5502
5502
|
}
|
|
5503
5503
|
}
|
|
5504
5504
|
__pyx_v_group_durations = ((PyArrayObject *)__pyx_t_1);
|
|
5505
5505
|
__pyx_t_1 = 0;
|
|
5506
5506
|
|
|
5507
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5507
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":31
|
|
5508
5508
|
* cdef cnp.ndarray[int32_t, ndim=2] group_durations = np.zeros((n, m), dtype=np.int32)
|
|
5509
5509
|
*
|
|
5510
5510
|
* for i in range(n): # <<<<<<<<<<<<<<
|
|
@@ -5516,7 +5516,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5516
5516
|
for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
|
|
5517
5517
|
__pyx_v_i = __pyx_t_11;
|
|
5518
5518
|
|
|
5519
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5519
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":32
|
|
5520
5520
|
*
|
|
5521
5521
|
* for i in range(n):
|
|
5522
5522
|
* counts = np.bincount(group_ids[i][valid[i]]) # <<<<<<<<<<<<<<
|
|
@@ -5524,16 +5524,16 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5524
5524
|
* group_durations[i, :len(counts)] = counts
|
|
5525
5525
|
*/
|
|
5526
5526
|
__pyx_t_12 = NULL;
|
|
5527
|
-
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5527
|
+
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5528
5528
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5529
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_bincount); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5529
|
+
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_bincount); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5530
5530
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5531
5531
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5532
|
-
__pyx_t_8 = __Pyx_GetItemInt(((PyObject *)__pyx_v_group_ids), __pyx_v_i, int, 1, __Pyx_PyLong_From_int, 0, 1, 1, 1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5532
|
+
__pyx_t_8 = __Pyx_GetItemInt(((PyObject *)__pyx_v_group_ids), __pyx_v_i, int, 1, __Pyx_PyLong_From_int, 0, 1, 1, 1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5533
5533
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5534
|
-
__pyx_t_4 = __Pyx_GetItemInt(((PyObject *)__pyx_v_valid), __pyx_v_i, int, 1, __Pyx_PyLong_From_int, 0, 1, 1, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5534
|
+
__pyx_t_4 = __Pyx_GetItemInt(((PyObject *)__pyx_v_valid), __pyx_v_i, int, 1, __Pyx_PyLong_From_int, 0, 1, 1, 1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5535
5535
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5536
|
-
__pyx_t_14 = __Pyx_PyObject_GetItem(__pyx_t_8, __pyx_t_4); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5536
|
+
__pyx_t_14 = __Pyx_PyObject_GetItem(__pyx_t_8, __pyx_t_4); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5537
5537
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5538
5538
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5539
5539
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
@@ -5555,38 +5555,38 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5555
5555
|
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5556
5556
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5557
5557
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5558
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5558
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5559
5559
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5560
5560
|
}
|
|
5561
5561
|
__Pyx_XDECREF_SET(__pyx_v_counts, __pyx_t_1);
|
|
5562
5562
|
__pyx_t_1 = 0;
|
|
5563
5563
|
|
|
5564
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5564
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":33
|
|
5565
5565
|
* for i in range(n):
|
|
5566
5566
|
* counts = np.bincount(group_ids[i][valid[i]])
|
|
5567
5567
|
* counts = counts[1:] if counts.size > 0 else np.array([], dtype=int) # <<<<<<<<<<<<<<
|
|
5568
5568
|
* group_durations[i, :len(counts)] = counts
|
|
5569
5569
|
*
|
|
5570
5570
|
*/
|
|
5571
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_counts, __pyx_mstate_global->__pyx_n_u_size); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5571
|
+
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_counts, __pyx_mstate_global->__pyx_n_u_size); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5572
5572
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5573
|
-
__pyx_t_14 = PyObject_RichCompare(__pyx_t_7, __pyx_mstate_global->__pyx_int_0, Py_GT); __Pyx_XGOTREF(__pyx_t_14); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5573
|
+
__pyx_t_14 = PyObject_RichCompare(__pyx_t_7, __pyx_mstate_global->__pyx_int_0, Py_GT); __Pyx_XGOTREF(__pyx_t_14); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5574
5574
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5575
|
-
__pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_14); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0,
|
|
5575
|
+
__pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_14); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5576
5576
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5577
5577
|
if (__pyx_t_3) {
|
|
5578
|
-
__pyx_t_14 = __Pyx_PyObject_GetSlice(__pyx_v_counts, 1, 0, NULL, NULL, &__pyx_mstate_global->__pyx_slice[1], 1, 0, 1); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5578
|
+
__pyx_t_14 = __Pyx_PyObject_GetSlice(__pyx_v_counts, 1, 0, NULL, NULL, &__pyx_mstate_global->__pyx_slice[1], 1, 0, 1); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5579
5579
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5580
5580
|
__pyx_t_1 = __pyx_t_14;
|
|
5581
5581
|
__pyx_t_14 = 0;
|
|
5582
5582
|
} else {
|
|
5583
5583
|
__pyx_t_7 = NULL;
|
|
5584
|
-
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5584
|
+
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5585
5585
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5586
|
-
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5586
|
+
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5587
5587
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5588
5588
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5589
|
-
__pyx_t_12 = PyList_New(0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5589
|
+
__pyx_t_12 = PyList_New(0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5590
5590
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5591
5591
|
__pyx_t_6 = 1;
|
|
5592
5592
|
#if CYTHON_UNPACK_METHODS
|
|
@@ -5602,15 +5602,15 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5602
5602
|
#endif
|
|
5603
5603
|
{
|
|
5604
5604
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_7, __pyx_t_12};
|
|
5605
|
-
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5605
|
+
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5606
5606
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5607
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, ((PyObject *)(&PyLong_Type)), __pyx_t_8, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5607
|
+
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_dtype, ((PyObject *)(&PyLong_Type)), __pyx_t_8, __pyx_callargs+2, 0) < 0) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5608
5608
|
__pyx_t_14 = __Pyx_Object_Vectorcall_CallFromBuilder(__pyx_t_4, __pyx_callargs+__pyx_t_6, (2-__pyx_t_6) | (__pyx_t_6*__Pyx_PY_VECTORCALL_ARGUMENTS_OFFSET), __pyx_t_8);
|
|
5609
5609
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5610
5610
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5611
5611
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5612
5612
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5613
|
-
if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5613
|
+
if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5614
5614
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5615
5615
|
}
|
|
5616
5616
|
__pyx_t_1 = __pyx_t_14;
|
|
@@ -5619,34 +5619,34 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5619
5619
|
__Pyx_DECREF_SET(__pyx_v_counts, __pyx_t_1);
|
|
5620
5620
|
__pyx_t_1 = 0;
|
|
5621
5621
|
|
|
5622
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5622
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":34
|
|
5623
5623
|
* counts = np.bincount(group_ids[i][valid[i]])
|
|
5624
5624
|
* counts = counts[1:] if counts.size > 0 else np.array([], dtype=int)
|
|
5625
5625
|
* group_durations[i, :len(counts)] = counts # <<<<<<<<<<<<<<
|
|
5626
5626
|
*
|
|
5627
5627
|
* return group_durations
|
|
5628
5628
|
*/
|
|
5629
|
-
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_i); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5629
|
+
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_i); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5630
5630
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5631
|
-
__pyx_t_15 = PyObject_Length(__pyx_v_counts); if (unlikely(__pyx_t_15 == ((Py_ssize_t)-1))) __PYX_ERR(0,
|
|
5632
|
-
__pyx_t_14 = PyLong_FromSsize_t(__pyx_t_15); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5631
|
+
__pyx_t_15 = PyObject_Length(__pyx_v_counts); if (unlikely(__pyx_t_15 == ((Py_ssize_t)-1))) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5632
|
+
__pyx_t_14 = PyLong_FromSsize_t(__pyx_t_15); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5633
5633
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5634
|
-
__pyx_t_4 = PySlice_New(Py_None, __pyx_t_14, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5634
|
+
__pyx_t_4 = PySlice_New(Py_None, __pyx_t_14, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5635
5635
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5636
5636
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5637
|
-
__pyx_t_14 = PyTuple_New(2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5637
|
+
__pyx_t_14 = PyTuple_New(2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5638
5638
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5639
5639
|
__Pyx_GIVEREF(__pyx_t_1);
|
|
5640
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_1) != (0)) __PYX_ERR(0,
|
|
5640
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_1) != (0)) __PYX_ERR(0, 34, __pyx_L1_error);
|
|
5641
5641
|
__Pyx_GIVEREF(__pyx_t_4);
|
|
5642
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_t_4) != (0)) __PYX_ERR(0,
|
|
5642
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_t_4) != (0)) __PYX_ERR(0, 34, __pyx_L1_error);
|
|
5643
5643
|
__pyx_t_1 = 0;
|
|
5644
5644
|
__pyx_t_4 = 0;
|
|
5645
|
-
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_group_durations), __pyx_t_14, __pyx_v_counts) < 0))) __PYX_ERR(0,
|
|
5645
|
+
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_group_durations), __pyx_t_14, __pyx_v_counts) < 0))) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5646
5646
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5647
5647
|
}
|
|
5648
5648
|
|
|
5649
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5649
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":36
|
|
5650
5650
|
* group_durations[i, :len(counts)] = counts
|
|
5651
5651
|
*
|
|
5652
5652
|
* return group_durations # <<<<<<<<<<<<<<
|
|
@@ -5656,7 +5656,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5656
5656
|
__pyx_r = ((PyObject *)__pyx_v_group_durations);
|
|
5657
5657
|
goto __pyx_L0;
|
|
5658
5658
|
|
|
5659
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5659
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":8
|
|
5660
5660
|
* from libc.stdint cimport int32_t
|
|
5661
5661
|
*
|
|
5662
5662
|
* def seqdur(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -6231,50 +6231,51 @@ __Pyx_RefNannySetupContext("PyInit_seqdur", 0);
|
|
|
6231
6231
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
6232
6232
|
/*--- Execution code ---*/
|
|
6233
6233
|
|
|
6234
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6234
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":2
|
|
6235
|
+
* # cython: np_import_array=True
|
|
6235
6236
|
* import numpy as np # <<<<<<<<<<<<<<
|
|
6236
6237
|
* cimport numpy as cnp
|
|
6237
|
-
*
|
|
6238
|
+
*
|
|
6238
6239
|
*/
|
|
6239
|
-
__pyx_t_2 = __Pyx_ImportDottedModule(__pyx_mstate_global->__pyx_n_u_numpy, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6240
|
+
__pyx_t_2 = __Pyx_ImportDottedModule(__pyx_mstate_global->__pyx_n_u_numpy, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 2, __pyx_L1_error)
|
|
6240
6241
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6241
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_np, __pyx_t_2) < 0) __PYX_ERR(0,
|
|
6242
|
+
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_np, __pyx_t_2) < 0) __PYX_ERR(0, 2, __pyx_L1_error)
|
|
6242
6243
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6243
6244
|
|
|
6244
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6245
|
-
* import numpy as np
|
|
6245
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":5
|
|
6246
6246
|
* cimport numpy as cnp
|
|
6247
|
+
*
|
|
6247
6248
|
* from sequenzo.define_sequence_data import SequenceData # <<<<<<<<<<<<<<
|
|
6248
6249
|
* from libc.stdint cimport int32_t
|
|
6249
6250
|
*
|
|
6250
6251
|
*/
|
|
6251
|
-
__pyx_t_2 = __Pyx_PyList_Pack(1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6252
|
+
__pyx_t_2 = __Pyx_PyList_Pack(1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 5, __pyx_L1_error)
|
|
6252
6253
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6253
|
-
__pyx_t_3 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_sequenzo_define_sequence_data, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
6254
|
+
__pyx_t_3 = __Pyx_Import(__pyx_mstate_global->__pyx_n_u_sequenzo_define_sequence_data, __pyx_t_2, 0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 5, __pyx_L1_error)
|
|
6254
6255
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6255
6256
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6256
|
-
__pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6257
|
+
__pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0, 5, __pyx_L1_error)
|
|
6257
6258
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6258
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_SequenceData, __pyx_t_2) < 0) __PYX_ERR(0,
|
|
6259
|
+
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_SequenceData, __pyx_t_2) < 0) __PYX_ERR(0, 5, __pyx_L1_error)
|
|
6259
6260
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6260
6261
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
6261
6262
|
|
|
6262
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6263
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":8
|
|
6263
6264
|
* from libc.stdint cimport int32_t
|
|
6264
6265
|
*
|
|
6265
6266
|
* def seqdur(seqdata): # <<<<<<<<<<<<<<
|
|
6266
6267
|
* if not isinstance(seqdata, SequenceData):
|
|
6267
6268
|
* raise ValueError("data is not a sequence object, see SequenceData to create one")
|
|
6268
6269
|
*/
|
|
6269
|
-
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_8sequenzo_22dissimilarity_measures_5utils_6seqdur_1seqdur, 0, __pyx_mstate_global->__pyx_n_u_seqdur, NULL, __pyx_mstate_global->__pyx_n_u_sequenzo_dissimilarity_measures, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[0])); if (unlikely(!__pyx_t_3)) __PYX_ERR(0,
|
|
6270
|
+
__pyx_t_3 = __Pyx_CyFunction_New(&__pyx_mdef_8sequenzo_22dissimilarity_measures_5utils_6seqdur_1seqdur, 0, __pyx_mstate_global->__pyx_n_u_seqdur, NULL, __pyx_mstate_global->__pyx_n_u_sequenzo_dissimilarity_measures, __pyx_mstate_global->__pyx_d, ((PyObject *)__pyx_mstate_global->__pyx_codeobj_tab[0])); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 8, __pyx_L1_error)
|
|
6270
6271
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6271
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_seqdur, __pyx_t_3) < 0) __PYX_ERR(0,
|
|
6272
|
+
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_seqdur, __pyx_t_3) < 0) __PYX_ERR(0, 8, __pyx_L1_error)
|
|
6272
6273
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
6273
6274
|
|
|
6274
6275
|
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":1
|
|
6275
|
-
*
|
|
6276
|
+
* # cython: np_import_array=True # <<<<<<<<<<<<<<
|
|
6277
|
+
* import numpy as np
|
|
6276
6278
|
* cimport numpy as cnp
|
|
6277
|
-
* from sequenzo.define_sequence_data import SequenceData
|
|
6278
6279
|
*/
|
|
6279
6280
|
__pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6280
6281
|
__Pyx_GOTREF(__pyx_t_3);
|
|
@@ -6404,8 +6405,8 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry const *t, PyObject **target, c
|
|
|
6404
6405
|
|
|
6405
6406
|
static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) {
|
|
6406
6407
|
CYTHON_UNUSED_VAR(__pyx_mstate);
|
|
6407
|
-
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0,
|
|
6408
|
-
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_range); if (!__pyx_builtin_range) __PYX_ERR(0,
|
|
6408
|
+
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0, 10, __pyx_L1_error)
|
|
6409
|
+
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_range); if (!__pyx_builtin_range) __PYX_ERR(0, 19, __pyx_L1_error)
|
|
6409
6410
|
__pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(1, 1010, __pyx_L1_error)
|
|
6410
6411
|
return 0;
|
|
6411
6412
|
__pyx_L1_error:;
|
|
@@ -6418,34 +6419,34 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6418
6419
|
CYTHON_UNUSED_VAR(__pyx_mstate);
|
|
6419
6420
|
__Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);
|
|
6420
6421
|
|
|
6421
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6422
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":20
|
|
6422
6423
|
*
|
|
6423
6424
|
* for j in range(1, m):
|
|
6424
6425
|
* ffill[:, j] = np.where(seqdatanum[:, j] < 0, ffill[:, j - 1], seqdatanum[:, j]) # <<<<<<<<<<<<<<
|
|
6425
6426
|
*
|
|
6426
6427
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate(
|
|
6427
6428
|
*/
|
|
6428
|
-
__pyx_mstate_global->__pyx_slice[0] = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[0])) __PYX_ERR(0,
|
|
6429
|
+
__pyx_mstate_global->__pyx_slice[0] = PySlice_New(Py_None, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[0])) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
6429
6430
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
6430
6431
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
6431
6432
|
|
|
6432
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6433
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":23
|
|
6433
6434
|
*
|
|
6434
6435
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate(
|
|
6435
6436
|
* [np.ones((n, 1), dtype=bool), ffill[:, 1:] != ffill[:, :-1]], axis=1 # <<<<<<<<<<<<<<
|
|
6436
6437
|
* )
|
|
6437
6438
|
*
|
|
6438
6439
|
*/
|
|
6439
|
-
__pyx_mstate_global->__pyx_slice[1] = PySlice_New(__pyx_mstate_global->__pyx_int_1, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[1])) __PYX_ERR(0,
|
|
6440
|
+
__pyx_mstate_global->__pyx_slice[1] = PySlice_New(__pyx_mstate_global->__pyx_int_1, Py_None, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[1])) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
6440
6441
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[1]);
|
|
6441
6442
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[1]);
|
|
6442
|
-
__pyx_mstate_global->__pyx_tuple[0] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_slice[0], __pyx_mstate_global->__pyx_slice[1]); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0,
|
|
6443
|
+
__pyx_mstate_global->__pyx_tuple[0] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_slice[0], __pyx_mstate_global->__pyx_slice[1]); if (unlikely(!__pyx_mstate_global->__pyx_tuple[0])) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
6443
6444
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]);
|
|
6444
6445
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[0]);
|
|
6445
|
-
__pyx_mstate_global->__pyx_slice[2] = PySlice_New(Py_None, __pyx_mstate_global->__pyx_int_neg_1, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[2])) __PYX_ERR(0,
|
|
6446
|
+
__pyx_mstate_global->__pyx_slice[2] = PySlice_New(Py_None, __pyx_mstate_global->__pyx_int_neg_1, Py_None); if (unlikely(!__pyx_mstate_global->__pyx_slice[2])) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
6446
6447
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[2]);
|
|
6447
6448
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[2]);
|
|
6448
|
-
__pyx_mstate_global->__pyx_tuple[1] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_slice[0], __pyx_mstate_global->__pyx_slice[2]); if (unlikely(!__pyx_mstate_global->__pyx_tuple[1])) __PYX_ERR(0,
|
|
6449
|
+
__pyx_mstate_global->__pyx_tuple[1] = PyTuple_Pack(2, __pyx_mstate_global->__pyx_slice[0], __pyx_mstate_global->__pyx_slice[2]); if (unlikely(!__pyx_mstate_global->__pyx_tuple[1])) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
6449
6450
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[1]);
|
|
6450
6451
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[1]);
|
|
6451
6452
|
__Pyx_RefNannyFinishContext();
|
|
@@ -6476,7 +6477,7 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6476
6477
|
unsigned int num_kwonly_args : 1;
|
|
6477
6478
|
unsigned int nlocals : 4;
|
|
6478
6479
|
unsigned int flags : 10;
|
|
6479
|
-
unsigned int first_line :
|
|
6480
|
+
unsigned int first_line : 4;
|
|
6480
6481
|
unsigned int line_table_length : 13;
|
|
6481
6482
|
} __Pyx_PyCode_New_function_description;
|
|
6482
6483
|
/* NewCodeObj.proto */
|
|
@@ -6494,7 +6495,7 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6494
6495
|
PyObject* tuple_dedup_map = PyDict_New();
|
|
6495
6496
|
if (unlikely(!tuple_dedup_map)) return -1;
|
|
6496
6497
|
{
|
|
6497
|
-
const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 12, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS),
|
|
6498
|
+
const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 12, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 8, 325};
|
|
6498
6499
|
PyObject* const varnames[] = {__pyx_mstate->__pyx_n_u_seqdata, __pyx_mstate->__pyx_n_u_seqdatanum, __pyx_mstate->__pyx_n_u_n, __pyx_mstate->__pyx_n_u_m, __pyx_mstate->__pyx_n_u_i, __pyx_mstate->__pyx_n_u_j, __pyx_mstate->__pyx_n_u_ffill, __pyx_mstate->__pyx_n_u_boundaries, __pyx_mstate->__pyx_n_u_group_ids, __pyx_mstate->__pyx_n_u_valid, __pyx_mstate->__pyx_n_u_group_durations, __pyx_mstate->__pyx_n_u_counts};
|
|
6499
6500
|
__pyx_mstate_global->__pyx_codeobj_tab[0] = __Pyx_PyCode_New(descr, varnames, __pyx_mstate->__pyx_kp_u_sequenzo_dissimilarity_measures_2, __pyx_mstate->__pyx_n_u_seqdur, __pyx_k_t_Qiq_j_37_b_qPRRZZ___6_F_1_j_Q, tuple_dedup_map); if (unlikely(!__pyx_mstate_global->__pyx_codeobj_tab[0])) goto bad;
|
|
6500
6501
|
}
|