Name | lightquakevisualizer JSON |
Version |
0.0.6
JSON |
| download |
home_page | None |
Summary | A collection of scripts to visualize SeisSol output using pyvista |
upload_time | 2024-06-11 11:49:53 |
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/ab/d4/dcd53ff24e51181650ed3e46363959d83e61cbab8dcaecdcba0d89ad5ff2/lightquakevisualizer-0.0.6.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.0.6",
"project_urls": {
"Repository": "https://github.com/Thomas-Ulrich/light-quake-visualizer.git"
},
"split_keywords": [
"pyvista",
" seissol"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b9530045aa424357c57b7897a5c8ca76d3ca2ec6748b5e9c997328f98ebcaf2c",
"md5": "54b76b1d5f058c9001481b53dab2f047",
"sha256": "4ad95c53cb0a702bafa2cabf713b2a715bc1e29292acb5832c0de8c795899623"
},
"downloads": -1,
"filename": "lightquakevisualizer-0.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "54b76b1d5f058c9001481b53dab2f047",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 14332,
"upload_time": "2024-06-11T11:49:52",
"upload_time_iso_8601": "2024-06-11T11:49:52.491778Z",
"url": "https://files.pythonhosted.org/packages/b9/53/0045aa424357c57b7897a5c8ca76d3ca2ec6748b5e9c997328f98ebcaf2c/lightquakevisualizer-0.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "abd4dcd53ff24e51181650ed3e46363959d83e61cbab8dcaecdcba0d89ad5ff2",
"md5": "7b69320a844fa29e3ebae7b5035ad15d",
"sha256": "74fc6843a6179f51179e0e2795fa855c42f5fd7472019eedc1d395de30737d6c"
},
"downloads": -1,
"filename": "lightquakevisualizer-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "7b69320a844fa29e3ebae7b5035ad15d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 13671,
"upload_time": "2024-06-11T11:49:53",
"upload_time_iso_8601": "2024-06-11T11:49:53.891937Z",
"url": "https://files.pythonhosted.org/packages/ab/d4/dcd53ff24e51181650ed3e46363959d83e61cbab8dcaecdcba0d89ad5ff2/lightquakevisualizer-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-11 11:49:53",
"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"
}