Supersolids
Package to simulate and animate supersolids. This is done by solving the dimensionless time-dependent non-linear Schrodinger equation for an arbitrary potential. The split operator method with the Trotter-Suzuki approximation is used.
Documentation
https://supersolids.readthedocs.io/en/latest/
Installing
For the animation to work, ffmpeg needs to be installed on your system.
pip
- pip install supersolids
Archlinux
It is provided in the AUR
- git clone https://aur.archlinux.org/python-supersolids.git
- Run "makepkg -sic", where the PKGBUILD lies
Windows
You need to add python to your path (if you didn't do it, when installing python/anaconda).
- Then continue with pip installation
Source
Go to the directory, where the "setup.py" lies.
- For Linux use "python setup.py install --user" from console to build and install the package
Usage
The package uses main.py, so it can be run as module. To get help for the flags, run:
- python -m supersolids -h
- python -m supersolids.tools.load_npz -h
- python -m supersolids.tools.simulate_npz -h
To actually run (example):
- python -m supersolids -Res='{"x": 16, "y": 32, "z": 62}' -Box='{"x0": -10, "x1": 10, "y0": -6, "y1": 5, "z0": -8, "z1": 8}'
- python -m supersolids.tools.load_npz -frame_start=79000
- python -m supersolids.tools.simulate_npz -dir_name=movie004 -filename_npz=step_079000.npz
If you use an IDE and your script parameter includes double quotes, escape the double quotes with backslashes, for example:
- "-Res={\"x\": 256}" "-Box={\"x0\": -10, \"x1\": 10}" "-a={\"a_x\": 2.0}" -max_timesteps=51 "-V=lambda x, y, z: 100.0 * np.exp(-(x ** 2 + y ** 2)/ 1.0 ** 2)"
The default path for the results is ~/supersolids/results
Issues
- Please read the README.md closely.
- If the issue persist please open an "Issue" in git:
- Click on "New Issue" on https://github.com/Scheiermann/supersolids/issues.
- Assign a suitable label.
- Follow the steps on git the to create the issue. Please describe your issue closely (what are your configurations, did it work before, what have you changed, what is the result, what have you expected as a result?).
- Try to include screenshots.
- Describe what you think causes the issue and if you have suggestions how to solve it, mention it!
- Close the issue, if you accidentally did something wrong (but mention that before closing).
Contributing
Please read the CONTRIBUTING.rst.
Metadata
Release files for supersolids 0.1.33
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| supersolids-0.1.33.tar.gz | 48.0 kB | Without provenance | Details for supersolids-0.1.33.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| supersolids-0.1.33-py3-none-any.whl | Python 3 | none | any | Details for supersolids-0.1.33-py3-none-any.whl |
Total release size: 113.7 kB
Release files / supersolids-0.1.33.tar.gz
| Download URL | supersolids-0.1.33.tar.gz |
|---|---|
| Size | 48.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01d7068678a577fcf6b8b4a5785a00333128ad22d9e4596c3dd3c1eba7103e7e
|
|
BLAKE2b-256 checksum How to use checksums |
9cf832d5ac9611011394cc9c726beb049f7980120b77e0d941f4c2e0b548906c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|
Release files / supersolids-0.1.33-py3-none-any.whl
| Download URL | supersolids-0.1.33-py3-none-any.whl |
|---|---|
| Size | 65.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e20bb598d59745265e058debf332684ab71561180025f99f7dab9ec53f8d961
|
|
BLAKE2b-256 checksum How to use checksums |
2854f7c55066395652ccf1e9f34123bf8d711230919ad8c514d96c58d430429b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
|
Security for supersolids 0.1.33
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.