Skip to main content

Python bindings for the C++ version of Matslise

Project description

PySlise 0.0.3

PySlise is a collection of algorithms to solve the one and two dimensional time-independent Schrödinger equations. These algorithms are based upon constant perturbation methods to efficiently solve these eigenvalue problems.

The code (and name) is based on Matslise [1]. This is a feature-rich matlab library for solving the one dimensional time independent Schrödinger equation.

To solve the two dimensional problem an algorithm is developed on the basis of a method proposed by Ixaru [2].

This implementation is developed in C++ with a focus on efficiency. This code is precompiled for 64 bit windows and linux and packaged in wheels.

Documentation

Full documentation can be found on matslise.ugent.be. This document contains some examples of how to use this library.

On the same page an interactive version is available.

Examples

One dimensional problems can be tackled with:

from pyslise import PySlise
from math import pi, cos

problem = PySlise(lambda x: 2*cos(2*x), 0, pi, tolerance=1e-5)
problem.eigenvaluesByIndex(0, 10, (0, 1), (0, 1))

Also two dimensional problems are possible:

from pyslise import PySE2d

def V(x, y):
    return (1 + x**2) * (1 + y**2)

problem = PySE2d(V, -5.5,5.5, -5.5,5.5, tolerance=1e-5)
problem.eigenvalues(0,13)

Bibliography

  • [1] Ledoux, Veerle, and Marnix Van Daele. “MATSLISE 2.0 : A Matlab Toolbox for Sturm-Liouville Computations.” ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE 42, no. 4 (2016): 18.
  • [2] Ixaru, L. Gr. “New Numerical Method for the Eigenvalue Problem of the 2D Schrödinger Equation.” Computer Physics Communications 181 (October 1, 2010): 1738–42. https://doi.org/10.1016/j.cpc.2010.06.031.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyslise-0.0.3-cp37-cp37m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7mWindows x86-64

pyslise-0.0.3-cp37-cp37m-manylinux2010_x86_64.whl (572.2 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

pyslise-0.0.3-cp36-cp36m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6mWindows x86-64

pyslise-0.0.3-cp36-cp36m-manylinux2010_x86_64.whl (571.8 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

pyslise-0.0.3-cp35-cp35m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5mWindows x86-64

pyslise-0.0.3-cp35-cp35m-manylinux2010_x86_64.whl (571.8 kB view details)

Uploaded CPython 3.5mmanylinux: glibc 2.12+ x86-64

pyslise-0.0.3-cp34-cp34m-manylinux2010_x86_64.whl (571.7 kB view details)

Uploaded CPython 3.4mmanylinux: glibc 2.12+ x86-64

pyslise-0.0.3-cp27-cp27mu-manylinux2010_x86_64.whl (572.2 kB view details)

Uploaded CPython 2.7mumanylinux: glibc 2.12+ x86-64

pyslise-0.0.3-cp27-cp27m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7mWindows x86-64

File details

Details for the file pyslise-0.0.3-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: pyslise-0.0.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for pyslise-0.0.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 94c25b4c8f640a2bf87e3360f28c513885f45150aba8efdb423054fad5b8d80f
MD5 e8da465418c99ca7ed00c00c37e4b836
BLAKE2b-256 9d1df5cab89430fbcab663c387cfd9a37ff94fecf7af367ebacfaf9a4dac5bc2

See more details on using hashes here.

File details

Details for the file pyslise-0.0.3-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise-0.0.3-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 572.2 kB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for pyslise-0.0.3-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c3271406a7c546038b765f29c5c59f2d58cbf27e48f5a6f5598fe257be1ab639
MD5 ae5110c25bc30d73321c502fcbf8c383
BLAKE2b-256 2de4c0172cc3fdad2beb1bb9f9c6c610fcf56b190cd894667698ae2f5dd8642d

See more details on using hashes here.

File details

Details for the file pyslise-0.0.3-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: pyslise-0.0.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for pyslise-0.0.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 e6ad0173ccf68d03f22c260e8fd79b1a7ef18c2ad520544aef1bb5913d095691
MD5 5c3ff6e8d1a89211088da11e8aab5ebc
BLAKE2b-256 32e3a2da45786d27f2186e897f18d183563530df20a3f50333fb6b066e9a5a7a

See more details on using hashes here.

File details

Details for the file pyslise-0.0.3-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise-0.0.3-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 571.8 kB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for pyslise-0.0.3-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 08c9d6759c3921cd0cf38da0fd764d7083dde4f32a04f0a57a2bc62e9a68232e
MD5 e91f95b43ed7bf3a31408f20fe8462d0
BLAKE2b-256 5bce6f7ea460a8c9d5b1eebf0ae40407f9f60e2bec62a5666a63908ce011e67d

See more details on using hashes here.

File details

Details for the file pyslise-0.0.3-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: pyslise-0.0.3-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for pyslise-0.0.3-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 74705535c5ec232fd311fca83efa043465cdaab7213cd9ce43aa195c301d9819
MD5 f7f614e2f16603c79ea2d3b4e5c54f34
BLAKE2b-256 e59e9f948784b4b8d6f9b161882e8a591635989f8be709f1169f86081fc7f1eb

See more details on using hashes here.

File details

Details for the file pyslise-0.0.3-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise-0.0.3-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 571.8 kB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for pyslise-0.0.3-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 07380d8a7307d19a7e6804f3e218ad116872aa0430d963e94f91a3a6f696bd49
MD5 d8d12c08abf9114ff6557c37ff2f2f3c
BLAKE2b-256 10527629de3728a8329e63fc3faa3d3e1bb86e36eb02394d53d8eefdb6009a14

See more details on using hashes here.

File details

Details for the file pyslise-0.0.3-cp34-cp34m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise-0.0.3-cp34-cp34m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 571.7 kB
  • Tags: CPython 3.4m, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for pyslise-0.0.3-cp34-cp34m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 776cd2ad268236208af27c92a702fc23917658ac7e19519bdaeccbbf6c636e7d
MD5 ad337478b53d2cf54fef4b7e811d730a
BLAKE2b-256 43729190195eda3e9dcce54bebe746263585679614e4c63487b63efb64b541e7

See more details on using hashes here.

File details

Details for the file pyslise-0.0.3-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: pyslise-0.0.3-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 572.2 kB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for pyslise-0.0.3-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a5926b46f49cc06783c6573983dee1d207b04a02a3092aba3d212eda722a28c7
MD5 4c4db204c488c4f3a51e0b9084ffeff1
BLAKE2b-256 97d44a3bb11a6ffd1c2fe8c2574966112b71d335a75d747c0f666309a45e009f

See more details on using hashes here.

File details

Details for the file pyslise-0.0.3-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: pyslise-0.0.3-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.8

File hashes

Hashes for pyslise-0.0.3-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 1ed39db64a7f1bd4da1d58c551847da5dc092be553a86aa63e5fd78dc712f8d1
MD5 909d33fb3f1485d14809e2f5c1f86320
BLAKE2b-256 5fff3dcaf671b9cb520216d4d180a087d017a625bdc382c8782885593a823c92

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page