Skip to main content

Quantification of Uncertainty in ENsembles of Data Streams (QUENDS)

Evans Etrue Howard, Abeyah Calpatura, Pieterjan Robbe, Bert Debusschere

Coverage Status Deploy to GitHub Pages Run Tests pages-build-deployment

Overview

This project focuses on uncertainty quantification in plasma turbulent simulations. It includes modules for loading and processing NetCDF and CSV datasets, estimating steady states, computing effective sample sizes, and running uncertainty quantification analyses. The project is structured into multiple Python scripts, each handling different aspects of the analysis. To see more information on documentation, etc... visit our website here.

Table of Contents

Installation

  1. Install the package and dependencies: You can install the package along with its dependencies using pip:

    pip install quends
    
  2. Verify the installation: To ensure that the installation was successful, you can run a simple test:

    python -c "import quends; print('quends installed successfully')"
    

Usage

Examples are shown in the examples/notebooks directories.

  • cgyro: Contains all CGYRO data
  • gx: Contains all gx data
  • gx/ensemble: Contains all ensemble data
  • DataStream_Guide-CGRYO.ipynb: DataStream guide for CGYRO data
  • DataStream_Guide-GX.ipynb: DataStream guide for GX data
  • DataStream_Guide-Ensemble.ipynb: DataStream guide for Ensembles
  • DataStream_Guide.ipynb: DataStream guide

For Developers

  1. Clone the repository:

    • Using SSH:
    git clone git@github.com:sandialabs/quends.git
    cd quends
    
    • Using HTTPS:
    git clone https://github.com/sandialabs/quends.git
    cd quends
    
  2. Install the package and dependencies: You can install the package along with its dependencies using pip:

    pip install -e .\[dev\]
    
  3. Install pre-commit hooks To ensure code quality and consistency, install:

    pre-commit install
    
  4. Run Ruff: For linting and fixing issues:

    ruff check --fix
    
  5. Run isort: To format your code with Black:

    isort .
    
  6. Run Black: To format your code with Black:

    black .
    

Developers: Publishing quends to PyPI

This section is for maintainers who publish new releases of quends.

  1. Update the version Update the version in pyproject.oml before each release.

  2. Build the package

    python3 -m build
    
  3. Test on TestPyPI

    python3 -m twine upload --repository testpypi dist/*
    pip install -i https://test.pypi.org/simple/ quends
    
  4. Upload to PyPI

    python3 -m twine upload dist/*
    

Documentation

For comprehensive information on how to use the QUENDS package, please refer to our official documentation.

Summary

Key functionalities include:

  • Data Handling: Seamlessly load and preprocess data from various formats, including CSV, JSON, and NetCDF.
  • Statistical Analysis: Compute essential statistics and assess data quality with built-in methods for effective sample size estimation and confidence interval calculations.
  • Visualization: Create informative plots to visualize trends, correlations, and patterns in time series data.

Contributing

Feel free to submit issues and merge requests. For major changes, please open an issue first to discuss what you would like to change.

License

BSD 3-Clause License

Copyright 2025 National Technology & Engineering Solutions of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights in this software.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

  3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Release files for quends 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quends 0.1.2
File Size Uploaded
quends-0.1.2.tar.gz 117.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quends 0.1.2
File Interpreter ABI Platform
quends-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 212.2 kB

Release files / quends-0.1.2.tar.gz

Download URL quends-0.1.2.tar.gz
Size 117.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6a3d58d9a679bfbaef21e7e713c6388035cfb32eba023b7c28487471d1b28af3
BLAKE2b-256 checksum
How to use checksums
e7d2bc6b0f81dfec158b07d9207dce0b90bde0a4515ebe1e8d803f5ed07e5337
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.

Transparency log

Release files / quends-0.1.2-py3-none-any.whl

Download URL quends-0.1.2-py3-none-any.whl
Size 94.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
35a4ecf68259d2f17263e37930e1a4d6ea50ed6524082af927ec38188088c88d
BLAKE2b-256 checksum
How to use checksums
de807ea894a749a5185410422ce0ad268404c1d75e5c1942bf6a1dbe72c4e25d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page