From 5da4cf6a39e739f88662e8f9c3ff1a82978d7019 Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Mon, 20 Sep 2021 23:25:57 -0400 Subject: [PATCH] Updated documentation --- docs/source/scripts.rst | 16 ++ docs/source/usage.rst | 32 +-- setup.cfg | 11 +- squish/scripts/simulate.py | 7 +- ...energy_comparison.py => width_diagrams.py} | 6 +- squish/simulation.py | 4 +- src/_squish.c | 196 +++++++++--------- 7 files changed, 130 insertions(+), 142 deletions(-) create mode 100644 docs/source/scripts.rst rename squish/scripts/{shrink_energy_comparison.py => width_diagrams.py} (98%) diff --git a/docs/source/scripts.rst b/docs/source/scripts.rst new file mode 100644 index 0000000..71daf8f --- /dev/null +++ b/docs/source/scripts.rst @@ -0,0 +1,16 @@ +.. _Simulate: + +.. _Width Diagrams: + +Width Diagrams +============== + +This script compiles the simulation results into their relevant diagrams. Specifically, given *Search* simulation files at desired widths, it will compile the data and output the diagrams. + +To run it, you need only provide the folder of *Search* simulations: + +.. code-block:: bash + + (.venv) /path/to/squish: width_diagrams /path/to/my/searches + +Then, it will process and generate diagrams in the `figures` folder. \ No newline at end of file diff --git a/docs/source/usage.rst b/docs/source/usage.rst index e970f53..c6e4e9c 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -1,24 +1,17 @@ Usage ***** -If using the library is all that is needed, then a few scripts are provided to easily access the main functionalities, without needing to write code at all! Otherwise, there are further examples here. - -These scripts are simple simple command line utilities. Currently, the following are available: - -- :ref:`Simulate` -- :ref:`Width Diagrams` +If all you need is to run the simulation, then you need not write at code. You can simply use the command line tool provided tool for you, ``squish``! Of course, it's also possible to use the library to do whatever you may need. .. note:: **Squish** will automatically create a ``figures`` and ``simulations`` folder in the directory you run it from. -.. _Simulate: +Squish Utility +============== -Simulate -======== - -This script outputs simulation results given the input parameters. There are many input parameters, so it's necessary to create a config ``.json`` file. +The command line utility ``squish`` outputs simulation results given the input parameters. There are many input parameters, so it's necessary to create a config ``.json`` file. Configuration @@ -176,21 +169,6 @@ With the config to run and saved, you can run .. code-block:: bash - (.venv) /path/to/squish: simulate my_test_sim.json + (.venv): squish my_test_sim.json -.. _Width Diagrams: - -Width Diagrams -============== - -This script compiles the simulation results into their relevant diagrams. Specifically, given *Search* simulation files at desired widths, it will compile the data and output the diagrams. - -To run it, you need only provide the folder of *Search* simulations: - -.. code-block:: bash - - (.venv) /path/to/squish: width_diagrams /path/to/my/searches - -Then, it will process and generate diagrams in the `figures` folder. - diff --git a/setup.cfg b/setup.cfg index b5b910f..eb32294 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,19 +18,14 @@ classifiers = [options] zip_safe = False -package_dir = - = squish -packages = find: +packages = squish python_requires = >= 3.8 install_requires = numpy == 1.21.2 scipy == 1.7.1 matplotlib == 3.4.3 -[options.packages.find] -where = squish - [options.entry_points] console_scripts = - simulate = squish.scripts.simulate:main - shrink_energy_comparison = squish.scripts.shrink_energy_comparison:main \ No newline at end of file + simulate = squish.scripts.simulate:pre + width_diagrams = squish.scripts.width_diagrams:pre \ No newline at end of file diff --git a/squish/scripts/simulate.py b/squish/scripts/simulate.py index 97dca36..eb949f3 100644 --- a/squish/scripts/simulate.py +++ b/squish/scripts/simulate.py @@ -3,9 +3,9 @@ from typing import Dict import argparse, json, numpy as np, os from shutil import which from pathlib import Path -from simulation import Diagram, Flow, Search, Shrink -from _squish import RadialTEnergy +from ..simulation import Diagram, Flow, Search, Shrink +from .._squish import RadialTEnergy dia_presets = { "animate": [["voronoi"]], @@ -151,8 +151,7 @@ def config_sim(args): def loaded_sim(args): pass - -if __name__ == '__main__': +def pre(): os.environ["QT_LOGGING_RULES"] = "*=false" try: main() diff --git a/squish/scripts/shrink_energy_comparison.py b/squish/scripts/width_diagrams.py similarity index 98% rename from squish/scripts/shrink_energy_comparison.py rename to squish/scripts/width_diagrams.py index 0380090..0d66969 100644 --- a/squish/scripts/shrink_energy_comparison.py +++ b/squish/scripts/width_diagrams.py @@ -5,8 +5,8 @@ import matplotlib.pyplot as plt import matplotlib.ticker as mtick from pathlib import Path -from simulation import Diagram, Simulation -from _squish import AreaEnergy, RadialALEnergy, RadialTEnergy +from ..simulation import Diagram, Simulation +from .._squish import AreaEnergy, RadialALEnergy, RadialTEnergy ENERGY_R_STR = {AreaEnergy: "Area", RadialALEnergy: "Radial[AL]", RadialTEnergy: "Radial[T]"} ENERGY_I_STR = {AreaEnergy: "area", RadialALEnergy: "radial-al", RadialTEnergy: "radial-t"} @@ -243,7 +243,7 @@ def main(): print(f"Wrote to {fig_folder}.") -if __name__ == "__main__": +def pre(): os.environ["QT_LOGGING_RULES"] = "*=false" SIM_FOLDER = Path(f"simulations/ShrinkEnergyComparison") SIM_FOLDER.mkdir(exist_ok=True) diff --git a/squish/simulation.py b/squish/simulation.py index 985be47..03e82ce 100644 --- a/squish/simulation.py +++ b/squish/simulation.py @@ -4,10 +4,10 @@ from typing import Tuple, List import matplotlib.pyplot as plt from matplotlib.ticker import MaxNLocator, FormatStrFormatter import os, math, random, time, pickle, scipy, numpy as np - -from packsim_core import VoronoiContainer, AreaEnergy, RadialALEnergy, RadialTEnergy from timeit import default_timer as timer +from _squish import VoronoiContainer, AreaEnergy, RadialALEnergy, RadialTEnergy + INT = np.int64 FLOAT = np.float64 diff --git a/src/_squish.c b/src/_squish.c index b1e65f6..7694a84 100644 --- a/src/_squish.c +++ b/src/_squish.c @@ -999,7 +999,7 @@ typedef volatile __pyx_atomic_int_type __pyx_atomic_int; #endif -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":690 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":690 * # in Cython to enable them only on the right systems. * * ctypedef npy_int8 int8_t # <<<<<<<<<<<<<< @@ -1008,7 +1008,7 @@ typedef volatile __pyx_atomic_int_type __pyx_atomic_int; */ typedef npy_int8 __pyx_t_5numpy_int8_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":691 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":691 * * ctypedef npy_int8 int8_t * ctypedef npy_int16 int16_t # <<<<<<<<<<<<<< @@ -1017,7 +1017,7 @@ typedef npy_int8 __pyx_t_5numpy_int8_t; */ typedef npy_int16 __pyx_t_5numpy_int16_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":692 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":692 * ctypedef npy_int8 int8_t * ctypedef npy_int16 int16_t * ctypedef npy_int32 int32_t # <<<<<<<<<<<<<< @@ -1026,7 +1026,7 @@ typedef npy_int16 __pyx_t_5numpy_int16_t; */ typedef npy_int32 __pyx_t_5numpy_int32_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":693 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":693 * ctypedef npy_int16 int16_t * ctypedef npy_int32 int32_t * ctypedef npy_int64 int64_t # <<<<<<<<<<<<<< @@ -1035,7 +1035,7 @@ typedef npy_int32 __pyx_t_5numpy_int32_t; */ typedef npy_int64 __pyx_t_5numpy_int64_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":697 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":697 * #ctypedef npy_int128 int128_t * * ctypedef npy_uint8 uint8_t # <<<<<<<<<<<<<< @@ -1044,7 +1044,7 @@ typedef npy_int64 __pyx_t_5numpy_int64_t; */ typedef npy_uint8 __pyx_t_5numpy_uint8_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":698 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":698 * * ctypedef npy_uint8 uint8_t * ctypedef npy_uint16 uint16_t # <<<<<<<<<<<<<< @@ -1053,7 +1053,7 @@ typedef npy_uint8 __pyx_t_5numpy_uint8_t; */ typedef npy_uint16 __pyx_t_5numpy_uint16_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":699 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":699 * ctypedef npy_uint8 uint8_t * ctypedef npy_uint16 uint16_t * ctypedef npy_uint32 uint32_t # <<<<<<<<<<<<<< @@ -1062,7 +1062,7 @@ typedef npy_uint16 __pyx_t_5numpy_uint16_t; */ typedef npy_uint32 __pyx_t_5numpy_uint32_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":700 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":700 * ctypedef npy_uint16 uint16_t * ctypedef npy_uint32 uint32_t * ctypedef npy_uint64 uint64_t # <<<<<<<<<<<<<< @@ -1071,7 +1071,7 @@ typedef npy_uint32 __pyx_t_5numpy_uint32_t; */ typedef npy_uint64 __pyx_t_5numpy_uint64_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":704 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":704 * #ctypedef npy_uint128 uint128_t * * ctypedef npy_float32 float32_t # <<<<<<<<<<<<<< @@ -1080,7 +1080,7 @@ typedef npy_uint64 __pyx_t_5numpy_uint64_t; */ typedef npy_float32 __pyx_t_5numpy_float32_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":705 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":705 * * ctypedef npy_float32 float32_t * ctypedef npy_float64 float64_t # <<<<<<<<<<<<<< @@ -1089,7 +1089,7 @@ typedef npy_float32 __pyx_t_5numpy_float32_t; */ typedef npy_float64 __pyx_t_5numpy_float64_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":714 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":714 * # The int types are mapped a bit surprising -- * # numpy.int corresponds to 'l' and numpy.long to 'q' * ctypedef npy_long int_t # <<<<<<<<<<<<<< @@ -1098,7 +1098,7 @@ typedef npy_float64 __pyx_t_5numpy_float64_t; */ typedef npy_long __pyx_t_5numpy_int_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":715 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":715 * # numpy.int corresponds to 'l' and numpy.long to 'q' * ctypedef npy_long int_t * ctypedef npy_longlong long_t # <<<<<<<<<<<<<< @@ -1107,7 +1107,7 @@ typedef npy_long __pyx_t_5numpy_int_t; */ typedef npy_longlong __pyx_t_5numpy_long_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":716 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":716 * ctypedef npy_long int_t * ctypedef npy_longlong long_t * ctypedef npy_longlong longlong_t # <<<<<<<<<<<<<< @@ -1116,7 +1116,7 @@ typedef npy_longlong __pyx_t_5numpy_long_t; */ typedef npy_longlong __pyx_t_5numpy_longlong_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":718 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":718 * ctypedef npy_longlong longlong_t * * ctypedef npy_ulong uint_t # <<<<<<<<<<<<<< @@ -1125,7 +1125,7 @@ typedef npy_longlong __pyx_t_5numpy_longlong_t; */ typedef npy_ulong __pyx_t_5numpy_uint_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":719 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":719 * * ctypedef npy_ulong uint_t * ctypedef npy_ulonglong ulong_t # <<<<<<<<<<<<<< @@ -1134,7 +1134,7 @@ typedef npy_ulong __pyx_t_5numpy_uint_t; */ typedef npy_ulonglong __pyx_t_5numpy_ulong_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":720 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":720 * ctypedef npy_ulong uint_t * ctypedef npy_ulonglong ulong_t * ctypedef npy_ulonglong ulonglong_t # <<<<<<<<<<<<<< @@ -1143,7 +1143,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulong_t; */ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":722 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":722 * ctypedef npy_ulonglong ulonglong_t * * ctypedef npy_intp intp_t # <<<<<<<<<<<<<< @@ -1152,7 +1152,7 @@ typedef npy_ulonglong __pyx_t_5numpy_ulonglong_t; */ typedef npy_intp __pyx_t_5numpy_intp_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":723 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":723 * * ctypedef npy_intp intp_t * ctypedef npy_uintp uintp_t # <<<<<<<<<<<<<< @@ -1161,7 +1161,7 @@ typedef npy_intp __pyx_t_5numpy_intp_t; */ typedef npy_uintp __pyx_t_5numpy_uintp_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":725 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":725 * ctypedef npy_uintp uintp_t * * ctypedef npy_double float_t # <<<<<<<<<<<<<< @@ -1170,7 +1170,7 @@ typedef npy_uintp __pyx_t_5numpy_uintp_t; */ typedef npy_double __pyx_t_5numpy_float_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":726 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":726 * * ctypedef npy_double float_t * ctypedef npy_double double_t # <<<<<<<<<<<<<< @@ -1179,7 +1179,7 @@ typedef npy_double __pyx_t_5numpy_float_t; */ typedef npy_double __pyx_t_5numpy_double_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":727 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":727 * ctypedef npy_double float_t * ctypedef npy_double double_t * ctypedef npy_longdouble longdouble_t # <<<<<<<<<<<<<< @@ -1245,7 +1245,7 @@ struct __pyx_MemviewEnum_obj; struct __pyx_memoryview_obj; struct __pyx_memoryviewslice_obj; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":729 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":729 * ctypedef npy_longdouble longdouble_t * * ctypedef npy_cfloat cfloat_t # <<<<<<<<<<<<<< @@ -1254,7 +1254,7 @@ struct __pyx_memoryviewslice_obj; */ typedef npy_cfloat __pyx_t_5numpy_cfloat_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":730 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":730 * * ctypedef npy_cfloat cfloat_t * ctypedef npy_cdouble cdouble_t # <<<<<<<<<<<<<< @@ -1263,7 +1263,7 @@ typedef npy_cfloat __pyx_t_5numpy_cfloat_t; */ typedef npy_cdouble __pyx_t_5numpy_cdouble_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":731 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":731 * ctypedef npy_cfloat cfloat_t * ctypedef npy_cdouble cdouble_t * ctypedef npy_clongdouble clongdouble_t # <<<<<<<<<<<<<< @@ -1272,7 +1272,7 @@ typedef npy_cdouble __pyx_t_5numpy_cdouble_t; */ typedef npy_clongdouble __pyx_t_5numpy_clongdouble_t; -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":733 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":733 * ctypedef npy_clongdouble clongdouble_t * * ctypedef npy_cdouble complex_t # <<<<<<<<<<<<<< @@ -19708,7 +19708,7 @@ static PyObject *__pyx_f_7_squish___pyx_unpickle_Calc__set_state(struct __pyx_ob return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":735 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":735 * ctypedef npy_cdouble complex_t * * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<< @@ -19725,7 +19725,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew1", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":736 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":736 * * cdef inline object PyArray_MultiIterNew1(a): * return PyArray_MultiIterNew(1, a) # <<<<<<<<<<<<<< @@ -19739,7 +19739,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__ __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":735 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":735 * ctypedef npy_cdouble complex_t * * cdef inline object PyArray_MultiIterNew1(a): # <<<<<<<<<<<<<< @@ -19758,7 +19758,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew1(PyObject *__ return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":738 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":738 * return PyArray_MultiIterNew(1, a) * * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<< @@ -19775,7 +19775,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew2", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":739 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":739 * * cdef inline object PyArray_MultiIterNew2(a, b): * return PyArray_MultiIterNew(2, a, b) # <<<<<<<<<<<<<< @@ -19789,7 +19789,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__ __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":738 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":738 * return PyArray_MultiIterNew(1, a) * * cdef inline object PyArray_MultiIterNew2(a, b): # <<<<<<<<<<<<<< @@ -19808,7 +19808,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew2(PyObject *__ return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":741 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":741 * return PyArray_MultiIterNew(2, a, b) * * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<< @@ -19825,7 +19825,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew3", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":742 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":742 * * cdef inline object PyArray_MultiIterNew3(a, b, c): * return PyArray_MultiIterNew(3, a, b, c) # <<<<<<<<<<<<<< @@ -19839,7 +19839,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__ __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":741 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":741 * return PyArray_MultiIterNew(2, a, b) * * cdef inline object PyArray_MultiIterNew3(a, b, c): # <<<<<<<<<<<<<< @@ -19858,7 +19858,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew3(PyObject *__ return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":744 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":744 * return PyArray_MultiIterNew(3, a, b, c) * * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<< @@ -19875,7 +19875,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew4", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":745 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":745 * * cdef inline object PyArray_MultiIterNew4(a, b, c, d): * return PyArray_MultiIterNew(4, a, b, c, d) # <<<<<<<<<<<<<< @@ -19889,7 +19889,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__ __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":744 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":744 * return PyArray_MultiIterNew(3, a, b, c) * * cdef inline object PyArray_MultiIterNew4(a, b, c, d): # <<<<<<<<<<<<<< @@ -19908,7 +19908,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew4(PyObject *__ return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":747 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":747 * return PyArray_MultiIterNew(4, a, b, c, d) * * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<< @@ -19925,7 +19925,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__ int __pyx_clineno = 0; __Pyx_RefNannySetupContext("PyArray_MultiIterNew5", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":748 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":748 * * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): * return PyArray_MultiIterNew(5, a, b, c, d, e) # <<<<<<<<<<<<<< @@ -19939,7 +19939,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__ __pyx_t_1 = 0; goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":747 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":747 * return PyArray_MultiIterNew(4, a, b, c, d) * * cdef inline object PyArray_MultiIterNew5(a, b, c, d, e): # <<<<<<<<<<<<<< @@ -19958,7 +19958,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyArray_MultiIterNew5(PyObject *__ return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":750 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":750 * return PyArray_MultiIterNew(5, a, b, c, d, e) * * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<< @@ -19972,7 +19972,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ int __pyx_t_1; __Pyx_RefNannySetupContext("PyDataType_SHAPE", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":751 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":751 * * cdef inline tuple PyDataType_SHAPE(dtype d): * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<< @@ -19982,7 +19982,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ __pyx_t_1 = (PyDataType_HASSUBARRAY(__pyx_v_d) != 0); if (__pyx_t_1) { - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":752 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":752 * cdef inline tuple PyDataType_SHAPE(dtype d): * if PyDataType_HASSUBARRAY(d): * return d.subarray.shape # <<<<<<<<<<<<<< @@ -19994,7 +19994,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ __pyx_r = ((PyObject*)__pyx_v_d->subarray->shape); goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":751 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":751 * * cdef inline tuple PyDataType_SHAPE(dtype d): * if PyDataType_HASSUBARRAY(d): # <<<<<<<<<<<<<< @@ -20003,7 +20003,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ */ } - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":754 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":754 * return d.subarray.shape * else: * return () # <<<<<<<<<<<<<< @@ -20017,7 +20017,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ goto __pyx_L0; } - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":750 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":750 * return PyArray_MultiIterNew(5, a, b, c, d, e) * * cdef inline tuple PyDataType_SHAPE(dtype d): # <<<<<<<<<<<<<< @@ -20032,7 +20032,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_PyDataType_SHAPE(PyArray_Descr *__ return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":929 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":929 * int _import_umath() except -1 * * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<< @@ -20044,7 +20044,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("set_array_base", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":930 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":930 * * cdef inline void set_array_base(ndarray arr, object base): * Py_INCREF(base) # important to do this before stealing the reference below! # <<<<<<<<<<<<<< @@ -20053,7 +20053,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a */ Py_INCREF(__pyx_v_base); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":931 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":931 * cdef inline void set_array_base(ndarray arr, object base): * Py_INCREF(base) # important to do this before stealing the reference below! * PyArray_SetBaseObject(arr, base) # <<<<<<<<<<<<<< @@ -20062,7 +20062,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a */ (void)(PyArray_SetBaseObject(__pyx_v_arr, __pyx_v_base)); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":929 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":929 * int _import_umath() except -1 * * cdef inline void set_array_base(ndarray arr, object base): # <<<<<<<<<<<<<< @@ -20074,7 +20074,7 @@ static CYTHON_INLINE void __pyx_f_5numpy_set_array_base(PyArrayObject *__pyx_v_a __Pyx_RefNannyFinishContext(); } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":933 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":933 * PyArray_SetBaseObject(arr, base) * * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<< @@ -20089,7 +20089,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py int __pyx_t_1; __Pyx_RefNannySetupContext("get_array_base", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":934 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":934 * * cdef inline object get_array_base(ndarray arr): * base = PyArray_BASE(arr) # <<<<<<<<<<<<<< @@ -20098,7 +20098,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py */ __pyx_v_base = PyArray_BASE(__pyx_v_arr); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":935 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":935 * cdef inline object get_array_base(ndarray arr): * base = PyArray_BASE(arr) * if base is NULL: # <<<<<<<<<<<<<< @@ -20108,7 +20108,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py __pyx_t_1 = ((__pyx_v_base == NULL) != 0); if (__pyx_t_1) { - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":936 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":936 * base = PyArray_BASE(arr) * if base is NULL: * return None # <<<<<<<<<<<<<< @@ -20119,7 +20119,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py __pyx_r = Py_None; __Pyx_INCREF(Py_None); goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":935 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":935 * cdef inline object get_array_base(ndarray arr): * base = PyArray_BASE(arr) * if base is NULL: # <<<<<<<<<<<<<< @@ -20128,7 +20128,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py */ } - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":937 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":937 * if base is NULL: * return None * return base # <<<<<<<<<<<<<< @@ -20140,7 +20140,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py __pyx_r = ((PyObject *)__pyx_v_base); goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":933 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":933 * PyArray_SetBaseObject(arr, base) * * cdef inline object get_array_base(ndarray arr): # <<<<<<<<<<<<<< @@ -20155,7 +20155,7 @@ static CYTHON_INLINE PyObject *__pyx_f_5numpy_get_array_base(PyArrayObject *__py return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":941 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":941 * # Versions of the import_* functions which are more suitable for * # Cython code. * cdef inline int import_array() except -1: # <<<<<<<<<<<<<< @@ -20179,7 +20179,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("import_array", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":942 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":942 * # Cython code. * cdef inline int import_array() except -1: * try: # <<<<<<<<<<<<<< @@ -20195,7 +20195,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":943 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":943 * cdef inline int import_array() except -1: * try: * __pyx_import_array() # <<<<<<<<<<<<<< @@ -20204,7 +20204,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { */ __pyx_t_4 = _import_array(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(5, 943, __pyx_L3_error) - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":942 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":942 * # Cython code. * cdef inline int import_array() except -1: * try: # <<<<<<<<<<<<<< @@ -20218,7 +20218,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { goto __pyx_L8_try_end; __pyx_L3_error:; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":944 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":944 * try: * __pyx_import_array() * except Exception: # <<<<<<<<<<<<<< @@ -20233,7 +20233,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { __Pyx_GOTREF(__pyx_t_6); __Pyx_GOTREF(__pyx_t_7); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":945 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":945 * __pyx_import_array() * except Exception: * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<< @@ -20249,7 +20249,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { goto __pyx_L5_except_error; __pyx_L5_except_error:; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":942 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":942 * # Cython code. * cdef inline int import_array() except -1: * try: # <<<<<<<<<<<<<< @@ -20264,7 +20264,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { __pyx_L8_try_end:; } - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":941 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":941 * # Versions of the import_* functions which are more suitable for * # Cython code. * cdef inline int import_array() except -1: # <<<<<<<<<<<<<< @@ -20287,7 +20287,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_array(void) { return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":947 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":947 * raise ImportError("numpy.core.multiarray failed to import") * * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<< @@ -20311,7 +20311,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("import_umath", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":948 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":948 * * cdef inline int import_umath() except -1: * try: # <<<<<<<<<<<<<< @@ -20327,7 +20327,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":949 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":949 * cdef inline int import_umath() except -1: * try: * _import_umath() # <<<<<<<<<<<<<< @@ -20336,7 +20336,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { */ __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(5, 949, __pyx_L3_error) - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":948 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":948 * * cdef inline int import_umath() except -1: * try: # <<<<<<<<<<<<<< @@ -20350,7 +20350,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { goto __pyx_L8_try_end; __pyx_L3_error:; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":950 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":950 * try: * _import_umath() * except Exception: # <<<<<<<<<<<<<< @@ -20365,7 +20365,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { __Pyx_GOTREF(__pyx_t_6); __Pyx_GOTREF(__pyx_t_7); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":951 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":951 * _import_umath() * except Exception: * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<< @@ -20381,7 +20381,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { goto __pyx_L5_except_error; __pyx_L5_except_error:; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":948 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":948 * * cdef inline int import_umath() except -1: * try: # <<<<<<<<<<<<<< @@ -20396,7 +20396,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { __pyx_L8_try_end:; } - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":947 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":947 * raise ImportError("numpy.core.multiarray failed to import") * * cdef inline int import_umath() except -1: # <<<<<<<<<<<<<< @@ -20419,7 +20419,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_umath(void) { return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":953 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":953 * raise ImportError("numpy.core.umath failed to import") * * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<< @@ -20443,7 +20443,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { int __pyx_clineno = 0; __Pyx_RefNannySetupContext("import_ufunc", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":954 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":954 * * cdef inline int import_ufunc() except -1: * try: # <<<<<<<<<<<<<< @@ -20459,7 +20459,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { __Pyx_XGOTREF(__pyx_t_3); /*try:*/ { - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":955 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":955 * cdef inline int import_ufunc() except -1: * try: * _import_umath() # <<<<<<<<<<<<<< @@ -20468,7 +20468,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { */ __pyx_t_4 = _import_umath(); if (unlikely(__pyx_t_4 == ((int)-1))) __PYX_ERR(5, 955, __pyx_L3_error) - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":954 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":954 * * cdef inline int import_ufunc() except -1: * try: # <<<<<<<<<<<<<< @@ -20482,7 +20482,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { goto __pyx_L8_try_end; __pyx_L3_error:; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":956 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":956 * try: * _import_umath() * except Exception: # <<<<<<<<<<<<<< @@ -20497,7 +20497,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { __Pyx_GOTREF(__pyx_t_6); __Pyx_GOTREF(__pyx_t_7); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":957 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":957 * _import_umath() * except Exception: * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<< @@ -20513,7 +20513,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { goto __pyx_L5_except_error; __pyx_L5_except_error:; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":954 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":954 * * cdef inline int import_ufunc() except -1: * try: # <<<<<<<<<<<<<< @@ -20528,7 +20528,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { __pyx_L8_try_end:; } - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":953 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":953 * raise ImportError("numpy.core.umath failed to import") * * cdef inline int import_ufunc() except -1: # <<<<<<<<<<<<<< @@ -20551,7 +20551,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_import_ufunc(void) { return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":967 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":967 * * * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<< @@ -20564,7 +20564,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_ __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("is_timedelta64_object", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":979 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":979 * bool * """ * return PyObject_TypeCheck(obj, &PyTimedeltaArrType_Type) # <<<<<<<<<<<<<< @@ -20574,7 +20574,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_ __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyTimedeltaArrType_Type)); goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":967 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":967 * * * cdef inline bint is_timedelta64_object(object obj): # <<<<<<<<<<<<<< @@ -20588,7 +20588,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_timedelta64_object(PyObject *__pyx_v_ return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":982 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":982 * * * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<< @@ -20601,7 +20601,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o __Pyx_RefNannyDeclarations __Pyx_RefNannySetupContext("is_datetime64_object", 0); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":994 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":994 * bool * """ * return PyObject_TypeCheck(obj, &PyDatetimeArrType_Type) # <<<<<<<<<<<<<< @@ -20611,7 +20611,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o __pyx_r = PyObject_TypeCheck(__pyx_v_obj, (&PyDatetimeArrType_Type)); goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":982 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":982 * * * cdef inline bint is_datetime64_object(object obj): # <<<<<<<<<<<<<< @@ -20625,7 +20625,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":997 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":997 * * * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<< @@ -20636,7 +20636,7 @@ static CYTHON_INLINE int __pyx_f_5numpy_is_datetime64_object(PyObject *__pyx_v_o static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject *__pyx_v_obj) { npy_datetime __pyx_r; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1004 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1004 * also needed. That can be found using `get_datetime64_unit`. * """ * return (obj).obval # <<<<<<<<<<<<<< @@ -20646,7 +20646,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject * __pyx_r = ((PyDatetimeScalarObject *)__pyx_v_obj)->obval; goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":997 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":997 * * * cdef inline npy_datetime get_datetime64_value(object obj) nogil: # <<<<<<<<<<<<<< @@ -20659,7 +20659,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject * return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1007 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1007 * * * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<< @@ -20670,7 +20670,7 @@ static CYTHON_INLINE npy_datetime __pyx_f_5numpy_get_datetime64_value(PyObject * static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject *__pyx_v_obj) { npy_timedelta __pyx_r; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1011 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1011 * returns the int64 value underlying scalar numpy timedelta64 object * """ * return (obj).obval # <<<<<<<<<<<<<< @@ -20680,7 +20680,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject __pyx_r = ((PyTimedeltaScalarObject *)__pyx_v_obj)->obval; goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1007 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1007 * * * cdef inline npy_timedelta get_timedelta64_value(object obj) nogil: # <<<<<<<<<<<<<< @@ -20693,7 +20693,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject return __pyx_r; } -/* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1014 +/* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1014 * * * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<< @@ -20704,7 +20704,7 @@ static CYTHON_INLINE npy_timedelta __pyx_f_5numpy_get_timedelta64_value(PyObject static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObject *__pyx_v_obj) { NPY_DATETIMEUNIT __pyx_r; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1018 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1018 * returns the unit part of the dtype for a numpy datetime64 object. * """ * return (obj).obmeta.base # <<<<<<<<<<<<<< @@ -20712,7 +20712,7 @@ static CYTHON_INLINE NPY_DATETIMEUNIT __pyx_f_5numpy_get_datetime64_unit(PyObjec __pyx_r = ((NPY_DATETIMEUNIT)((PyDatetimeScalarObject *)__pyx_v_obj)->obmeta.base); goto __pyx_L0; - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1014 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":1014 * * * cdef inline NPY_DATETIMEUNIT get_datetime64_unit(object obj) nogil: # <<<<<<<<<<<<<< @@ -36262,7 +36262,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { __Pyx_GOTREF(__pyx_tuple__11); __Pyx_GIVEREF(__pyx_tuple__11); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":945 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":945 * __pyx_import_array() * except Exception: * raise ImportError("numpy.core.multiarray failed to import") # <<<<<<<<<<<<<< @@ -36273,7 +36273,7 @@ static CYTHON_SMALL_CODE int __Pyx_InitCachedConstants(void) { __Pyx_GOTREF(__pyx_tuple__12); __Pyx_GIVEREF(__pyx_tuple__12); - /* "../../../../../../../tmp/pip-build-env-vs88fgbu/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":951 + /* "../../../../../../../tmp/pip-build-env-uk8aub_h/overlay/lib/python3.8/site-packages/numpy/__init__.pxd":951 * _import_umath() * except Exception: * raise ImportError("numpy.core.umath failed to import") # <<<<<<<<<<<<<<