|
6 | 6 | [](https://libyt.readthedocs.io/en/latest/?badge=latest) |
7 | 7 | [](https://codecov.io/gh/yt-project/libyt) |
8 | 8 |
|
9 | | -`libyt` is an open source C library for simulation, that allows researchers to analyze and visualize data using [`yt`](https://yt-project.org/) or other Python packages in parallel during simulation runtime. |
| 9 | +`libyt` is an open-source C library for simulation that enables researchers to analyze and visualize data using [`yt`](https://yt-project.org/) or other Python packages in parallel during simulation runtime. |
10 | 10 |
|
11 | | -We can skip the intermediate step of writing data to a hard disk before doing analysis using Python. This greatly reduce the disk usage, and increase the temporal resolution. Converting post-processing analysis Python script using `yt` to inline Python script is a two-line change. |
| 11 | +We can skip the intermediate step of writing data to a hard disk before doing analysis using Python. |
| 12 | +This significantly reduces the disk usage and increases the temporal resolution. |
| 13 | +Converting the post-processing analysis Python script using `yt` to an inline Python script is a two-line change. |
12 | 14 |
|
13 | | -`libyt` also provides a Python interface (Python prompt, file-base prompt, and JupyterLab frontend) to access the data in simulations running in an HPC cluster, which can be used to visualize and debug the data in real-time. |
| 15 | +`libyt` also provides a Python interface (Python prompt, file-based prompt, and JupyterLab frontend) to access simulation data running on an HPC cluster, enabling real-time visualization and sampling of the data. |
14 | 16 |
|
15 | 17 | - **Documents**: https://libyt.readthedocs.io/ |
16 | 18 |
|
17 | | -### Related Projects |
| 19 | +## Related Projects |
18 | 20 |
|
19 | 21 | - [`yt`](https://github.com/yt-project/yt): a Python package for analyzing and visualizing volumetric data. It is the core method that `libyt` uses to provide data analysis pipeline for simulations. |
20 | 22 | - [`yt_libyt`](https://github.com/data-exp-lab/yt_libyt): a Python package that provides a `yt` frontend. It makes converting post-processing scripts using `yt` into inline scripts a two-line change. |
21 | 23 | - [`jupyter_libyt`](https://github.com/yt-project/jupyter_libyt): a JupyterLab frontend for `libyt`. It provides methods to connect to simulations. |
22 | 24 |
|
23 | | -### Installation |
| 25 | +## Installation |
24 | 26 |
|
25 | | -See the [how to install](https://libyt.readthedocs.io/en/latest/how-to-install/how-to-install.html). |
| 27 | +More details in [how to install](https://libyt.readthedocs.io/en/latest/how-to-install/how-to-install.html). |
26 | 28 |
|
27 | | -### Contributing |
| 29 | +#### Serial |
28 | 30 |
|
29 | | -We welcome contributions of all kinds! Whether you're fixing a bug, adding a feature, improving documentation, or reporting an issue -- thank you for helping improve this project. |
| 31 | +```bash |
| 32 | +cmake -S . -B build -DSERIAL_MODE=ON \ |
| 33 | + -DINTERACTIVE_MODE=ON \ |
| 34 | + -DJUPYTER_KERNEL=ON \ |
| 35 | + -DPYTHON_PATH=<your-python-prefix> |
| 36 | +``` |
30 | 37 |
|
31 | | -Please follow the coding style when committing to the git history using `pre-commit` hooks. |
| 38 | +#### Parallel with MPI |
32 | 39 |
|
33 | | -### Code of Conduct |
| 40 | +```bash |
| 41 | +cmake -S . -B build -DINTERACTIVE_MODE=ON \ |
| 42 | + -DJUPYTER_KERNEL=ON \ |
| 43 | + -DPYTHON_PATH=<your-python-prefix> \ |
| 44 | + -DMPI_PATH=<your-mpi-prefix> |
| 45 | +``` |
34 | 46 |
|
35 | | -We are committed to fostering a welcoming, respectful, and inclusive environment for everyone involved in this project. |
36 | 47 |
|
37 | | -### License |
| 48 | +## Develop and Contributing |
| 49 | + |
| 50 | +This project is currently in an active development stage. Some of its cores and architectures are subject to change to make it more efficient, extendable, and easy to use. |
| 51 | + |
| 52 | +We encourage and welcome the submission of issues, feature requests, and suggestions. |
| 53 | +Such contributions are invaluable to the continued improvement of this project, and we appreciate the time and effort taken to help us grow and better serve the community. |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | +## Code of Conduct |
| 58 | + |
| 59 | +We are committed to fostering a respectful, inclusive, and harassment-free environment for everyone. |
| 60 | +All participants are expected to treat one another with kindness, regardless of their background, identity, or experience. |
| 61 | +Harassment, discrimination, personal attacks, or any other disruptive behavior will not be tolerated. |
| 62 | +By participating in this community, you agree to uphold these standards and contribute to creating a welcoming space. |
| 63 | + |
| 64 | +## License |
38 | 65 |
|
39 | 66 | BSD 3-Clause License |
0 commit comments