Name | lightquakevisualizer JSON |
Version |
0.1.1
JSON |
| download |
home_page | None |
Summary | A collection of scripts to visualize SeisSol output using pyvista |
upload_time | 2025-02-13 10:36:32 |
maintainer | None |
docs_url | None |
author | Thomas Ulrich |
requires_python | >=3.10 |
license | MIT |
keywords |
pyvista
seissol
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# Light Quake Visualizer
A collection of scripts to visualize SeisSol output using PyVista.
## Features
- Visualize SeisSol output files in XDMF and HDF-VTK formats
- Support for multiple datasets and variables
- Customizable color maps, color ranges, and scalar bar settings, lighting
- Slicing options
- And more...
For more information on available options and their descriptions, run:
```
light_quake_visualizer --help
```
## A simple example of use
Plot the volume output file at time 10s, variable u with a pvcc (saved from ParaView):
```
light_quake_visualizer output_tpv5_ref/tpv5_sym.xdmf --var u --time 10.0 --cmap broc --view output_tpv5_ref/tpv5.pvcc --scalar_bar "0.9 0.1" --color_range "-0.5 0.5" --zoom 1.0 --lighting 0.6 0.4 0.6
```
## Plotting several datasets
Here sliced volume output (variable u), and (unsliced) fault output (variable ASl):
```
light_quake_visualizer "output_tpv5_ref/tpv5_sym.xdmf;output_tpv5_ref/tpv5_sym-fault.xdmf" --var "u;ASl" --time 10.0 --cmap "broc;viridis" --view output_tpv5_ref/tpv5.pvcc --scalar_bar "0.8 0.1" --color_range "-0.5 0.5;0 5" --zoom 1.0 --light 0.5 0.5 0.5 --slice "0 0 -2000 0 0 1" "1;0"
```
## Support for the new HDF-VTK
Example usage with the new HDF-VTK format:
```
light_quake_visualizer output_tpv5_new_format/tpv5_sym-wavefield-2.hdf --var u --time "i0" --cmap broc --view output_tpv5_ref/tpv5.pvcc --scalar_bar "0.9 0.1" --color_range "-0.5 0.5" --zoom 1.0 --lighting 0.6 0.4 0.6
```
## Generate vector graphic color bar image
Example usage:
```
generate_color_bar vik --crange -2 2 --labelfont 8 --height 1.2 3.6 --nticks 3
```
## Combining snapshots with possible overlap
Change the background to white, and combine several images with partial overlap:
```
image_combiner --i image1.png image2.png --o combined_image.png --col 2 --rel 0.5 1.0
```
Raw data
{
"_id": null,
"home_page": null,
"name": "lightquakevisualizer",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "pyvista, SeisSol",
"author": "Thomas Ulrich",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/bd/75/b009ef7757805dd9f2cef795268905d7b43972b7a44a3edf8c0d263c0804/lightquakevisualizer-0.1.1.tar.gz",
"platform": null,
"description": "# Light Quake Visualizer\n\nA collection of scripts to visualize SeisSol output using PyVista.\n\n## Features\n\n- Visualize SeisSol output files in XDMF and HDF-VTK formats\n- Support for multiple datasets and variables\n- Customizable color maps, color ranges, and scalar bar settings, lighting\n- Slicing options\n- And more...\n\nFor more information on available options and their descriptions, run:\n\n```\nlight_quake_visualizer --help\n```\n\n\n## A simple example of use\n\nPlot the volume output file at time 10s, variable u with a pvcc (saved from ParaView):\n\n```\nlight_quake_visualizer output_tpv5_ref/tpv5_sym.xdmf --var u --time 10.0 --cmap broc --view output_tpv5_ref/tpv5.pvcc --scalar_bar \"0.9 0.1\" --color_range \"-0.5 0.5\" --zoom 1.0 --lighting 0.6 0.4 0.6\n```\n\n## Plotting several datasets\n\nHere sliced volume output (variable u), and (unsliced) fault output (variable ASl):\n\n```\nlight_quake_visualizer \"output_tpv5_ref/tpv5_sym.xdmf;output_tpv5_ref/tpv5_sym-fault.xdmf\" --var \"u;ASl\" --time 10.0 --cmap \"broc;viridis\" --view output_tpv5_ref/tpv5.pvcc --scalar_bar \"0.8 0.1\" --color_range \"-0.5 0.5;0 5\" --zoom 1.0 --light 0.5 0.5 0.5 --slice \"0 0 -2000 0 0 1\" \"1;0\"\n```\n\n## Support for the new HDF-VTK\n\nExample usage with the new HDF-VTK format:\n```\nlight_quake_visualizer output_tpv5_new_format/tpv5_sym-wavefield-2.hdf --var u --time \"i0\" --cmap broc --view output_tpv5_ref/tpv5.pvcc --scalar_bar \"0.9 0.1\" --color_range \"-0.5 0.5\" --zoom 1.0 --lighting 0.6 0.4 0.6\n```\n\n## Generate vector graphic color bar image\n\nExample usage:\n\n```\ngenerate_color_bar vik --crange -2 2 --labelfont 8 --height 1.2 3.6 --nticks 3\n```\n\n## Combining snapshots with possible overlap\n\nChange the background to white, and combine several images with partial overlap:\n\n```\nimage_combiner --i image1.png image2.png --o combined_image.png --col 2 --rel 0.5 1.0\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A collection of scripts to visualize SeisSol output using pyvista",
"version": "0.1.1",
"project_urls": {
"Repository": "https://github.com/Thomas-Ulrich/light-quake-visualizer.git"
},
"split_keywords": [
"pyvista",
" seissol"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "5cc67e2d1f6ca9fb8fdd10ae9c3773784d9958e447fea4aed66dd2fb7a09b670",
"md5": "419842d4ad9bdf3d2bbce8143c46cd8e",
"sha256": "e01d541e09b88f09363a78f25dcb4cee00737281b038a73c3162946932053da9"
},
"downloads": -1,
"filename": "lightquakevisualizer-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "419842d4ad9bdf3d2bbce8143c46cd8e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 14880,
"upload_time": "2025-02-13T10:36:30",
"upload_time_iso_8601": "2025-02-13T10:36:30.883673Z",
"url": "https://files.pythonhosted.org/packages/5c/c6/7e2d1f6ca9fb8fdd10ae9c3773784d9958e447fea4aed66dd2fb7a09b670/lightquakevisualizer-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bd75b009ef7757805dd9f2cef795268905d7b43972b7a44a3edf8c0d263c0804",
"md5": "a08b9be10e627789e6cdcb49f57399b2",
"sha256": "7f874e062b48794807cf89668b92dd1b4c88cdbd03f09048da666e415f61c541"
},
"downloads": -1,
"filename": "lightquakevisualizer-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "a08b9be10e627789e6cdcb49f57399b2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 14152,
"upload_time": "2025-02-13T10:36:32",
"upload_time_iso_8601": "2025-02-13T10:36:32.727821Z",
"url": "https://files.pythonhosted.org/packages/bd/75/b009ef7757805dd9f2cef795268905d7b43972b7a44a3edf8c0d263c0804/lightquakevisualizer-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-13 10:36:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Thomas-Ulrich",
"github_project": "light-quake-visualizer",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "lightquakevisualizer"
}