Python translation of Michael Porter's KRAKEN (not KRAKENC).
Project description
Python translation of Michael Porter's KRAKEN (not KRAKENC).
An alternative implementation which provided an internal wave mode equation solver using the same numerical methods as Richard Evans
FORTRANmodel WAVE is found on an archived branch of the code calledrev1_archive.
The code is provided "as is", with no guarantees of correctness. When in doubt, compare to KRAKEN and to KRAKENC.
Comparisons for a number of test environments are provided in tests/.
Installation
This repository use uv to manage its dependency
uv sync # install necessary dependency
source .venv/bin/activate # activate the virtual environment (you can also use `uv run $SHELL`)
For development and testing
Install development and testing dependencies using
uv sync --all-groups
Tests
Some basic tests are implemented to compare the results of the modal parameters $k_r$ and $\Psi$ to the original KRAKEN program.
uv run pytest
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pykrak-3.0.1.tar.gz.
File metadata
- Download URL: pykrak-3.0.1.tar.gz
- Upload date:
- Size: 54.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec8fc4d4faa9757a4075ea0e61282d5a1d7015da22bdd89446cb89b91a5eb3a8
|
|
| MD5 |
a672e21e058f7029591cb9b3e8a1b795
|
|
| BLAKE2b-256 |
58d9be25d72ebc9486168114675c2c2bd328842d70d18979e3fc436501e91576
|
File details
Details for the file pykrak-3.0.1-py3-none-any.whl.
File metadata
- Download URL: pykrak-3.0.1-py3-none-any.whl
- Upload date:
- Size: 61.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a954cc055cd13d2135407d5bd42cf4257b0b6bcdb029abf545bdd524c182e4e1
|
|
| MD5 |
2f2e9dccd71af4f4f1256c6c29df5637
|
|
| BLAKE2b-256 |
0f47ee1579021b84fb898318bf8a55214cf5917ed89250cdcb908752e8388cfe
|