Getting Started#
Installation#
The Probabilistic Suite Python libraries can be installed using pip.
It is strongly recommended to install the package in a virtual environment.
Create and activate a virtual environment#
On Windows:
python -m venv pl-env
pl-env\Scripts\activate
On Linux / macOS:
python -m venv pl-env
source pl-env/bin/activate
Install using pip#
Once the environment is activated, install the package:
pip install probabilistic-library
If you are installing from a local repository:
pip install .
Requirements#
Python 3.11 or newer
pip(latest version recommended)
Verify the installation#
To verify that the installation was successful, start Python and try importing the library:
import probabilistic_library
print(probabilistic_library.__version__)
If no error occurs, the installation was successful.
Your first example#
Below is a minimal example showing how to perform a statistical conversion in Python.
from probabilistic_library import StandardNormal
beta = StandardNormal.get_u_from_p(0.95)
print(beta)
For more realistic and complete examples, see the tutorials section.
Using the Probabilistic Toolkit (PTK)#
If you prefer a graphical user interface, you can use the Probabilistic Toolkit (PTK).
PTK uses the same probabilistic core as the Python library and allows you to:
Define uncertain parameters
Configure analyses
Visualize results interactively
PTK can be downloaded from the official Deltares website.
Next steps#
Now that you are set up, you can:
Explore the Tutorials to learn about probabilistic methods and workflows
Read the API Reference for detailed class and function documentation
Need help?#
If you encounter issues or have questions:
Check the tutorials and documentation
Ask questions or report issues via the community forum