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