UTypes: a library for uncertain datatypes in Python

Loading...
Thumbnail Image

Identifiers

Publication date

Reading date

Collaborators

Advisors

Tutors

Editors

Journal Title

Journal ISSN

Volume Title

Publisher

Elsevier

Metrics

Google Scholar

Share

Research Projects

Organizational Units

Journal Issue

Abstract

Existing Python uncertainty packages support the expression and propagation of uncertainty in numeric types, such as float or int. However, they do not cover the rest of the built-in types which can also be affected by uncertainty when representing physical systems. The Uncertain Datatypes (UTypes) library provides extensions of Python built-in datatypes bool, int, float, enum and str to seamlessly incorporate the data uncertainty coming from physical measurements or user estimations into Python programs, along with the set of operations defined for the values of these types. The library implements in a natural and efficient manner linear error propagation theory in Python and performs uncertainty calculations analytically.

Description

Bibliographic citation

Carlos Javier Fernández-Candel, Paula Muñoz, Javier Troya, Antonio Vallecillo, UTypes: A library for uncertain datatypes in Python, SoftwareX, Volume 26, 2024, 101676, ISSN 2352-7110, https://doi.org/10.1016/j.softx.2024.101676

Collections

Endorsement

Review

Supplemented By

Referenced by

Creative Commons license

Except where otherwised noted, this item's license is described as Attribution-NonCommercial-NoDerivatives 4.0 Internacional