| Crates.io | mantaray |
| lib.rs | mantaray |
| version | 0.1.0 |
| created_at | 2024-06-12 05:08:23.625484+00 |
| updated_at | 2025-05-08 03:02:06.981417+00 |
| description | Ray-tracing solver for ocean surface gravity waves that integrates the wave ray equations over spatially varying currents and bathymetry. |
| homepage | https://github.com/mines-oceanography/mantaray |
| repository | https://github.com/mines-oceanography/mantaray |
| max_upload_size | |
| id | 1269236 |
| size | 9,865,387 |
A library for surface gravity waves ray tracing.
Install Pixi
Clone the repo
git clone git@github.com:mines-oceanography/mantaray.git
cd mantaray
pixi run develop
This will take about 20 to 30 minutes (at least for first time compiling on windows 10).
At the top of your python file, you will need to include the following import line:
from mantaray.core import single_ray, ray_tracing
Documentation for these functions are located in core.py.
pixi run python path_to_file.py
examples environmentpixi run -e examples develop
examples environmentpixi run -e examples jupyter lab
pixi run -e test pytest
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
We welcome contributions to this project! Whether you're fixing a bug, adding a new feature, or improving the documentation, your help is greatly appreciated. All contributions should be made through GitHub, by forking the repository, creating a new branch, and submitting a pull request.
There are many ways to contribute to this project, including:
bug label and provide as much detail as possible, including steps to reproduce the issue.enhancement label and describe your suggestion.documentation label.Before submitting a pull request, please make sure it meets these guidelines:
If you have questions or need help getting started, please open an issue with the question label. We'll do our best to assist you.