sequenzo 0.1.20__cp39-cp39-win_amd64.whl → 0.1.21__cp39-cp39-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 +194 -193
- sequenzo/big_data/clara/utils/get_weighted_diss.cp39-win_amd64.pyd +0 -0
- sequenzo/clustering/clustering_c_code.cp39-win_amd64.pyd +0 -0
- sequenzo/clustering/hierarchical_clustering.py +1 -1
- sequenzo/define_sequence_data.py +4 -4
- sequenzo/dissimilarity_measures/c_code.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.c +171 -171
- sequenzo/dissimilarity_measures/utils/get_sm_trate_substitution_cost_matrix.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqconc.c +233 -232
- sequenzo/dissimilarity_measures/utils/seqconc.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqdss.c +326 -325
- sequenzo/dissimilarity_measures/utils/seqdss.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqdur.c +326 -325
- sequenzo/dissimilarity_measures/utils/seqdur.cp39-win_amd64.pyd +0 -0
- sequenzo/dissimilarity_measures/utils/seqlength.c +226 -224
- sequenzo/dissimilarity_measures/utils/seqlength.cp39-win_amd64.pyd +0 -0
- sequenzo/multidomain/association_between_domains.py +1 -1
- sequenzo/multidomain/combt.py +4 -4
- sequenzo/multidomain/linked_polyad.py +3 -3
- 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.20.dist-info → sequenzo-0.1.21.dist-info}/METADATA +11 -8
- {sequenzo-0.1.20.dist-info → sequenzo-0.1.21.dist-info}/RECORD +35 -41
- 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.20.dist-info → sequenzo-0.1.21.dist-info}/WHEEL +0 -0
- {sequenzo-0.1.20.dist-info → sequenzo-0.1.21.dist-info}/licenses/LICENSE +0 -0
- {sequenzo-0.1.20.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-4xiaq35t\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\arrayobject.h",
|
|
14
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-4xiaq35t\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\arrayscalars.h",
|
|
15
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-4xiaq35t\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ndarrayobject.h",
|
|
16
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-4xiaq35t\\overlay\\Lib\\site-packages\\numpy\\_core\\include\\numpy\\ndarraytypes.h",
|
|
17
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-4xiaq35t\\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-4xiaq35t\\overlay\\Lib\\site-packages\\pybind11\\include",
|
|
27
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-4xiaq35t\\overlay\\Lib\\site-packages\\pybind11\\include",
|
|
28
|
+
"C:\\Users\\runneradmin\\AppData\\Local\\Temp\\pip-build-env-4xiaq35t\\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-4xiaq35t/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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":770
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":771
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":772
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":773
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":777
|
|
1638
1638
|
* #ctypedef npy_int128 int128_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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":778
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":779
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":780
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":784
|
|
1674
1674
|
* #ctypedef npy_uint128 uint128_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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":785
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":792
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":793
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":795
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":796
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":798
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":799
|
|
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-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":800
|
|
1746
1746
|
* ctypedef npy_double float_t
|
|
1747
1747
|
* ctypedef npy_double double_t
|
|
1748
1748
|
* ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<<
|
|
@@ -1791,7 +1791,7 @@ static CYTHON_INLINE __pyx_t_long_double_complex __pyx_t_long_double_complex_fro
|
|
|
1791
1791
|
|
|
1792
1792
|
/*--- Type declarations ---*/
|
|
1793
1793
|
|
|
1794
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1794
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1096
|
|
1795
1795
|
*
|
|
1796
1796
|
* # Iterator API added in v1.6
|
|
1797
1797
|
* ctypedef int (*NpyIter_IterNextFunc)(NpyIter* it) noexcept nogil # <<<<<<<<<<<<<<
|
|
@@ -1800,7 +1800,7 @@ static CYTHON_INLINE __pyx_t_long_double_complex __pyx_t_long_double_complex_fro
|
|
|
1800
1800
|
*/
|
|
1801
1801
|
typedef int (*__pyx_t_5numpy_NpyIter_IterNextFunc)(NpyIter *);
|
|
1802
1802
|
|
|
1803
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
1803
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1097
|
|
1804
1804
|
* # Iterator API added in v1.6
|
|
1805
1805
|
* ctypedef int (*NpyIter_IterNextFunc)(NpyIter* it) noexcept nogil
|
|
1806
1806
|
* ctypedef void (*NpyIter_GetMultiIndexFunc)(NpyIter* it, npy_intp* outcoords) noexcept nogil # <<<<<<<<<<<<<<
|
|
@@ -3102,7 +3102,7 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void
|
|
|
3102
3102
|
#endif
|
|
3103
3103
|
/* #### Code section: module_code ### */
|
|
3104
3104
|
|
|
3105
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3105
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
|
|
3106
3106
|
* cdef int type_num
|
|
3107
3107
|
*
|
|
3108
3108
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3113,7 +3113,7 @@ static CYTHON_SMALL_CODE int __pyx_m_traverse(PyObject *m, visitproc visit, void
|
|
|
3113
3113
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_Descr *__pyx_v_self) {
|
|
3114
3114
|
npy_intp __pyx_r;
|
|
3115
3115
|
|
|
3116
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3116
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":287
|
|
3117
3117
|
* @property
|
|
3118
3118
|
* cdef inline npy_intp itemsize(self) noexcept nogil:
|
|
3119
3119
|
* return PyDataType_ELSIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3123,7 +3123,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3123
3123
|
__pyx_r = PyDataType_ELSIZE(__pyx_v_self);
|
|
3124
3124
|
goto __pyx_L0;
|
|
3125
3125
|
|
|
3126
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3126
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":285
|
|
3127
3127
|
* cdef int type_num
|
|
3128
3128
|
*
|
|
3129
3129
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3136,7 +3136,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3136
3136
|
return __pyx_r;
|
|
3137
3137
|
}
|
|
3138
3138
|
|
|
3139
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3139
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":289
|
|
3140
3140
|
* return PyDataType_ELSIZE(self)
|
|
3141
3141
|
*
|
|
3142
3142
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3147,7 +3147,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_8itemsize_itemsize(PyArray_D
|
|
|
3147
3147
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray_Descr *__pyx_v_self) {
|
|
3148
3148
|
npy_intp __pyx_r;
|
|
3149
3149
|
|
|
3150
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3150
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":291
|
|
3151
3151
|
* @property
|
|
3152
3152
|
* cdef inline npy_intp alignment(self) noexcept nogil:
|
|
3153
3153
|
* return PyDataType_ALIGNMENT(self) # <<<<<<<<<<<<<<
|
|
@@ -3157,7 +3157,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray
|
|
|
3157
3157
|
__pyx_r = PyDataType_ALIGNMENT(__pyx_v_self);
|
|
3158
3158
|
goto __pyx_L0;
|
|
3159
3159
|
|
|
3160
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3160
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":289
|
|
3161
3161
|
* return PyDataType_ELSIZE(self)
|
|
3162
3162
|
*
|
|
3163
3163
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3170,7 +3170,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_5dtype_9alignment_alignment(PyArray
|
|
|
3170
3170
|
return __pyx_r;
|
|
3171
3171
|
}
|
|
3172
3172
|
|
|
3173
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3173
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":295
|
|
3174
3174
|
* # Use fields/names with care as they may be NULL. You must check
|
|
3175
3175
|
* # for this using PyDataType_HASFIELDS.
|
|
3176
3176
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3184,7 +3184,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3184
3184
|
PyObject *__pyx_t_1;
|
|
3185
3185
|
__Pyx_RefNannySetupContext("fields", 0);
|
|
3186
3186
|
|
|
3187
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3187
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":297
|
|
3188
3188
|
* @property
|
|
3189
3189
|
* cdef inline object fields(self):
|
|
3190
3190
|
* return <object>PyDataType_FIELDS(self) # <<<<<<<<<<<<<<
|
|
@@ -3197,7 +3197,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3197
3197
|
__pyx_r = ((PyObject *)__pyx_t_1);
|
|
3198
3198
|
goto __pyx_L0;
|
|
3199
3199
|
|
|
3200
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3200
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":295
|
|
3201
3201
|
* # Use fields/names with care as they may be NULL. You must check
|
|
3202
3202
|
* # for this using PyDataType_HASFIELDS.
|
|
3203
3203
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3212,7 +3212,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_6fields_fields(PyArray_Desc
|
|
|
3212
3212
|
return __pyx_r;
|
|
3213
3213
|
}
|
|
3214
3214
|
|
|
3215
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3215
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":299
|
|
3216
3216
|
* return <object>PyDataType_FIELDS(self)
|
|
3217
3217
|
*
|
|
3218
3218
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3226,7 +3226,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3226
3226
|
PyObject *__pyx_t_1;
|
|
3227
3227
|
__Pyx_RefNannySetupContext("names", 0);
|
|
3228
3228
|
|
|
3229
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3229
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":301
|
|
3230
3230
|
* @property
|
|
3231
3231
|
* cdef inline tuple names(self):
|
|
3232
3232
|
* return <tuple>PyDataType_NAMES(self) # <<<<<<<<<<<<<<
|
|
@@ -3239,7 +3239,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3239
3239
|
__pyx_r = ((PyObject*)__pyx_t_1);
|
|
3240
3240
|
goto __pyx_L0;
|
|
3241
3241
|
|
|
3242
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3242
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":299
|
|
3243
3243
|
* return <object>PyDataType_FIELDS(self)
|
|
3244
3244
|
*
|
|
3245
3245
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3254,7 +3254,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3254
3254
|
return __pyx_r;
|
|
3255
3255
|
}
|
|
3256
3256
|
|
|
3257
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3257
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":306
|
|
3258
3258
|
* # valid (the pointer can be NULL). Most users should access
|
|
3259
3259
|
* # this field via the inline helper method PyDataType_SHAPE.
|
|
3260
3260
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3265,7 +3265,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_5dtype_5names_names(PyArray_Descr
|
|
|
3265
3265
|
static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarray(PyArray_Descr *__pyx_v_self) {
|
|
3266
3266
|
PyArray_ArrayDescr *__pyx_r;
|
|
3267
3267
|
|
|
3268
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3268
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":308
|
|
3269
3269
|
* @property
|
|
3270
3270
|
* cdef inline PyArray_ArrayDescr* subarray(self) noexcept nogil:
|
|
3271
3271
|
* return PyDataType_SUBARRAY(self) # <<<<<<<<<<<<<<
|
|
@@ -3275,7 +3275,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3275
3275
|
__pyx_r = PyDataType_SUBARRAY(__pyx_v_self);
|
|
3276
3276
|
goto __pyx_L0;
|
|
3277
3277
|
|
|
3278
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3278
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":306
|
|
3279
3279
|
* # valid (the pointer can be NULL). Most users should access
|
|
3280
3280
|
* # this field via the inline helper method PyDataType_SHAPE.
|
|
3281
3281
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3288,7 +3288,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3288
3288
|
return __pyx_r;
|
|
3289
3289
|
}
|
|
3290
3290
|
|
|
3291
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3291
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":310
|
|
3292
3292
|
* return PyDataType_SUBARRAY(self)
|
|
3293
3293
|
*
|
|
3294
3294
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3299,7 +3299,7 @@ static CYTHON_INLINE PyArray_ArrayDescr *__pyx_f_5numpy_5dtype_8subarray_subarra
|
|
|
3299
3299
|
static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr *__pyx_v_self) {
|
|
3300
3300
|
npy_uint64 __pyx_r;
|
|
3301
3301
|
|
|
3302
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3302
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":313
|
|
3303
3303
|
* cdef inline npy_uint64 flags(self) noexcept nogil:
|
|
3304
3304
|
* """The data types flags."""
|
|
3305
3305
|
* return PyDataType_FLAGS(self) # <<<<<<<<<<<<<<
|
|
@@ -3309,7 +3309,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3309
3309
|
__pyx_r = PyDataType_FLAGS(__pyx_v_self);
|
|
3310
3310
|
goto __pyx_L0;
|
|
3311
3311
|
|
|
3312
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3312
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":310
|
|
3313
3313
|
* return PyDataType_SUBARRAY(self)
|
|
3314
3314
|
*
|
|
3315
3315
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3322,7 +3322,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3322
3322
|
return __pyx_r;
|
|
3323
3323
|
}
|
|
3324
3324
|
|
|
3325
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3325
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":322
|
|
3326
3326
|
* ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
|
|
3327
3327
|
*
|
|
3328
3328
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3333,7 +3333,7 @@ static CYTHON_INLINE npy_uint64 __pyx_f_5numpy_5dtype_5flags_flags(PyArray_Descr
|
|
|
3333
3333
|
static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3334
3334
|
int __pyx_r;
|
|
3335
3335
|
|
|
3336
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3336
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":325
|
|
3337
3337
|
* cdef inline int numiter(self) noexcept nogil:
|
|
3338
3338
|
* """The number of arrays that need to be broadcast to the same shape."""
|
|
3339
3339
|
* return PyArray_MultiIter_NUMITER(self) # <<<<<<<<<<<<<<
|
|
@@ -3343,7 +3343,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3343
3343
|
__pyx_r = PyArray_MultiIter_NUMITER(__pyx_v_self);
|
|
3344
3344
|
goto __pyx_L0;
|
|
3345
3345
|
|
|
3346
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3346
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":322
|
|
3347
3347
|
* ctypedef class numpy.broadcast [object PyArrayMultiIterObject, check_size ignore]:
|
|
3348
3348
|
*
|
|
3349
3349
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3356,7 +3356,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3356
3356
|
return __pyx_r;
|
|
3357
3357
|
}
|
|
3358
3358
|
|
|
3359
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3359
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":327
|
|
3360
3360
|
* return PyArray_MultiIter_NUMITER(self)
|
|
3361
3361
|
*
|
|
3362
3362
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3367,7 +3367,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_7numiter_numiter(PyArrayMulti
|
|
|
3367
3367
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3368
3368
|
npy_intp __pyx_r;
|
|
3369
3369
|
|
|
3370
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3370
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":330
|
|
3371
3371
|
* cdef inline npy_intp size(self) noexcept nogil:
|
|
3372
3372
|
* """The total broadcasted size."""
|
|
3373
3373
|
* return PyArray_MultiIter_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3377,7 +3377,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3377
3377
|
__pyx_r = PyArray_MultiIter_SIZE(__pyx_v_self);
|
|
3378
3378
|
goto __pyx_L0;
|
|
3379
3379
|
|
|
3380
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3380
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":327
|
|
3381
3381
|
* return PyArray_MultiIter_NUMITER(self)
|
|
3382
3382
|
*
|
|
3383
3383
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3390,7 +3390,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3390
3390
|
return __pyx_r;
|
|
3391
3391
|
}
|
|
3392
3392
|
|
|
3393
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3393
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":332
|
|
3394
3394
|
* return PyArray_MultiIter_SIZE(self)
|
|
3395
3395
|
*
|
|
3396
3396
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3401,7 +3401,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_4size_size(PyArrayMultiI
|
|
|
3401
3401
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3402
3402
|
npy_intp __pyx_r;
|
|
3403
3403
|
|
|
3404
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3404
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":335
|
|
3405
3405
|
* cdef inline npy_intp index(self) noexcept nogil:
|
|
3406
3406
|
* """The current (1-d) index into the broadcasted result."""
|
|
3407
3407
|
* return PyArray_MultiIter_INDEX(self) # <<<<<<<<<<<<<<
|
|
@@ -3411,7 +3411,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3411
3411
|
__pyx_r = PyArray_MultiIter_INDEX(__pyx_v_self);
|
|
3412
3412
|
goto __pyx_L0;
|
|
3413
3413
|
|
|
3414
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3414
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":332
|
|
3415
3415
|
* return PyArray_MultiIter_SIZE(self)
|
|
3416
3416
|
*
|
|
3417
3417
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3424,7 +3424,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3424
3424
|
return __pyx_r;
|
|
3425
3425
|
}
|
|
3426
3426
|
|
|
3427
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3427
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":337
|
|
3428
3428
|
* return PyArray_MultiIter_INDEX(self)
|
|
3429
3429
|
*
|
|
3430
3430
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3435,7 +3435,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_9broadcast_5index_index(PyArrayMult
|
|
|
3435
3435
|
static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3436
3436
|
int __pyx_r;
|
|
3437
3437
|
|
|
3438
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3438
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":340
|
|
3439
3439
|
* cdef inline int nd(self) noexcept nogil:
|
|
3440
3440
|
* """The number of dimensions in the broadcasted result."""
|
|
3441
3441
|
* return PyArray_MultiIter_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -3445,7 +3445,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3445
3445
|
__pyx_r = PyArray_MultiIter_NDIM(__pyx_v_self);
|
|
3446
3446
|
goto __pyx_L0;
|
|
3447
3447
|
|
|
3448
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3448
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":337
|
|
3449
3449
|
* return PyArray_MultiIter_INDEX(self)
|
|
3450
3450
|
*
|
|
3451
3451
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3458,7 +3458,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3458
3458
|
return __pyx_r;
|
|
3459
3459
|
}
|
|
3460
3460
|
|
|
3461
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3461
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":342
|
|
3462
3462
|
* return PyArray_MultiIter_NDIM(self)
|
|
3463
3463
|
*
|
|
3464
3464
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3469,7 +3469,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_9broadcast_2nd_nd(PyArrayMultiIterObject
|
|
|
3469
3469
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3470
3470
|
npy_intp *__pyx_r;
|
|
3471
3471
|
|
|
3472
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3472
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":345
|
|
3473
3473
|
* cdef inline npy_intp* dimensions(self) noexcept nogil:
|
|
3474
3474
|
* """The shape of the broadcasted result."""
|
|
3475
3475
|
* return PyArray_MultiIter_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -3479,7 +3479,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3479
3479
|
__pyx_r = PyArray_MultiIter_DIMS(__pyx_v_self);
|
|
3480
3480
|
goto __pyx_L0;
|
|
3481
3481
|
|
|
3482
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3482
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":342
|
|
3483
3483
|
* return PyArray_MultiIter_NDIM(self)
|
|
3484
3484
|
*
|
|
3485
3485
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3492,7 +3492,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3492
3492
|
return __pyx_r;
|
|
3493
3493
|
}
|
|
3494
3494
|
|
|
3495
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3495
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":347
|
|
3496
3496
|
* return PyArray_MultiIter_DIMS(self)
|
|
3497
3497
|
*
|
|
3498
3498
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3503,7 +3503,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_9broadcast_10dimensions_dimensions
|
|
|
3503
3503
|
static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiIterObject *__pyx_v_self) {
|
|
3504
3504
|
void **__pyx_r;
|
|
3505
3505
|
|
|
3506
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3506
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":351
|
|
3507
3507
|
* """An array of iterator objects that holds the iterators for the arrays to be broadcast together.
|
|
3508
3508
|
* On return, the iterators are adjusted for broadcasting."""
|
|
3509
3509
|
* return PyArray_MultiIter_ITERS(self) # <<<<<<<<<<<<<<
|
|
@@ -3513,7 +3513,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3513
3513
|
__pyx_r = PyArray_MultiIter_ITERS(__pyx_v_self);
|
|
3514
3514
|
goto __pyx_L0;
|
|
3515
3515
|
|
|
3516
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3516
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":347
|
|
3517
3517
|
* return PyArray_MultiIter_DIMS(self)
|
|
3518
3518
|
*
|
|
3519
3519
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3526,7 +3526,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3526
3526
|
return __pyx_r;
|
|
3527
3527
|
}
|
|
3528
3528
|
|
|
3529
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3529
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":365
|
|
3530
3530
|
* # Instead, we use properties that map to the corresponding C-API functions.
|
|
3531
3531
|
*
|
|
3532
3532
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3537,7 +3537,7 @@ static CYTHON_INLINE void **__pyx_f_5numpy_9broadcast_5iters_iters(PyArrayMultiI
|
|
|
3537
3537
|
static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject *__pyx_v_self) {
|
|
3538
3538
|
PyObject *__pyx_r;
|
|
3539
3539
|
|
|
3540
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3540
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":369
|
|
3541
3541
|
* """Returns a borrowed reference to the object owning the data/memory.
|
|
3542
3542
|
* """
|
|
3543
3543
|
* return PyArray_BASE(self) # <<<<<<<<<<<<<<
|
|
@@ -3547,7 +3547,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
3547
3547
|
__pyx_r = PyArray_BASE(__pyx_v_self);
|
|
3548
3548
|
goto __pyx_L0;
|
|
3549
3549
|
|
|
3550
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3550
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":365
|
|
3551
3551
|
* # Instead, we use properties that map to the corresponding C-API functions.
|
|
3552
3552
|
*
|
|
3553
3553
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3560,7 +3560,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_7ndarray_4base_base(PyArrayObject
|
|
|
3560
3560
|
return __pyx_r;
|
|
3561
3561
|
}
|
|
3562
3562
|
|
|
3563
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3563
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":371
|
|
3564
3564
|
* return PyArray_BASE(self)
|
|
3565
3565
|
*
|
|
3566
3566
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3574,7 +3574,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3574
3574
|
PyArray_Descr *__pyx_t_1;
|
|
3575
3575
|
__Pyx_RefNannySetupContext("descr", 0);
|
|
3576
3576
|
|
|
3577
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3577
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":375
|
|
3578
3578
|
* """Returns an owned reference to the dtype of the array.
|
|
3579
3579
|
* """
|
|
3580
3580
|
* return <dtype>PyArray_DESCR(self) # <<<<<<<<<<<<<<
|
|
@@ -3587,7 +3587,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3587
3587
|
__pyx_r = ((PyArray_Descr *)__pyx_t_1);
|
|
3588
3588
|
goto __pyx_L0;
|
|
3589
3589
|
|
|
3590
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3590
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":371
|
|
3591
3591
|
* return PyArray_BASE(self)
|
|
3592
3592
|
*
|
|
3593
3593
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3602,7 +3602,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3602
3602
|
return __pyx_r;
|
|
3603
3603
|
}
|
|
3604
3604
|
|
|
3605
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3605
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":377
|
|
3606
3606
|
* return <dtype>PyArray_DESCR(self)
|
|
3607
3607
|
*
|
|
3608
3608
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3613,7 +3613,7 @@ static CYTHON_INLINE PyArray_Descr *__pyx_f_5numpy_7ndarray_5descr_descr(PyArray
|
|
|
3613
3613
|
static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx_v_self) {
|
|
3614
3614
|
int __pyx_r;
|
|
3615
3615
|
|
|
3616
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3616
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":381
|
|
3617
3617
|
* """Returns the number of dimensions in the array.
|
|
3618
3618
|
* """
|
|
3619
3619
|
* return PyArray_NDIM(self) # <<<<<<<<<<<<<<
|
|
@@ -3623,7 +3623,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3623
3623
|
__pyx_r = PyArray_NDIM(__pyx_v_self);
|
|
3624
3624
|
goto __pyx_L0;
|
|
3625
3625
|
|
|
3626
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3626
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":377
|
|
3627
3627
|
* return <dtype>PyArray_DESCR(self)
|
|
3628
3628
|
*
|
|
3629
3629
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3636,7 +3636,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3636
3636
|
return __pyx_r;
|
|
3637
3637
|
}
|
|
3638
3638
|
|
|
3639
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3639
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":383
|
|
3640
3640
|
* return PyArray_NDIM(self)
|
|
3641
3641
|
*
|
|
3642
3642
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3647,7 +3647,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_7ndarray_4ndim_ndim(PyArrayObject *__pyx
|
|
|
3647
3647
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObject *__pyx_v_self) {
|
|
3648
3648
|
npy_intp *__pyx_r;
|
|
3649
3649
|
|
|
3650
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3650
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":389
|
|
3651
3651
|
* Can return NULL for 0-dimensional arrays.
|
|
3652
3652
|
* """
|
|
3653
3653
|
* return PyArray_DIMS(self) # <<<<<<<<<<<<<<
|
|
@@ -3657,7 +3657,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3657
3657
|
__pyx_r = PyArray_DIMS(__pyx_v_self);
|
|
3658
3658
|
goto __pyx_L0;
|
|
3659
3659
|
|
|
3660
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3660
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":383
|
|
3661
3661
|
* return PyArray_NDIM(self)
|
|
3662
3662
|
*
|
|
3663
3663
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3670,7 +3670,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3670
3670
|
return __pyx_r;
|
|
3671
3671
|
}
|
|
3672
3672
|
|
|
3673
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3673
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":391
|
|
3674
3674
|
* return PyArray_DIMS(self)
|
|
3675
3675
|
*
|
|
3676
3676
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3681,7 +3681,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_5shape_shape(PyArrayObjec
|
|
|
3681
3681
|
static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayObject *__pyx_v_self) {
|
|
3682
3682
|
npy_intp *__pyx_r;
|
|
3683
3683
|
|
|
3684
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3684
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":396
|
|
3685
3685
|
* The number of elements matches the number of dimensions of the array (ndim).
|
|
3686
3686
|
* """
|
|
3687
3687
|
* return PyArray_STRIDES(self) # <<<<<<<<<<<<<<
|
|
@@ -3691,7 +3691,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3691
3691
|
__pyx_r = PyArray_STRIDES(__pyx_v_self);
|
|
3692
3692
|
goto __pyx_L0;
|
|
3693
3693
|
|
|
3694
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3694
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":391
|
|
3695
3695
|
* return PyArray_DIMS(self)
|
|
3696
3696
|
*
|
|
3697
3697
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3704,7 +3704,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3704
3704
|
return __pyx_r;
|
|
3705
3705
|
}
|
|
3706
3706
|
|
|
3707
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3707
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":398
|
|
3708
3708
|
* return PyArray_STRIDES(self)
|
|
3709
3709
|
*
|
|
3710
3710
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3715,7 +3715,7 @@ static CYTHON_INLINE npy_intp *__pyx_f_5numpy_7ndarray_7strides_strides(PyArrayO
|
|
|
3715
3715
|
static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *__pyx_v_self) {
|
|
3716
3716
|
npy_intp __pyx_r;
|
|
3717
3717
|
|
|
3718
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3718
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":402
|
|
3719
3719
|
* """Returns the total size (in number of elements) of the array.
|
|
3720
3720
|
* """
|
|
3721
3721
|
* return PyArray_SIZE(self) # <<<<<<<<<<<<<<
|
|
@@ -3725,7 +3725,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3725
3725
|
__pyx_r = PyArray_SIZE(__pyx_v_self);
|
|
3726
3726
|
goto __pyx_L0;
|
|
3727
3727
|
|
|
3728
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3728
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":398
|
|
3729
3729
|
* return PyArray_STRIDES(self)
|
|
3730
3730
|
*
|
|
3731
3731
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3738,7 +3738,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3738
3738
|
return __pyx_r;
|
|
3739
3739
|
}
|
|
3740
3740
|
|
|
3741
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3741
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":404
|
|
3742
3742
|
* return PyArray_SIZE(self)
|
|
3743
3743
|
*
|
|
3744
3744
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3749,7 +3749,7 @@ static CYTHON_INLINE npy_intp __pyx_f_5numpy_7ndarray_4size_size(PyArrayObject *
|
|
|
3749
3749
|
static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__pyx_v_self) {
|
|
3750
3750
|
char *__pyx_r;
|
|
3751
3751
|
|
|
3752
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3752
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":411
|
|
3753
3753
|
* of `PyArray_DATA()` instead, which returns a 'void*'.
|
|
3754
3754
|
* """
|
|
3755
3755
|
* return PyArray_BYTES(self) # <<<<<<<<<<<<<<
|
|
@@ -3759,7 +3759,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
3759
3759
|
__pyx_r = PyArray_BYTES(__pyx_v_self);
|
|
3760
3760
|
goto __pyx_L0;
|
|
3761
3761
|
|
|
3762
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3762
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":404
|
|
3763
3763
|
* return PyArray_SIZE(self)
|
|
3764
3764
|
*
|
|
3765
3765
|
* @property # <<<<<<<<<<<<<<
|
|
@@ -3772,7 +3772,7 @@ static CYTHON_INLINE char *__pyx_f_5numpy_7ndarray_4data_data(PyArrayObject *__p
|
|
|
3772
3772
|
return __pyx_r;
|
|
3773
3773
|
}
|
|
3774
3774
|
|
|
3775
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3775
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":807
|
|
3776
3776
|
* ctypedef long double complex clongdouble_t
|
|
3777
3777
|
*
|
|
3778
3778
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -3789,7 +3789,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
3789
3789
|
int __pyx_clineno = 0;
|
|
3790
3790
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0);
|
|
3791
3791
|
|
|
3792
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3792
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":808
|
|
3793
3793
|
*
|
|
3794
3794
|
* cdef inline object PyArray_MultiIterNew1(a):
|
|
3795
3795
|
* return PyArray_MultiIterNew(1, <void*>a) # <<<<<<<<<<<<<<
|
|
@@ -3803,7 +3803,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
3803
3803
|
__pyx_t_1 = 0;
|
|
3804
3804
|
goto __pyx_L0;
|
|
3805
3805
|
|
|
3806
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3806
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":807
|
|
3807
3807
|
* ctypedef long double complex clongdouble_t
|
|
3808
3808
|
*
|
|
3809
3809
|
* cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<<
|
|
@@ -3822,7 +3822,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__
|
|
|
3822
3822
|
return __pyx_r;
|
|
3823
3823
|
}
|
|
3824
3824
|
|
|
3825
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3825
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":810
|
|
3826
3826
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
3827
3827
|
*
|
|
3828
3828
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -3839,7 +3839,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
3839
3839
|
int __pyx_clineno = 0;
|
|
3840
3840
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0);
|
|
3841
3841
|
|
|
3842
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3842
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":811
|
|
3843
3843
|
*
|
|
3844
3844
|
* cdef inline object PyArray_MultiIterNew2(a, b):
|
|
3845
3845
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b) # <<<<<<<<<<<<<<
|
|
@@ -3853,7 +3853,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
3853
3853
|
__pyx_t_1 = 0;
|
|
3854
3854
|
goto __pyx_L0;
|
|
3855
3855
|
|
|
3856
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3856
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":810
|
|
3857
3857
|
* return PyArray_MultiIterNew(1, <void*>a)
|
|
3858
3858
|
*
|
|
3859
3859
|
* cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<<
|
|
@@ -3872,7 +3872,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__
|
|
|
3872
3872
|
return __pyx_r;
|
|
3873
3873
|
}
|
|
3874
3874
|
|
|
3875
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3875
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":813
|
|
3876
3876
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
3877
3877
|
*
|
|
3878
3878
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -3889,7 +3889,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
3889
3889
|
int __pyx_clineno = 0;
|
|
3890
3890
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0);
|
|
3891
3891
|
|
|
3892
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3892
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":814
|
|
3893
3893
|
*
|
|
3894
3894
|
* cdef inline object PyArray_MultiIterNew3(a, b, c):
|
|
3895
3895
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c) # <<<<<<<<<<<<<<
|
|
@@ -3903,7 +3903,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
3903
3903
|
__pyx_t_1 = 0;
|
|
3904
3904
|
goto __pyx_L0;
|
|
3905
3905
|
|
|
3906
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3906
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":813
|
|
3907
3907
|
* return PyArray_MultiIterNew(2, <void*>a, <void*>b)
|
|
3908
3908
|
*
|
|
3909
3909
|
* cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<<
|
|
@@ -3922,7 +3922,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__
|
|
|
3922
3922
|
return __pyx_r;
|
|
3923
3923
|
}
|
|
3924
3924
|
|
|
3925
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3925
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":816
|
|
3926
3926
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
3927
3927
|
*
|
|
3928
3928
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -3939,7 +3939,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
3939
3939
|
int __pyx_clineno = 0;
|
|
3940
3940
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0);
|
|
3941
3941
|
|
|
3942
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3942
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":817
|
|
3943
3943
|
*
|
|
3944
3944
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d):
|
|
3945
3945
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d) # <<<<<<<<<<<<<<
|
|
@@ -3953,7 +3953,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
3953
3953
|
__pyx_t_1 = 0;
|
|
3954
3954
|
goto __pyx_L0;
|
|
3955
3955
|
|
|
3956
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3956
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":816
|
|
3957
3957
|
* return PyArray_MultiIterNew(3, <void*>a, <void*>b, <void*> c)
|
|
3958
3958
|
*
|
|
3959
3959
|
* cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<<
|
|
@@ -3972,7 +3972,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__
|
|
|
3972
3972
|
return __pyx_r;
|
|
3973
3973
|
}
|
|
3974
3974
|
|
|
3975
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3975
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":819
|
|
3976
3976
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
3977
3977
|
*
|
|
3978
3978
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -3989,7 +3989,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
3989
3989
|
int __pyx_clineno = 0;
|
|
3990
3990
|
__Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0);
|
|
3991
3991
|
|
|
3992
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
3992
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":820
|
|
3993
3993
|
*
|
|
3994
3994
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e):
|
|
3995
3995
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e) # <<<<<<<<<<<<<<
|
|
@@ -4003,7 +4003,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
4003
4003
|
__pyx_t_1 = 0;
|
|
4004
4004
|
goto __pyx_L0;
|
|
4005
4005
|
|
|
4006
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4006
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":819
|
|
4007
4007
|
* return PyArray_MultiIterNew(4, <void*>a, <void*>b, <void*>c, <void*> d)
|
|
4008
4008
|
*
|
|
4009
4009
|
* cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<<
|
|
@@ -4022,7 +4022,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__
|
|
|
4022
4022
|
return __pyx_r;
|
|
4023
4023
|
}
|
|
4024
4024
|
|
|
4025
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4025
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":822
|
|
4026
4026
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
4027
4027
|
*
|
|
4028
4028
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -4037,7 +4037,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4037
4037
|
PyObject *__pyx_t_2;
|
|
4038
4038
|
__Pyx_RefNannySetupContext("PyDataType_SHAPE", 0);
|
|
4039
4039
|
|
|
4040
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4040
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":823
|
|
4041
4041
|
*
|
|
4042
4042
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4043
4043
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -4047,7 +4047,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4047
4047
|
__pyx_t_1 = PyDataType_HASSUBARRAY(__pyx_v_d);
|
|
4048
4048
|
if (__pyx_t_1) {
|
|
4049
4049
|
|
|
4050
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4050
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":824
|
|
4051
4051
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4052
4052
|
* if PyDataType_HASSUBARRAY(d):
|
|
4053
4053
|
* return <tuple>d.subarray.shape # <<<<<<<<<<<<<<
|
|
@@ -4060,7 +4060,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4060
4060
|
__pyx_r = ((PyObject*)__pyx_t_2);
|
|
4061
4061
|
goto __pyx_L0;
|
|
4062
4062
|
|
|
4063
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4063
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":823
|
|
4064
4064
|
*
|
|
4065
4065
|
* cdef inline tuple PyDataType_SHAPE(dtype d):
|
|
4066
4066
|
* if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<<
|
|
@@ -4069,7 +4069,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4069
4069
|
*/
|
|
4070
4070
|
}
|
|
4071
4071
|
|
|
4072
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4072
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":826
|
|
4073
4073
|
* return <tuple>d.subarray.shape
|
|
4074
4074
|
* else:
|
|
4075
4075
|
* return () # <<<<<<<<<<<<<<
|
|
@@ -4083,7 +4083,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4083
4083
|
goto __pyx_L0;
|
|
4084
4084
|
}
|
|
4085
4085
|
|
|
4086
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4086
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":822
|
|
4087
4087
|
* return PyArray_MultiIterNew(5, <void*>a, <void*>b, <void*>c, <void*> d, <void*> e)
|
|
4088
4088
|
*
|
|
4089
4089
|
* cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<<
|
|
@@ -4098,7 +4098,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__
|
|
|
4098
4098
|
return __pyx_r;
|
|
4099
4099
|
}
|
|
4100
4100
|
|
|
4101
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4101
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1010
|
|
4102
4102
|
* int _import_umath() except -1
|
|
4103
4103
|
*
|
|
4104
4104
|
* cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<<
|
|
@@ -4112,7 +4112,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4112
4112
|
const char *__pyx_filename = NULL;
|
|
4113
4113
|
int __pyx_clineno = 0;
|
|
4114
4114
|
|
|
4115
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4115
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1011
|
|
4116
4116
|
*
|
|
4117
4117
|
* cdef inline void set_array_base(ndarray arr, object base) except *:
|
|
4118
4118
|
* Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<<
|
|
@@ -4121,7 +4121,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4121
4121
|
*/
|
|
4122
4122
|
Py_INCREF(__pyx_v_base);
|
|
4123
4123
|
|
|
4124
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4124
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1012
|
|
4125
4125
|
* cdef inline void set_array_base(ndarray arr, object base) except *:
|
|
4126
4126
|
* Py_INCREF(base) # important to do this before stealing the reference below!
|
|
4127
4127
|
* PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<<
|
|
@@ -4130,7 +4130,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4130
4130
|
*/
|
|
4131
4131
|
__pyx_t_1 = PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base); if (unlikely(__pyx_t_1 == ((int)-1))) __PYX_ERR(1, 1012, __pyx_L1_error)
|
|
4132
4132
|
|
|
4133
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4133
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1010
|
|
4134
4134
|
* int _import_umath() except -1
|
|
4135
4135
|
*
|
|
4136
4136
|
* cdef inline void set_array_base(ndarray arr, object base) except *: # <<<<<<<<<<<<<<
|
|
@@ -4145,7 +4145,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a
|
|
|
4145
4145
|
__pyx_L0:;
|
|
4146
4146
|
}
|
|
4147
4147
|
|
|
4148
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4148
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
|
|
4149
4149
|
* PyArray_SetBaseObject(arr, base)
|
|
4150
4150
|
*
|
|
4151
4151
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -4160,7 +4160,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4160
4160
|
int __pyx_t_1;
|
|
4161
4161
|
__Pyx_RefNannySetupContext("get_array_base", 0);
|
|
4162
4162
|
|
|
4163
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4163
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1015
|
|
4164
4164
|
*
|
|
4165
4165
|
* cdef inline object get_array_base(ndarray arr):
|
|
4166
4166
|
* base = PyArray_BASE(arr) # <<<<<<<<<<<<<<
|
|
@@ -4169,7 +4169,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4169
4169
|
*/
|
|
4170
4170
|
__pyx_v_base = PyArray_BASE(__pyx_v_arr);
|
|
4171
4171
|
|
|
4172
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4172
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
4173
4173
|
* cdef inline object get_array_base(ndarray arr):
|
|
4174
4174
|
* base = PyArray_BASE(arr)
|
|
4175
4175
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -4179,7 +4179,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4179
4179
|
__pyx_t_1 = (__pyx_v_base == NULL);
|
|
4180
4180
|
if (__pyx_t_1) {
|
|
4181
4181
|
|
|
4182
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4182
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1017
|
|
4183
4183
|
* base = PyArray_BASE(arr)
|
|
4184
4184
|
* if base is NULL:
|
|
4185
4185
|
* return None # <<<<<<<<<<<<<<
|
|
@@ -4190,7 +4190,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4190
4190
|
__pyx_r = Py_None; __Pyx_INCREF(Py_None);
|
|
4191
4191
|
goto __pyx_L0;
|
|
4192
4192
|
|
|
4193
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4193
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1016
|
|
4194
4194
|
* cdef inline object get_array_base(ndarray arr):
|
|
4195
4195
|
* base = PyArray_BASE(arr)
|
|
4196
4196
|
* if base is NULL: # <<<<<<<<<<<<<<
|
|
@@ -4199,7 +4199,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4199
4199
|
*/
|
|
4200
4200
|
}
|
|
4201
4201
|
|
|
4202
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4202
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1018
|
|
4203
4203
|
* if base is NULL:
|
|
4204
4204
|
* return None
|
|
4205
4205
|
* return <object>base # <<<<<<<<<<<<<<
|
|
@@ -4211,7 +4211,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4211
4211
|
__pyx_r = ((PyObject *)__pyx_v_base);
|
|
4212
4212
|
goto __pyx_L0;
|
|
4213
4213
|
|
|
4214
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4214
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1014
|
|
4215
4215
|
* PyArray_SetBaseObject(arr, base)
|
|
4216
4216
|
*
|
|
4217
4217
|
* cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<<
|
|
@@ -4226,7 +4226,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py
|
|
|
4226
4226
|
return __pyx_r;
|
|
4227
4227
|
}
|
|
4228
4228
|
|
|
4229
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4229
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1022
|
|
4230
4230
|
* # Versions of the import_* functions which are more suitable for
|
|
4231
4231
|
* # Cython code.
|
|
4232
4232
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4253,7 +4253,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4253
4253
|
int __pyx_clineno = 0;
|
|
4254
4254
|
__Pyx_RefNannySetupContext("import_array", 0);
|
|
4255
4255
|
|
|
4256
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4256
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1023
|
|
4257
4257
|
* # Cython code.
|
|
4258
4258
|
* cdef inline int import_array() except -1:
|
|
4259
4259
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4269,7 +4269,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4269
4269
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4270
4270
|
/*try:*/ {
|
|
4271
4271
|
|
|
4272
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4272
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1024
|
|
4273
4273
|
* cdef inline int import_array() except -1:
|
|
4274
4274
|
* try:
|
|
4275
4275
|
* __pyx_import_array() # <<<<<<<<<<<<<<
|
|
@@ -4278,7 +4278,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4278
4278
|
*/
|
|
4279
4279
|
__pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1024, __pyx_L3_error)
|
|
4280
4280
|
|
|
4281
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4281
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1023
|
|
4282
4282
|
* # Cython code.
|
|
4283
4283
|
* cdef inline int import_array() except -1:
|
|
4284
4284
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4292,7 +4292,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4292
4292
|
goto __pyx_L8_try_end;
|
|
4293
4293
|
__pyx_L3_error:;
|
|
4294
4294
|
|
|
4295
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4295
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1025
|
|
4296
4296
|
* try:
|
|
4297
4297
|
* __pyx_import_array()
|
|
4298
4298
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4307,7 +4307,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4307
4307
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4308
4308
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4309
4309
|
|
|
4310
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4310
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1026
|
|
4311
4311
|
* __pyx_import_array()
|
|
4312
4312
|
* except Exception:
|
|
4313
4313
|
* raise ImportError("numpy._core.multiarray failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4332,7 +4332,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4332
4332
|
}
|
|
4333
4333
|
goto __pyx_L5_except_error;
|
|
4334
4334
|
|
|
4335
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4335
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1023
|
|
4336
4336
|
* # Cython code.
|
|
4337
4337
|
* cdef inline int import_array() except -1:
|
|
4338
4338
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4348,7 +4348,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4348
4348
|
__pyx_L8_try_end:;
|
|
4349
4349
|
}
|
|
4350
4350
|
|
|
4351
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4351
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1022
|
|
4352
4352
|
* # Versions of the import_* functions which are more suitable for
|
|
4353
4353
|
* # Cython code.
|
|
4354
4354
|
* cdef inline int import_array() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4373,7 +4373,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) {
|
|
|
4373
4373
|
return __pyx_r;
|
|
4374
4374
|
}
|
|
4375
4375
|
|
|
4376
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4376
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1028
|
|
4377
4377
|
* raise ImportError("numpy._core.multiarray failed to import")
|
|
4378
4378
|
*
|
|
4379
4379
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4400,7 +4400,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4400
4400
|
int __pyx_clineno = 0;
|
|
4401
4401
|
__Pyx_RefNannySetupContext("import_umath", 0);
|
|
4402
4402
|
|
|
4403
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4403
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
|
|
4404
4404
|
*
|
|
4405
4405
|
* cdef inline int import_umath() except -1:
|
|
4406
4406
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4416,7 +4416,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4416
4416
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4417
4417
|
/*try:*/ {
|
|
4418
4418
|
|
|
4419
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4419
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1030
|
|
4420
4420
|
* cdef inline int import_umath() except -1:
|
|
4421
4421
|
* try:
|
|
4422
4422
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -4425,7 +4425,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4425
4425
|
*/
|
|
4426
4426
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1030, __pyx_L3_error)
|
|
4427
4427
|
|
|
4428
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4428
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
|
|
4429
4429
|
*
|
|
4430
4430
|
* cdef inline int import_umath() except -1:
|
|
4431
4431
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4439,7 +4439,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4439
4439
|
goto __pyx_L8_try_end;
|
|
4440
4440
|
__pyx_L3_error:;
|
|
4441
4441
|
|
|
4442
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4442
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1031
|
|
4443
4443
|
* try:
|
|
4444
4444
|
* _import_umath()
|
|
4445
4445
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4454,7 +4454,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4454
4454
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4455
4455
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4456
4456
|
|
|
4457
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4457
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1032
|
|
4458
4458
|
* _import_umath()
|
|
4459
4459
|
* except Exception:
|
|
4460
4460
|
* raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4479,7 +4479,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4479
4479
|
}
|
|
4480
4480
|
goto __pyx_L5_except_error;
|
|
4481
4481
|
|
|
4482
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4482
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1029
|
|
4483
4483
|
*
|
|
4484
4484
|
* cdef inline int import_umath() except -1:
|
|
4485
4485
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4495,7 +4495,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4495
4495
|
__pyx_L8_try_end:;
|
|
4496
4496
|
}
|
|
4497
4497
|
|
|
4498
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4498
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1028
|
|
4499
4499
|
* raise ImportError("numpy._core.multiarray failed to import")
|
|
4500
4500
|
*
|
|
4501
4501
|
* cdef inline int import_umath() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4520,7 +4520,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) {
|
|
|
4520
4520
|
return __pyx_r;
|
|
4521
4521
|
}
|
|
4522
4522
|
|
|
4523
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4523
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1034
|
|
4524
4524
|
* raise ImportError("numpy._core.umath failed to import")
|
|
4525
4525
|
*
|
|
4526
4526
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4547,7 +4547,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4547
4547
|
int __pyx_clineno = 0;
|
|
4548
4548
|
__Pyx_RefNannySetupContext("import_ufunc", 0);
|
|
4549
4549
|
|
|
4550
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4550
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1035
|
|
4551
4551
|
*
|
|
4552
4552
|
* cdef inline int import_ufunc() except -1:
|
|
4553
4553
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4563,7 +4563,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4563
4563
|
__Pyx_XGOTREF(__pyx_t_3);
|
|
4564
4564
|
/*try:*/ {
|
|
4565
4565
|
|
|
4566
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4566
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1036
|
|
4567
4567
|
* cdef inline int import_ufunc() except -1:
|
|
4568
4568
|
* try:
|
|
4569
4569
|
* _import_umath() # <<<<<<<<<<<<<<
|
|
@@ -4572,7 +4572,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4572
4572
|
*/
|
|
4573
4573
|
__pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(1, 1036, __pyx_L3_error)
|
|
4574
4574
|
|
|
4575
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4575
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1035
|
|
4576
4576
|
*
|
|
4577
4577
|
* cdef inline int import_ufunc() except -1:
|
|
4578
4578
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4586,7 +4586,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4586
4586
|
goto __pyx_L8_try_end;
|
|
4587
4587
|
__pyx_L3_error:;
|
|
4588
4588
|
|
|
4589
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4589
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1037
|
|
4590
4590
|
* try:
|
|
4591
4591
|
* _import_umath()
|
|
4592
4592
|
* except Exception: # <<<<<<<<<<<<<<
|
|
@@ -4601,7 +4601,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4601
4601
|
__Pyx_XGOTREF(__pyx_t_6);
|
|
4602
4602
|
__Pyx_XGOTREF(__pyx_t_7);
|
|
4603
4603
|
|
|
4604
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4604
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1038
|
|
4605
4605
|
* _import_umath()
|
|
4606
4606
|
* except Exception:
|
|
4607
4607
|
* raise ImportError("numpy._core.umath failed to import") # <<<<<<<<<<<<<<
|
|
@@ -4626,7 +4626,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4626
4626
|
}
|
|
4627
4627
|
goto __pyx_L5_except_error;
|
|
4628
4628
|
|
|
4629
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4629
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1035
|
|
4630
4630
|
*
|
|
4631
4631
|
* cdef inline int import_ufunc() except -1:
|
|
4632
4632
|
* try: # <<<<<<<<<<<<<<
|
|
@@ -4642,7 +4642,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4642
4642
|
__pyx_L8_try_end:;
|
|
4643
4643
|
}
|
|
4644
4644
|
|
|
4645
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4645
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1034
|
|
4646
4646
|
* raise ImportError("numpy._core.umath failed to import")
|
|
4647
4647
|
*
|
|
4648
4648
|
* cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<<
|
|
@@ -4667,7 +4667,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4667
4667
|
return __pyx_r;
|
|
4668
4668
|
}
|
|
4669
4669
|
|
|
4670
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4670
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1041
|
|
4671
4671
|
*
|
|
4672
4672
|
*
|
|
4673
4673
|
* cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4678,7 +4678,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) {
|
|
|
4678
4678
|
static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_obj) {
|
|
4679
4679
|
int __pyx_r;
|
|
4680
4680
|
|
|
4681
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4681
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1053
|
|
4682
4682
|
* bool
|
|
4683
4683
|
* """
|
|
4684
4684
|
* return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -4688,7 +4688,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4688
4688
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type));
|
|
4689
4689
|
goto __pyx_L0;
|
|
4690
4690
|
|
|
4691
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4691
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1041
|
|
4692
4692
|
*
|
|
4693
4693
|
*
|
|
4694
4694
|
* cdef inline bint is_timedelta64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4701,7 +4701,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4701
4701
|
return __pyx_r;
|
|
4702
4702
|
}
|
|
4703
4703
|
|
|
4704
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4704
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1056
|
|
4705
4705
|
*
|
|
4706
4706
|
*
|
|
4707
4707
|
* cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4712,7 +4712,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_
|
|
|
4712
4712
|
static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_obj) {
|
|
4713
4713
|
int __pyx_r;
|
|
4714
4714
|
|
|
4715
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4715
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1068
|
|
4716
4716
|
* bool
|
|
4717
4717
|
* """
|
|
4718
4718
|
* return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<<
|
|
@@ -4722,7 +4722,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4722
4722
|
__pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type));
|
|
4723
4723
|
goto __pyx_L0;
|
|
4724
4724
|
|
|
4725
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4725
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1056
|
|
4726
4726
|
*
|
|
4727
4727
|
*
|
|
4728
4728
|
* cdef inline bint is_datetime64_object(object obj) noexcept: # <<<<<<<<<<<<<<
|
|
@@ -4735,7 +4735,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4735
4735
|
return __pyx_r;
|
|
4736
4736
|
}
|
|
4737
4737
|
|
|
4738
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4738
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1071
|
|
4739
4739
|
*
|
|
4740
4740
|
*
|
|
4741
4741
|
* cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4746,7 +4746,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o
|
|
|
4746
4746
|
static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) {
|
|
4747
4747
|
npy_datetime __pyx_r;
|
|
4748
4748
|
|
|
4749
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4749
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1078
|
|
4750
4750
|
* also needed. That can be found using `get_datetime64_unit`.
|
|
4751
4751
|
* """
|
|
4752
4752
|
* return (<PyDatetimeScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -4756,7 +4756,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4756
4756
|
__pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval;
|
|
4757
4757
|
goto __pyx_L0;
|
|
4758
4758
|
|
|
4759
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4759
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1071
|
|
4760
4760
|
*
|
|
4761
4761
|
*
|
|
4762
4762
|
* cdef inline npy_datetime get_datetime64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4769,7 +4769,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4769
4769
|
return __pyx_r;
|
|
4770
4770
|
}
|
|
4771
4771
|
|
|
4772
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4772
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1081
|
|
4773
4773
|
*
|
|
4774
4774
|
*
|
|
4775
4775
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4780,7 +4780,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *
|
|
|
4780
4780
|
static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) {
|
|
4781
4781
|
npy_timedelta __pyx_r;
|
|
4782
4782
|
|
|
4783
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4783
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1085
|
|
4784
4784
|
* returns the int64 value underlying scalar numpy timedelta64 object
|
|
4785
4785
|
* """
|
|
4786
4786
|
* return (<PyTimedeltaScalarObject*>obj).obval # <<<<<<<<<<<<<<
|
|
@@ -4790,7 +4790,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
4790
4790
|
__pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval;
|
|
4791
4791
|
goto __pyx_L0;
|
|
4792
4792
|
|
|
4793
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4793
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1081
|
|
4794
4794
|
*
|
|
4795
4795
|
*
|
|
4796
4796
|
* cdef inline npy_timedelta get_timedelta64_value(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4803,7 +4803,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
4803
4803
|
return __pyx_r;
|
|
4804
4804
|
}
|
|
4805
4805
|
|
|
4806
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4806
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1088
|
|
4807
4807
|
*
|
|
4808
4808
|
*
|
|
4809
4809
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4814,7 +4814,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject
|
|
|
4814
4814
|
static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) {
|
|
4815
4815
|
NPY_DATETIMEUNIT __pyx_r;
|
|
4816
4816
|
|
|
4817
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4817
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1092
|
|
4818
4818
|
* returns the unit part of the dtype for a numpy datetime64 object.
|
|
4819
4819
|
* """
|
|
4820
4820
|
* return <NPY_DATETIMEUNIT>(<PyDatetimeScalarObject*>obj).obmeta.base # <<<<<<<<<<<<<<
|
|
@@ -4824,7 +4824,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
4824
4824
|
__pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base);
|
|
4825
4825
|
goto __pyx_L0;
|
|
4826
4826
|
|
|
4827
|
-
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-
|
|
4827
|
+
/* "C:/Users/runneradmin/AppData/Local/Temp/pip-build-env-4xiaq35t/overlay/Lib/site-packages/numpy/__init__.cython-30.pxd":1088
|
|
4828
4828
|
*
|
|
4829
4829
|
*
|
|
4830
4830
|
* cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) noexcept nogil: # <<<<<<<<<<<<<<
|
|
@@ -4837,7 +4837,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec
|
|
|
4837
4837
|
return __pyx_r;
|
|
4838
4838
|
}
|
|
4839
4839
|
|
|
4840
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
4840
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":8
|
|
4841
4841
|
* from libc.stdint cimport int32_t
|
|
4842
4842
|
*
|
|
4843
4843
|
* def seqdur(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -4884,32 +4884,32 @@ PyObject *__pyx_args, PyObject *__pyx_kwds
|
|
|
4884
4884
|
{
|
|
4885
4885
|
PyObject ** const __pyx_pyargnames[] = {&__pyx_mstate_global->__pyx_n_u_seqdata,0};
|
|
4886
4886
|
const Py_ssize_t __pyx_kwds_len = (__pyx_kwds) ? __Pyx_NumKwargs_FASTCALL(__pyx_kwds) : 0;
|
|
4887
|
-
if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0,
|
|
4887
|
+
if (unlikely(__pyx_kwds_len) < 0) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
4888
4888
|
if (__pyx_kwds_len > 0) {
|
|
4889
4889
|
switch (__pyx_nargs) {
|
|
4890
4890
|
case 1:
|
|
4891
4891
|
values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
|
|
4892
|
-
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0,
|
|
4892
|
+
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
4893
4893
|
CYTHON_FALLTHROUGH;
|
|
4894
4894
|
case 0: break;
|
|
4895
4895
|
default: goto __pyx_L5_argtuple_error;
|
|
4896
4896
|
}
|
|
4897
4897
|
const Py_ssize_t kwd_pos_args = __pyx_nargs;
|
|
4898
|
-
if (__Pyx_ParseKeywords(__pyx_kwds, __pyx_kwvalues, __pyx_pyargnames, 0, values, kwd_pos_args, __pyx_kwds_len, "seqdur", 0) < 0) __PYX_ERR(0,
|
|
4898
|
+
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)
|
|
4899
4899
|
for (Py_ssize_t i = __pyx_nargs; i < 1; i++) {
|
|
4900
|
-
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("seqdur", 1, 1, 1, i); __PYX_ERR(0,
|
|
4900
|
+
if (unlikely(!values[i])) { __Pyx_RaiseArgtupleInvalid("seqdur", 1, 1, 1, i); __PYX_ERR(0, 8, __pyx_L3_error) }
|
|
4901
4901
|
}
|
|
4902
4902
|
} else if (unlikely(__pyx_nargs != 1)) {
|
|
4903
4903
|
goto __pyx_L5_argtuple_error;
|
|
4904
4904
|
} else {
|
|
4905
4905
|
values[0] = __Pyx_ArgRef_FASTCALL(__pyx_args, 0);
|
|
4906
|
-
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0,
|
|
4906
|
+
if (!CYTHON_ASSUME_SAFE_MACROS && unlikely(!values[0])) __PYX_ERR(0, 8, __pyx_L3_error)
|
|
4907
4907
|
}
|
|
4908
4908
|
__pyx_v_seqdata = values[0];
|
|
4909
4909
|
}
|
|
4910
4910
|
goto __pyx_L6_skip;
|
|
4911
4911
|
__pyx_L5_argtuple_error:;
|
|
4912
|
-
__Pyx_RaiseArgtupleInvalid("seqdur", 1, 1, 1, __pyx_nargs); __PYX_ERR(0,
|
|
4912
|
+
__Pyx_RaiseArgtupleInvalid("seqdur", 1, 1, 1, __pyx_nargs); __PYX_ERR(0, 8, __pyx_L3_error)
|
|
4913
4913
|
__pyx_L6_skip:;
|
|
4914
4914
|
goto __pyx_L4_argument_unpacking_done;
|
|
4915
4915
|
__pyx_L3_error:;
|
|
@@ -5000,21 +5000,21 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5000
5000
|
__pyx_pybuffernd_group_durations.data = NULL;
|
|
5001
5001
|
__pyx_pybuffernd_group_durations.rcbuffer = &__pyx_pybuffer_group_durations;
|
|
5002
5002
|
|
|
5003
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5003
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":9
|
|
5004
5004
|
*
|
|
5005
5005
|
* def seqdur(seqdata):
|
|
5006
5006
|
* if not isinstance(seqdata, SequenceData): # <<<<<<<<<<<<<<
|
|
5007
5007
|
* raise ValueError("data is not a sequence object, see SequenceData to create one")
|
|
5008
5008
|
*
|
|
5009
5009
|
*/
|
|
5010
|
-
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5010
|
+
__Pyx_GetModuleGlobalName(__pyx_t_1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 9, __pyx_L1_error)
|
|
5011
5011
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5012
|
-
__pyx_t_2 = PyObject_IsInstance(__pyx_v_seqdata, __pyx_t_1); if (unlikely(__pyx_t_2 == ((int)-1))) __PYX_ERR(0,
|
|
5012
|
+
__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)
|
|
5013
5013
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5014
5014
|
__pyx_t_3 = (!__pyx_t_2);
|
|
5015
5015
|
if (unlikely(__pyx_t_3)) {
|
|
5016
5016
|
|
|
5017
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5017
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":10
|
|
5018
5018
|
* def seqdur(seqdata):
|
|
5019
5019
|
* if not isinstance(seqdata, SequenceData):
|
|
5020
5020
|
* raise ValueError("data is not a sequence object, see SequenceData to create one") # <<<<<<<<<<<<<<
|
|
@@ -5030,14 +5030,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5030
5030
|
__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));
|
|
5031
5031
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5032
5032
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5033
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5033
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 10, __pyx_L1_error)
|
|
5034
5034
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5035
5035
|
}
|
|
5036
5036
|
__Pyx_Raise(__pyx_t_1, 0, 0, 0);
|
|
5037
5037
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5038
|
-
__PYX_ERR(0,
|
|
5038
|
+
__PYX_ERR(0, 10, __pyx_L1_error)
|
|
5039
5039
|
|
|
5040
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5040
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":9
|
|
5041
5041
|
*
|
|
5042
5042
|
* def seqdur(seqdata):
|
|
5043
5043
|
* if not isinstance(seqdata, SequenceData): # <<<<<<<<<<<<<<
|
|
@@ -5046,14 +5046,14 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5046
5046
|
*/
|
|
5047
5047
|
}
|
|
5048
5048
|
|
|
5049
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5049
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":12
|
|
5050
5050
|
* raise ValueError("data is not a sequence object, see SequenceData to create one")
|
|
5051
5051
|
*
|
|
5052
5052
|
* cdef cnp.ndarray[int32_t, ndim=2] seqdatanum = seqdata.values.copy().astype(np.int32, copy=False) # <<<<<<<<<<<<<<
|
|
5053
5053
|
*
|
|
5054
5054
|
* cdef int n = seqdatanum.shape[0], m = seqdatanum.shape[1]
|
|
5055
5055
|
*/
|
|
5056
|
-
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_v_seqdata, __pyx_mstate_global->__pyx_n_u_values); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5056
|
+
__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)
|
|
5057
5057
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5058
5058
|
__pyx_t_7 = __pyx_t_8;
|
|
5059
5059
|
__Pyx_INCREF(__pyx_t_7);
|
|
@@ -5063,43 +5063,43 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5063
5063
|
__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));
|
|
5064
5064
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5065
5065
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5066
|
-
if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5066
|
+
if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5067
5067
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5068
5068
|
}
|
|
5069
5069
|
__pyx_t_5 = __pyx_t_4;
|
|
5070
5070
|
__Pyx_INCREF(__pyx_t_5);
|
|
5071
|
-
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5071
|
+
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5072
5072
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5073
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5073
|
+
__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)
|
|
5074
5074
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5075
5075
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5076
5076
|
__pyx_t_6 = 0;
|
|
5077
5077
|
{
|
|
5078
5078
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_5, __pyx_t_7};
|
|
5079
|
-
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5079
|
+
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5080
5080
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5081
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_copy, Py_False, __pyx_t_8, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5081
|
+
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)
|
|
5082
5082
|
__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);
|
|
5083
5083
|
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5084
5084
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5085
5085
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5086
5086
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5087
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5087
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 12, __pyx_L1_error)
|
|
5088
5088
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5089
5089
|
}
|
|
5090
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5090
|
+
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)
|
|
5091
5091
|
{
|
|
5092
5092
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5093
5093
|
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)) {
|
|
5094
5094
|
__pyx_v_seqdatanum = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_seqdatanum.rcbuffer->pybuffer.buf = NULL;
|
|
5095
|
-
__PYX_ERR(0,
|
|
5095
|
+
__PYX_ERR(0, 12, __pyx_L1_error)
|
|
5096
5096
|
} 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];
|
|
5097
5097
|
}
|
|
5098
5098
|
}
|
|
5099
5099
|
__pyx_v_seqdatanum = ((PyArrayObject *)__pyx_t_1);
|
|
5100
5100
|
__pyx_t_1 = 0;
|
|
5101
5101
|
|
|
5102
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5102
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":14
|
|
5103
5103
|
* cdef cnp.ndarray[int32_t, ndim=2] seqdatanum = seqdata.values.copy().astype(np.int32, copy=False)
|
|
5104
5104
|
*
|
|
5105
5105
|
* cdef int n = seqdatanum.shape[0], m = seqdatanum.shape[1] # <<<<<<<<<<<<<<
|
|
@@ -5109,7 +5109,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5109
5109
|
__pyx_v_n = (__pyx_f_5numpy_7ndarray_5shape_shape(((PyArrayObject *)__pyx_v_seqdatanum))[0]);
|
|
5110
5110
|
__pyx_v_m = (__pyx_f_5numpy_7ndarray_5shape_shape(((PyArrayObject *)__pyx_v_seqdatanum))[1]);
|
|
5111
5111
|
|
|
5112
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5112
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":17
|
|
5113
5113
|
* cdef int i, j
|
|
5114
5114
|
*
|
|
5115
5115
|
* cdef cnp.ndarray[int32_t, ndim=2] ffill = seqdatanum.copy() # <<<<<<<<<<<<<<
|
|
@@ -5123,22 +5123,22 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5123
5123
|
PyObject *__pyx_callargs[2] = {__pyx_t_4, NULL};
|
|
5124
5124
|
__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));
|
|
5125
5125
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5126
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5126
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 17, __pyx_L1_error)
|
|
5127
5127
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5128
5128
|
}
|
|
5129
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5129
|
+
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)
|
|
5130
5130
|
{
|
|
5131
5131
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5132
5132
|
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)) {
|
|
5133
5133
|
__pyx_v_ffill = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_ffill.rcbuffer->pybuffer.buf = NULL;
|
|
5134
|
-
__PYX_ERR(0,
|
|
5134
|
+
__PYX_ERR(0, 17, __pyx_L1_error)
|
|
5135
5135
|
} 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];
|
|
5136
5136
|
}
|
|
5137
5137
|
}
|
|
5138
5138
|
__pyx_v_ffill = ((PyArrayObject *)__pyx_t_1);
|
|
5139
5139
|
__pyx_t_1 = 0;
|
|
5140
5140
|
|
|
5141
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5141
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":19
|
|
5142
5142
|
* cdef cnp.ndarray[int32_t, ndim=2] ffill = seqdatanum.copy()
|
|
5143
5143
|
*
|
|
5144
5144
|
* for j in range(1, m): # <<<<<<<<<<<<<<
|
|
@@ -5150,7 +5150,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5150
5150
|
for (__pyx_t_11 = 1; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
|
|
5151
5151
|
__pyx_v_j = __pyx_t_11;
|
|
5152
5152
|
|
|
5153
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5153
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":20
|
|
5154
5154
|
*
|
|
5155
5155
|
* for j in range(1, m):
|
|
5156
5156
|
* ffill[:, j] = np.where(seqdatanum[:, j] < 0, ffill[:, j - 1], seqdatanum[:, j]) # <<<<<<<<<<<<<<
|
|
@@ -5158,50 +5158,50 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5158
5158
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate(
|
|
5159
5159
|
*/
|
|
5160
5160
|
__pyx_t_4 = NULL;
|
|
5161
|
-
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5161
|
+
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5162
5162
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5163
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_where); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5163
|
+
__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)
|
|
5164
5164
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5165
5165
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5166
|
-
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5166
|
+
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5167
5167
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5168
|
-
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0,
|
|
5168
|
+
__pyx_t_5 = PyTuple_New(2); if (unlikely(!__pyx_t_5)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5169
5169
|
__Pyx_GOTREF(__pyx_t_5);
|
|
5170
5170
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5171
5171
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5172
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5172
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5173
5173
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5174
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5174
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_5, 1, __pyx_t_8) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5175
5175
|
__pyx_t_8 = 0;
|
|
5176
|
-
__pyx_t_8 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_seqdatanum), __pyx_t_5); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5176
|
+
__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)
|
|
5177
5177
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5178
5178
|
__Pyx_DECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5179
|
-
__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,
|
|
5179
|
+
__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)
|
|
5180
5180
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5181
|
-
__pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_j - 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5181
|
+
__pyx_t_8 = __Pyx_PyLong_From_long((__pyx_v_j - 1)); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5182
5182
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5183
|
-
__pyx_t_12 = PyTuple_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5183
|
+
__pyx_t_12 = PyTuple_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5184
5184
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5185
5185
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5186
5186
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5187
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5187
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5188
5188
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5189
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5189
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_8) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5190
5190
|
__pyx_t_8 = 0;
|
|
5191
|
-
__pyx_t_8 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_t_12); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5191
|
+
__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)
|
|
5192
5192
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5193
5193
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5194
|
-
__pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5194
|
+
__pyx_t_12 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5195
5195
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5196
|
-
__pyx_t_13 = PyTuple_New(2); if (unlikely(!__pyx_t_13)) __PYX_ERR(0,
|
|
5196
|
+
__pyx_t_13 = PyTuple_New(2); if (unlikely(!__pyx_t_13)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5197
5197
|
__Pyx_GOTREF(__pyx_t_13);
|
|
5198
5198
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5199
5199
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5200
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5200
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5201
5201
|
__Pyx_GIVEREF(__pyx_t_12);
|
|
5202
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 1, __pyx_t_12) != (0)) __PYX_ERR(0,
|
|
5202
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_13, 1, __pyx_t_12) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5203
5203
|
__pyx_t_12 = 0;
|
|
5204
|
-
__pyx_t_12 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_seqdatanum), __pyx_t_13); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5204
|
+
__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)
|
|
5205
5205
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5206
5206
|
__Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
|
|
5207
5207
|
__pyx_t_6 = 1;
|
|
@@ -5224,25 +5224,25 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5224
5224
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5225
5225
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5226
5226
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5227
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5227
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5228
5228
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5229
5229
|
}
|
|
5230
|
-
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5230
|
+
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_j); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5231
5231
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5232
|
-
__pyx_t_12 = PyTuple_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5232
|
+
__pyx_t_12 = PyTuple_New(2); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5233
5233
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5234
5234
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5235
5235
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
5236
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0,
|
|
5236
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 0, __pyx_mstate_global->__pyx_slice[0]) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5237
5237
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5238
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5238
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_12, 1, __pyx_t_7) != (0)) __PYX_ERR(0, 20, __pyx_L1_error);
|
|
5239
5239
|
__pyx_t_7 = 0;
|
|
5240
|
-
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_ffill), __pyx_t_12, __pyx_t_1) < 0))) __PYX_ERR(0,
|
|
5240
|
+
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_ffill), __pyx_t_12, __pyx_t_1) < 0))) __PYX_ERR(0, 20, __pyx_L1_error)
|
|
5241
5241
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5242
5242
|
__Pyx_DECREF(__pyx_t_1); __pyx_t_1 = 0;
|
|
5243
5243
|
}
|
|
5244
5244
|
|
|
5245
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5245
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":22
|
|
5246
5246
|
* ffill[:, j] = np.where(seqdatanum[:, j] < 0, ffill[:, j - 1], seqdatanum[:, j])
|
|
5247
5247
|
*
|
|
5248
5248
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate( # <<<<<<<<<<<<<<
|
|
@@ -5250,13 +5250,13 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5250
5250
|
* )
|
|
5251
5251
|
*/
|
|
5252
5252
|
__pyx_t_12 = NULL;
|
|
5253
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5253
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 22, __pyx_L1_error)
|
|
5254
5254
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5255
|
-
__pyx_t_8 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_concatenate); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5255
|
+
__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)
|
|
5256
5256
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5257
5257
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5258
5258
|
|
|
5259
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5259
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":23
|
|
5260
5260
|
*
|
|
5261
5261
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate(
|
|
5262
5262
|
* [np.ones((n, 1), dtype=bool), ffill[:, 1:] != ffill[:, :-1]], axis=1 # <<<<<<<<<<<<<<
|
|
@@ -5264,20 +5264,20 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5264
5264
|
*
|
|
5265
5265
|
*/
|
|
5266
5266
|
__pyx_t_5 = NULL;
|
|
5267
|
-
__Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5267
|
+
__Pyx_GetModuleGlobalName(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5268
5268
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5269
|
-
__pyx_t_13 = __Pyx_PyObject_GetAttrStr(__pyx_t_4, __pyx_mstate_global->__pyx_n_u_ones); if (unlikely(!__pyx_t_13)) __PYX_ERR(0,
|
|
5269
|
+
__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)
|
|
5270
5270
|
__Pyx_GOTREF(__pyx_t_13);
|
|
5271
5271
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5272
|
-
__pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5272
|
+
__pyx_t_4 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5273
5273
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5274
|
-
__pyx_t_14 = PyTuple_New(2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5274
|
+
__pyx_t_14 = PyTuple_New(2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5275
5275
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5276
5276
|
__Pyx_GIVEREF(__pyx_t_4);
|
|
5277
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_4) != (0)) __PYX_ERR(0,
|
|
5277
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_4) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5278
5278
|
__Pyx_INCREF(__pyx_mstate_global->__pyx_int_1);
|
|
5279
5279
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_int_1);
|
|
5280
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_mstate_global->__pyx_int_1) != (0)) __PYX_ERR(0,
|
|
5280
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_mstate_global->__pyx_int_1) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5281
5281
|
__pyx_t_4 = 0;
|
|
5282
5282
|
__pyx_t_6 = 1;
|
|
5283
5283
|
#if CYTHON_UNPACK_METHODS
|
|
@@ -5293,30 +5293,30 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5293
5293
|
#endif
|
|
5294
5294
|
{
|
|
5295
5295
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_5, __pyx_t_14};
|
|
5296
|
-
__pyx_t_4 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5296
|
+
__pyx_t_4 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5297
5297
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5298
|
-
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,
|
|
5298
|
+
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)
|
|
5299
5299
|
__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);
|
|
5300
5300
|
__Pyx_XDECREF(__pyx_t_5); __pyx_t_5 = 0;
|
|
5301
5301
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5302
5302
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5303
5303
|
__Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
|
|
5304
|
-
if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5304
|
+
if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5305
5305
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5306
5306
|
}
|
|
5307
|
-
__pyx_t_13 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[0]); if (unlikely(!__pyx_t_13)) __PYX_ERR(0,
|
|
5307
|
+
__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)
|
|
5308
5308
|
__Pyx_GOTREF(__pyx_t_13);
|
|
5309
|
-
__pyx_t_4 = __Pyx_PyObject_GetItem(((PyObject *)__pyx_v_ffill), __pyx_mstate_global->__pyx_tuple[1]); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5309
|
+
__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)
|
|
5310
5310
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5311
|
-
__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,
|
|
5311
|
+
__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)
|
|
5312
5312
|
__Pyx_DECREF(__pyx_t_13); __pyx_t_13 = 0;
|
|
5313
5313
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5314
|
-
__pyx_t_4 = PyList_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5314
|
+
__pyx_t_4 = PyList_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 23, __pyx_L1_error)
|
|
5315
5315
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5316
5316
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5317
|
-
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 0, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5317
|
+
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5318
5318
|
__Pyx_GIVEREF(__pyx_t_14);
|
|
5319
|
-
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 1, __pyx_t_14) != (0)) __PYX_ERR(0,
|
|
5319
|
+
if (__Pyx_PyList_SET_ITEM(__pyx_t_4, 1, __pyx_t_14) != (0)) __PYX_ERR(0, 23, __pyx_L1_error);
|
|
5320
5320
|
__pyx_t_7 = 0;
|
|
5321
5321
|
__pyx_t_14 = 0;
|
|
5322
5322
|
__pyx_t_6 = 1;
|
|
@@ -5333,38 +5333,38 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5333
5333
|
#endif
|
|
5334
5334
|
{
|
|
5335
5335
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_12, __pyx_t_4};
|
|
5336
|
-
__pyx_t_14 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5336
|
+
__pyx_t_14 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 22, __pyx_L1_error)
|
|
5337
5337
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5338
|
-
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,
|
|
5338
|
+
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)
|
|
5339
5339
|
__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);
|
|
5340
5340
|
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5341
5341
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5342
5342
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5343
5343
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5344
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5344
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 22, __pyx_L1_error)
|
|
5345
5345
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5346
5346
|
}
|
|
5347
5347
|
|
|
5348
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5348
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":22
|
|
5349
5349
|
* ffill[:, j] = np.where(seqdatanum[:, j] < 0, ffill[:, j - 1], seqdatanum[:, j])
|
|
5350
5350
|
*
|
|
5351
5351
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate( # <<<<<<<<<<<<<<
|
|
5352
5352
|
* [np.ones((n, 1), dtype=bool), ffill[:, 1:] != ffill[:, :-1]], axis=1
|
|
5353
5353
|
* )
|
|
5354
5354
|
*/
|
|
5355
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5355
|
+
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)
|
|
5356
5356
|
{
|
|
5357
5357
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5358
5358
|
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)) {
|
|
5359
5359
|
__pyx_v_boundaries = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_boundaries.rcbuffer->pybuffer.buf = NULL;
|
|
5360
|
-
__PYX_ERR(0,
|
|
5360
|
+
__PYX_ERR(0, 22, __pyx_L1_error)
|
|
5361
5361
|
} 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];
|
|
5362
5362
|
}
|
|
5363
5363
|
}
|
|
5364
5364
|
__pyx_v_boundaries = ((PyArrayObject *)__pyx_t_1);
|
|
5365
5365
|
__pyx_t_1 = 0;
|
|
5366
5366
|
|
|
5367
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5367
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":26
|
|
5368
5368
|
* )
|
|
5369
5369
|
*
|
|
5370
5370
|
* cdef cnp.ndarray[int32_t, ndim=2] group_ids = np.cumsum(boundaries, axis=1).astype(np.int32, copy=False) # <<<<<<<<<<<<<<
|
|
@@ -5372,9 +5372,9 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5372
5372
|
*
|
|
5373
5373
|
*/
|
|
5374
5374
|
__pyx_t_4 = NULL;
|
|
5375
|
-
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5375
|
+
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5376
5376
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5377
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_cumsum); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5377
|
+
__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)
|
|
5378
5378
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5379
5379
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5380
5380
|
__pyx_t_6 = 1;
|
|
@@ -5391,70 +5391,70 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5391
5391
|
#endif
|
|
5392
5392
|
{
|
|
5393
5393
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_4, ((PyObject *)__pyx_v_boundaries)};
|
|
5394
|
-
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5394
|
+
__pyx_t_12 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5395
5395
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5396
|
-
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,
|
|
5396
|
+
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)
|
|
5397
5397
|
__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);
|
|
5398
5398
|
__Pyx_XDECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5399
5399
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5400
5400
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5401
|
-
if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5401
|
+
if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5402
5402
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5403
5403
|
}
|
|
5404
5404
|
__pyx_t_8 = __pyx_t_14;
|
|
5405
5405
|
__Pyx_INCREF(__pyx_t_8);
|
|
5406
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5406
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5407
5407
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5408
|
-
__pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5408
|
+
__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)
|
|
5409
5409
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5410
5410
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5411
5411
|
__pyx_t_6 = 0;
|
|
5412
5412
|
{
|
|
5413
5413
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_8, __pyx_t_12};
|
|
5414
|
-
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5414
|
+
__pyx_t_7 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5415
5415
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5416
|
-
if (__Pyx_VectorcallBuilder_AddArg(__pyx_mstate_global->__pyx_n_u_copy, Py_False, __pyx_t_7, __pyx_callargs+2, 0) < 0) __PYX_ERR(0,
|
|
5416
|
+
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)
|
|
5417
5417
|
__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);
|
|
5418
5418
|
__Pyx_XDECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5419
5419
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5420
5420
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5421
5421
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5422
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5422
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 26, __pyx_L1_error)
|
|
5423
5423
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5424
5424
|
}
|
|
5425
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5425
|
+
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)
|
|
5426
5426
|
{
|
|
5427
5427
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5428
5428
|
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)) {
|
|
5429
5429
|
__pyx_v_group_ids = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_group_ids.rcbuffer->pybuffer.buf = NULL;
|
|
5430
|
-
__PYX_ERR(0,
|
|
5430
|
+
__PYX_ERR(0, 26, __pyx_L1_error)
|
|
5431
5431
|
} 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];
|
|
5432
5432
|
}
|
|
5433
5433
|
}
|
|
5434
5434
|
__pyx_v_group_ids = ((PyArrayObject *)__pyx_t_1);
|
|
5435
5435
|
__pyx_t_1 = 0;
|
|
5436
5436
|
|
|
5437
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5437
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":27
|
|
5438
5438
|
*
|
|
5439
5439
|
* cdef cnp.ndarray[int32_t, ndim=2] group_ids = np.cumsum(boundaries, axis=1).astype(np.int32, copy=False)
|
|
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)
|
|
5443
5443
|
*/
|
|
5444
|
-
__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,
|
|
5445
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5444
|
+
__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)
|
|
5445
|
+
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)
|
|
5446
5446
|
{
|
|
5447
5447
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5448
5448
|
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)) {
|
|
5449
5449
|
__pyx_v_valid = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_valid.rcbuffer->pybuffer.buf = NULL;
|
|
5450
|
-
__PYX_ERR(0,
|
|
5450
|
+
__PYX_ERR(0, 27, __pyx_L1_error)
|
|
5451
5451
|
} 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];
|
|
5452
5452
|
}
|
|
5453
5453
|
}
|
|
5454
5454
|
__pyx_v_valid = ((PyArrayObject *)__pyx_t_1);
|
|
5455
5455
|
__pyx_t_1 = 0;
|
|
5456
5456
|
|
|
5457
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5457
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":29
|
|
5458
5458
|
* cdef cnp.ndarray[char, ndim=2] valid = seqdatanum >= 0
|
|
5459
5459
|
*
|
|
5460
5460
|
* cdef cnp.ndarray[int32_t, ndim=2] group_durations = np.zeros((n, m), dtype=np.int32) # <<<<<<<<<<<<<<
|
|
@@ -5462,26 +5462,26 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5462
5462
|
* for i in range(n):
|
|
5463
5463
|
*/
|
|
5464
5464
|
__pyx_t_14 = NULL;
|
|
5465
|
-
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5465
|
+
__Pyx_GetModuleGlobalName(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5466
5466
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5467
|
-
__pyx_t_12 = __Pyx_PyObject_GetAttrStr(__pyx_t_7, __pyx_mstate_global->__pyx_n_u_zeros); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5467
|
+
__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)
|
|
5468
5468
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5469
5469
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5470
|
-
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5470
|
+
__pyx_t_7 = __Pyx_PyLong_From_int(__pyx_v_n); if (unlikely(!__pyx_t_7)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5471
5471
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5472
|
-
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_m); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5472
|
+
__pyx_t_8 = __Pyx_PyLong_From_int(__pyx_v_m); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5473
5473
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5474
|
-
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5474
|
+
__pyx_t_4 = PyTuple_New(2); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5475
5475
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5476
5476
|
__Pyx_GIVEREF(__pyx_t_7);
|
|
5477
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_7) != (0)) __PYX_ERR(0,
|
|
5477
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 0, __pyx_t_7) != (0)) __PYX_ERR(0, 29, __pyx_L1_error);
|
|
5478
5478
|
__Pyx_GIVEREF(__pyx_t_8);
|
|
5479
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_8) != (0)) __PYX_ERR(0,
|
|
5479
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_4, 1, __pyx_t_8) != (0)) __PYX_ERR(0, 29, __pyx_L1_error);
|
|
5480
5480
|
__pyx_t_7 = 0;
|
|
5481
5481
|
__pyx_t_8 = 0;
|
|
5482
|
-
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5482
|
+
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5483
5483
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5484
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_int32); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5484
|
+
__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)
|
|
5485
5485
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5486
5486
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5487
5487
|
__pyx_t_6 = 1;
|
|
@@ -5498,31 +5498,31 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5498
5498
|
#endif
|
|
5499
5499
|
{
|
|
5500
5500
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_14, __pyx_t_4};
|
|
5501
|
-
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5501
|
+
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5502
5502
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5503
|
-
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,
|
|
5503
|
+
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)
|
|
5504
5504
|
__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);
|
|
5505
5505
|
__Pyx_XDECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5506
5506
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5507
5507
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5508
5508
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5509
5509
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5510
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5510
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 29, __pyx_L1_error)
|
|
5511
5511
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5512
5512
|
}
|
|
5513
|
-
if (!(likely(((__pyx_t_1) == Py_None) || likely(__Pyx_TypeTest(__pyx_t_1, __pyx_mstate_global->__pyx_ptype_5numpy_ndarray))))) __PYX_ERR(0,
|
|
5513
|
+
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)
|
|
5514
5514
|
{
|
|
5515
5515
|
__Pyx_BufFmt_StackElem __pyx_stack[1];
|
|
5516
5516
|
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)) {
|
|
5517
5517
|
__pyx_v_group_durations = ((PyArrayObject *)Py_None); __Pyx_INCREF(Py_None); __pyx_pybuffernd_group_durations.rcbuffer->pybuffer.buf = NULL;
|
|
5518
|
-
__PYX_ERR(0,
|
|
5518
|
+
__PYX_ERR(0, 29, __pyx_L1_error)
|
|
5519
5519
|
} 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];
|
|
5520
5520
|
}
|
|
5521
5521
|
}
|
|
5522
5522
|
__pyx_v_group_durations = ((PyArrayObject *)__pyx_t_1);
|
|
5523
5523
|
__pyx_t_1 = 0;
|
|
5524
5524
|
|
|
5525
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5525
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":31
|
|
5526
5526
|
* cdef cnp.ndarray[int32_t, ndim=2] group_durations = np.zeros((n, m), dtype=np.int32)
|
|
5527
5527
|
*
|
|
5528
5528
|
* for i in range(n): # <<<<<<<<<<<<<<
|
|
@@ -5534,7 +5534,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5534
5534
|
for (__pyx_t_11 = 0; __pyx_t_11 < __pyx_t_10; __pyx_t_11+=1) {
|
|
5535
5535
|
__pyx_v_i = __pyx_t_11;
|
|
5536
5536
|
|
|
5537
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5537
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":32
|
|
5538
5538
|
*
|
|
5539
5539
|
* for i in range(n):
|
|
5540
5540
|
* counts = np.bincount(group_ids[i][valid[i]]) # <<<<<<<<<<<<<<
|
|
@@ -5542,16 +5542,16 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5542
5542
|
* group_durations[i, :len(counts)] = counts
|
|
5543
5543
|
*/
|
|
5544
5544
|
__pyx_t_12 = NULL;
|
|
5545
|
-
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5545
|
+
__Pyx_GetModuleGlobalName(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5546
5546
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5547
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_t_8, __pyx_mstate_global->__pyx_n_u_bincount); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5547
|
+
__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)
|
|
5548
5548
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5549
5549
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5550
|
-
__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,
|
|
5550
|
+
__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)
|
|
5551
5551
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5552
|
-
__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,
|
|
5552
|
+
__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)
|
|
5553
5553
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5554
|
-
__pyx_t_14 = __Pyx_PyObject_GetItem(__pyx_t_8, __pyx_t_4); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5554
|
+
__pyx_t_14 = __Pyx_PyObject_GetItem(__pyx_t_8, __pyx_t_4); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5555
5555
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5556
5556
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5557
5557
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
@@ -5573,38 +5573,38 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5573
5573
|
__Pyx_XDECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5574
5574
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5575
5575
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5576
|
-
if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5576
|
+
if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 32, __pyx_L1_error)
|
|
5577
5577
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5578
5578
|
}
|
|
5579
5579
|
__Pyx_XDECREF_SET(__pyx_v_counts, __pyx_t_1);
|
|
5580
5580
|
__pyx_t_1 = 0;
|
|
5581
5581
|
|
|
5582
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5582
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":33
|
|
5583
5583
|
* for i in range(n):
|
|
5584
5584
|
* counts = np.bincount(group_ids[i][valid[i]])
|
|
5585
5585
|
* counts = counts[1:] if counts.size > 0 else np.array([], dtype=int) # <<<<<<<<<<<<<<
|
|
5586
5586
|
* group_durations[i, :len(counts)] = counts
|
|
5587
5587
|
*
|
|
5588
5588
|
*/
|
|
5589
|
-
__pyx_t_7 = __Pyx_PyObject_GetAttrStr(__pyx_v_counts, __pyx_mstate_global->__pyx_n_u_size); if (unlikely(!__pyx_t_7)) __PYX_ERR(0,
|
|
5589
|
+
__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)
|
|
5590
5590
|
__Pyx_GOTREF(__pyx_t_7);
|
|
5591
|
-
__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,
|
|
5591
|
+
__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)
|
|
5592
5592
|
__Pyx_DECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5593
|
-
__pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_14); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0,
|
|
5593
|
+
__pyx_t_3 = __Pyx_PyObject_IsTrue(__pyx_t_14); if (unlikely((__pyx_t_3 < 0))) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5594
5594
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5595
5595
|
if (__pyx_t_3) {
|
|
5596
|
-
__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,
|
|
5596
|
+
__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)
|
|
5597
5597
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5598
5598
|
__pyx_t_1 = __pyx_t_14;
|
|
5599
5599
|
__pyx_t_14 = 0;
|
|
5600
5600
|
} else {
|
|
5601
5601
|
__pyx_t_7 = NULL;
|
|
5602
|
-
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5602
|
+
__Pyx_GetModuleGlobalName(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_np); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5603
5603
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5604
|
-
__pyx_t_4 = __Pyx_PyObject_GetAttrStr(__pyx_t_12, __pyx_mstate_global->__pyx_n_u_array); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5604
|
+
__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)
|
|
5605
5605
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5606
5606
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5607
|
-
__pyx_t_12 = PyList_New(0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0,
|
|
5607
|
+
__pyx_t_12 = PyList_New(0); if (unlikely(!__pyx_t_12)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5608
5608
|
__Pyx_GOTREF(__pyx_t_12);
|
|
5609
5609
|
__pyx_t_6 = 1;
|
|
5610
5610
|
#if CYTHON_UNPACK_METHODS
|
|
@@ -5620,15 +5620,15 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5620
5620
|
#endif
|
|
5621
5621
|
{
|
|
5622
5622
|
PyObject *__pyx_callargs[2 + ((CYTHON_VECTORCALL) ? 1 : 0)] = {__pyx_t_7, __pyx_t_12};
|
|
5623
|
-
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0,
|
|
5623
|
+
__pyx_t_8 = __Pyx_MakeVectorcallBuilderKwds(1); if (unlikely(!__pyx_t_8)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5624
5624
|
__Pyx_GOTREF(__pyx_t_8);
|
|
5625
|
-
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,
|
|
5625
|
+
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)
|
|
5626
5626
|
__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);
|
|
5627
5627
|
__Pyx_XDECREF(__pyx_t_7); __pyx_t_7 = 0;
|
|
5628
5628
|
__Pyx_DECREF(__pyx_t_12); __pyx_t_12 = 0;
|
|
5629
5629
|
__Pyx_DECREF(__pyx_t_8); __pyx_t_8 = 0;
|
|
5630
5630
|
__Pyx_DECREF(__pyx_t_4); __pyx_t_4 = 0;
|
|
5631
|
-
if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5631
|
+
if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 33, __pyx_L1_error)
|
|
5632
5632
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5633
5633
|
}
|
|
5634
5634
|
__pyx_t_1 = __pyx_t_14;
|
|
@@ -5637,34 +5637,34 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5637
5637
|
__Pyx_DECREF_SET(__pyx_v_counts, __pyx_t_1);
|
|
5638
5638
|
__pyx_t_1 = 0;
|
|
5639
5639
|
|
|
5640
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5640
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":34
|
|
5641
5641
|
* counts = np.bincount(group_ids[i][valid[i]])
|
|
5642
5642
|
* counts = counts[1:] if counts.size > 0 else np.array([], dtype=int)
|
|
5643
5643
|
* group_durations[i, :len(counts)] = counts # <<<<<<<<<<<<<<
|
|
5644
5644
|
*
|
|
5645
5645
|
* return group_durations
|
|
5646
5646
|
*/
|
|
5647
|
-
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_i); if (unlikely(!__pyx_t_1)) __PYX_ERR(0,
|
|
5647
|
+
__pyx_t_1 = __Pyx_PyLong_From_int(__pyx_v_i); if (unlikely(!__pyx_t_1)) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5648
5648
|
__Pyx_GOTREF(__pyx_t_1);
|
|
5649
|
-
__pyx_t_15 = PyObject_Length(__pyx_v_counts); if (unlikely(__pyx_t_15 == ((Py_ssize_t)-1))) __PYX_ERR(0,
|
|
5650
|
-
__pyx_t_14 = PyLong_FromSsize_t(__pyx_t_15); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5649
|
+
__pyx_t_15 = PyObject_Length(__pyx_v_counts); if (unlikely(__pyx_t_15 == ((Py_ssize_t)-1))) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5650
|
+
__pyx_t_14 = PyLong_FromSsize_t(__pyx_t_15); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5651
5651
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5652
|
-
__pyx_t_4 = PySlice_New(Py_None, __pyx_t_14, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(0,
|
|
5652
|
+
__pyx_t_4 = PySlice_New(Py_None, __pyx_t_14, Py_None); if (unlikely(!__pyx_t_4)) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5653
5653
|
__Pyx_GOTREF(__pyx_t_4);
|
|
5654
5654
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5655
|
-
__pyx_t_14 = PyTuple_New(2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0,
|
|
5655
|
+
__pyx_t_14 = PyTuple_New(2); if (unlikely(!__pyx_t_14)) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5656
5656
|
__Pyx_GOTREF(__pyx_t_14);
|
|
5657
5657
|
__Pyx_GIVEREF(__pyx_t_1);
|
|
5658
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_1) != (0)) __PYX_ERR(0,
|
|
5658
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 0, __pyx_t_1) != (0)) __PYX_ERR(0, 34, __pyx_L1_error);
|
|
5659
5659
|
__Pyx_GIVEREF(__pyx_t_4);
|
|
5660
|
-
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_t_4) != (0)) __PYX_ERR(0,
|
|
5660
|
+
if (__Pyx_PyTuple_SET_ITEM(__pyx_t_14, 1, __pyx_t_4) != (0)) __PYX_ERR(0, 34, __pyx_L1_error);
|
|
5661
5661
|
__pyx_t_1 = 0;
|
|
5662
5662
|
__pyx_t_4 = 0;
|
|
5663
|
-
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_group_durations), __pyx_t_14, __pyx_v_counts) < 0))) __PYX_ERR(0,
|
|
5663
|
+
if (unlikely((PyObject_SetItem(((PyObject *)__pyx_v_group_durations), __pyx_t_14, __pyx_v_counts) < 0))) __PYX_ERR(0, 34, __pyx_L1_error)
|
|
5664
5664
|
__Pyx_DECREF(__pyx_t_14); __pyx_t_14 = 0;
|
|
5665
5665
|
}
|
|
5666
5666
|
|
|
5667
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5667
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":36
|
|
5668
5668
|
* group_durations[i, :len(counts)] = counts
|
|
5669
5669
|
*
|
|
5670
5670
|
* return group_durations # <<<<<<<<<<<<<<
|
|
@@ -5674,7 +5674,7 @@ static PyObject *__pyx_pf_8sequenzo_22dissimilarity_measures_5utils_6seqdur_seqd
|
|
|
5674
5674
|
__pyx_r = ((PyObject *)__pyx_v_group_durations);
|
|
5675
5675
|
goto __pyx_L0;
|
|
5676
5676
|
|
|
5677
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
5677
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":8
|
|
5678
5678
|
* from libc.stdint cimport int32_t
|
|
5679
5679
|
*
|
|
5680
5680
|
* def seqdur(seqdata): # <<<<<<<<<<<<<<
|
|
@@ -6249,50 +6249,51 @@ __Pyx_RefNannySetupContext("PyInit_seqdur", 0);
|
|
|
6249
6249
|
(void)__Pyx_modinit_function_import_code(__pyx_mstate);
|
|
6250
6250
|
/*--- Execution code ---*/
|
|
6251
6251
|
|
|
6252
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6252
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":2
|
|
6253
|
+
* # cython: np_import_array=True
|
|
6253
6254
|
* import numpy as np # <<<<<<<<<<<<<<
|
|
6254
6255
|
* cimport numpy as cnp
|
|
6255
|
-
*
|
|
6256
|
+
*
|
|
6256
6257
|
*/
|
|
6257
|
-
__pyx_t_2 = __Pyx_ImportDottedModule(__pyx_mstate_global->__pyx_n_u_numpy, NULL); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6258
|
+
__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)
|
|
6258
6259
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6259
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_np, __pyx_t_2) < 0) __PYX_ERR(0,
|
|
6260
|
+
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)
|
|
6260
6261
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6261
6262
|
|
|
6262
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6263
|
-
* import numpy as np
|
|
6263
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":5
|
|
6264
6264
|
* cimport numpy as cnp
|
|
6265
|
+
*
|
|
6265
6266
|
* from sequenzo.define_sequence_data import SequenceData # <<<<<<<<<<<<<<
|
|
6266
6267
|
* from libc.stdint cimport int32_t
|
|
6267
6268
|
*
|
|
6268
6269
|
*/
|
|
6269
|
-
__pyx_t_2 = __Pyx_PyList_Pack(1, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6270
|
+
__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)
|
|
6270
6271
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6271
|
-
__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,
|
|
6272
|
+
__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)
|
|
6272
6273
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6273
6274
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6274
|
-
__pyx_t_2 = __Pyx_ImportFrom(__pyx_t_3, __pyx_mstate_global->__pyx_n_u_SequenceData); if (unlikely(!__pyx_t_2)) __PYX_ERR(0,
|
|
6275
|
+
__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)
|
|
6275
6276
|
__Pyx_GOTREF(__pyx_t_2);
|
|
6276
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_SequenceData, __pyx_t_2) < 0) __PYX_ERR(0,
|
|
6277
|
+
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)
|
|
6277
6278
|
__Pyx_DECREF(__pyx_t_2); __pyx_t_2 = 0;
|
|
6278
6279
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
6279
6280
|
|
|
6280
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6281
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":8
|
|
6281
6282
|
* from libc.stdint cimport int32_t
|
|
6282
6283
|
*
|
|
6283
6284
|
* def seqdur(seqdata): # <<<<<<<<<<<<<<
|
|
6284
6285
|
* if not isinstance(seqdata, SequenceData):
|
|
6285
6286
|
* raise ValueError("data is not a sequence object, see SequenceData to create one")
|
|
6286
6287
|
*/
|
|
6287
|
-
__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,
|
|
6288
|
+
__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)
|
|
6288
6289
|
__Pyx_GOTREF(__pyx_t_3);
|
|
6289
|
-
if (PyDict_SetItem(__pyx_mstate_global->__pyx_d, __pyx_mstate_global->__pyx_n_u_seqdur, __pyx_t_3) < 0) __PYX_ERR(0,
|
|
6290
|
+
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)
|
|
6290
6291
|
__Pyx_DECREF(__pyx_t_3); __pyx_t_3 = 0;
|
|
6291
6292
|
|
|
6292
6293
|
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":1
|
|
6293
|
-
*
|
|
6294
|
+
* # cython: np_import_array=True # <<<<<<<<<<<<<<
|
|
6295
|
+
* import numpy as np
|
|
6294
6296
|
* cimport numpy as cnp
|
|
6295
|
-
* from sequenzo.define_sequence_data import SequenceData
|
|
6296
6297
|
*/
|
|
6297
6298
|
__pyx_t_3 = __Pyx_PyDict_NewPresized(0); if (unlikely(!__pyx_t_3)) __PYX_ERR(0, 1, __pyx_L1_error)
|
|
6298
6299
|
__Pyx_GOTREF(__pyx_t_3);
|
|
@@ -6422,8 +6423,8 @@ static int __Pyx_InitStrings(__Pyx_StringTabEntry const *t, PyObject **target, c
|
|
|
6422
6423
|
|
|
6423
6424
|
static int __Pyx_InitCachedBuiltins(__pyx_mstatetype *__pyx_mstate) {
|
|
6424
6425
|
CYTHON_UNUSED_VAR(__pyx_mstate);
|
|
6425
|
-
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0,
|
|
6426
|
-
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_range); if (!__pyx_builtin_range) __PYX_ERR(0,
|
|
6426
|
+
__pyx_builtin_ValueError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ValueError); if (!__pyx_builtin_ValueError) __PYX_ERR(0, 10, __pyx_L1_error)
|
|
6427
|
+
__pyx_builtin_range = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_range); if (!__pyx_builtin_range) __PYX_ERR(0, 19, __pyx_L1_error)
|
|
6427
6428
|
__pyx_builtin_ImportError = __Pyx_GetBuiltinName(__pyx_mstate->__pyx_n_u_ImportError); if (!__pyx_builtin_ImportError) __PYX_ERR(1, 1026, __pyx_L1_error)
|
|
6428
6429
|
return 0;
|
|
6429
6430
|
__pyx_L1_error:;
|
|
@@ -6436,34 +6437,34 @@ static int __Pyx_InitCachedConstants(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6436
6437
|
CYTHON_UNUSED_VAR(__pyx_mstate);
|
|
6437
6438
|
__Pyx_RefNannySetupContext("__Pyx_InitCachedConstants", 0);
|
|
6438
6439
|
|
|
6439
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6440
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":20
|
|
6440
6441
|
*
|
|
6441
6442
|
* for j in range(1, m):
|
|
6442
6443
|
* ffill[:, j] = np.where(seqdatanum[:, j] < 0, ffill[:, j - 1], seqdatanum[:, j]) # <<<<<<<<<<<<<<
|
|
6443
6444
|
*
|
|
6444
6445
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate(
|
|
6445
6446
|
*/
|
|
6446
|
-
__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,
|
|
6447
|
+
__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)
|
|
6447
6448
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
6448
6449
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[0]);
|
|
6449
6450
|
|
|
6450
|
-
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":
|
|
6451
|
+
/* "sequenzo/dissimilarity_measures/utils/seqdur.pyx":23
|
|
6451
6452
|
*
|
|
6452
6453
|
* cdef cnp.ndarray[char, ndim=2] boundaries = np.concatenate(
|
|
6453
6454
|
* [np.ones((n, 1), dtype=bool), ffill[:, 1:] != ffill[:, :-1]], axis=1 # <<<<<<<<<<<<<<
|
|
6454
6455
|
* )
|
|
6455
6456
|
*
|
|
6456
6457
|
*/
|
|
6457
|
-
__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,
|
|
6458
|
+
__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)
|
|
6458
6459
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[1]);
|
|
6459
6460
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[1]);
|
|
6460
|
-
__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,
|
|
6461
|
+
__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)
|
|
6461
6462
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[0]);
|
|
6462
6463
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[0]);
|
|
6463
|
-
__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,
|
|
6464
|
+
__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)
|
|
6464
6465
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_slice[2]);
|
|
6465
6466
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_slice[2]);
|
|
6466
|
-
__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,
|
|
6467
|
+
__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)
|
|
6467
6468
|
__Pyx_GOTREF(__pyx_mstate_global->__pyx_tuple[1]);
|
|
6468
6469
|
__Pyx_GIVEREF(__pyx_mstate_global->__pyx_tuple[1]);
|
|
6469
6470
|
__Pyx_RefNannyFinishContext();
|
|
@@ -6494,7 +6495,7 @@ static int __Pyx_InitConstants(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6494
6495
|
unsigned int num_kwonly_args : 1;
|
|
6495
6496
|
unsigned int nlocals : 4;
|
|
6496
6497
|
unsigned int flags : 10;
|
|
6497
|
-
unsigned int first_line :
|
|
6498
|
+
unsigned int first_line : 4;
|
|
6498
6499
|
unsigned int line_table_length : 13;
|
|
6499
6500
|
} __Pyx_PyCode_New_function_description;
|
|
6500
6501
|
/* NewCodeObj.proto */
|
|
@@ -6512,7 +6513,7 @@ static int __Pyx_CreateCodeObjects(__pyx_mstatetype *__pyx_mstate) {
|
|
|
6512
6513
|
PyObject* tuple_dedup_map = PyDict_New();
|
|
6513
6514
|
if (unlikely(!tuple_dedup_map)) return -1;
|
|
6514
6515
|
{
|
|
6515
|
-
const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 12, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS),
|
|
6516
|
+
const __Pyx_PyCode_New_function_description descr = {1, 0, 0, 12, (unsigned int)(CO_OPTIMIZED|CO_NEWLOCALS), 8, 325};
|
|
6516
6517
|
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};
|
|
6517
6518
|
__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;
|
|
6518
6519
|
}
|