{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Introduction to scivianna\n", "\n", "This tutorial introduces the basic concepts of the **scivianna** library, a Python toolkit for visualizing and interacting with thermal-hydraulic simulation data.\n", "\n", "## What is scivianna?\n", "\n", "scivianna provides:\n", "\n", "- **Panel-based layouts**: Organize multiple visualizations in flexible grid or split layouts\n", "- **2D visualization**: Plot 2D geometries, meshes, and field data\n", "- **1D visualization**: Display temporal data from simulation channels\n", "- **Interactive coupling**: Link selections across multiple views\n", "- **Extension system**: Customize behavior with plugin architectures\n", "\n", "## Installation\n", "\n", "```bash\n", "pip install scivianna\n", "```\n", "\n", "## Quick Start\n", "\n", "```python\n", "import scivianna as sciv\n", "\n", "# Create a simple 2D panel\n", "panel = sciv.panel.Panel2D()\n", "panel.show()\n", "```\n", "\n", "## Key Components\n", "\n", "| Component | Description |\n", "|-----------|-------------|\n", "| `Panel2D` | 2D visualization panel for geometries and fields |\n", "| `Panel1D` | 1D temporal data viewer |\n", "| `GridStackLayout` | Grid-based layout manager |\n", "| `SplitLayout` | Split-pane layout manager |\n", "| `Extension` | Base class for custom extensions |\n", "\n", "## Next Steps\n", "\n", "Continue with Tutorial 1 to create your first 2D panel visualization." ] } ], "metadata": { "kernelspec": { "display_name": "Python 3", "language": "python", "name": "python3" }, "language_info": { "name": "python", "version": "3.10.0" } }, "nbformat": 4, "nbformat_minor": 4 }