Skip to main content

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 FORTRAN model WAVE is found on an archived branch of the code called rev1_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

pykrak-3.0.1.tar.gz (54.7 kB view details)

Uploaded Source

Built Distribution

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

pykrak-3.0.1-py3-none-any.whl (61.0 kB view details)

Uploaded Python 3

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

Hashes for pykrak-3.0.1.tar.gz
Algorithm Hash digest
SHA256 ec8fc4d4faa9757a4075ea0e61282d5a1d7015da22bdd89446cb89b91a5eb3a8
MD5 a672e21e058f7029591cb9b3e8a1b795
BLAKE2b-256 58d9be25d72ebc9486168114675c2c2bd328842d70d18979e3fc436501e91576

See more details on using hashes here.

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

Hashes for pykrak-3.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a954cc055cd13d2135407d5bd42cf4257b0b6bcdb029abf545bdd524c182e4e1
MD5 2f2e9dccd71af4f4f1256c6c29df5637
BLAKE2b-256 0f47ee1579021b84fb898318bf8a55214cf5917ed89250cdcb908752e8388cfe

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