Sigma
Sigma: Uncertainty Propagation for C++ - Published in JOSS (2025)
Science Score: 98.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org -
○Committers with academic emails
-
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Repository
C++ Uncertainty Propagation
Basic Info
- Host: GitHub
- Owner: QCUncertainty
- License: apache-2.0
- Language: C++
- Default Branch: main
- Homepage: https://qcuncertainty.github.io/sigma/
- Size: 3.33 MB
Statistics
- Stars: 4
- Watchers: 3
- Forks: 2
- Open Issues: 1
- Releases: 1
Metadata Files
README.md
Sigma
Sigma is a header-only C++ library for uncertainty propagation throughout mathematical operations on floating point values, inspired by uncertainties for Python and Measurements.jl for Julia.
Statement of Need
Scientific analysis, whether based on experiment or simulation, often uses values that are paired with some representation of their accuracy or reliability. Oftentimes, this representation is a value's standard deviation or a similar metric. The uncertainty in a value can be derived from a number of sources, including instrument accuracy, limitations from approximations, or the statistical nature of the value itself. New values resulting from operations on uncertain inputs will have uncertainties derived from the input uncertainties, but the process of propagating those relationships can become tedious and complicated. To the best of our knowledge, there is no currently maintained C++ library to facilitate this kind of uncertainty propagation. As C++ is an important language in the development of scientific software and high-performance computing, Sigma has been developed in an attempt to fill this gap.
See Background for methodological details.
Features
- Propagate uncertainty throughout calculations
- Track dependent variable correlation to independent variables
- Support for common mathematical operations.
- Limited compatibility with Eigen for linear algebra support.
See here for examples.
Installation
Sigma is header-only, so installation is not strictly required for usage. The files simply need to be locatable by your project, as well the dependencies required by Sigma itself (e.g. Eigen if support is configured). Dependency gathering, testing, building of the documentation, and installation are all handled with CMake and the CMaize Framework.
```Bash
-- Configuration Step --
Should the tests be built? BUILD_TESTING=ON Default: OFF
Should we build the documentation? BUILD_DOCS=ON Default: OFF
Include Eigen compatibility headers? ENABLEEIGENSUPPORT=ON Default: ON
cmake -Bbuild -H. \ -DCMAKECXXSTANDARD=17 \ -DCMAKEINSTALLPREFIX=/path/to/install \ -DBUILDTESTING=ON \ -DBUILDDOCS=ON \ -DENABLEEIGENSUPPORT=ON
-- Build Documentation --
cmake --build build --target sigmacxxapi
Documentation will be in ./build/html
-- Build and Run Tests --
cmake --build build --parallel cd build ctest -VV
-- Install Library --
cmake --build build --target install ```
Contributing
Acknowledgments
This work was supported by the Ames National Laboratory's Laboratory Directed Research and Development (LDRD) program. The Ames Laboratory is operated for the U.S. DOE by Iowa State University under contract # DE-AC02-07CH11358.
Owner
- Name: QCUncertainty
- Login: QCUncertainty
- Kind: organization
- Repositories: 1
- Profile: https://github.com/QCUncertainty
JOSS Publication
Sigma: Uncertainty Propagation for C++
Authors
Tags
Uncertainty PropagationCitation (CITATION.cff)
cff-version: "1.2.0"
authors:
- family-names: Waldrop
given-names: Jonathan M.
orcid: "https://orcid.org/0000-0003-0442-193X"
- family-names: Richard
given-names: Ryan M.
orcid: "https://orcid.org/0000-0003-4235-5179"
contact:
- family-names: Waldrop
given-names: Jonathan M.
orcid: "https://orcid.org/0000-0003-0442-193X"
doi: 10.5281/zenodo.14852780
message: If you use this software, please cite our article in the
Journal of Open Source Software.
preferred-citation:
authors:
- family-names: Waldrop
given-names: Jonathan M.
orcid: "https://orcid.org/0000-0003-0442-193X"
- family-names: Richard
given-names: Ryan M.
orcid: "https://orcid.org/0000-0003-4235-5179"
date-published: 2025-02-13
doi: 10.21105/joss.07404
issn: 2475-9066
issue: 106
journal: Journal of Open Source Software
publisher:
name: Open Journals
start: 7404
title: "Sigma: Uncertainty Propagation for C++"
type: article
url: "https://joss.theoj.org/papers/10.21105/joss.07404"
volume: 10
title: "Sigma: Uncertainty Propagation for C++"
GitHub Events
Total
- Create event: 13
- Release event: 1
- Issues event: 7
- Watch event: 4
- Delete event: 9
- Issue comment event: 9
- Push event: 41
- Pull request review event: 6
- Pull request review comment event: 1
- Pull request event: 18
- Fork event: 2
Last Year
- Create event: 13
- Release event: 1
- Issues event: 7
- Watch event: 4
- Delete event: 9
- Issue comment event: 9
- Push event: 41
- Pull request review event: 6
- Pull request review comment event: 1
- Pull request event: 18
- Fork event: 2
Committers
Last synced: 7 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Jonathan M. Waldrop | r****7@g****m | 98 |
| zachcran | 1****n | 14 |
| Ryan Richard | r****1@g****m | 1 |
| Max Bittens | 1****s | 1 |
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 5
- Total pull requests: 23
- Average time to close issues: 3 months
- Average time to close pull requests: 7 days
- Total issue authors: 4
- Total pull request authors: 4
- Average comments per issue: 1.4
- Average comments per pull request: 0.35
- Merged pull requests: 22
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 5
- Pull requests: 17
- Average time to close issues: 3 months
- Average time to close pull requests: 10 days
- Issue authors: 4
- Pull request authors: 4
- Average comments per issue: 1.4
- Average comments per pull request: 0.47
- Merged pull requests: 16
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- YehorYudinIPP (2)
- ryanmrichard (1)
- jwaldrop107 (1)
- zachcran (1)
Pull Request Authors
- jwaldrop107 (31)
- zachcran (4)
- ryanmrichard (2)
- baxmittens (2)
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- actions/checkout v4 composite
- sphinx *
- sphinx-autoapi *
- sphinx_rtd_theme *
- actions/checkout v4 composite
- actions/setup-python v5 composite
- peaceiris/actions-gh-pages v3 composite
