Toolbox for building spectral methods
Project description
The SpectralToolbox is a collection of tools useful for spectral approximation methods in one or more dimensions. It include the construction of traditional orthogonal polynomials. Additionally one can construct orthogonal polynomials with respect to a selected measure.
Description
Implementation of Spectral Methods in N dimension.
- Available polynomials:
Jacobi
Hermite Physicists’
Hermite Physicists’ Function
Hermite Probabilists’
Hermite Probabilists’ Function
Laguerre Polynomial
Laguerre Function
Fourier
ORTHPOL package (generation of recursion coefficients using [1])
- Available quadrature rules (related to selected polynomials):
Gauss
Gauss-Lobatto
Gauss-Radau
- Available quadrature rules (without polynomial selection):
Kronrod-Patterson on the real line
Kronrod-Patterson uniform
Clenshaw-Curtis
Fejer’s
Requirements
orthpol_light >= 0.2.2
Installation
We reccommend to work in a virtual environment using virtualenv, or on the system python installation. The use of alternative virtual environment systems (such as Anaconda) is not guaranteed to be automatically supported, thus a manual installation is suggested in such case.
Make sure to have an up-to-date version of pip:
$ pip install –upgrade pip
Automatic installation
Run the command:
$ pip install –upgrade numpy $ pip install –upgrade SpectralToolbox
Manual installation (using pip)
Install the following dependencies separately:
$ pip install <package>
where <package> are the Python dependencies as listed in Requirements and X.X.X is the current revision version.
You should intall the orthpol package. This dependency is required since v. 0.2.0. The installation might require you to tweak some flags for the compiler (with gcc nothing should be needed).
$ pip install –no-binary :all: orthpol
Finally you can install the toolbox by:
$ pip install –no-binary :all: SpectralToolbox
Manual installation (from source files)
Note: This method may apply also to virtual environment systems different from virtualenv.
download and install each dependency manually with the following commands:
$ pip download <package>
$ tar xzf <package>-X.X.X.tar.gz
$ cd <package>-X.X.X
$ python setup.py install
$ cd ..
where <package> are the Python dependencies as listed in Requirements and X.X.X is the current revision version.
References
Change Log
- 0.1.0:
Implementation of Poly1D, PolyND, and additional quadrature rules
- 0.2.0:
New interface for Spectral1D.
All polynomials are now classes.
Complete integration of orthpol
- 0.2.7:
Python3 support. And fixed installation procedure.
- 0.2.8:
Bug fix from orthpol package
- 0.2.11:
Added function generate for the generation of polynomials from type and parameters.
- 0.2.27
Added class ConstantExtendedHermiteProbabilistsFunction, used for external projects.
- 0.2.38
Added functions from_xml_element in order to generate basis from XML structures.
- 0.2.39
Added class handling algebraic operations between polynomials (class SquaredOrthogonalPolynomial)
- 0.2.41
Added algebraic function class SquaredConstantExtendedHermitePhysicistsFunction
- 0.2.42
Added algebraic function class PositiveDefiniteSquaredConstantExtendedHermitePhysicistsFunction
- 0.2.45-46
Exact factorials in AlgebraicPolynomilas.
- 0.2.47
Memoization of coefficients
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file spectraltoolbox-2.0.3-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-pp39-pypy39_pp73-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 84.4 kB
- Tags: PyPy, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41253e72924fdbc6fd96fccac569226a1d517345d8ab878b002dbdf694a87ea7 |
|
MD5 | 88b8d88d1261af006ed5c2d90406e388 |
|
BLAKE2b-256 | 2017c3893d5df760a7f6b8b40ddbbae4653beeef5f5c49b6df3c43201f00078d |
File details
Details for the file spectraltoolbox-2.0.3-pp39-pypy39_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-pp39-pypy39_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 84.2 kB
- Tags: PyPy, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4c113baef3e40ace334112afb583af7b00bd8e09b40cc0eb30125ca5c48c70f |
|
MD5 | 897d8d01a6535ea712f6dff52cdbe582 |
|
BLAKE2b-256 | f1dd9bcebf4b705d48aed8cdc89fc32df069738b6d07743ee30a3e66b241c3af |
File details
Details for the file spectraltoolbox-2.0.3-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 84.9 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | deb3d3dede482af0958f4d422a547728a1e6c6c2c0f02d094ed426bdb4e3f6d0 |
|
MD5 | 8bc8460336d8da4b7a5de5d3a9d6b284 |
|
BLAKE2b-256 | 164564e5701e7618cf2a2e6f611cc23a301a84ff9b3d2dfcf3e12254c182921c |
File details
Details for the file spectraltoolbox-2.0.3-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-pp38-pypy38_pp73-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 84.4 kB
- Tags: PyPy, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5485ec420b8f498aa54492448a9a1e3bd7bdb2180339ab4379c4a76a5899cd7d |
|
MD5 | ab5baa8e143405c8e02d8bd496daf2e3 |
|
BLAKE2b-256 | 5576675f118f1b47c42864922500d86b70eb2c83f584246a287abee65ea1b22f |
File details
Details for the file spectraltoolbox-2.0.3-pp38-pypy38_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-pp38-pypy38_pp73-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 84.2 kB
- Tags: PyPy, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28e1448a47bd7b962566208f633bb55b9117e2238f00bba87bdf3fe782e77bbe |
|
MD5 | 163f712a3f789c9daf34d9038c685cb2 |
|
BLAKE2b-256 | e8c31f4a0013d63a2908f958372459dd6cea1814c6115a86f1375f36fbf9de5d |
File details
Details for the file spectraltoolbox-2.0.3-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 84.9 kB
- Tags: PyPy, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1c1b344eb7a6385c84bc842cb7bbc61b81897601e34cfc721969fbd4c81892d |
|
MD5 | 8bfa585eb7e8d0ae65dadecb9f7e82a2 |
|
BLAKE2b-256 | e382bc026686fddcf779c9679407b01cff2e379e2ba41ca693fdaddc47c52d5c |
File details
Details for the file spectraltoolbox-2.0.3-cp311-cp311-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp311-cp311-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 108.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a58af882d6150b5f429ff546be03784446cc94ecf018decaae8aec59388221c0 |
|
MD5 | 81dc623835541fb747f5090e3b5038c5 |
|
BLAKE2b-256 | edaf5c3e5800248256ad206b1e4305bb8ff8d87556aaa7c4376c752f67263999 |
File details
Details for the file spectraltoolbox-2.0.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 109.4 kB
- Tags: CPython 3.11, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52b1dc171f8171f9834452c95c5702a3355d2c5a4537a049a0a29681dfbafc04 |
|
MD5 | 0baf2a12136ad8fe3dbe1cbca6b1df23 |
|
BLAKE2b-256 | 208f9cc721a21215b0c5cc0309bf0be37b443208b81d3b9f6f3105613890b97b |
File details
Details for the file spectraltoolbox-2.0.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 114.4 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3b53d4cd36e35dddbcd860df0b08d636d79f900655eb39ef3d87690a22d3256 |
|
MD5 | e03c156ee8f705ea996b6ef42796d61b |
|
BLAKE2b-256 | 570f6ee7c2cdf2aca332058f6828a7030e78d09a75c547c6925947c520e20c20 |
File details
Details for the file spectraltoolbox-2.0.3-cp310-cp310-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp310-cp310-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 108.1 kB
- Tags: CPython 3.10, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4555f222462ab1126f6dc3a04464b67357a1050ff83bc43cf91db34a37556c8a |
|
MD5 | 1b64b7e807ca991aac9be6650c491085 |
|
BLAKE2b-256 | bec069193dbcfb0c2c8cc6a696ef4a5d92eda818c57a5674ecabff18669f545f |
File details
Details for the file spectraltoolbox-2.0.3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 109.3 kB
- Tags: CPython 3.10, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f49ed5ad202e5b8936bc97c73138170c43cdd497844162cf4c2fd9ba7b77a83 |
|
MD5 | b8f183915ffa57db5c02c5fcd49db967 |
|
BLAKE2b-256 | 13629108fc63c614b4be26cb06930d455c620cf259aa79de735233eb19c4e509 |
File details
Details for the file spectraltoolbox-2.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 114.3 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e84e747a4e821f6f4e7b11ae6461c4765a6a83bbdded88ac741688503931b090 |
|
MD5 | 7c71305b29f8f1780325b8a99cafbb33 |
|
BLAKE2b-256 | 7f37758aec63cfea8ec090ce5f6d8d2098a71c08dad6d96459651ffd1dc730e7 |
File details
Details for the file spectraltoolbox-2.0.3-cp39-cp39-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp39-cp39-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 107.9 kB
- Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 51800897932c54053b1e8c0d45aea5b4890d540d049dbe1e3ffc201ceeba6329 |
|
MD5 | 08d8e7c85dbffabc1e9995fdc94db2f1 |
|
BLAKE2b-256 | 4ee976373ff762a6a6558e881d59dccc37c9f7cd87c0790785968571202b6bdc |
File details
Details for the file spectraltoolbox-2.0.3-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp39-cp39-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 109.2 kB
- Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1eb607e5b647b81c7b90d68f466c3ad552558a335c66e746739d8aaa495bd5d0 |
|
MD5 | 2612ada11fef9f87230dad961750a86a |
|
BLAKE2b-256 | 5f6ffd2d173a21b6d2bd9de3d7e919269ac4e202d2a95d8bada8927d65c6ca97 |
File details
Details for the file spectraltoolbox-2.0.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 114.2 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad5531ae4fa409384ebb64d09527a49668c26b795221d005160e9c4fb7bb0a95 |
|
MD5 | 1df1379fd7f3e300a47918661a76668f |
|
BLAKE2b-256 | 184d736de0e96c1240ba3e945fbe933bb06398c0532d5cbe225749fd591fe7ef |
File details
Details for the file spectraltoolbox-2.0.3-cp38-cp38-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp38-cp38-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 108.5 kB
- Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49a449146656e8c1b9c41d4e254d30baaf7e53cced5a57054e16de92c6ca5445 |
|
MD5 | 159562772dbd0259287f5951dc16420a |
|
BLAKE2b-256 | c07e4e928e137a4bf9acf8cab2a66118c253c251b452ad02f45d39c7941c6a49 |
File details
Details for the file spectraltoolbox-2.0.3-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp38-cp38-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 109.6 kB
- Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 117c68fdd96ca9e70b37d600ee8311d905b00594d3174d2dfeb82b3788ef2eec |
|
MD5 | f1bc77a536af1ccfab270b925e1834c5 |
|
BLAKE2b-256 | 1d405034ff901e2145aa90acecf1e4dc8ad9fcb888cd893f98b25cf99754f2e0 |
File details
Details for the file spectraltoolbox-2.0.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: spectraltoolbox-2.0.3-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 114.6 kB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.5+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a86c6b37c2e6b4e9c5a86fda38751970555e14674f5793debcfd15000ab1dbd6 |
|
MD5 | c1eccc4ac48d4794ae95e1927d1878aa |
|
BLAKE2b-256 | c939421d85db57d2063654683edabc800d414c0acec24adff34072299caabde1 |