Numpydoc : Numpy’s Sphinx extensions

numpydoc — Numpy’s Sphinx extensions This package provides the numpydoc Sphinx extension for handling docstrings formatted according to the NumPy documentation format. The extension also adds the code description directives np:function, np-c:function, etc. numpydoc requires Python 3.5+ and sphinx 1.6.5+. For usage information, please refer to the documentation. The numpydoc docstring guide explains how to write docs formatted for this extension, and the user guide explains how to use it with Sphinx. GitHub https://github.com/numpy/numpydoc    

Read more

A numpy compatible python binary package that offers a number of APIs for fast tSNE calculation

nptsne is a numpy compatible python binary package that offers a number of APIs for fast tSNE calculation and HSNE modelling. For more detail see the documentation for the current release – 1.1.0 Currently python 3.6, 3.7, and 3.8 are supported on Windows, Mac and Linux using cibuildwheel Demo software using nptsne Can be downloaded from Building The requirements.txt and the pyproject.toml contain the list of build requirements. Add the biovault conan remote (for prebuilt packages): conan remote add conan-biovault […]

Read more

Numerical Methods with Python, Numpy and Matplotlib

Numerical Bric-a-Brac Collections of numerical techniques with Python and standard computational packages (Numpy, SciPy, Numba, Matplotlib …). Implicit Solver Folder implicit_solver Description Implicit Solver. Explore code generation of vectorized code for physics solver. Time Integrator : Baraff and Witkin’s Spring / Area / Bending / Collision Constraint Early code generator for vectorized code Path Tracing Folder path_tracing Description Path Tracer with Python and Numba Multithreading with Memory pool per-thread ConvNet Examples of convolution neural network architectures. ConvNet Convolution neural network […]

Read more

Msgpack serialization/deserialization library for Python

ormsgpack ormsgpack is a fast msgpack library for Python. It is a fork/reboot of orjson It serializes faster than msgpack-python and deserializes a bit slower (right now). It supports serialization of: dataclass, datetime, numpy, pydantic and UUID instances natively. Its features and drawbacks compared to other Python msgpack libraries: serializes dataclass instances natively. serializes datetime, date, and time instances to RFC 3339 format, e.g., “1970-01-01T00:00:00+00:00” serializes numpy.ndarray instances natively and faster. serializes pydantic.BaseModel instances natively (disregards the configuration ATM). serializes […]

Read more

Creating a Linear Program Solver by Implementing the Simplex Method in Python

Simplex-Numpy Creating a Linear Program Solver by Implementing the Simplex Method in Python with NumPy The example in Simplex.py is : [ 0 2 1 ] A = [ 0 1 1 ] b = [ 20 18 8 ] c = [ 1 -7 -4 ] [ 0 1 0 ] And I already test some random inputs with the use of random function in Numpy: A = np.random.randint(-25, 25,size = (SIZE_MATRIX_X, SIZE_MATRIX_Y)) b = np.random.randint(-25, 25,size = SIZE_MATRIX_X) […]

Read more

Modelling Active Galactic Nuclei radiative processes with python

agnpy agnpy focuses on the numerical computation of the photon spectra produced by leptonic radiative processes in jetted Active Galactic Nuclei (AGN). agnpy binder Run this repository in binder citing agnpy If you are using agnpy for your work you can acknowledge and reference it through its zenodo record documentation and quickstart You are invited to check the documentation at https://agnpy.readthedocs.io/en/latest/.To get familiar with the code you can run the notebooks in the tutorials sectionof the documentation. dependencies The only […]

Read more